Code Monkey home page Code Monkey logo

vue-web3-auth's Introduction

I'm the creator of open-source packages

Your Support

⭐️ The easiest way to support me is by giving a star on Github.

🔧 You can help me to add new features or fixing bugs on Github.

📝 Improve the documentation by fixing missing or wrong information, typos, or grammar errors.

☕ Or buy me a cup of coffee to help me stay awake while I am coding, spend more time on the projects, and still pay my bills.

Buy Me A Coffee

My Open-source Packages

Vue

@kolirt/vue-web3-auth - simple WalletConnect v2 integration package for Vue3 apps.

@kolirt/vue-modal - easy to use and highly customizable Vue3 modal package.

@kolirt/vue-timestamp - Vue 3 timestamp package.

@kolirt/vue-telegram-mini-app - Vue 3 telegram mini app package.

Vite

vite-plugin-robots - plugin for Vite to generating robots.txt for production and development builds.

Laravel

kolirt/laravel-settings - package for managing settings in a Laravel project.

kolirt/laravel-cacheable - easily cache and control class methods without having to remember cache key names.

kolirt/laravel-api-response - unification of API responses for Laravel projects inspired by telegram api responses.

kolirt/laravel-sitemap - sitemap generator for Laravel projects.

[IN PROGRESS] kolirt/laravel-telegram - telegram bot framework for Laravel.

vue-web3-auth's People

Contributors

kolirt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue-web3-auth's Issues

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.

**I have follow this guide https://kolirt.github.io/vue-web3-auth/

but getting this error**

Module parse failed: Unexpected token (21:39)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| data: typeof data === 'object' ? data.data : data,
| functionName,

            message: shortMessage ?? message,

| });
| }

@ ./node_modules/viem/_esm/index.js 92:0-71 92:0-71
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/verifyHash.js

Module parse failed: Unexpected token (25:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| ...callRequest,
| });

    return isBytesEqual(data ?? '0x0', '0x1');

