@crossmint/wallets-sdk 0.20.2 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/LICENSE +0 -201
- package/README.md +0 -96
- package/dist/api/__tests__/constants.cjs +0 -31
- package/dist/api/__tests__/constants.d.cts +0 -96
- package/dist/api/__tests__/constants.d.ts +0 -96
- package/dist/api/__tests__/constants.js +0 -31
- package/dist/api/__tests__/test-utils.cjs +0 -372
- package/dist/api/__tests__/test-utils.d.cts +0 -99
- package/dist/api/__tests__/test-utils.d.ts +0 -99
- package/dist/api/__tests__/test-utils.js +0 -372
- package/dist/api/client.cjs +0 -10
- package/dist/api/client.d.cts +0 -42
- package/dist/api/client.d.ts +0 -42
- package/dist/api/client.js +0 -10
- package/dist/api/gen/client.gen.cjs +0 -7
- package/dist/api/gen/client.gen.d.cts +0 -16
- package/dist/api/gen/client.gen.d.ts +0 -16
- package/dist/api/gen/client.gen.js +0 -7
- package/dist/api/gen/index.cjs +0 -179
- package/dist/api/gen/index.d.cts +0 -3
- package/dist/api/gen/index.d.ts +0 -3
- package/dist/api/gen/index.js +0 -179
- package/dist/api/gen/sdk.gen.cjs +0 -178
- package/dist/api/gen/sdk.gen.d.cts +0 -611
- package/dist/api/gen/sdk.gen.d.ts +0 -611
- package/dist/api/gen/sdk.gen.js +0 -178
- package/dist/api/gen/types.gen.cjs +0 -1
- package/dist/api/gen/types.gen.d.cts +0 -13865
- package/dist/api/gen/types.gen.d.ts +0 -13865
- package/dist/api/gen/types.gen.js +0 -1
- package/dist/api/index.cjs +0 -12
- package/dist/api/index.d.cts +0 -6
- package/dist/api/index.d.ts +0 -6
- package/dist/api/index.js +0 -12
- package/dist/api/types.cjs +0 -1
- package/dist/api/types.d.cts +0 -55
- package/dist/api/types.d.ts +0 -55
- package/dist/api/types.js +0 -1
- package/dist/chains/chains.cjs +0 -24
- package/dist/chains/chains.d.cts +0 -28
- package/dist/chains/chains.d.ts +0 -28
- package/dist/chains/chains.js +0 -24
- package/dist/chains/definitions/arcTestnet.cjs +0 -7
- package/dist/chains/definitions/arcTestnet.d.cts +0 -43
- package/dist/chains/definitions/arcTestnet.d.ts +0 -43
- package/dist/chains/definitions/arcTestnet.js +0 -7
- package/dist/chains/definitions/story.cjs +0 -7
- package/dist/chains/definitions/story.d.cts +0 -49
- package/dist/chains/definitions/story.d.ts +0 -49
- package/dist/chains/definitions/story.js +0 -7
- package/dist/chains/definitions/storyTestnet.cjs +0 -7
- package/dist/chains/definitions/storyTestnet.d.cts +0 -43
- package/dist/chains/definitions/storyTestnet.d.ts +0 -43
- package/dist/chains/definitions/storyTestnet.js +0 -7
- package/dist/chains/definitions/tempo.cjs +0 -7
- package/dist/chains/definitions/tempo.d.cts +0 -39
- package/dist/chains/definitions/tempo.d.ts +0 -39
- package/dist/chains/definitions/tempo.js +0 -7
- package/dist/chains/definitions/tempoTestnet.cjs +0 -7
- package/dist/chains/definitions/tempoTestnet.d.cts +0 -39
- package/dist/chains/definitions/tempoTestnet.d.ts +0 -39
- package/dist/chains/definitions/tempoTestnet.js +0 -7
- package/dist/chunk-2I2OFGNL.js +0 -36
- package/dist/chunk-2T5HHKUI.js +0 -19
- package/dist/chunk-2WBSPOWU.js +0 -223
- package/dist/chunk-3U6UAYOV.js +0 -25
- package/dist/chunk-455NK5LB.js +0 -0
- package/dist/chunk-47R3UV3J.cjs +0 -58
- package/dist/chunk-47WKYTRN.js +0 -63
- package/dist/chunk-4GFSUI2I.cjs +0 -66
- package/dist/chunk-55V4VMTX.cjs +0 -25
- package/dist/chunk-5IFDVB4Y.js +0 -0
- package/dist/chunk-66UY53KP.cjs +0 -336
- package/dist/chunk-6FG5QXII.cjs +0 -110
- package/dist/chunk-6HXIZLEQ.cjs +0 -1
- package/dist/chunk-6UMJYMAY.js +0 -82
- package/dist/chunk-7GOUUPS4.js +0 -36
- package/dist/chunk-7TT3VUDF.cjs +0 -84
- package/dist/chunk-7USEVMTW.cjs +0 -21
- package/dist/chunk-A6E67ZZP.js +0 -237
- package/dist/chunk-ABMZ3ZVN.js +0 -52
- package/dist/chunk-ASE2FXWP.js +0 -65
- package/dist/chunk-BMMZIPXT.js +0 -778
- package/dist/chunk-CCIGWTAO.cjs +0 -1
- package/dist/chunk-CMBFV325.js +0 -69
- package/dist/chunk-COR3CNRW.cjs +0 -778
- package/dist/chunk-ECAM5KTH.cjs +0 -1
- package/dist/chunk-F7L2TZ3I.cjs +0 -21
- package/dist/chunk-FHMKNG62.js +0 -741
- package/dist/chunk-FICVKSXZ.js +0 -84
- package/dist/chunk-FOOISYCJ.js +0 -66
- package/dist/chunk-G6QJHFSY.cjs +0 -74
- package/dist/chunk-HTSQPZHW.cjs +0 -25
- package/dist/chunk-HXJ3YPAN.js +0 -110
- package/dist/chunk-IDKGJO2G.cjs +0 -115
- package/dist/chunk-IOMKHF6R.cjs +0 -44
- package/dist/chunk-IPO25BCU.js +0 -43
- package/dist/chunk-JREZWZ2S.cjs +0 -52
- package/dist/chunk-JSWTGW46.cjs +0 -36
- package/dist/chunk-JWMQALLN.js +0 -21
- package/dist/chunk-KBJA7JDT.js +0 -0
- package/dist/chunk-KQH5ZXJ4.js +0 -336
- package/dist/chunk-KT3CVXFG.js +0 -9
- package/dist/chunk-MMISP35W.js +0 -21
- package/dist/chunk-MRZXYVQO.cjs +0 -82
- package/dist/chunk-NIBKCMQ2.cjs +0 -19
- package/dist/chunk-PIFD6KNH.js +0 -59
- package/dist/chunk-PJOJIRTY.js +0 -74
- package/dist/chunk-PK7J3Y3L.js +0 -44
- package/dist/chunk-PM7BGATN.cjs +0 -237
- package/dist/chunk-PO6S7UR3.cjs +0 -1
- package/dist/chunk-POG76HDD.cjs +0 -741
- package/dist/chunk-PUO4QNXH.js +0 -89
- package/dist/chunk-Q5KNPVYI.cjs +0 -59
- package/dist/chunk-R4AW5ADG.cjs +0 -16
- package/dist/chunk-R6DH4V7S.cjs +0 -69
- package/dist/chunk-RBHGZDDX.cjs +0 -58
- package/dist/chunk-RHR6P2KP.cjs +0 -15
- package/dist/chunk-RYQI3RXL.cjs +0 -247
- package/dist/chunk-SGINWAB6.js +0 -155
- package/dist/chunk-T2XUADHW.js +0 -58
- package/dist/chunk-TYQ4YIP7.js +0 -16
- package/dist/chunk-U3NV7UY7.js +0 -323
- package/dist/chunk-UO2J2ZB2.cjs +0 -65
- package/dist/chunk-W7K5E64Q.js +0 -247
- package/dist/chunk-WDZY4PP4.cjs +0 -223
- package/dist/chunk-WHTECI7J.cjs +0 -89
- package/dist/chunk-WJUPOCKJ.js +0 -15
- package/dist/chunk-WWW6IGZ7.js +0 -115
- package/dist/chunk-XC2V34TS.cjs +0 -155
- package/dist/chunk-XOCC3MPK.cjs +0 -36
- package/dist/chunk-XPMCPXI3.cjs +0 -1
- package/dist/chunk-YDZRBHS3.js +0 -0
- package/dist/chunk-YMRXMNME.js +0 -0
- package/dist/chunk-ZAX22GSI.cjs +0 -323
- package/dist/chunk-ZBLW42YE.js +0 -25
- package/dist/chunk-ZNAGDENG.cjs +0 -43
- package/dist/chunk-ZP4ZZCIE.js +0 -58
- package/dist/chunk-ZT7EGOCI.cjs +0 -9
- package/dist/chunk-ZTEMOYS2.cjs +0 -63
- package/dist/index.cjs +0 -60
- package/dist/index.d.cts +0 -19
- package/dist/index.d.ts +0 -19
- package/dist/index.js +0 -60
- package/dist/logger/index.cjs +0 -11
- package/dist/logger/index.d.cts +0 -2
- package/dist/logger/index.d.ts +0 -2
- package/dist/logger/index.js +0 -11
- package/dist/logger/init.cjs +0 -10
- package/dist/logger/init.d.cts +0 -15
- package/dist/logger/init.d.ts +0 -15
- package/dist/logger/init.js +0 -10
- package/dist/sdk.cjs +0 -39
- package/dist/sdk.d.cts +0 -48
- package/dist/sdk.d.ts +0 -48
- package/dist/sdk.js +0 -39
- package/dist/signers/evm-api-key.cjs +0 -7
- package/dist/signers/evm-api-key.d.cts +0 -18
- package/dist/signers/evm-api-key.d.ts +0 -18
- package/dist/signers/evm-api-key.js +0 -7
- package/dist/signers/evm-external-wallet.cjs +0 -7
- package/dist/signers/evm-external-wallet.d.cts +0 -26
- package/dist/signers/evm-external-wallet.d.ts +0 -26
- package/dist/signers/evm-external-wallet.js +0 -7
- package/dist/signers/index.cjs +0 -24
- package/dist/signers/index.d.cts +0 -11
- package/dist/signers/index.d.ts +0 -11
- package/dist/signers/index.js +0 -24
- package/dist/signers/non-custodial/index.cjs +0 -27
- package/dist/signers/non-custodial/index.d.cts +0 -11
- package/dist/signers/non-custodial/index.d.ts +0 -11
- package/dist/signers/non-custodial/index.js +0 -27
- package/dist/signers/non-custodial/ncs-evm-signer.cjs +0 -13
- package/dist/signers/non-custodial/ncs-evm-signer.d.cts +0 -30
- package/dist/signers/non-custodial/ncs-evm-signer.d.ts +0 -30
- package/dist/signers/non-custodial/ncs-evm-signer.js +0 -13
- package/dist/signers/non-custodial/ncs-iframe-manager.cjs +0 -7
- package/dist/signers/non-custodial/ncs-iframe-manager.d.cts +0 -16
- package/dist/signers/non-custodial/ncs-iframe-manager.d.ts +0 -16
- package/dist/signers/non-custodial/ncs-iframe-manager.js +0 -7
- package/dist/signers/non-custodial/ncs-signer.cjs +0 -14
- package/dist/signers/non-custodial/ncs-signer.d.cts +0 -50
- package/dist/signers/non-custodial/ncs-signer.d.ts +0 -50
- package/dist/signers/non-custodial/ncs-signer.js +0 -14
- package/dist/signers/non-custodial/ncs-solana-signer.cjs +0 -13
- package/dist/signers/non-custodial/ncs-solana-signer.d.cts +0 -27
- package/dist/signers/non-custodial/ncs-solana-signer.d.ts +0 -27
- package/dist/signers/non-custodial/ncs-solana-signer.js +0 -13
- package/dist/signers/non-custodial/ncs-stellar-signer.cjs +0 -13
- package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +0 -27
- package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +0 -27
- package/dist/signers/non-custodial/ncs-stellar-signer.js +0 -13
- package/dist/signers/passkey.cjs +0 -7
- package/dist/signers/passkey.d.cts +0 -19
- package/dist/signers/passkey.d.ts +0 -19
- package/dist/signers/passkey.js +0 -7
- package/dist/signers/solana-api-key.cjs +0 -7
- package/dist/signers/solana-api-key.d.cts +0 -18
- package/dist/signers/solana-api-key.d.ts +0 -18
- package/dist/signers/solana-api-key.js +0 -7
- package/dist/signers/solana-external-wallet.cjs +0 -8
- package/dist/signers/solana-external-wallet.d.cts +0 -24
- package/dist/signers/solana-external-wallet.d.ts +0 -24
- package/dist/signers/solana-external-wallet.js +0 -8
- package/dist/signers/stellar-external-wallet.cjs +0 -7
- package/dist/signers/stellar-external-wallet.d.cts +0 -23
- package/dist/signers/stellar-external-wallet.d.ts +0 -23
- package/dist/signers/stellar-external-wallet.js +0 -7
- package/dist/signers/types.cjs +0 -9
- package/dist/signers/types.d.cts +0 -91
- package/dist/signers/types.d.ts +0 -91
- package/dist/signers/types.js +0 -9
- package/dist/utils/constants.cjs +0 -13
- package/dist/utils/constants.d.cts +0 -6
- package/dist/utils/constants.d.ts +0 -6
- package/dist/utils/constants.js +0 -13
- package/dist/utils/errors.cjs +0 -55
- package/dist/utils/errors.d.cts +0 -80
- package/dist/utils/errors.d.ts +0 -80
- package/dist/utils/errors.js +0 -55
- package/dist/utils/signer-validation.cjs +0 -10
- package/dist/utils/signer-validation.d.cts +0 -9
- package/dist/utils/signer-validation.d.ts +0 -9
- package/dist/utils/signer-validation.js +0 -10
- package/dist/wallets/__tests__/setup.cjs +0 -36
- package/dist/wallets/__tests__/setup.d.cts +0 -2
- package/dist/wallets/__tests__/setup.d.ts +0 -2
- package/dist/wallets/__tests__/setup.js +0 -36
- package/dist/wallets/__tests__/test-helpers.cjs +0 -93
- package/dist/wallets/__tests__/test-helpers.d.cts +0 -36
- package/dist/wallets/__tests__/test-helpers.d.ts +0 -36
- package/dist/wallets/__tests__/test-helpers.js +0 -93
- package/dist/wallets/evm.cjs +0 -25
- package/dist/wallets/evm.d.cts +0 -155
- package/dist/wallets/evm.d.ts +0 -155
- package/dist/wallets/evm.js +0 -25
- package/dist/wallets/solana.cjs +0 -26
- package/dist/wallets/solana.d.cts +0 -28
- package/dist/wallets/solana.d.ts +0 -28
- package/dist/wallets/solana.js +0 -26
- package/dist/wallets/stellar.cjs +0 -25
- package/dist/wallets/stellar.d.cts +0 -30
- package/dist/wallets/stellar.d.ts +0 -30
- package/dist/wallets/stellar.js +0 -25
- package/dist/wallets/types.cjs +0 -1
- package/dist/wallets/types.d.cts +0 -170
- package/dist/wallets/types.d.ts +0 -170
- package/dist/wallets/types.js +0 -0
- package/dist/wallets/wallet-factory.cjs +0 -33
- package/dist/wallets/wallet-factory.d.cts +0 -33
- package/dist/wallets/wallet-factory.d.ts +0 -33
- package/dist/wallets/wallet-factory.js +0 -33
- package/dist/wallets/wallet.cjs +0 -24
- package/dist/wallets/wallet.d.cts +0 -168
- package/dist/wallets/wallet.d.ts +0 -168
- package/dist/wallets/wallet.js +0 -24
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../chunk-YMRXMNME.js";
|
package/dist/api/index.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkRYQI3RXLcjs = require('../chunk-RYQI3RXL.cjs');
|
|
5
|
-
require('../chunk-ECAM5KTH.cjs');
|
|
6
|
-
require('../chunk-XC2V34TS.cjs');
|
|
7
|
-
require('../chunk-JREZWZ2S.cjs');
|
|
8
|
-
require('../chunk-R4AW5ADG.cjs');
|
|
9
|
-
require('../chunk-UO2J2ZB2.cjs');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.ApiClient = _chunkRYQI3RXLcjs.ApiClient;
|
package/dist/api/index.d.cts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ApiClient } from './client.cjs';
|
|
2
|
-
export { Activity, AdminSignerConfig, ApproveSignatureParams, ApproveSignatureResponse, ApproveTransactionParams, ApproveTransactionResponse, CreateSignatureParams, CreateSignatureResponse, CreateTransactionParams, CreateTransactionResponse, CreateTransactionSuccessResponse, CreateWalletParams, CreateWalletResponse, DelegatedSigner, FundWalletParams, FundWalletResponse, GetActivityResponse, GetBalanceResponse, GetBalanceSuccessResponse, GetDelegatedSignersResponse, GetNftsResponse, GetSignatureResponse, GetSignerResponse, GetTransactionResponse, GetTransactionSuccessResponse, GetTransactionsResponse, GetWalletResponse, GetWalletSuccessResponse, RegisterSignerChain, RegisterSignerParams, RegisterSignerPasskeyParams, RegisterSignerResponse, SendParams, SendResponse, WalletLocator } from './types.cjs';
|
|
3
|
-
import '@crossmint/common-sdk-base';
|
|
4
|
-
import '../chains/chains.cjs';
|
|
5
|
-
import 'viem';
|
|
6
|
-
import './gen/types.gen.cjs';
|
package/dist/api/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ApiClient } from './client.js';
|
|
2
|
-
export { Activity, AdminSignerConfig, ApproveSignatureParams, ApproveSignatureResponse, ApproveTransactionParams, ApproveTransactionResponse, CreateSignatureParams, CreateSignatureResponse, CreateTransactionParams, CreateTransactionResponse, CreateTransactionSuccessResponse, CreateWalletParams, CreateWalletResponse, DelegatedSigner, FundWalletParams, FundWalletResponse, GetActivityResponse, GetBalanceResponse, GetBalanceSuccessResponse, GetDelegatedSignersResponse, GetNftsResponse, GetSignatureResponse, GetSignerResponse, GetTransactionResponse, GetTransactionSuccessResponse, GetTransactionsResponse, GetWalletResponse, GetWalletSuccessResponse, RegisterSignerChain, RegisterSignerParams, RegisterSignerPasskeyParams, RegisterSignerResponse, SendParams, SendResponse, WalletLocator } from './types.js';
|
|
3
|
-
import '@crossmint/common-sdk-base';
|
|
4
|
-
import '../chains/chains.js';
|
|
5
|
-
import 'viem';
|
|
6
|
-
import './gen/types.gen.js';
|
package/dist/api/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "../chunk-5IFDVB4Y.js";
|
|
2
|
-
import {
|
|
3
|
-
ApiClient
|
|
4
|
-
} from "../chunk-W7K5E64Q.js";
|
|
5
|
-
import "../chunk-KBJA7JDT.js";
|
|
6
|
-
import "../chunk-SGINWAB6.js";
|
|
7
|
-
import "../chunk-ABMZ3ZVN.js";
|
|
8
|
-
import "../chunk-TYQ4YIP7.js";
|
|
9
|
-
import "../chunk-ASE2FXWP.js";
|
|
10
|
-
export {
|
|
11
|
-
ApiClient
|
|
12
|
-
};
|
package/dist/api/types.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('../chunk-ECAM5KTH.cjs');
|
package/dist/api/types.d.cts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
import { CreateWalletV2025Dto, WalletV2025ResponseDto, WalletV1Alpha2ErrorDto, CreateTransactionV2025Dto, WalletsTransactionV2025ResponseDto, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV1ControllerSubmitApprovals4Error, WalletsV1ControllerGetTransaction4Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV1ControllerCreateSignatureRequest4Error, WalletsV1ControllerSubmitSignatureApprovals4Error, WalletsV1ControllerGetSignature4Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV1ControllerGetTransactionsWithoutChain4Error, WalletNftsResponseDto, WalletsV1Alpha2ActivityResponseDto, WalletBalanceV20250609ResponseDto, BalanceControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet2Responses, BalanceControllerFundWallet2Error, CreateSignerV2025InputDto, DelegatedSignerV2025Dto, WalletsV1ControllerCreateDelegatedSigner4Error, WalletsV1ControllerGetDelegatedSigner4Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './gen/types.gen.cjs';
|
|
3
|
-
|
|
4
|
-
type CreateWalletParams = CreateWalletV2025Dto;
|
|
5
|
-
type GetWalletSuccessResponse = WalletV2025ResponseDto;
|
|
6
|
-
type CreateWalletResponse = GetWalletSuccessResponse | WalletV1Alpha2ErrorDto;
|
|
7
|
-
type GetWalletResponse = GetWalletSuccessResponse | WalletV1Alpha2ErrorDto;
|
|
8
|
-
type AdminSignerConfig = NonNullable<Extract<CreateWalletV2025Dto, {
|
|
9
|
-
config: {
|
|
10
|
-
adminSigner: Record<string, unknown>;
|
|
11
|
-
};
|
|
12
|
-
}>["config"]>["adminSigner"];
|
|
13
|
-
type CreateTransactionParams = CreateTransactionV2025Dto;
|
|
14
|
-
type CreateTransactionSuccessResponse = WalletsTransactionV2025ResponseDto;
|
|
15
|
-
type CreateTransactionResponse = CreateTransactionSuccessResponse | WalletV1Alpha2TransactionErrorDto;
|
|
16
|
-
type ApproveTransactionParams = SubmitApprovalV2025Dto;
|
|
17
|
-
type ApproveTransactionResponse = WalletsTransactionV2025ResponseDto | WalletsV1ControllerSubmitApprovals4Error;
|
|
18
|
-
type GetTransactionResponse = WalletsTransactionV2025ResponseDto | WalletsV1ControllerGetTransaction4Error;
|
|
19
|
-
type GetTransactionSuccessResponse = WalletsTransactionV2025ResponseDto;
|
|
20
|
-
type CreateSignatureParams = CreateSignatureV2025Dto;
|
|
21
|
-
type CreateSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerCreateSignatureRequest4Error;
|
|
22
|
-
type ApproveSignatureParams = SubmitApprovalV2025Dto;
|
|
23
|
-
type ApproveSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerSubmitSignatureApprovals4Error;
|
|
24
|
-
type GetSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerGetSignature4Error;
|
|
25
|
-
type GetTransactionsResponse = WalletsMultipleTransactionV2025ResponseDto | WalletsV1ControllerGetTransactionsWithoutChain4Error;
|
|
26
|
-
type GetNftsResponse = WalletNftsResponseDto;
|
|
27
|
-
type GetBalanceResponse = WalletBalanceV20250609ResponseDto | BalanceControllerGetBalanceForLocator2Error;
|
|
28
|
-
type GetBalanceSuccessResponse = WalletBalanceV20250609ResponseDto;
|
|
29
|
-
type GetActivityResponse = WalletsV1Alpha2ActivityResponseDto | WalletV1Alpha2ErrorDto;
|
|
30
|
-
type Activity = WalletsV1Alpha2ActivityResponseDto;
|
|
31
|
-
type FundWalletParams = FundWalletAmountDto;
|
|
32
|
-
type FundWalletResponse = BalanceControllerFundWallet2Responses | BalanceControllerFundWallet2Error;
|
|
33
|
-
type RegisterSignerChain = Extract<CreateSignerV2025InputDto, {
|
|
34
|
-
chain: string;
|
|
35
|
-
}>["chain"];
|
|
36
|
-
type RegisterSignerPasskeyParams = Extract<CreateSignerV2025InputDto["signer"], {
|
|
37
|
-
type: "passkey";
|
|
38
|
-
}>;
|
|
39
|
-
type RegisterSignerParams = {
|
|
40
|
-
signer: string | RegisterSignerPasskeyParams;
|
|
41
|
-
chain?: RegisterSignerChain;
|
|
42
|
-
};
|
|
43
|
-
type RegisterSignerResponse = DelegatedSignerV2025Dto | WalletsV1ControllerCreateDelegatedSigner4Error;
|
|
44
|
-
type GetSignerResponse = DelegatedSignerV2025Dto | WalletsV1ControllerGetDelegatedSigner4Error;
|
|
45
|
-
type GetDelegatedSignersResponse = Array<DelegatedSignerV2025Dto> | WalletsV1ControllerGetDelegatedSigner4Error;
|
|
46
|
-
type DelegatedSigner = DelegatedSignerV2025Dto;
|
|
47
|
-
type SendParams = SendTokenDto;
|
|
48
|
-
type SendResponse = WalletsSendTokenControllerSendToken2Response;
|
|
49
|
-
type WalletType = "smart" | "mpc";
|
|
50
|
-
type SolanaAddress = string;
|
|
51
|
-
type EvmWalletLocator = `me:evm:${WalletType}` | Address;
|
|
52
|
-
type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
|
|
53
|
-
type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
|
|
54
|
-
|
|
55
|
-
export type { Activity, AdminSignerConfig, ApproveSignatureParams, ApproveSignatureResponse, ApproveTransactionParams, ApproveTransactionResponse, CreateSignatureParams, CreateSignatureResponse, CreateTransactionParams, CreateTransactionResponse, CreateTransactionSuccessResponse, CreateWalletParams, CreateWalletResponse, DelegatedSigner, FundWalletParams, FundWalletResponse, GetActivityResponse, GetBalanceResponse, GetBalanceSuccessResponse, GetDelegatedSignersResponse, GetNftsResponse, GetSignatureResponse, GetSignerResponse, GetTransactionResponse, GetTransactionSuccessResponse, GetTransactionsResponse, GetWalletResponse, GetWalletSuccessResponse, RegisterSignerChain, RegisterSignerParams, RegisterSignerPasskeyParams, RegisterSignerResponse, SendParams, SendResponse, WalletLocator };
|
package/dist/api/types.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
import { CreateWalletV2025Dto, WalletV2025ResponseDto, WalletV1Alpha2ErrorDto, CreateTransactionV2025Dto, WalletsTransactionV2025ResponseDto, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV1ControllerSubmitApprovals4Error, WalletsV1ControllerGetTransaction4Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV1ControllerCreateSignatureRequest4Error, WalletsV1ControllerSubmitSignatureApprovals4Error, WalletsV1ControllerGetSignature4Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV1ControllerGetTransactionsWithoutChain4Error, WalletNftsResponseDto, WalletsV1Alpha2ActivityResponseDto, WalletBalanceV20250609ResponseDto, BalanceControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet2Responses, BalanceControllerFundWallet2Error, CreateSignerV2025InputDto, DelegatedSignerV2025Dto, WalletsV1ControllerCreateDelegatedSigner4Error, WalletsV1ControllerGetDelegatedSigner4Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './gen/types.gen.js';
|
|
3
|
-
|
|
4
|
-
type CreateWalletParams = CreateWalletV2025Dto;
|
|
5
|
-
type GetWalletSuccessResponse = WalletV2025ResponseDto;
|
|
6
|
-
type CreateWalletResponse = GetWalletSuccessResponse | WalletV1Alpha2ErrorDto;
|
|
7
|
-
type GetWalletResponse = GetWalletSuccessResponse | WalletV1Alpha2ErrorDto;
|
|
8
|
-
type AdminSignerConfig = NonNullable<Extract<CreateWalletV2025Dto, {
|
|
9
|
-
config: {
|
|
10
|
-
adminSigner: Record<string, unknown>;
|
|
11
|
-
};
|
|
12
|
-
}>["config"]>["adminSigner"];
|
|
13
|
-
type CreateTransactionParams = CreateTransactionV2025Dto;
|
|
14
|
-
type CreateTransactionSuccessResponse = WalletsTransactionV2025ResponseDto;
|
|
15
|
-
type CreateTransactionResponse = CreateTransactionSuccessResponse | WalletV1Alpha2TransactionErrorDto;
|
|
16
|
-
type ApproveTransactionParams = SubmitApprovalV2025Dto;
|
|
17
|
-
type ApproveTransactionResponse = WalletsTransactionV2025ResponseDto | WalletsV1ControllerSubmitApprovals4Error;
|
|
18
|
-
type GetTransactionResponse = WalletsTransactionV2025ResponseDto | WalletsV1ControllerGetTransaction4Error;
|
|
19
|
-
type GetTransactionSuccessResponse = WalletsTransactionV2025ResponseDto;
|
|
20
|
-
type CreateSignatureParams = CreateSignatureV2025Dto;
|
|
21
|
-
type CreateSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerCreateSignatureRequest4Error;
|
|
22
|
-
type ApproveSignatureParams = SubmitApprovalV2025Dto;
|
|
23
|
-
type ApproveSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerSubmitSignatureApprovals4Error;
|
|
24
|
-
type GetSignatureResponse = WalletsSignatureV2025ResponseDto | WalletsV1ControllerGetSignature4Error;
|
|
25
|
-
type GetTransactionsResponse = WalletsMultipleTransactionV2025ResponseDto | WalletsV1ControllerGetTransactionsWithoutChain4Error;
|
|
26
|
-
type GetNftsResponse = WalletNftsResponseDto;
|
|
27
|
-
type GetBalanceResponse = WalletBalanceV20250609ResponseDto | BalanceControllerGetBalanceForLocator2Error;
|
|
28
|
-
type GetBalanceSuccessResponse = WalletBalanceV20250609ResponseDto;
|
|
29
|
-
type GetActivityResponse = WalletsV1Alpha2ActivityResponseDto | WalletV1Alpha2ErrorDto;
|
|
30
|
-
type Activity = WalletsV1Alpha2ActivityResponseDto;
|
|
31
|
-
type FundWalletParams = FundWalletAmountDto;
|
|
32
|
-
type FundWalletResponse = BalanceControllerFundWallet2Responses | BalanceControllerFundWallet2Error;
|
|
33
|
-
type RegisterSignerChain = Extract<CreateSignerV2025InputDto, {
|
|
34
|
-
chain: string;
|
|
35
|
-
}>["chain"];
|
|
36
|
-
type RegisterSignerPasskeyParams = Extract<CreateSignerV2025InputDto["signer"], {
|
|
37
|
-
type: "passkey";
|
|
38
|
-
}>;
|
|
39
|
-
type RegisterSignerParams = {
|
|
40
|
-
signer: string | RegisterSignerPasskeyParams;
|
|
41
|
-
chain?: RegisterSignerChain;
|
|
42
|
-
};
|
|
43
|
-
type RegisterSignerResponse = DelegatedSignerV2025Dto | WalletsV1ControllerCreateDelegatedSigner4Error;
|
|
44
|
-
type GetSignerResponse = DelegatedSignerV2025Dto | WalletsV1ControllerGetDelegatedSigner4Error;
|
|
45
|
-
type GetDelegatedSignersResponse = Array<DelegatedSignerV2025Dto> | WalletsV1ControllerGetDelegatedSigner4Error;
|
|
46
|
-
type DelegatedSigner = DelegatedSignerV2025Dto;
|
|
47
|
-
type SendParams = SendTokenDto;
|
|
48
|
-
type SendResponse = WalletsSendTokenControllerSendToken2Response;
|
|
49
|
-
type WalletType = "smart" | "mpc";
|
|
50
|
-
type SolanaAddress = string;
|
|
51
|
-
type EvmWalletLocator = `me:evm:${WalletType}` | Address;
|
|
52
|
-
type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
|
|
53
|
-
type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
|
|
54
|
-
|
|
55
|
-
export type { Activity, AdminSignerConfig, ApproveSignatureParams, ApproveSignatureResponse, ApproveTransactionParams, ApproveTransactionResponse, CreateSignatureParams, CreateSignatureResponse, CreateTransactionParams, CreateTransactionResponse, CreateTransactionSuccessResponse, CreateWalletParams, CreateWalletResponse, DelegatedSigner, FundWalletParams, FundWalletResponse, GetActivityResponse, GetBalanceResponse, GetBalanceSuccessResponse, GetDelegatedSignersResponse, GetNftsResponse, GetSignatureResponse, GetSignerResponse, GetTransactionResponse, GetTransactionSuccessResponse, GetTransactionsResponse, GetWalletResponse, GetWalletSuccessResponse, RegisterSignerChain, RegisterSignerParams, RegisterSignerPasskeyParams, RegisterSignerResponse, SendParams, SendResponse, WalletLocator };
|
package/dist/api/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../chunk-KBJA7JDT.js";
|
package/dist/chains/chains.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkWDZY4PP4cjs = require('../chunk-WDZY4PP4.cjs');
|
|
8
|
-
require('../chunk-NIBKCMQ2.cjs');
|
|
9
|
-
require('../chunk-55V4VMTX.cjs');
|
|
10
|
-
require('../chunk-7USEVMTW.cjs');
|
|
11
|
-
require('../chunk-F7L2TZ3I.cjs');
|
|
12
|
-
require('../chunk-HTSQPZHW.cjs');
|
|
13
|
-
require('../chunk-XC2V34TS.cjs');
|
|
14
|
-
require('../chunk-CCIGWTAO.cjs');
|
|
15
|
-
require('../chunk-JREZWZ2S.cjs');
|
|
16
|
-
require('../chunk-R4AW5ADG.cjs');
|
|
17
|
-
require('../chunk-UO2J2ZB2.cjs');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.isMainnetChain = _chunkWDZY4PP4cjs.isMainnetChain; exports.isTestnetChain = _chunkWDZY4PP4cjs.isTestnetChain; exports.mainnetToTestnet = _chunkWDZY4PP4cjs.mainnetToTestnet; exports.toViemChain = _chunkWDZY4PP4cjs.toViemChain; exports.validateChainForEnvironment = _chunkWDZY4PP4cjs.validateChainForEnvironment;
|
package/dist/chains/chains.d.cts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
2
|
-
import { Chain as Chain$1 } from 'viem';
|
|
3
|
-
|
|
4
|
-
declare const TESTNET_AA_CHAINS: readonly ["abstract-testnet", "arbitrum-sepolia", "base-sepolia", "curtis", "ethereum-sepolia", "flow-testnet", "mantle-sepolia", "mode-sepolia", "optimism-sepolia", "plume-testnet", "polygon-amoy", "scroll-sepolia", "sei-atlantic-2-testnet", "story-testnet", "world-chain-sepolia", "zora-sepolia", "arc-testnet", "tempo-testnet"];
|
|
5
|
-
declare const PRODUCTION_AA_CHAINS: readonly ["abstract", "apechain", "arbitrum", "arbitrumnova", "base", "bsc", "flow", "mantle", "mode", "optimism", "plume", "polygon", "scroll", "sei-pacific-1", "shape", "story", "tempo", "world-chain", "zora"];
|
|
6
|
-
type EVMSmartWalletTestnet = (typeof TESTNET_AA_CHAINS)[number];
|
|
7
|
-
type EVMSmartWalletMainnet = (typeof PRODUCTION_AA_CHAINS)[number];
|
|
8
|
-
type EVMSmartWalletChain = EVMSmartWalletTestnet | EVMSmartWalletMainnet;
|
|
9
|
-
declare function toViemChain(chain: EVMSmartWalletChain): Chain$1;
|
|
10
|
-
type SolanaChain = "solana";
|
|
11
|
-
type StellarChain = "stellar";
|
|
12
|
-
type EVMChain = EVMSmartWalletChain;
|
|
13
|
-
type Chain = SolanaChain | EVMChain | StellarChain;
|
|
14
|
-
declare function isTestnetChain(chain: EVMSmartWalletChain): chain is EVMSmartWalletTestnet;
|
|
15
|
-
declare function isMainnetChain(chain: EVMSmartWalletChain): chain is EVMSmartWalletMainnet;
|
|
16
|
-
declare function mainnetToTestnet(chain: EVMSmartWalletMainnet): EVMSmartWalletTestnet | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Validates that a chain is appropriate for the given environment.
|
|
19
|
-
* In production, only mainnet chains are allowed - throws if a testnet chain is used.
|
|
20
|
-
* In non-production environments, mainnet chains are automatically converted to their testnet equivalent.
|
|
21
|
-
*
|
|
22
|
-
* @param chain - The chain to validate
|
|
23
|
-
* @param environment - The API key environment prefix
|
|
24
|
-
* @returns The validated (and potentially converted) chain
|
|
25
|
-
*/
|
|
26
|
-
declare function validateChainForEnvironment<C extends Chain>(chain: C, environment: APIKeyEnvironmentPrefix): C;
|
|
27
|
-
|
|
28
|
-
export { type Chain, type EVMChain, type EVMSmartWalletChain, type EVMSmartWalletMainnet, type EVMSmartWalletTestnet, type SolanaChain, type StellarChain, isMainnetChain, isTestnetChain, mainnetToTestnet, toViemChain, validateChainForEnvironment };
|
package/dist/chains/chains.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
2
|
-
import { Chain as Chain$1 } from 'viem';
|
|
3
|
-
|
|
4
|
-
declare const TESTNET_AA_CHAINS: readonly ["abstract-testnet", "arbitrum-sepolia", "base-sepolia", "curtis", "ethereum-sepolia", "flow-testnet", "mantle-sepolia", "mode-sepolia", "optimism-sepolia", "plume-testnet", "polygon-amoy", "scroll-sepolia", "sei-atlantic-2-testnet", "story-testnet", "world-chain-sepolia", "zora-sepolia", "arc-testnet", "tempo-testnet"];
|
|
5
|
-
declare const PRODUCTION_AA_CHAINS: readonly ["abstract", "apechain", "arbitrum", "arbitrumnova", "base", "bsc", "flow", "mantle", "mode", "optimism", "plume", "polygon", "scroll", "sei-pacific-1", "shape", "story", "tempo", "world-chain", "zora"];
|
|
6
|
-
type EVMSmartWalletTestnet = (typeof TESTNET_AA_CHAINS)[number];
|
|
7
|
-
type EVMSmartWalletMainnet = (typeof PRODUCTION_AA_CHAINS)[number];
|
|
8
|
-
type EVMSmartWalletChain = EVMSmartWalletTestnet | EVMSmartWalletMainnet;
|
|
9
|
-
declare function toViemChain(chain: EVMSmartWalletChain): Chain$1;
|
|
10
|
-
type SolanaChain = "solana";
|
|
11
|
-
type StellarChain = "stellar";
|
|
12
|
-
type EVMChain = EVMSmartWalletChain;
|
|
13
|
-
type Chain = SolanaChain | EVMChain | StellarChain;
|
|
14
|
-
declare function isTestnetChain(chain: EVMSmartWalletChain): chain is EVMSmartWalletTestnet;
|
|
15
|
-
declare function isMainnetChain(chain: EVMSmartWalletChain): chain is EVMSmartWalletMainnet;
|
|
16
|
-
declare function mainnetToTestnet(chain: EVMSmartWalletMainnet): EVMSmartWalletTestnet | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Validates that a chain is appropriate for the given environment.
|
|
19
|
-
* In production, only mainnet chains are allowed - throws if a testnet chain is used.
|
|
20
|
-
* In non-production environments, mainnet chains are automatically converted to their testnet equivalent.
|
|
21
|
-
*
|
|
22
|
-
* @param chain - The chain to validate
|
|
23
|
-
* @param environment - The API key environment prefix
|
|
24
|
-
* @returns The validated (and potentially converted) chain
|
|
25
|
-
*/
|
|
26
|
-
declare function validateChainForEnvironment<C extends Chain>(chain: C, environment: APIKeyEnvironmentPrefix): C;
|
|
27
|
-
|
|
28
|
-
export { type Chain, type EVMChain, type EVMSmartWalletChain, type EVMSmartWalletMainnet, type EVMSmartWalletTestnet, type SolanaChain, type StellarChain, isMainnetChain, isTestnetChain, mainnetToTestnet, toViemChain, validateChainForEnvironment };
|
package/dist/chains/chains.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isMainnetChain,
|
|
3
|
-
isTestnetChain,
|
|
4
|
-
mainnetToTestnet,
|
|
5
|
-
toViemChain,
|
|
6
|
-
validateChainForEnvironment
|
|
7
|
-
} from "../chunk-2WBSPOWU.js";
|
|
8
|
-
import "../chunk-2T5HHKUI.js";
|
|
9
|
-
import "../chunk-3U6UAYOV.js";
|
|
10
|
-
import "../chunk-MMISP35W.js";
|
|
11
|
-
import "../chunk-JWMQALLN.js";
|
|
12
|
-
import "../chunk-ZBLW42YE.js";
|
|
13
|
-
import "../chunk-SGINWAB6.js";
|
|
14
|
-
import "../chunk-455NK5LB.js";
|
|
15
|
-
import "../chunk-ABMZ3ZVN.js";
|
|
16
|
-
import "../chunk-TYQ4YIP7.js";
|
|
17
|
-
import "../chunk-ASE2FXWP.js";
|
|
18
|
-
export {
|
|
19
|
-
isMainnetChain,
|
|
20
|
-
isTestnetChain,
|
|
21
|
-
mainnetToTestnet,
|
|
22
|
-
toViemChain,
|
|
23
|
-
validateChainForEnvironment
|
|
24
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const arcTestnet: {
|
|
4
|
-
blockExplorers: {
|
|
5
|
-
readonly default: {
|
|
6
|
-
readonly name: "Arc Testnet Explorer";
|
|
7
|
-
readonly url: "https://testnet.arcscan.app";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
blockTime?: number | undefined;
|
|
11
|
-
contracts?: viem.Prettify<{
|
|
12
|
-
[key: string]: viem.ChainContract | {
|
|
13
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
14
|
-
} | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
17
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
18
|
-
multicall3?: viem.ChainContract | undefined;
|
|
19
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
ensTlds?: readonly string[] | undefined;
|
|
22
|
-
id: 5042002;
|
|
23
|
-
name: "Arc Testnet";
|
|
24
|
-
nativeCurrency: {
|
|
25
|
-
readonly decimals: 6;
|
|
26
|
-
readonly name: "USDC";
|
|
27
|
-
readonly symbol: "USDC";
|
|
28
|
-
};
|
|
29
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
30
|
-
rpcUrls: {
|
|
31
|
-
readonly default: {
|
|
32
|
-
readonly http: readonly ["https://rpc.testnet.arc.network"];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
sourceId?: number | undefined;
|
|
36
|
-
testnet: true;
|
|
37
|
-
custom?: Record<string, unknown> | undefined;
|
|
38
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
39
|
-
formatters?: undefined;
|
|
40
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { arcTestnet };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const arcTestnet: {
|
|
4
|
-
blockExplorers: {
|
|
5
|
-
readonly default: {
|
|
6
|
-
readonly name: "Arc Testnet Explorer";
|
|
7
|
-
readonly url: "https://testnet.arcscan.app";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
blockTime?: number | undefined;
|
|
11
|
-
contracts?: viem.Prettify<{
|
|
12
|
-
[key: string]: viem.ChainContract | {
|
|
13
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
14
|
-
} | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
17
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
18
|
-
multicall3?: viem.ChainContract | undefined;
|
|
19
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
ensTlds?: readonly string[] | undefined;
|
|
22
|
-
id: 5042002;
|
|
23
|
-
name: "Arc Testnet";
|
|
24
|
-
nativeCurrency: {
|
|
25
|
-
readonly decimals: 6;
|
|
26
|
-
readonly name: "USDC";
|
|
27
|
-
readonly symbol: "USDC";
|
|
28
|
-
};
|
|
29
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
30
|
-
rpcUrls: {
|
|
31
|
-
readonly default: {
|
|
32
|
-
readonly http: readonly ["https://rpc.testnet.arc.network"];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
sourceId?: number | undefined;
|
|
36
|
-
testnet: true;
|
|
37
|
-
custom?: Record<string, unknown> | undefined;
|
|
38
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
39
|
-
formatters?: undefined;
|
|
40
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { arcTestnet };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const story: {
|
|
4
|
-
blockExplorers?: {
|
|
5
|
-
[key: string]: {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
apiUrl?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
default: {
|
|
11
|
-
name: string;
|
|
12
|
-
url: string;
|
|
13
|
-
apiUrl?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
} | undefined;
|
|
16
|
-
blockTime?: number | undefined;
|
|
17
|
-
contracts?: viem.Prettify<{
|
|
18
|
-
[key: string]: viem.ChainContract | {
|
|
19
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
} & {
|
|
22
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
23
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
24
|
-
multicall3?: viem.ChainContract | undefined;
|
|
25
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
26
|
-
}> | undefined;
|
|
27
|
-
ensTlds?: readonly string[] | undefined;
|
|
28
|
-
id: 1514;
|
|
29
|
-
name: "Story";
|
|
30
|
-
nativeCurrency: {
|
|
31
|
-
readonly decimals: 18;
|
|
32
|
-
readonly name: "IP Token";
|
|
33
|
-
readonly symbol: "IP";
|
|
34
|
-
};
|
|
35
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
36
|
-
rpcUrls: {
|
|
37
|
-
readonly default: {
|
|
38
|
-
readonly http: readonly ["https://mainnet.storyrpc.io"];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
sourceId?: number | undefined;
|
|
42
|
-
testnet: false;
|
|
43
|
-
custom?: Record<string, unknown> | undefined;
|
|
44
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
45
|
-
formatters?: undefined;
|
|
46
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { story };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const story: {
|
|
4
|
-
blockExplorers?: {
|
|
5
|
-
[key: string]: {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
apiUrl?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
default: {
|
|
11
|
-
name: string;
|
|
12
|
-
url: string;
|
|
13
|
-
apiUrl?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
} | undefined;
|
|
16
|
-
blockTime?: number | undefined;
|
|
17
|
-
contracts?: viem.Prettify<{
|
|
18
|
-
[key: string]: viem.ChainContract | {
|
|
19
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
} & {
|
|
22
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
23
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
24
|
-
multicall3?: viem.ChainContract | undefined;
|
|
25
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
26
|
-
}> | undefined;
|
|
27
|
-
ensTlds?: readonly string[] | undefined;
|
|
28
|
-
id: 1514;
|
|
29
|
-
name: "Story";
|
|
30
|
-
nativeCurrency: {
|
|
31
|
-
readonly decimals: 18;
|
|
32
|
-
readonly name: "IP Token";
|
|
33
|
-
readonly symbol: "IP";
|
|
34
|
-
};
|
|
35
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
36
|
-
rpcUrls: {
|
|
37
|
-
readonly default: {
|
|
38
|
-
readonly http: readonly ["https://mainnet.storyrpc.io"];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
sourceId?: number | undefined;
|
|
42
|
-
testnet: false;
|
|
43
|
-
custom?: Record<string, unknown> | undefined;
|
|
44
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
45
|
-
formatters?: undefined;
|
|
46
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { story };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const storyTestnet: {
|
|
4
|
-
blockExplorers: {
|
|
5
|
-
readonly default: {
|
|
6
|
-
readonly name: "Story Testnet Explorer";
|
|
7
|
-
readonly url: "https://testnet.storyscan.xyz";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
blockTime?: number | undefined;
|
|
11
|
-
contracts?: viem.Prettify<{
|
|
12
|
-
[key: string]: viem.ChainContract | {
|
|
13
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
14
|
-
} | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
17
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
18
|
-
multicall3?: viem.ChainContract | undefined;
|
|
19
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
ensTlds?: readonly string[] | undefined;
|
|
22
|
-
id: 1513;
|
|
23
|
-
name: "Story Testnet";
|
|
24
|
-
nativeCurrency: {
|
|
25
|
-
readonly decimals: 18;
|
|
26
|
-
readonly name: "IP";
|
|
27
|
-
readonly symbol: "IP";
|
|
28
|
-
};
|
|
29
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
30
|
-
rpcUrls: {
|
|
31
|
-
readonly default: {
|
|
32
|
-
readonly http: readonly ["https://testnet.storyrpc.io"];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
sourceId?: number | undefined;
|
|
36
|
-
testnet: true;
|
|
37
|
-
custom?: Record<string, unknown> | undefined;
|
|
38
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
39
|
-
formatters?: undefined;
|
|
40
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { storyTestnet };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as viem from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const storyTestnet: {
|
|
4
|
-
blockExplorers: {
|
|
5
|
-
readonly default: {
|
|
6
|
-
readonly name: "Story Testnet Explorer";
|
|
7
|
-
readonly url: "https://testnet.storyscan.xyz";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
blockTime?: number | undefined;
|
|
11
|
-
contracts?: viem.Prettify<{
|
|
12
|
-
[key: string]: viem.ChainContract | {
|
|
13
|
-
[sourceId: number]: viem.ChainContract | undefined;
|
|
14
|
-
} | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
ensRegistry?: viem.ChainContract | undefined;
|
|
17
|
-
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
18
|
-
multicall3?: viem.ChainContract | undefined;
|
|
19
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
ensTlds?: readonly string[] | undefined;
|
|
22
|
-
id: 1513;
|
|
23
|
-
name: "Story Testnet";
|
|
24
|
-
nativeCurrency: {
|
|
25
|
-
readonly decimals: 18;
|
|
26
|
-
readonly name: "IP";
|
|
27
|
-
readonly symbol: "IP";
|
|
28
|
-
};
|
|
29
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
30
|
-
rpcUrls: {
|
|
31
|
-
readonly default: {
|
|
32
|
-
readonly http: readonly ["https://testnet.storyrpc.io"];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
sourceId?: number | undefined;
|
|
36
|
-
testnet: true;
|
|
37
|
-
custom?: Record<string, unknown> | undefined;
|
|
38
|
-
fees?: viem.ChainFees<undefined> | undefined;
|
|
39
|
-
formatters?: undefined;
|
|
40
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { storyTestnet };
|