@sei-js/create-sei 0.0.2 → 0.0.4
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +12 -0
- package/README.md +16 -25
- package/biome.json +8 -0
- package/dist/main.js +10 -60
- package/dist/templates/next-template/.eslintrc.json +3 -0
- package/dist/templates/next-template/package.json +30 -0
- package/dist/templates/next-template/src/app/components/Homepage/Examples.tsx +257 -0
- package/dist/templates/next-template/src/app/components/Homepage/Homepage.css +154 -0
- package/dist/templates/{next-wagmi-template → next-template}/src/app/components/Homepage/Homepage.tsx +10 -36
- package/{templates/next-wagmi-template → dist/templates/next-template}/src/app/components/Web3Provider.tsx +29 -28
- package/dist/templates/next-template/src/app/components/index.ts +2 -0
- package/dist/templates/{next-wagmi-template → next-template}/src/app/constants/chain.ts +2 -2
- package/dist/templates/next-template/src/app/constants/index.ts +1 -0
- package/dist/templates/next-template/src/app/index.css +184 -0
- package/dist/templates/next-template/src/app/layout.tsx +21 -0
- package/dist/templates/next-template/src/app/page.tsx +21 -0
- package/dist/templates/next-template/tsconfig.json +26 -0
- package/dist/templates/vite-template/.eslintrc.cjs +11 -0
- package/dist/templates/vite-template/package.json +33 -0
- package/dist/templates/vite-template/src/App.tsx +21 -0
- package/dist/templates/vite-template/src/components/Homepage/Examples.tsx +255 -0
- package/dist/templates/vite-template/src/components/Homepage/Homepage.css +154 -0
- package/dist/templates/vite-template/src/components/Homepage/Homepage.tsx +81 -0
- package/{templates/vite-wagmi-template → dist/templates/vite-template}/src/components/Web3Provider.tsx +29 -28
- package/dist/templates/{vite-wagmi-template → vite-template}/src/constants/chain.ts +1 -1
- package/dist/templates/vite-template/src/constants/index.ts +1 -0
- package/dist/templates/vite-template/src/index.css +183 -0
- package/dist/templates/vite-template/src/main.tsx +12 -0
- package/dist/templates/vite-template/tsconfig.app.json +25 -0
- package/dist/templates/vite-template/tsconfig.json +11 -0
- package/dist/templates/vite-template/tsconfig.node.json +14 -0
- package/dist/templates/vite-template/vite.config.ts +10 -0
- package/package.json +1 -1
- package/src/main.ts +26 -87
- package/templates/next-template/.eslintrc.json +3 -0
- package/templates/next-template/package.json +30 -0
- package/templates/next-template/src/app/components/Homepage/Examples.tsx +257 -0
- package/templates/next-template/src/app/components/Homepage/Homepage.css +154 -0
- package/templates/{next-wagmi-template → next-template}/src/app/components/Homepage/Homepage.tsx +10 -36
- package/{dist/templates/next-wagmi-template → templates/next-template}/src/app/components/Web3Provider.tsx +29 -28
- package/templates/next-template/src/app/components/index.ts +2 -0
- package/templates/{next-wagmi-template → next-template}/src/app/constants/chain.ts +2 -2
- package/templates/next-template/src/app/constants/index.ts +1 -0
- package/templates/next-template/src/app/index.css +184 -0
- package/templates/next-template/src/app/layout.tsx +21 -0
- package/templates/next-template/src/app/page.tsx +21 -0
- package/templates/next-template/tsconfig.json +26 -0
- package/templates/vite-template/.eslintrc.cjs +11 -0
- package/templates/vite-template/package.json +33 -0
- package/templates/vite-template/src/App.tsx +21 -0
- package/templates/vite-template/src/components/Homepage/Examples.tsx +255 -0
- package/templates/vite-template/src/components/Homepage/Homepage.css +154 -0
- package/templates/vite-template/src/components/Homepage/Homepage.tsx +81 -0
- package/{dist/templates/vite-wagmi-template → templates/vite-template}/src/components/Web3Provider.tsx +29 -28
- package/templates/{vite-wagmi-template → vite-template}/src/constants/chain.ts +1 -1
- package/templates/vite-template/src/constants/index.ts +1 -0
- package/templates/vite-template/src/index.css +183 -0
- package/templates/vite-template/src/main.tsx +12 -0
- package/templates/vite-template/tsconfig.app.json +25 -0
- package/templates/vite-template/tsconfig.json +11 -0
- package/templates/vite-template/tsconfig.node.json +14 -0
- package/templates/vite-template/vite.config.ts +10 -0
- package/tsconfig.json +18 -28
- package/dist/templates/next-cosmos-template/.eslintrc.json +0 -3
- package/dist/templates/next-cosmos-template/README.md +0 -60
- package/dist/templates/next-cosmos-template/next.config.mjs +0 -14
- package/dist/templates/next-cosmos-template/package.json +0 -31
- package/dist/templates/next-cosmos-template/public/next.svg +0 -1
- package/dist/templates/next-cosmos-template/public/vercel.svg +0 -1
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Examples.tsx +0 -177
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Homepage.css +0 -156
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Homepage.tsx +0 -110
- package/dist/templates/next-cosmos-template/src/app/components/WalletConnectButton/WalletConnectButton.tsx +0 -26
- package/dist/templates/next-cosmos-template/src/app/components/Web3Provider.tsx +0 -39
- package/dist/templates/next-cosmos-template/src/app/components/index.ts +0 -3
- package/dist/templates/next-cosmos-template/src/app/constants/chain.ts +0 -16
- package/dist/templates/next-cosmos-template/src/app/constants/index.ts +0 -1
- package/dist/templates/next-cosmos-template/src/app/index.css +0 -171
- package/dist/templates/next-cosmos-template/src/app/layout.tsx +0 -21
- package/dist/templates/next-cosmos-template/src/app/page.tsx +0 -17
- package/dist/templates/next-cosmos-template/tsconfig.json +0 -26
- package/dist/templates/next-cosmos-template/yarn.lock +0 -9814
- package/dist/templates/next-wagmi-template/.eslintrc.json +0 -3
- package/dist/templates/next-wagmi-template/package.json +0 -30
- package/dist/templates/next-wagmi-template/src/app/components/Homepage/Examples.tsx +0 -271
- package/dist/templates/next-wagmi-template/src/app/components/Homepage/Homepage.css +0 -156
- package/dist/templates/next-wagmi-template/src/app/components/index.ts +0 -2
- package/dist/templates/next-wagmi-template/src/app/constants/index.ts +0 -1
- package/dist/templates/next-wagmi-template/src/app/index.css +0 -171
- package/dist/templates/next-wagmi-template/src/app/layout.tsx +0 -21
- package/dist/templates/next-wagmi-template/src/app/page.tsx +0 -21
- package/dist/templates/next-wagmi-template/tsconfig.json +0 -26
- package/dist/templates/vite-cosmos-template/.eslintrc.cjs +0 -18
- package/dist/templates/vite-cosmos-template/README.md +0 -72
- package/dist/templates/vite-cosmos-template/index.html +0 -16
- package/dist/templates/vite-cosmos-template/package.json +0 -35
- package/dist/templates/vite-cosmos-template/src/App.tsx +0 -16
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Examples.tsx +0 -177
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Homepage.css +0 -156
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Homepage.tsx +0 -102
- package/dist/templates/vite-cosmos-template/src/components/WalletConnectButton/WalletConnectButton.tsx +0 -26
- package/dist/templates/vite-cosmos-template/src/components/Web3Provider.tsx +0 -45
- package/dist/templates/vite-cosmos-template/src/components/index.ts +0 -4
- package/dist/templates/vite-cosmos-template/src/constants/chain.ts +0 -16
- package/dist/templates/vite-cosmos-template/src/constants/index.ts +0 -1
- package/dist/templates/vite-cosmos-template/src/index.css +0 -171
- package/dist/templates/vite-cosmos-template/src/main.tsx +0 -12
- package/dist/templates/vite-cosmos-template/tsconfig.app.json +0 -27
- package/dist/templates/vite-cosmos-template/tsconfig.json +0 -11
- package/dist/templates/vite-cosmos-template/tsconfig.node.json +0 -14
- package/dist/templates/vite-cosmos-template/vite.config.ts +0 -7
- package/dist/templates/vite-cosmos-template/yarn.lock +0 -9323
- package/dist/templates/vite-wagmi-template/.eslintrc.cjs +0 -18
- package/dist/templates/vite-wagmi-template/package.json +0 -33
- package/dist/templates/vite-wagmi-template/src/App.tsx +0 -22
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Examples.tsx +0 -269
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Homepage.css +0 -156
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Homepage.tsx +0 -106
- package/dist/templates/vite-wagmi-template/src/constants/index.ts +0 -1
- package/dist/templates/vite-wagmi-template/src/index.css +0 -170
- package/dist/templates/vite-wagmi-template/src/main.tsx +0 -12
- package/dist/templates/vite-wagmi-template/tsconfig.app.json +0 -27
- package/dist/templates/vite-wagmi-template/tsconfig.json +0 -11
- package/dist/templates/vite-wagmi-template/tsconfig.node.json +0 -14
- package/dist/templates/vite-wagmi-template/vite.config.ts +0 -10
- package/templates/next-cosmos-template/.eslintrc.json +0 -3
- package/templates/next-cosmos-template/README.md +0 -60
- package/templates/next-cosmos-template/next-env.d.ts +0 -5
- package/templates/next-cosmos-template/next.config.mjs +0 -14
- package/templates/next-cosmos-template/package.json +0 -31
- package/templates/next-cosmos-template/public/next.svg +0 -1
- package/templates/next-cosmos-template/public/sei-logotype.svg +0 -15
- package/templates/next-cosmos-template/public/vercel.svg +0 -1
- package/templates/next-cosmos-template/src/app/components/Homepage/Examples.tsx +0 -177
- package/templates/next-cosmos-template/src/app/components/Homepage/Homepage.css +0 -156
- package/templates/next-cosmos-template/src/app/components/Homepage/Homepage.tsx +0 -110
- package/templates/next-cosmos-template/src/app/components/WalletConnectButton/WalletConnectButton.tsx +0 -26
- package/templates/next-cosmos-template/src/app/components/Web3Provider.tsx +0 -39
- package/templates/next-cosmos-template/src/app/components/index.ts +0 -3
- package/templates/next-cosmos-template/src/app/constants/chain.ts +0 -16
- package/templates/next-cosmos-template/src/app/constants/index.ts +0 -1
- package/templates/next-cosmos-template/src/app/favicon.ico +0 -0
- package/templates/next-cosmos-template/src/app/index.css +0 -171
- package/templates/next-cosmos-template/src/app/layout.tsx +0 -21
- package/templates/next-cosmos-template/src/app/page.tsx +0 -17
- package/templates/next-cosmos-template/tsconfig.json +0 -26
- package/templates/next-cosmos-template/yarn.lock +0 -9814
- package/templates/next-wagmi-template/.eslintrc.json +0 -3
- package/templates/next-wagmi-template/next-env.d.ts +0 -5
- package/templates/next-wagmi-template/package.json +0 -30
- package/templates/next-wagmi-template/public/sei-logotype.svg +0 -15
- package/templates/next-wagmi-template/src/app/components/Homepage/Examples.tsx +0 -271
- package/templates/next-wagmi-template/src/app/components/Homepage/Homepage.css +0 -156
- package/templates/next-wagmi-template/src/app/components/index.ts +0 -2
- package/templates/next-wagmi-template/src/app/constants/index.ts +0 -1
- package/templates/next-wagmi-template/src/app/favicon.ico +0 -0
- package/templates/next-wagmi-template/src/app/index.css +0 -171
- package/templates/next-wagmi-template/src/app/layout.tsx +0 -21
- package/templates/next-wagmi-template/src/app/page.tsx +0 -21
- package/templates/next-wagmi-template/tsconfig.json +0 -26
- package/templates/vite-cosmos-template/.eslintrc.cjs +0 -18
- package/templates/vite-cosmos-template/README.md +0 -72
- package/templates/vite-cosmos-template/favicon.ico +0 -0
- package/templates/vite-cosmos-template/index.html +0 -16
- package/templates/vite-cosmos-template/package.json +0 -35
- package/templates/vite-cosmos-template/public/sei-logotype.svg +0 -15
- package/templates/vite-cosmos-template/src/App.tsx +0 -16
- package/templates/vite-cosmos-template/src/assets/react.svg +0 -1
- package/templates/vite-cosmos-template/src/components/Homepage/Examples.tsx +0 -177
- package/templates/vite-cosmos-template/src/components/Homepage/Homepage.css +0 -156
- package/templates/vite-cosmos-template/src/components/Homepage/Homepage.tsx +0 -102
- package/templates/vite-cosmos-template/src/components/WalletConnectButton/WalletConnectButton.tsx +0 -26
- package/templates/vite-cosmos-template/src/components/Web3Provider.tsx +0 -45
- package/templates/vite-cosmos-template/src/components/index.ts +0 -4
- package/templates/vite-cosmos-template/src/constants/chain.ts +0 -16
- package/templates/vite-cosmos-template/src/constants/index.ts +0 -1
- package/templates/vite-cosmos-template/src/index.css +0 -171
- package/templates/vite-cosmos-template/src/main.tsx +0 -12
- package/templates/vite-cosmos-template/src/vite-env.d.ts +0 -1
- package/templates/vite-cosmos-template/tsconfig.app.json +0 -27
- package/templates/vite-cosmos-template/tsconfig.json +0 -11
- package/templates/vite-cosmos-template/tsconfig.node.json +0 -14
- package/templates/vite-cosmos-template/vite.config.ts +0 -7
- package/templates/vite-cosmos-template/yarn.lock +0 -9323
- package/templates/vite-wagmi-template/.eslintrc.cjs +0 -18
- package/templates/vite-wagmi-template/favicon.ico +0 -0
- package/templates/vite-wagmi-template/package.json +0 -33
- package/templates/vite-wagmi-template/public/sei-logotype.svg +0 -15
- package/templates/vite-wagmi-template/src/App.tsx +0 -22
- package/templates/vite-wagmi-template/src/assets/react.svg +0 -1
- package/templates/vite-wagmi-template/src/components/Homepage/Examples.tsx +0 -269
- package/templates/vite-wagmi-template/src/components/Homepage/Homepage.css +0 -156
- package/templates/vite-wagmi-template/src/components/Homepage/Homepage.tsx +0 -106
- package/templates/vite-wagmi-template/src/constants/index.ts +0 -1
- package/templates/vite-wagmi-template/src/index.css +0 -170
- package/templates/vite-wagmi-template/src/main.tsx +0 -12
- package/templates/vite-wagmi-template/src/vite-env.d.ts +0 -1
- package/templates/vite-wagmi-template/tsconfig.app.json +0 -27
- package/templates/vite-wagmi-template/tsconfig.json +0 -11
- package/templates/vite-wagmi-template/tsconfig.node.json +0 -14
- package/templates/vite-wagmi-template/vite.config.ts +0 -10
- /package/dist/templates/{next-wagmi-template → next-template}/README.md +0 -0
- /package/dist/templates/{next-cosmos-template → next-template}/next-env.d.ts +0 -0
- /package/dist/templates/{next-wagmi-template → next-template}/next.config.mjs +0 -0
- /package/dist/templates/{next-cosmos-template → next-template}/public/sei-logotype.svg +0 -0
- /package/dist/templates/{next-cosmos-template → next-template}/src/app/favicon.ico +0 -0
- /package/dist/templates/{next-wagmi-template → next-template}/yarn.lock +0 -0
- /package/dist/templates/{vite-wagmi-template → vite-template}/README.md +0 -0
- /package/dist/templates/{next-wagmi-template/src/app → vite-template}/favicon.ico +0 -0
- /package/dist/templates/{vite-wagmi-template → vite-template}/index.html +0 -0
- /package/dist/templates/{next-wagmi-template → vite-template}/public/sei-logotype.svg +0 -0
- /package/dist/templates/{vite-cosmos-template → vite-template}/src/assets/react.svg +0 -0
- /package/dist/templates/{vite-cosmos-template → vite-template}/src/vite-env.d.ts +0 -0
- /package/dist/templates/{vite-wagmi-template → vite-template}/yarn.lock +0 -0
- /package/templates/{next-wagmi-template → next-template}/README.md +0 -0
- /package/{dist/templates/next-wagmi-template → templates/next-template}/next-env.d.ts +0 -0
- /package/templates/{next-wagmi-template → next-template}/next.config.mjs +0 -0
- /package/{dist/templates/vite-cosmos-template → templates/next-template}/public/sei-logotype.svg +0 -0
- /package/{dist/templates/vite-cosmos-template → templates/next-template/src/app}/favicon.ico +0 -0
- /package/templates/{next-wagmi-template → next-template}/yarn.lock +0 -0
- /package/templates/{vite-wagmi-template → vite-template}/README.md +0 -0
- /package/{dist/templates/vite-wagmi-template → templates/vite-template}/favicon.ico +0 -0
- /package/templates/{vite-wagmi-template → vite-template}/index.html +0 -0
- /package/{dist/templates/vite-wagmi-template → templates/vite-template}/public/sei-logotype.svg +0 -0
- /package/{dist/templates/vite-wagmi-template → templates/vite-template}/src/assets/react.svg +0 -0
- /package/{dist/templates/vite-wagmi-template → templates/vite-template}/src/vite-env.d.ts +0 -0
- /package/templates/{vite-wagmi-template → vite-template}/yarn.lock +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "template-next-cosmos-sei-app",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "next dev",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@cosmos-kit/react": "^2.17.0",
|
|
13
|
-
"@interchain-ui/react": "1.23.21",
|
|
14
|
-
"@interchain-ui/react-no-ssr": "^0.1.4",
|
|
15
|
-
"@sei-js/cosmjs": "^1.0.7",
|
|
16
|
-
"@tanstack/react-query": "^5.45.1",
|
|
17
|
-
"chain-registry": "^1.63.5",
|
|
18
|
-
"cosmos-kit": "^2.18.0",
|
|
19
|
-
"next": "14.2.4",
|
|
20
|
-
"pino-pretty": "^11.2.1",
|
|
21
|
-
"react": "^18",
|
|
22
|
-
"react-dom": "^18"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@types/node": "^20",
|
|
26
|
-
"@types/react": "^18",
|
|
27
|
-
"@types/react-dom": "^18",
|
|
28
|
-
"eslint-config-next": "14.2.4",
|
|
29
|
-
"typescript": "^5"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { getCosmWasmClient, getQueryClient, getSigningCosmWasmClient, getStargateClient } from "@sei-js/cosmjs";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import { defaultUrls, selectedChain } from "../../constants";
|
|
4
|
-
import { useChain } from "@cosmos-kit/react";
|
|
5
|
-
|
|
6
|
-
import './Homepage.css'
|
|
7
|
-
type ExampleProps = {
|
|
8
|
-
chainId: string
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function Examples({ chainId }: ExampleProps) {
|
|
12
|
-
const [balance, setBalance] = useState(0)
|
|
13
|
-
const [pool, setPool] = useState({ bonded_tokens: 0, not_bonded_tokens: 0 });
|
|
14
|
-
const [count, setCount] = useState(0)
|
|
15
|
-
|
|
16
|
-
const { address, getOfflineSignerAmino } = useChain(selectedChain.chain_name);
|
|
17
|
-
|
|
18
|
-
// Example of using the query client to query Sei modules
|
|
19
|
-
const getStakingPool = async () => {
|
|
20
|
-
const queryClient = await getQueryClient(defaultUrls[chainId].rest);
|
|
21
|
-
const result = await queryClient.cosmos.staking.v1beta1.pool({});
|
|
22
|
-
setPool(result.pool)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const renderStakingPoolExample = () => {
|
|
26
|
-
return (
|
|
27
|
-
<div className="card">
|
|
28
|
-
<div className="card-header">
|
|
29
|
-
<p className="card__title">Staking Pool</p>
|
|
30
|
-
<small className="card__description">
|
|
31
|
-
<a
|
|
32
|
-
href="https://sei-protocol.github.io/sei-js/functions/cosmjs.getQueryClient.html"
|
|
33
|
-
target="_blank">Sei QueryClient</a> query example
|
|
34
|
-
</small>
|
|
35
|
-
</div>
|
|
36
|
-
<div className="card-body">
|
|
37
|
-
<div className="content-background space-between">
|
|
38
|
-
<small>Bonded Tokens</small>
|
|
39
|
-
<p>{pool ? pool.bonded_tokens : '---'} SEI</p>
|
|
40
|
-
</div>
|
|
41
|
-
<div className="content-background space-between">
|
|
42
|
-
<small>Unbonded Tokens</small>
|
|
43
|
-
<p>{pool ? pool.not_bonded_tokens : '---'} SEI</p>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<div className="card-footer">
|
|
47
|
-
<button onClick={getStakingPool}>Fetch Staking Data</button>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
const getBalanceStargate = async () => {
|
|
54
|
-
if (!address) {
|
|
55
|
-
return undefined
|
|
56
|
-
}
|
|
57
|
-
const queryClient = await getStargateClient(defaultUrls[chainId].rpc);
|
|
58
|
-
const useiBalance = await queryClient.getBalance(address, 'usei');
|
|
59
|
-
const seiBalance = Number(useiBalance.amount) / 1000000
|
|
60
|
-
setBalance(seiBalance);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
const renderBalanceExample = () => {
|
|
64
|
-
return (
|
|
65
|
-
<div className="card">
|
|
66
|
-
<div className="card-header">
|
|
67
|
-
<p className="card__title">Wallet Balance</p>
|
|
68
|
-
<small className="card__description">
|
|
69
|
-
<a
|
|
70
|
-
href="https://cosmos.github.io/cosmjs/latest/stargate/classes/StargateClient.html"
|
|
71
|
-
target="_blank">Stargate Client</a> query example
|
|
72
|
-
</small>
|
|
73
|
-
</div>
|
|
74
|
-
<div className="card-body">
|
|
75
|
-
<div className="content-background space-between">
|
|
76
|
-
<small>SEI</small>
|
|
77
|
-
<p>{balance ? balance : '---' } SEI</p>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div className="card-footer">
|
|
81
|
-
<button onClick={getBalanceStargate}>Fetch balance</button>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
const fetchCount = async () => {
|
|
88
|
-
const cosmWasmClient = await getCosmWasmClient(defaultUrls[chainId].rpc);
|
|
89
|
-
console.log(cosmWasmClient);
|
|
90
|
-
const CONTRACT_ADDRESS =
|
|
91
|
-
"sei14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sh9m79m";
|
|
92
|
-
const response = await cosmWasmClient.queryContractSmart(CONTRACT_ADDRESS, {
|
|
93
|
-
get_count: {},
|
|
94
|
-
});
|
|
95
|
-
const result = response?.count;
|
|
96
|
-
if (result) {
|
|
97
|
-
setCount(result);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
const incrementCounter = async () => {
|
|
102
|
-
if (!address) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
const offlineSigner = await getOfflineSignerAmino();
|
|
106
|
-
const signingCosmWasmClient = await getSigningCosmWasmClient(
|
|
107
|
-
defaultUrls[chainId].rpc,
|
|
108
|
-
offlineSigner
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
try {
|
|
112
|
-
const senderAddress = address;
|
|
113
|
-
const CONTRACT_ADDRESS =
|
|
114
|
-
"sei14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sh9m79m";
|
|
115
|
-
|
|
116
|
-
// Build message content
|
|
117
|
-
const msg = { increment: {} };
|
|
118
|
-
|
|
119
|
-
// Define gas price and limit
|
|
120
|
-
const fee = {
|
|
121
|
-
amount: [{ amount: "20000", denom: "usei" }],
|
|
122
|
-
gas: "200000",
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
// Call smart contract execute msg
|
|
126
|
-
await signingCosmWasmClient?.execute(senderAddress, CONTRACT_ADDRESS, msg, fee);
|
|
127
|
-
|
|
128
|
-
await fetchCount();
|
|
129
|
-
|
|
130
|
-
} catch (error) {
|
|
131
|
-
console.log(error)
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
const renderCounterContractExample = () => {
|
|
136
|
-
return (
|
|
137
|
-
<div className="card">
|
|
138
|
-
<div className="card-header">
|
|
139
|
-
<p className="card__title">Smart contract interaction</p>
|
|
140
|
-
<small>
|
|
141
|
-
<a
|
|
142
|
-
href="https://cosmos.github.io/cosmjs/latest/cosmwasm-stargate/classes/SigningCosmWasmClient.html"
|
|
143
|
-
target="_blank">
|
|
144
|
-
CosmWasm Clients
|
|
145
|
-
</a> example of smart
|
|
146
|
-
contract interaction
|
|
147
|
-
</small>
|
|
148
|
-
</div>
|
|
149
|
-
<div className="card-body">
|
|
150
|
-
<div className="content-background space-between">
|
|
151
|
-
<small>Count</small>
|
|
152
|
-
<p>{count}</p>
|
|
153
|
-
<button
|
|
154
|
-
className="small outline"
|
|
155
|
-
onClick={incrementCounter}
|
|
156
|
-
>
|
|
157
|
-
Increase
|
|
158
|
-
</button>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div className="card-footer">
|
|
162
|
-
<button onClick={fetchCount}>Fetch count</button>
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
)
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
return (
|
|
169
|
-
<div className="grid">
|
|
170
|
-
{renderBalanceExample()}
|
|
171
|
-
{renderStakingPoolExample()}
|
|
172
|
-
{renderCounterContractExample()}
|
|
173
|
-
</div>
|
|
174
|
-
)
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export default Examples;
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
#root {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
min-height: 100vh;
|
|
5
|
-
}
|
|
6
|
-
.app {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.logo {
|
|
12
|
-
width: 20%;
|
|
13
|
-
align-self: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.container {
|
|
17
|
-
margin: 0 auto;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
gap: 3rem;
|
|
21
|
-
width: 100%;
|
|
22
|
-
padding: 1rem;
|
|
23
|
-
height: -webkit-fill-available;
|
|
24
|
-
flex-grow: 1;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.grid {
|
|
29
|
-
width: 100%;
|
|
30
|
-
display: grid;
|
|
31
|
-
grid-template-columns: repeat(1, 1fr);
|
|
32
|
-
gap: 1rem;
|
|
33
|
-
}
|
|
34
|
-
.grid.docs {
|
|
35
|
-
grid-template-columns: repeat(1, 1fr);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.card {
|
|
39
|
-
width: 100%;
|
|
40
|
-
padding: 1.5em;
|
|
41
|
-
border-radius: 1rem;
|
|
42
|
-
background: var(--card);
|
|
43
|
-
color: var(--card-foreground);
|
|
44
|
-
box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.09);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.card.secondary {
|
|
48
|
-
background: transparent;
|
|
49
|
-
border: 1px solid var(--border);
|
|
50
|
-
box-shadow: none;
|
|
51
|
-
}
|
|
52
|
-
.card.intro {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
gap: 1rem;
|
|
56
|
-
justify-content: space-between;
|
|
57
|
-
align-items: flex-start;
|
|
58
|
-
}
|
|
59
|
-
.card-header {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
justify-content: space-between;
|
|
63
|
-
gap: 0.25rem;
|
|
64
|
-
}
|
|
65
|
-
.card-body {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
justify-content: space-between;
|
|
69
|
-
margin: 1.5rem 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.card-footer {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
gap: 0.5rem;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.card__title {
|
|
79
|
-
font-size: 1.15rem;
|
|
80
|
-
font-weight: 600;
|
|
81
|
-
}
|
|
82
|
-
.content-background {
|
|
83
|
-
overflow: hidden;
|
|
84
|
-
background: #fafaf9;
|
|
85
|
-
border-radius: 4rem;
|
|
86
|
-
padding: 0 1rem;
|
|
87
|
-
height: 3.5rem;
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.wallet-address {
|
|
93
|
-
text-wrap: anywhere;
|
|
94
|
-
line-break: anywhere;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.space-between {
|
|
98
|
-
justify-content: space-between;
|
|
99
|
-
gap: 1rem;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.hide-on-mobile {
|
|
103
|
-
display: none;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.hide-on-desktop {
|
|
107
|
-
display: block;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.external-link {
|
|
111
|
-
display: inline-flex;
|
|
112
|
-
gap: 0.25rem;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.get-started {
|
|
116
|
-
text-align: center;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.wallet-connect {
|
|
120
|
-
display: flex;
|
|
121
|
-
gap: 1rem;
|
|
122
|
-
align-items: center;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
@media (min-width: 768px) {
|
|
127
|
-
|
|
128
|
-
.card.intro {
|
|
129
|
-
grid-column: span 2;
|
|
130
|
-
flex-direction: row;
|
|
131
|
-
align-items: center;
|
|
132
|
-
}
|
|
133
|
-
.hide-on-mobile {
|
|
134
|
-
display: block;
|
|
135
|
-
}
|
|
136
|
-
.hide-on-desktop {
|
|
137
|
-
display: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.container {
|
|
141
|
-
max-width: 96rem;
|
|
142
|
-
padding: 2rem;
|
|
143
|
-
}
|
|
144
|
-
.grid {
|
|
145
|
-
grid-template-columns: repeat(3, 1fr);
|
|
146
|
-
}
|
|
147
|
-
.grid.docs {
|
|
148
|
-
grid-template-columns: repeat(3, 1fr);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@media (min-width: 1024px) {
|
|
153
|
-
.container {
|
|
154
|
-
max-width: 80rem;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import './Homepage.css'
|
|
4
|
-
import Examples from './Examples';
|
|
5
|
-
import { selectedChain } from '../../constants';
|
|
6
|
-
import { WalletConnectButton } from '..';
|
|
7
|
-
|
|
8
|
-
type HelpItem = {
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
link: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const renderHelpItem = ({ title, description, link }: HelpItem) => (
|
|
15
|
-
<div className="card secondary">
|
|
16
|
-
<div className="card-header">
|
|
17
|
-
<p className="card__title">
|
|
18
|
-
<a href={link} target='_blank' rel='noopener noreferrer' className="external-link">
|
|
19
|
-
{title} {externalIcon}
|
|
20
|
-
</a>
|
|
21
|
-
</p>
|
|
22
|
-
<small className="card__description">
|
|
23
|
-
{description}
|
|
24
|
-
</small>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
const helpItems: HelpItem[] = [
|
|
30
|
-
{
|
|
31
|
-
title: 'Sei Docs',
|
|
32
|
-
description: 'Find in-depth information about Sei.',
|
|
33
|
-
link: 'https://docs.sei.io/'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: 'CosmosKit',
|
|
37
|
-
description: "Learn about CosmosKit and it's hooks for chain interaction.",
|
|
38
|
-
link: 'https://docs.cosmology.zone/cosmos-kit/get-started'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
title: 'sei-js',
|
|
42
|
-
description: 'Interact with Sei using @sei-js/cosmjs.',
|
|
43
|
-
link: 'https://sei-protocol.github.io/sei-js/modules/cosmjs.html'
|
|
44
|
-
}
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
const externalIcon = (
|
|
48
|
-
<svg
|
|
49
|
-
width="16"
|
|
50
|
-
height="16"
|
|
51
|
-
viewBox="0 0 16 16"
|
|
52
|
-
fill="none"
|
|
53
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
54
|
-
>
|
|
55
|
-
<path
|
|
56
|
-
d="M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333"
|
|
57
|
-
stroke="#9F1239"
|
|
58
|
-
strokeWidth="1.33333"
|
|
59
|
-
strokeLinecap="round"
|
|
60
|
-
strokeLinejoin="round"
|
|
61
|
-
/>
|
|
62
|
-
<path
|
|
63
|
-
d="M10 2H14V6"
|
|
64
|
-
stroke="#9F1239"
|
|
65
|
-
strokeWidth="1.33333"
|
|
66
|
-
strokeLinecap="round"
|
|
67
|
-
strokeLinejoin="round"
|
|
68
|
-
/>
|
|
69
|
-
<path
|
|
70
|
-
d="M6.66663 9.33333L14 2"
|
|
71
|
-
stroke="#9F1239"
|
|
72
|
-
strokeWidth="1.33333"
|
|
73
|
-
strokeLinecap="round"
|
|
74
|
-
strokeLinejoin="round"
|
|
75
|
-
/>
|
|
76
|
-
</svg>
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
export function Homepage() {
|
|
80
|
-
|
|
81
|
-
return (
|
|
82
|
-
<div className="container">
|
|
83
|
-
<img src="sei-logotype.svg" className="logo" alt="SEI logotype" />
|
|
84
|
-
<div className="card intro">
|
|
85
|
-
<div className="card-header">
|
|
86
|
-
<p className="card__title">Wallet address</p>
|
|
87
|
-
<small className="card__description">
|
|
88
|
-
Connect wallet to see your address and balance
|
|
89
|
-
</small>
|
|
90
|
-
</div>
|
|
91
|
-
<WalletConnectButton/>
|
|
92
|
-
</div>
|
|
93
|
-
<Examples chainId={selectedChain.chain_id}/>
|
|
94
|
-
<div className="get-started">
|
|
95
|
-
Get started by editing <code>src/app/page.tsx</code>
|
|
96
|
-
</div>
|
|
97
|
-
<div className="grid docs">
|
|
98
|
-
{
|
|
99
|
-
helpItems.map((item, _) => (
|
|
100
|
-
<div key={item.title}>
|
|
101
|
-
{renderHelpItem(item)}
|
|
102
|
-
</div>
|
|
103
|
-
))
|
|
104
|
-
}
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export default Homepage;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { useChain } from "@cosmos-kit/react";
|
|
2
|
-
|
|
3
|
-
import "@interchain-ui/react/styles";
|
|
4
|
-
|
|
5
|
-
import { truncateSeiAddress } from "@sei-js/cosmjs";
|
|
6
|
-
import { selectedChain } from "../../constants";
|
|
7
|
-
|
|
8
|
-
export function WalletConnectButton() {
|
|
9
|
-
const {
|
|
10
|
-
isWalletConnected,
|
|
11
|
-
address,
|
|
12
|
-
connect,
|
|
13
|
-
openView,
|
|
14
|
-
} = useChain(selectedChain.chain_name);
|
|
15
|
-
|
|
16
|
-
const truncatedSeiAddr = address ? truncateSeiAddress(address) : ""
|
|
17
|
-
|
|
18
|
-
return (
|
|
19
|
-
<button
|
|
20
|
-
className="primary"
|
|
21
|
-
onClick={isWalletConnected ? openView : connect}
|
|
22
|
-
>
|
|
23
|
-
{isWalletConnected ? truncateSeiAddress(truncatedSeiAddr) : "Connect"}
|
|
24
|
-
</button>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
|
|
5
|
-
import { ChainProvider } from '@cosmos-kit/react';
|
|
6
|
-
import { COSMOS_KIT_ASSET_LIST } from '@sei-js/cosmjs';
|
|
7
|
-
import { wallets as finWallets } from '@cosmos-kit/fin'
|
|
8
|
-
import { wallets as keplrWallets } from '@cosmos-kit/keplr'
|
|
9
|
-
import {
|
|
10
|
-
CompassExtensionWallet,
|
|
11
|
-
compassExtensionInfo,
|
|
12
|
-
} from '@cosmos-kit/compass-extension'
|
|
13
|
-
import { selectedChain } from '../constants';
|
|
14
|
-
|
|
15
|
-
interface Web3ProviderProps {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const compassWallet = new CompassExtensionWallet({
|
|
20
|
-
...compassExtensionInfo,
|
|
21
|
-
mobileDisabled: false,
|
|
22
|
-
})
|
|
23
|
-
|
|
24
|
-
function Web3Provider({ children }: Web3ProviderProps) {
|
|
25
|
-
|
|
26
|
-
// Define your supported wallets here
|
|
27
|
-
const wallets = [compassWallet, ...finWallets, ...keplrWallets];
|
|
28
|
-
|
|
29
|
-
// Define the list of sei chain you would like to connect to here.
|
|
30
|
-
const chains = [selectedChain]
|
|
31
|
-
|
|
32
|
-
return (
|
|
33
|
-
<ChainProvider chains={chains} assetLists={[COSMOS_KIT_ASSET_LIST]} wallets={wallets}>
|
|
34
|
-
{children}
|
|
35
|
-
</ChainProvider>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export default Web3Provider;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ARCTIC_1_SEI_COSMOS_KIT_CHAIN, ATLANTIC_2_SEI_COSMOS_KIT_CHAIN, PACIFIC_1_SEI_COSMOS_KIT_CHAIN } from '@sei-js/cosmjs';
|
|
2
|
-
|
|
3
|
-
export type Urls = {
|
|
4
|
-
rpc: string,
|
|
5
|
-
rest: string,
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export const defaultUrls: {[chainName: string]: Urls} = {
|
|
9
|
-
[PACIFIC_1_SEI_COSMOS_KIT_CHAIN.chain_id]: {rpc: "https://rpc.sei-apis.com", rest: 'https://rest-arctic-1.sei-apis.com'},
|
|
10
|
-
[ATLANTIC_2_SEI_COSMOS_KIT_CHAIN.chain_id]: {rpc: "https://rpc-testnet.sei-apis.com", rest: "https://rest-testnet.sei-apis.com"},
|
|
11
|
-
[ARCTIC_1_SEI_COSMOS_KIT_CHAIN.chain_id]: {rpc: "https://rpc-arctic-1.sei-apis.com", rest: "https://rest-arctic-1.sei-apis.com"}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Set your selected chain here
|
|
15
|
-
// To point to mainnet, use PACIFIC_1_SEI_COSMOS_KIT_CHAIN
|
|
16
|
-
export const selectedChain = ARCTIC_1_SEI_COSMOS_KIT_CHAIN
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './chain';
|