| }
| catch (error) {

@ ./node_modules/viem/_esm/actions/public/verifyTypedData.js 2:0-46 14:11-21
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/transaction/serializeTransaction.js

Module parse failed: Unexpected token (27:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| maxFeePerGas ? toHex(maxFeePerGas) : '0x',
| gas ? toHex(gas) : '0x',

    to ?? '0x',

| value ? toHex(value) : '0x',
| data ?? '0x',

@ ./node_modules/viem/_esm/index.js 110:0-84 110:0-84
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/errors/getNodeError.js

Module parse failed: Unexpected token (27:31)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| return new FeeCapTooHighError({
| cause: err,

        maxFeePerGas: args?.maxFeePerGas,

| });
| else if (FeeCapTooLowError.nodeMessage.test(message))

@ ./node_modules/viem/_esm/utils/index.js 52:0-76 52:0-76 52:0-76
@ ./node_modules/viem/_esm/utils/signature/signatureToCompactSignature.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/abi/encodeFunctionData.js

Module parse failed: Unexpected token (27:53)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const signature = getFunctionSelector(definition);
| const data = 'inputs' in abiItem && abiItem.inputs

    ? encodeAbiParameters(abiItem.inputs, (args ?? []))

| : undefined;
| return concatHex([signature, data ?? '0x']);

@ ./node_modules/viem/_esm/index.js 52:0-72 52:0-72
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/createEventFilter.js

Module parse failed: Unexpected token (28:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock, } = {}) {

const events = events_ ?? (event ? [event] : undefined);

| const getRequest = createFilterRequestScope(client, {
| method: 'eth_newFilter',

@ ./node_modules/viem/_esm/clients/decorators/public.js 9:0-79 51:37-54
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/cursor.js

Module parse failed: Unexpected token (28:36)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| },
| inspectByte(position_) {

    const position = position_ ?? this.position;

| this.assertPosition(position);
| return this.bytes[position];

@ ./node_modules/viem/_esm/utils/encoding/toRlp.js 2:0-45 7:19-31
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getLogs.js

Module parse failed: Unexpected token (29:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_, } = {}) {

const strict = strict_ ?? false;

| const events = events_ ?? (event ? [event] : undefined);
| let topics = [];

@ ./node_modules/viem/_esm/clients/decorators/public.js 26:0-59 72:27-34
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getBlock.js

Module parse failed: Unexpected token (29:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getBlock(client, { blockHash, blockNumber, blockTag: blockTag_, includeTransactions: includeTransactions_, } = {}) {

const blockTag = blockTag_ ?? 'latest';

| const includeTransactions = includeTransactions_ ?? false;
| const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;

@ ./node_modules/viem/_esm/clients/decorators/public.js 16:0-61 56:28-36
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/test/sendUnsignedTransaction.js

Module parse failed: Unexpected token (30:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function sendUnsignedTransaction(client, args) {
| const { accessList, data, from, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;

const format = client.chain?.formatters?.transactionRequest?.format ||

| formatTransactionRequest;
| const request = format({

@ ./node_modules/viem/_esm/clients/decorators/test.js 12:0-89 46:47-70
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/abi/encodeEventTopics.js

Module parse failed: Unexpected token (30:45)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| let topics = [];
| if (args && 'inputs' in abiItem) {

    const indexedInputs = abiItem.inputs?.filter((param) => 'indexed' in param && param.indexed);

| const args_ = Array.isArray(args)
| ? args

@ ./node_modules/viem/_esm/index.js 51:0-70 51:0-70
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js

Module parse failed: Unexpected token (32:21)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function internal_estimateMaxPriorityFeePerGas(client, args) {
| const { block: block_, chain = client.chain, request } = args || {};

if (typeof chain?.fees?.defaultPriorityFee === 'function') {

| const block = block_ || (await getBlock(client));
| return chain.fees.defaultPriorityFee({

@ ./node_modules/viem/_esm/clients/decorators/public.js 14:0-101 73:48-76
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getFilterLogs.js

Module parse failed: Unexpected token (32:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getFilterLogs(_client, { filter, }) {

const strict = filter.strict ?? false;

| const logs = await filter.request({
| method: 'eth_getFilterLogs',

@ ./node_modules/viem/_esm/clients/decorators/public.js 24:0-71 70:33-46
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js

Module parse failed: Unexpected token (32:54)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| hash ? getTransaction(client, { hash }) : undefined,
| ]);

const transactionBlockNumber = transactionReceipt?.blockNumber || transaction?.blockNumber;

| if (!transactionBlockNumber)
| return 0n;

@ ./node_modules/viem/_esm/clients/decorators/public.js 29:0-99 76:47-74
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getBlockNumber.js

Module parse failed: Unexpected token (32:61)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const blockNumberHex = await withCache(() => client.request({
| method: 'eth_blockNumber',

}), { cacheKey: cacheKey(client.uid), cacheTime: maxAge ?? cacheTime });

| return BigInt(blockNumberHex);
| }

@ ./node_modules/viem/_esm/clients/decorators/public.js 17:0-73 57:34-48
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/watchBlocks.js

Module parse failed: Unexpected token (33:54)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval, }) {
| const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';

const includeTransactions = includeTransactions_ ?? false;

| let prevBlock;
| const pollBlocks = () => {

@ ./node_modules/viem/_esm/clients/decorators/public.js 40:0-67 88:31-42
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/chains/celo/serializers.js

Module parse failed: Unexpected token (34:21)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| maxFeePerGas ? toHex(maxFeePerGas) : '0x',
| gas ? toHex(gas) : '0x',

    feeCurrency ?? '0x',

| gatewayFeeRecipient ?? '0x',
| gatewayFee ? toHex(gatewayFee) : '0x',

@ ./node_modules/viem/_esm/chains/definitions/celoAlfajores.js 3:0-57 40:17-32
@ ./node_modules/viem/_esm/chains/index.js
@ ./node_modules/@wagmi/core/dist/chains.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js

Module parse failed: Unexpected token (34:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const { block: block_, chain = client.chain, request, type = 'eip1559', } = args || {};
| const baseFeeMultiplier = await (async () => {

    if (typeof chain?.fees?.baseFeeMultiplier === 'function')

| return chain.fees.baseFeeMultiplier({
| block: block_,

@ ./node_modules/viem/_esm/clients/decorators/public.js 12:0-81 68:38-56
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getTransactionReceipt.js

Module parse failed: Unexpected token (34:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (!receipt)
| throw new TransactionReceiptNotFoundError({ hash });

const format = client.chain?.formatters?.transactionReceipt?.format ||

| formatTransactionReceipt;
| return format(receipt);

@ ./node_modules/viem/_esm/clients/decorators/public.js 31:0-87 78:41-62
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/estimateGas.js

Module parse failed: Unexpected token (35:35)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function estimateGas(client, args) {

const account_ = args.account ?? client.account;

| if (!account_)
| throw new AccountNotFoundError({

@ ./node_modules/viem/_esm/clients/decorators/public.js 13:0-67 54:31-42
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js

Module parse failed: Unexpected token (37:80)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| getBlockExplorerUrls(chain) {

const { default: blockExplorer, ...blockExplorers } = chain.blockExplorers ?? {};

| if (blockExplorer)
| return [

@ ./node_modules/@wagmi/connectors/dist/injected.js 6:0-29
@ ./node_modules/@wagmi/core/dist/chunk-EQOEZP46.js
@ ./node_modules/@wagmi/core/dist/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/utils.js

Module parse failed: Unexpected token (38:52)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| name: match.name,
| type: 'function',

        stateMutability: match.stateMutability ?? 'nonpayable',

| inputs,
| outputs,

@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js 4:0-53 5:0-77 9:27-42 12:31-49 22:31-46 25:35-53
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/node_modules/abitype/dist/esm/regex.js

Module parse failed: Unexpected token (3:17)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function execTyped(regex, string) {
| const match = regex.exec(string);

return match?.groups;

| }
| export const bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;

@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js 1:0-43 7:11-20 14:11-20 21:11-20 28:11-20 35:11-20
@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/call.js

Module parse failed: Unexpected token (42:77)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function call(client, args) {

const { account: account_ = client.account, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = 'latest', accessList, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;

| const account = account_ ? parseAccount(account_) : undefined;
| try {

@ ./node_modules/viem/_esm/index.js 4:0-42
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/errors/base.js

Module parse failed: Unexpected token (43:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const details = args.cause instanceof BaseError
| ? args.cause.details

        : args.cause?.message

| ? args.cause.message
| : args.details;

@ ./node_modules/viem/_esm/index.js 22:0-45 22:0-45
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/watchEvent.js

Module parse failed: Unexpected token (46:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function watchEvent(client, { address, args, batch = true, event, events, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, }) {
| const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';

const strict = strict_ ?? false;

| const pollEvent = () => {
| const observerId = stringify([

@ ./node_modules/viem/_esm/clients/decorators/public.js 42:0-65 91:30-40
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/contract/extractFunctionParts.js

Module parse failed: Unexpected token (4:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function extractFunctionParts(def) {
| const parts = def.match(paramsRegex);

const type = parts?.[2] || undefined;

| const name = parts?.[3];
| const params = parts?.[5] || undefined;

@ ./node_modules/viem/_esm/utils/hash/getFunctionSignature.js 2:0-98 5:21-40 6:23-44
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/formatters/block.js

Module parse failed: Unexpected token (4:44)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import { formatTransaction } from './transaction.js';
| export function formatBlock(block) {

const transactions = block.transactions?.map((transaction) => {

| if (typeof transaction === 'string')
| return transaction;

@ ./node_modules/viem/_esm/index.js 40:0-72 40:0-72 40:0-72
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/clients/createClient.js

Module parse failed: Unexpected token (4:59)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import { uid } from '../utils/uid.js';
| export function createClient(parameters) {

const { batch, cacheTime = parameters.pollingInterval ?? 4000, key = 'base', name = 'Base Client', pollingInterval = 4000, type = 'base', } = parameters;

| const chain = parameters.chain;
| const account = parameters.account

@ ./node_modules/viem/_esm/index.js 5:0-58 5:0-58
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/multicall.js

Module parse failed: Unexpected token (51:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function multicall(client, args) {
| const { allowFailure = true, batchSize: batchSize_, blockNumber, blockTag, contracts, multicallAddress: multicallAddress_, } = args;

const batchSize = batchSize_ ??

| ((typeof client.batch?.multicall === 'object' &&
| client.batch.multicall.batchSize) ||

@ ./node_modules/viem/_esm/clients/decorators/public.js 32:0-63 79:29-38
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/typedData.js

Module parse failed: Unexpected token (53:22)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function getTypesForEIP712Domain({ domain, }) {
| return [

    typeof domain?.name === 'string' && { name: 'name', type: 'string' },

| domain?.version && { name: 'version', type: 'string' },
| typeof domain?.chainId === 'number' && {

@ ./node_modules/viem/_esm/index.js 115:0-100 115:0-100 115:0-100 115:0-100
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/estimateContractGas.js

Module parse failed: Unexpected token (54:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| docsPath: '/docs/contract/estimateContractGas',
| functionName,

        sender: account?.address,

| });
| }

@ ./node_modules/viem/_esm/clients/decorators/public.js 11:0-83 53:39-58
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/structs.js

Module parse failed: Unexpected token (55:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| else {
| const match = execTyped(typeWithoutTupleRegex, abiParameter.type);

        if (!match?.type)

| throw new InvalidAbiTypeParameterError({ abiParameter });
| const { array, type } = match;

@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js 3:0-52 16:24-36
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/watchContractEvent.js

Module parse failed: Unexpected token (56:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| pollingInterval,
| ]);

    const strict = strict_ ?? false;

| return observe(observerId, { onLogs, onError }, (emit) => {
| let previousBlockNumber;

@ ./node_modules/viem/_esm/clients/decorators/public.js 41:0-81 90:38-56
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/getTransaction.js

Module parse failed: Unexpected token (58:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| index,
| });

const format = client.chain?.formatters?.transaction?.format || formatTransaction;

| return format(transaction);
| }

@ ./node_modules/viem/_esm/clients/decorators/public.js 28:0-73 75:34-48
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/clients/transports/fallback.js

Module parse failed: Unexpected token (61:48)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| rankTransports({
| chain,

            interval: rankOptions.interval ?? pollingInterval,

| onTransports: (transports_) => (transports = transports_),
| sampleCount: rankOptions.sampleCount,

@ ./node_modules/viem/_esm/index.js 7:0-61 7:0-61
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/@wagmi/core/dist/chunk-YAPWLAI7.js

Module parse failed: Unexpected token (61:64)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| chains,
| publicClient: ({ chainId }) => {

  const activeChain = chains.find((x) => x.id === chainId) ?? defaultChains[0];

| const chainHttpUrls = httpUrls[activeChain.id];
| if (!chainHttpUrls || !chainHttpUrls[0])

@ ./node_modules/@wagmi/core/dist/index.js 5:0-64:29 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/data/slice.js

Module parse failed: Unexpected token (64:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const value = `0x${value_
| .replace('0x', '')

    .slice((start ?? 0) * 2, (end ?? value_.length) * 2)}`;

| if (strict)
| assertEndOffset(value, start, end);

@ ./node_modules/viem/_esm/index.js 112:0-69 112:0-69 112:0-69 112:0-69
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/watchBlockNumber.js

Module parse failed: Unexpected token (67:29)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| catch (err) {

            emit.onError?.(err);

| }
| }, {

@ ./node_modules/viem/_esm/clients/decorators/public.js 39:0-77 89:36-52
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/watchPendingTransactions.js

Module parse failed: Unexpected token (68:33)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| catch (err) {

                emit.onError?.(err);

| }
| }, {

@ ./node_modules/viem/_esm/clients/decorators/public.js 43:0-93 92:44-68
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/wallet/signTransaction.js

Module parse failed: Unexpected token (69:29)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| chain,
| });

const formatters = chain?.formatters || client.chain?.formatters;

| const format = formatters?.transactionRequest?.format || formatTransactionRequest;
| if (account.type === 'local')

@ ./node_modules/viem/_esm/clients/decorators/wallet.js 12:0-75 30:35-50
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/errors/node.js

Module parse failed: Unexpected token (6:13)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| constructor({ cause, message, } = {}) {
| const reason = message

        ?.replace('execution reverted: ', '')

| ?.replace('execution reverted', '');
| super(Execution reverted ${reason ? with reason: ${reason} : 'for an unknown reason'}., {

@ ./node_modules/viem/_esm/index.js 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/node_modules/abitype/dist/esm/errors.js

Module parse failed: Unexpected token (6:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const details = args.cause instanceof BaseError
| ? args.cause.details

        : args.cause?.message

| ? args.cause.message
| : args.details;

@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js 1:0-40 1:0-40
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/formatters/feeHistory.js

Module parse failed: Unexpected token (6:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| gasUsedRatio: feeHistory.gasUsedRatio,
| oldestBlock: BigInt(feeHistory.oldestBlock),

    reward: feeHistory.reward?.map((reward) => reward.map((value) => BigInt(value))),

| };
| }

@ ./node_modules/viem/_esm/actions/public/getFeeHistory.js 2:0-73 37:11-27
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/public/simulateContract.js

Module parse failed: Unexpected token (78:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| docsPath: '/docs/contract/simulateContract',
| functionName,

        sender: account?.address,

| });
| }

@ ./node_modules/viem/_esm/clients/decorators/public.js 34:0-77 83:36-52
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/abi/decodeEventLog.js

Module parse failed: Unexpected token (7:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const docsPath = '/docs/contract/decodeEventLog';
| export function decodeEventLog({ abi, data, strict: strict_, topics, }) {

const strict = strict_ ?? true;

| const [signature, ...argTopics] = topics;
| if (!signature)

@ ./node_modules/viem/_esm/index.js 45:0-64 45:0-64
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/ccip.js

Module parse failed: Unexpected token (82:53)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| });
| let result;

        if (response.headers.get('Content-Type')?.startsWith('application/json')) {

| result = (await response.json()).data;
| }

@ ./node_modules/viem/_esm/index.js 82:0-109 82:0-109 82:0-109 82:0-109 82:0-109
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/signature/hashTypedData.js

Module parse failed: Unexpected token (84:30)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| function findTypeDependencies({ primaryType: primaryType_, types, }, results = new Set()) {
| const match = primaryType_.match(/^\w*/u);

const primaryType = match?.[0];

| if (results.has(primaryType) || types[primaryType] === undefined) {
| return results;

@ ./node_modules/viem/_esm/index.js 61:0-80 61:0-80 61:0-80
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/errors/estimateGas.js

Module parse failed: Unexpected token (8:26)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| constructor(cause, { account, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {
| const prettyArgs = prettyPrint({

        from: account?.address,

| to,
| value: typeof value !== 'undefined' &&

@ ./node_modules/viem/_esm/index.js 30:0-69 30:0-69
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/actions/wallet/sendTransaction.js

Module parse failed: Unexpected token (91:37)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (!chainId)
| chainId = await getChainId(client);

        const serializer = chain?.serializers?.transaction;

| const serializedTransaction = (await account.signTransaction({
| ...request,

@ ./node_modules/viem/_esm/clients/decorators/wallet.js 10:0-75 28:35-50
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/@noble/curves/abstract/weierstrass.js

Module parse failed: Unexpected token (921:61)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const u1 = modN(h * is); // u1 = hs^-1 mod n
| const u2 = modN(r * is); // u2 = rs^-1 mod n

    const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2)?.toAffine(); // R = u1⋅G + u2⋅P

| if (!R)
| return false;

@ ./node_modules/@noble/curves/secp256k1.js 8:25-61
@ ./node_modules/viem/_esm/utils/signature/hexToCompactSignature.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/buildRequest.js

Module parse failed: Unexpected token (99:41)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| // If we find a Retry-After header, let's retry after the given time.
| if (error && error instanceof HttpRequestError) {

            const retryAfter = error?.headers?.get('Retry-After');

| if (retryAfter?.match(/\d/))
| return parseInt(retryAfter) * 1000;

@ ./node_modules/viem/_esm/clients/transports/createTransport.js 1:0-59 8:17-29
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js

Module parse failed: Unexpected token (9:36)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const requestMap = {};
| if (client.transport.type === 'fallback')

    client.transport.onResponse?.(({ method: method_, response: id, status, transport, }) => {

| if (status === 'success' && method === method_)
| requestMap[id] = transport.request;

@ ./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js 1:0-91 24:23-47
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

error in ./node_modules/viem/_esm/errors/rpc.js

Module parse failed: Unexpected token (9:48)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| cause,
| docsPath,

        metaMessages: metaMessages || cause?.metaMessages,

| });
| Object.defineProperty(this, "name", {

@ ./node_modules/viem/_esm/index.js 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

[Feature]: Contract deploy provider

Describe the feature

Is it possible to add a provider so that I can specify it when completing a contract?

carbon (1)

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

The documentation lacking integration of web.js or ethers.js

I have configured the wallet, using vuejs now I want to do web3.js for methods calls, etc.
How to integrate with the current wallet? or is the library already preloaded with web3.js.
I want to know
I appreciate any help you can provide.

I have few simple call to make e.g
creditContract.methods.runPlay(account.address)call();
creditContract.methods.burn(account.address,1)call();
creditContract.methods.balanceOf(account.address)call();
I am using polygon georli testnet

ConnectorNotFoundError: Connector not found

When I use the switchChain method, the following error occurs. How to solve it?
switchChain ConnectorNotFoundError: Connector not found
Below is my code:
const chains = getAvailableChains()

switchChain(chains[3]).then(res => {
console.log('switchChain', res)
}).catch((err) => {
console.log('switchChain', err)
})

[Question]: sendTransaction method

Description

When I called the sendTransaction() method, I found that the structure of SendTransaction does not have "value" field,which caused the calldata of transaction cannot be sent.

The code is below:

const callData = data:application/json,{"p":"ierc-20","op":"transfer","tick":"${inscriptionName}","nonce":"${timestamp}","to":[{"amt":"${amount.value}","recv":"${address.value}"}]}

my params is below:

const transaction = {
to: constants.AddressZero,
value: ethers.utils.parseEther("0"),
data: stringToHex(callData)
}

the structure of SendTransaction is below:

declare type SendTransaction = { chainId?: number; to: string; account?:0x${string}; gas?: bigint; gasPrice?: bigint; maxFeePerGas?: bigint; maxPriorityFeePerGas?: bigint; nonce?: number; value?: bigint; confirmations?: number; };
the structure I wanted is below:

declare type SendTransaction = {
chainId?: number;
to: string;
account?: 0x${string};
gas?: bigint;
gasPrice?: bigint;
maxFeePerGas?: bigint;
maxPriorityFeePerGas?: bigint;
nonce?: number;
value?: bigint;
confirmations?: number;
// the data field is what I want
data: string;
}

[Question]: Process of getting payment through this library?

Description

I'm just reading documentation and stuck to get my web3 application take payment from user, I've connected wallet into the application but now I just want to take payment from it? If you have any code related to this, It will be of great help.

I'm new on web3 so Thank in advance for help.

Upgrade the dependencies. [Feature]:

Describe the feature

@kolirt , great job your lib for vue!

"dependencies": {
    "@wagmi/core": "1.4.13",
    "@web3modal/ethereum": "2.7.1",
    "@web3modal/html": "2.7.1",
    "bootstrap": "5.3.0",
    "js-event-bus": "1.1.1",
    "viem": "1.21.4",
    "vue": "^3.3.2",
    "wagmi": "1.4.13"
  },

Would be really sweet to update the dependencies. Especially viem is on v2.9.17 and contains the new polygonAmoy testnet.

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

The contract function "tokenIdToOwner" returned no data ("0x").

Using method readContract, the following error message appears:
ContractFunctionExecutionError: The contract function "tokenIdToOwner" returned no data ("0x").

This could be due to any of the following:

  • The contract does not have the function "tokenIdToOwner",
  • The parameters passed to the contract function may be invalid, or
  • The address is not a contract.

Contract Call:
address: 0x926DDCb518a4F8403EfA6194A142D775852f4780
function: tokenIdToOwner(unit256)
args: (45)

Below is my code,I'm sure the parameters I passed are correct。

try {
const res = await readContract({
address: VITE_APP_NFT_STAKE_ADDRESS,
abi: StakeABI,
functionName: 'tokenIdToOwner',
args: [tokenId.value]
})
console.log('tokenIdToOwner', res)
} catch (err) {
console.log(err)
}

Approve button from the bridgeconnect not doing anything.

I just cloned the vue-cli-example and trying to create web login from it. I'm in initial phase but I'm facing a problem. When I try to login from bridge connect on the demo website it works but when i try to login from same code in my local it shows me approve or reject but approve is not working do i need to follow some steps?

[Bug]: Error reported when calling writeContract()

Version

v2.3.2

Package configuration

createWeb3Auth({
projectId: '',
chains: [
Chains.bsc,
Chains.mainnet,
Chains.polygon,
Chains.avalanche,
Chains.opBNB,
Chains.polygonMumbai,
Chains.sepolia,
Chains.linea,
Chains.opBNBTestnet,
Chains.bscTestnet
]
})

Steps to reproduce

try {
const value = await writeContract({
abi: FireFlyTaskAbi,
address: '0x499Bb30C53BF8155E7231C1cA2e042C8D037c108',
functionName: 'action',
args: [1, 3, []]
})
} catch (err) {
console.log('actionErr', err)
}

Describe the bug

When I called writeContract(), the following error occurred
TypeError: t.replace is not a function
WechatIMG168

Context & Screenshots (if applicable)

No response

Logs

No response

Update to latest version[Feature]:

Describe the feature

After demo testing, I found that using the @web3modal/ethers5/vue library, under the same conditions, the response speed of connecting to the wallet and obtaining the signature is faster than the response speed of using the @kolirt/vue-web3-auth library. I guess it will be Isn't it caused by version dependency? So I hope you can upgrade your dependency version and see if the experience will be better.

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

How to get the switchChain() method callback

Package version

No response

Package configuration

No response

Description

When I use the switchChain() method, I want to execute the callback method after the network switch is successful. How to solve this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.