@verified-network/verified-custody 0.1.9 → 0.2.0
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/babel.config.json +12 -0
- package/dist/index.d.mts +165 -0
- package/dist/index.d.ts +165 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +31 -42
- package/src/components/overlays.tsx +61 -0
- package/src/components/search.tsx +381 -0
- package/src/components/slider.tsx +29 -0
- package/src/components/success.tsx +142 -0
- package/src/customTypes.d.ts +37 -0
- package/src/index.ts +17 -0
- package/src/pages/addCosigners.tsx +1014 -0
- package/src/pages/contact.tsx +280 -0
- package/src/pages/createPin.tsx +693 -0
- package/src/pages/enterPin.tsx +821 -0
- package/src/pages/ftu.tsx +244 -0
- package/src/pages/index.tsx +170 -0
- package/src/pages/otp.tsx +410 -0
- package/src/services/contracts.ts +817 -0
- package/src/services/store.tsx +65 -0
- package/src/style.css +2030 -0
- package/src/utils/config.ts +103 -0
- package/src/utils/constants.ts +1966 -0
- package/src/utils/helpers.tsx +334 -0
- package/src/utils/types.ts +85 -0
- package/tsconfig.json +16 -0
- package/tsup.config.ts +36 -0
- package/README.md +0 -93
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -190
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export const ChainConfig: any = {
|
|
2
|
+
1: {
|
|
3
|
+
chainId: `0x${Number(1).toString(16)}`,
|
|
4
|
+
chainName: "Ethereum",
|
|
5
|
+
nativeCurrency: {
|
|
6
|
+
name: "ETH",
|
|
7
|
+
symbol: "ETH",
|
|
8
|
+
decimals: 18,
|
|
9
|
+
},
|
|
10
|
+
rpcUrls: [
|
|
11
|
+
`https://solemn-summer-patina.quiknode.pro/${process.env.REACT_APP_QUIKNODE_KEY}/`,
|
|
12
|
+
],
|
|
13
|
+
blockExplorerUrls: ["https://etherscan.io/"],
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
8453: {
|
|
17
|
+
chainId: `0x${Number(8453).toString(16)}`,
|
|
18
|
+
chainName: "Base Mainnet",
|
|
19
|
+
nativeCurrency: {
|
|
20
|
+
name: "ETH",
|
|
21
|
+
symbol: "ETH",
|
|
22
|
+
decimals: 18,
|
|
23
|
+
},
|
|
24
|
+
rpcUrls: [
|
|
25
|
+
`https://red-quaint-pallet.base-mainnet.quiknode.pro/${process.env.REACT_APP_QUICKNODE_KEY}/`,
|
|
26
|
+
],
|
|
27
|
+
blockExplorerUrls: ["https://basescan.org/"],
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
100: {
|
|
31
|
+
chainId: `0x${Number(100).toString(16)}`,
|
|
32
|
+
chainName: "Gnosis",
|
|
33
|
+
nativeCurrency: {
|
|
34
|
+
name: "XDAI",
|
|
35
|
+
symbol: "XDAI",
|
|
36
|
+
decimals: 18,
|
|
37
|
+
},
|
|
38
|
+
rpcUrls: ["https://rpc.gnosischain.com/"],
|
|
39
|
+
blockExplorerUrls: ["https://gnosisscan.io/"],
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
11155111: {
|
|
43
|
+
chainId: `0x${Number(11155111).toString(16)}`,
|
|
44
|
+
chainName: "Sepolia Test Network",
|
|
45
|
+
nativeCurrency: {
|
|
46
|
+
name: "ETH",
|
|
47
|
+
symbol: "ETH",
|
|
48
|
+
decimals: 18,
|
|
49
|
+
},
|
|
50
|
+
rpcUrls: ["https://eth-sepolia.public.blastapi.io"],
|
|
51
|
+
blockExplorerUrls: ["https://sepolia.etherscan.io/"],
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
84532: {
|
|
55
|
+
chainId: `0x${Number(84532).toString(16)}`,
|
|
56
|
+
chainName: "Base Sepolia",
|
|
57
|
+
nativeCurrency: {
|
|
58
|
+
name: "ETH",
|
|
59
|
+
symbol: "ETH",
|
|
60
|
+
decimals: 18,
|
|
61
|
+
},
|
|
62
|
+
rpcUrls: ["https://sepolia.base.org"],
|
|
63
|
+
blockExplorerUrls: ["https://sepolia.basescan.org/"],
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export const PaymasterConfig: any = {
|
|
68
|
+
BUNDLER_URL_FIRST_SECTION: "https://bundler.biconomy.io/api/v2",
|
|
69
|
+
|
|
70
|
+
//ethereum sepolia
|
|
71
|
+
11155111: {
|
|
72
|
+
PAYMASTER_API_KEY: "BuFP2-5w-.5b3daf3a-d044-4dda-819c-4c4d8431df88",
|
|
73
|
+
BUNDLER_API_KEY: "nJPK7B3ru.dd7f7861-190d-41bd-af80-6877f74b8f44",
|
|
74
|
+
},
|
|
75
|
+
//polgon mainnet
|
|
76
|
+
137: {
|
|
77
|
+
PAYMASTER_API_KEY: "lDHvYk50N.30a2522e-0a9d-444b-b949-19194c1f237a",
|
|
78
|
+
BUNDLER_API_KEY: "dewj2189.wh1289hU-7E49-45ic-af80-JkuxGCYRV",
|
|
79
|
+
},
|
|
80
|
+
//base sepolia
|
|
81
|
+
84532: {
|
|
82
|
+
PAYMASTER_API_KEY: "jSBI-WRji.99a4dda1-1c20-42ea-9409-2724f9a0ca7e",
|
|
83
|
+
BUNDLER_API_KEY: "nJPK7B3ru.dd7f7861-190d-41bd-af80-6877f74b8f44",
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
//ethereum mainnet
|
|
87
|
+
1: {
|
|
88
|
+
PAYMASTER_API_KEY: "ap7LOqALI.bf68e672-47ce-40f8-8b62-ea508dcf5852",
|
|
89
|
+
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
//base mainnet
|
|
93
|
+
8453: {
|
|
94
|
+
PAYMASTER_API_KEY: "glRQsmuYh.5d9372ab-5063-4ecd-ac63-643fef624a73",
|
|
95
|
+
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
//gnosis
|
|
99
|
+
100: {
|
|
100
|
+
PAYMASTER_API_KEY: "eUYghbvi4.317a2d6d-6ee7-4a0c-b91f-43ba2699f65b",
|
|
101
|
+
BUNDLER_API_KEY: "dewj402.wh1289hU-7E49-85b-af80-t6XmQ4yJs",
|
|
102
|
+
},
|
|
103
|
+
};
|