Compare commits
65
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cc38b0680 | ||
|
|
7abb36a7ec | ||
|
|
6832b19fc5 | ||
|
|
1c4cbedb6a | ||
|
|
8ff87be631 | ||
|
|
e43beec36a | ||
|
|
c5b7fef5ba | ||
|
|
4c5e40ae4e | ||
|
|
ab2dfd4f5c | ||
|
|
13029e3286 | ||
|
|
44c9ccd65d | ||
|
|
7912c26323 | ||
|
|
69d68f5a25 | ||
|
|
836be52724 | ||
|
|
9f993dcc1e | ||
|
|
61760a180f | ||
|
|
a3f3e160e0 | ||
|
|
b1190914a9 | ||
|
|
e79a952061 | ||
|
|
480ed721d1 | ||
|
|
42c7436827 | ||
|
|
16e9e8b64d | ||
|
|
23ab897e32 | ||
|
|
6fcdec7c12 | ||
|
|
b734f05525 | ||
|
|
30ea9c6bf7 | ||
|
|
6de3a19b86 | ||
|
|
06e59cf916 | ||
|
|
3f3a484a3a | ||
|
|
05e52114bf | ||
|
|
1a421d3b5d | ||
|
|
97fdbc8f64 | ||
|
|
ebf4025718 | ||
|
|
a81a5285b7 | ||
|
|
95c9d56ea4 | ||
|
|
18552f3a22 | ||
|
|
9187e0f2cf | ||
|
|
20d0f53b46 | ||
|
|
0dcb15b7e6 | ||
|
|
ba49a82463 | ||
|
|
8d1b8a47e6 | ||
|
|
b90d3af5b8 | ||
|
|
c34ac468fb | ||
|
|
fefeaeef18 | ||
|
|
91c2352b03 | ||
|
|
9f454d1e08 | ||
|
|
59e5541094 | ||
|
|
8e104b443e | ||
|
|
0eed017bb9 | ||
|
|
789700cf60 | ||
|
|
570d71e8d6 | ||
|
|
961ef644d1 | ||
|
|
6fcd09ddbd | ||
|
|
a9d32f3c90 | ||
|
|
8ec0d00c75 | ||
|
+3 |
0acc530f8b | ||
|
|
7a6f516b4f | ||
|
|
7461e2a914 | ||
|
|
178609a062 | ||
|
|
8ea8f6e954 | ||
|
|
b49efc24ac | ||
|
|
6853e87a49 | ||
|
|
4197d1bf3f | ||
|
|
3faa9f21ef | ||
|
|
a75e4cc80a |
+11
-1
@@ -15,7 +15,17 @@
|
||||
"access": "public",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": ["e2e-cra-5", "e2e-next-13", "e2e-vite-3"],
|
||||
"ignore": [
|
||||
"e2e-cra-5",
|
||||
"e2e-next-13",
|
||||
"e2e-vite-3",
|
||||
"bundlers-esbuild",
|
||||
"bundlers-vite",
|
||||
"bundlers-webpack",
|
||||
"bundlers-swc",
|
||||
"runtimes-node-commonjs",
|
||||
"runtimes-node-module"
|
||||
],
|
||||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
||||
"updateInternalDependents": "always",
|
||||
"onlyUpdatePeerDependentsWhenOutOfRange": true
|
||||
|
||||
@@ -31,6 +31,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 25
|
||||
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
@@ -59,6 +64,11 @@ jobs:
|
||||
node-version: 20
|
||||
check-latest: true
|
||||
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
@@ -84,6 +94,12 @@ jobs:
|
||||
node-version: 20
|
||||
check-latest: true
|
||||
|
||||
# we use bun for some test suites
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
@@ -114,6 +130,12 @@ jobs:
|
||||
node-version: 20
|
||||
check-latest: true
|
||||
|
||||
# we use bun for some test suites
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
|
||||
@@ -26,6 +26,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
|
||||
@@ -67,6 +67,11 @@ jobs:
|
||||
repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }}
|
||||
ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }}
|
||||
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
|
||||
@@ -26,6 +26,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
|
||||
@@ -1,5 +1,70 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6832b19f`](https://github.com/thirdweb-dev/js/commit/6832b19fc5eedc7c17e69940a361840de0a84881), [`7abb36a7`](https://github.com/thirdweb-dev/js/commit/7abb36a7ec39766dd7da03015ccef401ef7a7863), [`1c4cbedb`](https://github.com/thirdweb-dev/js/commit/1c4cbedb6a3c9f9014ffbf83c02b998768958d96)]:
|
||||
- @thirdweb-dev/wallets@2.1.7
|
||||
|
||||
## 4.1.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ab2dfd4f`](https://github.com/thirdweb-dev/js/commit/ab2dfd4f5cf4256fa62d76f84ca804992afab1e4)]:
|
||||
- @thirdweb-dev/wallets@2.1.6
|
||||
|
||||
## 4.1.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`69d68f5a`](https://github.com/thirdweb-dev/js/commit/69d68f5a25877bf5ea694719d2cf4ca8388f3091)]:
|
||||
- @thirdweb-dev/wallets@2.1.5
|
||||
|
||||
## 4.1.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9f993dcc`](https://github.com/thirdweb-dev/js/commit/9f993dcc1e60cc087850b8fb9ce09524073ce0b5)]:
|
||||
- @thirdweb-dev/wallets@2.1.4
|
||||
|
||||
## 4.1.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6fcdec7c`](https://github.com/thirdweb-dev/js/commit/6fcdec7c12e4a3c0d10f3a67771e19cfad5c8ab5), [`42c74368`](https://github.com/thirdweb-dev/js/commit/42c743682739de77c264c11cc1692ed752f929a6), [`480ed721`](https://github.com/thirdweb-dev/js/commit/480ed721d1c736049fa8b6ee4cbdbdf3cce18abd), [`16e9e8b6`](https://github.com/thirdweb-dev/js/commit/16e9e8b64d7d1a97a5b32fc855479e992b7ed3a8), [`b1190914`](https://github.com/thirdweb-dev/js/commit/b1190914a97a9c4d9019c4ce8ee49ad345aed18c)]:
|
||||
- @thirdweb-dev/wallets@2.1.3
|
||||
|
||||
## 4.1.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1927](https://github.com/thirdweb-dev/js/pull/1927) [`05e52114`](https://github.com/thirdweb-dev/js/commit/05e52114bf4f0ee352f393ed20115a904a18c310) Thanks [@alecananian](https://github.com/alecananian)! - Update Fastify login route response to match Express/Next
|
||||
|
||||
- Updated dependencies [[`3f3a484a`](https://github.com/thirdweb-dev/js/commit/3f3a484a3aa6e9f784e4d44458461bac0d3d4c6b), [`a81a5285`](https://github.com/thirdweb-dev/js/commit/a81a5285b7ef4ddf47fd2779ab80ebbef4bd9e0e), [`30ea9c6b`](https://github.com/thirdweb-dev/js/commit/30ea9c6bf74b483a98592a1d8d64589b7f1b22a3), [`97fdbc8f`](https://github.com/thirdweb-dev/js/commit/97fdbc8f6443dcd08a7610e4437bd4c9d6b0e8c8)]:
|
||||
- @thirdweb-dev/wallets@2.1.2
|
||||
|
||||
## 4.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`20d0f53b`](https://github.com/thirdweb-dev/js/commit/20d0f53b46a2975a0a14ddaa4a377f2f758804db)]:
|
||||
- @thirdweb-dev/wallets@2.1.1
|
||||
|
||||
## 4.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`0acc530f`](https://github.com/thirdweb-dev/js/commit/0acc530f8bbee59672d9705724edc278bd853d9a)]:
|
||||
- @thirdweb-dev/wallets@2.1.0
|
||||
|
||||
## 4.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
|
||||
- @thirdweb-dev/wallets@2.0.10
|
||||
|
||||
## 4.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.10",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
@@ -58,7 +58,7 @@
|
||||
"scripts": {
|
||||
"build": "preconstruct build",
|
||||
"format": "prettier --write 'src/**/*'",
|
||||
"lint": "eslint src/",
|
||||
"lint": "eslint src/ && bunx publint --strict --level warning",
|
||||
"fix": "eslint src/ --fix",
|
||||
"clean": "rm -rf dist/ && rm -rf node_modules/",
|
||||
"test": "mocha --config './test/.mocharc.json' --timeout 30000 --parallel './test/**/*.test.ts'",
|
||||
|
||||
@@ -22,7 +22,9 @@ export const loginHandler = (
|
||||
schema: {
|
||||
body: LoginPayloadBodySchema,
|
||||
response: {
|
||||
200: z.any(),
|
||||
200: z.object({
|
||||
token: z.string(),
|
||||
}),
|
||||
},
|
||||
},
|
||||
handler: async (req, res) => {
|
||||
@@ -104,7 +106,8 @@ export const loginHandler = (
|
||||
},
|
||||
);
|
||||
|
||||
return res.status(200).send({ success: true });
|
||||
// Send token in body and as cookie for frontend and backend use cases
|
||||
return res.status(200).send({ token });
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.58
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1911](https://github.com/thirdweb-dev/js/pull/1911) [`0dcb15b7`](https://github.com/thirdweb-dev/js/commit/0dcb15b7e647acd038b0ec8b1a2b200808aae00e) Thanks [@iketw](https://github.com/iketw)! - Syncs Chains
|
||||
|
||||
## 0.1.57
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1865](https://github.com/thirdweb-dev/js/pull/1865) [`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618) Thanks [@jnsdls](https://github.com/jnsdls)! - sync chains
|
||||
|
||||
## 0.1.56
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "CHI1",
|
||||
"chainId": 100100,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",
|
||||
"width": 1800,
|
||||
"height": 1800,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.gnosischain.com",
|
||||
"name": "Deprecated CHI",
|
||||
"nativeCurrency": {
|
||||
"name": "Chiado xDAI",
|
||||
"symbol": "xDAI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 100100,
|
||||
"rpc": [],
|
||||
"shortName": "chi1",
|
||||
"slug": "deprecated-chi",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ShimmerEVM",
|
||||
"chainId": 1071,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "explorer",
|
||||
"url": "https://explorer.evm.testnet.shimmer.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://evm-toolkit.evm.testnet.shimmer.network",
|
||||
"https://evm-faucet.testnet.shimmer.network"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://shimmer.network",
|
||||
"name": "ShimmerEVM Testnet Deprecated",
|
||||
"nativeCurrency": {
|
||||
"name": "SMR",
|
||||
"symbol": "SMR",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1071,
|
||||
"rpc": [],
|
||||
"shortName": "shimmerevm-testnet-deprecated",
|
||||
"slug": "shimmerevm-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true,
|
||||
"title": "ShimmerEVM Testnet Deprecated"
|
||||
} as const satisfies Chain;
|
||||
@@ -17,6 +17,13 @@ export default {
|
||||
"faucets": [
|
||||
"http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"
|
||||
],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://sepolia.otterscan.io",
|
||||
"name": "Sepolia",
|
||||
"nativeCurrency": {
|
||||
@@ -25,15 +32,16 @@ export default {
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 11155111,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://sepolia.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sepolia.infura.io/v3/${INFURA_API_KEY}",
|
||||
"wss://sepolia.infura.io/v3/${INFURA_API_KEY}",
|
||||
"https://rpc.sepolia.org",
|
||||
"https://rpc2.sepolia.org",
|
||||
"https://rpc-sepolia.rockx.com",
|
||||
"https://rpc.sepolia.ethpandaops.io",
|
||||
"https://sepolia.infura.io/v3/${INFURA_API_KEY}",
|
||||
"wss://sepolia.infura.io/v3/${INFURA_API_KEY}",
|
||||
"https://sepolia.gateway.tenderly.co",
|
||||
"wss://sepolia.gateway.tenderly.co",
|
||||
"https://ethereum-sepolia.publicnode.com",
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DeBank",
|
||||
"chainId": 115,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://debank.com",
|
||||
"name": "DeBank Testnet(Deprecated)",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 115,
|
||||
"rpc": [],
|
||||
"shortName": "debank-testnet",
|
||||
"slug": "debank-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,26 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DeBank",
|
||||
"chainId": 116,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://debank.com",
|
||||
"name": "DeBank Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 116,
|
||||
"rpc": [],
|
||||
"shortName": "debank-mainnet",
|
||||
"slug": "debank",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -2,7 +2,19 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FUSE",
|
||||
"chainId": 122,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.fuse.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MOON",
|
||||
"chainId": 1286,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"name": "Moonrock old",
|
||||
"nativeCurrency": {
|
||||
"name": "Rocs",
|
||||
"symbol": "ROC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1286,
|
||||
"rpc": [],
|
||||
"shortName": "mrock-old",
|
||||
"slug": "moonrock-old",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -9,7 +9,10 @@ export default {
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"faucets": [
|
||||
"https://faucet.avax.network/?subnet=beam",
|
||||
"https://faucet.onbeam.com"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP1559"
|
||||
@@ -24,15 +27,16 @@ export default {
|
||||
"infoURL": "https://www.onbeam.com",
|
||||
"name": "Beam Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Merit Circle",
|
||||
"symbol": "MC",
|
||||
"name": "Beam",
|
||||
"symbol": "BEAM",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 13337,
|
||||
"rpc": [
|
||||
"https://beam-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://13337.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/beam/testnet/rpc"
|
||||
"https://subnets.avax.network/beam/testnet/rpc",
|
||||
"wss://subnets.avax.network/beam/testnet/ws"
|
||||
],
|
||||
"shortName": "beam-testnet",
|
||||
"slug": "beam-testnet",
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Polygon",
|
||||
"chainId": 1402,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.public.zkevm-test.net",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://polygon.technology/solutions/polygon-zkevm/",
|
||||
"name": "Polygon zkEVM Testnet old",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1402,
|
||||
"rpc": [],
|
||||
"shortName": "zkevmtest",
|
||||
"slug": "polygon-zkevm-testnet-old",
|
||||
"status": "deprecated",
|
||||
"testnet": true,
|
||||
"title": "Polygon zkEVM Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Polygon",
|
||||
"chainId": 1422,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Polygon zkEVM explorer",
|
||||
"url": "https://explorer.public.zkevm-test.net",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://polygon.technology/solutions/polygon-zkevm/",
|
||||
"name": "Polygon zkEVM Testnet Pre Audit-Upgraded",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1422,
|
||||
"rpc": [],
|
||||
"shortName": "testnet-zkEVM-mango-pre-audit-upgraded",
|
||||
"slug": "polygon-zkevm-testnet-pre-audit-upgraded",
|
||||
"status": "deprecated",
|
||||
"testnet": true,
|
||||
"title": "Polygon zkEVM Testnet Pre Audit-Upgraded"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Yuma",
|
||||
"chainId": 1662,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",
|
||||
"width": 1213,
|
||||
"height": 1213,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://horizen.io/",
|
||||
"name": "Horizen Yuma Testnet Deprecated",
|
||||
"nativeCurrency": {
|
||||
"name": "Testnet Zen",
|
||||
"symbol": "tZEN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1662,
|
||||
"rpc": [],
|
||||
"shortName": "Yuma",
|
||||
"slip44": 121,
|
||||
"slug": "horizen-yuma-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -26,5 +26,6 @@ export default {
|
||||
"shortName": "hmy-s2",
|
||||
"slip44": 1023,
|
||||
"slug": "harmony-shard-2",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -26,5 +26,6 @@ export default {
|
||||
"shortName": "hmy-s3",
|
||||
"slip44": 1023,
|
||||
"slug": "harmony-shard-3",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 167004,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.a2.taiko.xyz",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",
|
||||
"width": 288,
|
||||
"height": 258,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://taiko.xyz",
|
||||
"name": "Taiko (Alpha-2 Testnet)",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 167004,
|
||||
"rpc": [
|
||||
"https://taiko-alpha-2-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.a2.taiko.xyz"
|
||||
],
|
||||
"shortName": "taiko-a2",
|
||||
"slug": "taiko-alpha-2-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Roll",
|
||||
"chainId": 1748,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://roll.calderaexplorer.xyz/",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmSNKW3HsFekHrTdgt7aAukExwYeYzHZEbG49ZDLYRfkKV/roll_logo%20-%20Ellie%20Li.png",
|
||||
"width": 3600,
|
||||
"height": 3600,
|
||||
"format": ".png"
|
||||
},
|
||||
"infoURL": "https://tryroll.com/",
|
||||
"name": "Roll Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1748,
|
||||
"redFlags": [],
|
||||
"rpc": [],
|
||||
"shortName": "Roll",
|
||||
"slug": "roll-testnet",
|
||||
"testnet": true,
|
||||
"title": "Roll Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "okbchain",
|
||||
"chain": "xgon",
|
||||
"chainId": 195,
|
||||
"explorers": [
|
||||
{
|
||||
@@ -14,20 +14,20 @@ export default {
|
||||
],
|
||||
"features": [],
|
||||
"infoURL": "https://www.okx.com/okbc/docs/dev/quick-start/introduction/introduction-to-okbchain",
|
||||
"name": "OKBChain Testnet",
|
||||
"name": "Xgon Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "OKBChain Global Utility Token in testnet",
|
||||
"name": "Xgon Global Utility Token in testnet",
|
||||
"symbol": "OKB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 195,
|
||||
"rpc": [
|
||||
"https://okbchain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xgon-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://okbtestrpc.okbchain.org"
|
||||
"https://testrpc.xgon.io"
|
||||
],
|
||||
"shortName": "tokb",
|
||||
"slug": "okbchain-testnet",
|
||||
"slug": "xgon-testnet",
|
||||
"status": "active",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -1,21 +1,21 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "okbchain",
|
||||
"chain": "xgon",
|
||||
"chainId": 196,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"infoURL": "https://www.okex.com/okc",
|
||||
"name": "OKBChain Mainnet",
|
||||
"infoURL": "https://www.okx.com/okbc/docs/dev/quick-start/introduction/introduction-to-okbchain",
|
||||
"name": "Xgon Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "OKBChain Global Utility Token",
|
||||
"name": "Xgon Global Utility Token",
|
||||
"symbol": "OKB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 196,
|
||||
"rpc": [],
|
||||
"shortName": "okb",
|
||||
"slug": "okbchain",
|
||||
"slug": "xgon",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "VinuChain Testnet",
|
||||
"chainId": 206,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "VinuScan Testnet",
|
||||
"url": "https://testnet.vinuscan.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",
|
||||
"width": 2000,
|
||||
"height": 2000,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",
|
||||
"width": 2000,
|
||||
"height": 392,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://vitainu.org",
|
||||
"name": "VinuChain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "VinuChain",
|
||||
"symbol": "VС",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 206,
|
||||
"rpc": [
|
||||
"https://vinuchain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://206.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://vinufoundation-rpc.com"
|
||||
],
|
||||
"shortName": "VCTEST",
|
||||
"slug": "vinuchain-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -17,9 +17,9 @@ export default {
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",
|
||||
"width": 2000,
|
||||
"height": 392,
|
||||
"url": "ipfs://bafybeiderli6uaaxk7eboyf7g4abnybgrkbglmqbkmf25z57ode7zdzmvy",
|
||||
"width": 613,
|
||||
"height": 613,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://vitainu.org",
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "SOTER",
|
||||
"chainId": 218,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.soterone.com",
|
||||
"name": "SoterOne Mainnet old",
|
||||
"nativeCurrency": {
|
||||
"name": "SoterOne Mainnet Ether",
|
||||
"symbol": "SOTER",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 218,
|
||||
"rpc": [
|
||||
"https://soterone-old.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.soter.one"
|
||||
],
|
||||
"shortName": "SO1-old",
|
||||
"slug": "soterone-old",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "PlatON",
|
||||
"chainId": 2203181,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "PlatON explorer",
|
||||
"url": "https://devnetscan.platon.network",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://devnet2faucet.platon.network/faucet"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",
|
||||
"width": 180,
|
||||
"height": 180,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.platon.network",
|
||||
"name": "PlatON Dev Testnet Deprecated",
|
||||
"nativeCurrency": {
|
||||
"name": "LAT",
|
||||
"symbol": "lat",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1,
|
||||
"rpc": [
|
||||
"https://platon-dev-testnet-deprecated.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://devnetopenapi2.platon.network/rpc",
|
||||
"wss://devnetopenapi2.platon.network/ws"
|
||||
],
|
||||
"shortName": "platondev",
|
||||
"slug": "platon-dev-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,25 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ASK",
|
||||
"chainId": 222,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://permission.io/",
|
||||
"name": "Permission",
|
||||
"nativeCurrency": {
|
||||
"name": "ASK",
|
||||
"symbol": "ASK",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2221,
|
||||
"rpc": [
|
||||
"https://permission.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://blockchain-api-mainnet.permission.io/rpc"
|
||||
],
|
||||
"shortName": "ASK",
|
||||
"slip44": 2221,
|
||||
"slug": "permission",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -34,10 +34,8 @@ export default {
|
||||
"https://kava.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2222.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://evm.kava.io",
|
||||
"https://evm2.kava.io",
|
||||
"https://kava-rpc.gateway.pokt.network",
|
||||
"wss://wevm.kava.io",
|
||||
"wss://wevm2.kava.io",
|
||||
"https://kava-evm.publicnode.com",
|
||||
"wss://kava-evm.publicnode.com"
|
||||
],
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 2357,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://blockscout.sepolia-deprecated.kroma.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://kroma.network",
|
||||
"name": "(deprecated) Kroma Sepolia",
|
||||
"nativeCurrency": {
|
||||
"name": "Sepolia Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2357,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-11155111",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://kroma.network/bridge"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://deprecated-kroma-sepolia.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://api.sepolia-deprecated.kroma.network"
|
||||
],
|
||||
"shortName": "deprecated-kroma-sepolia",
|
||||
"slug": "deprecated-kroma-sepolia",
|
||||
"status": "deprecated",
|
||||
"testnet": true,
|
||||
"title": "(deprecated) Kroma Testnet Sepolia"
|
||||
} as const satisfies Chain;
|
||||
@@ -10,11 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmT84suD2ZmTSraJBfeHhTNst2vXctQijNCztok9XiVcUR",
|
||||
"width": 3600,
|
||||
"height": 3600,
|
||||
"format": "png"
|
||||
"url": "ipfs://QmYcGHTPheBwLv9zoJfQAJ7NB6MCtXe2zV7XqPyiTJg3WP/Oasys_Large%20Logo%20Black.png",
|
||||
"width": 1250,
|
||||
"height": 1250,
|
||||
"format": ".png"
|
||||
},
|
||||
"infoURL": "https://oasys.games",
|
||||
"name": "Oasys Mainnet",
|
||||
@@ -24,6 +25,7 @@ export default {
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 248,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://oasys.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://248.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DPU",
|
||||
"chainId": 2611555,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"name": "DPU Chain",
|
||||
"nativeCurrency": {
|
||||
"name": "DGS",
|
||||
"symbol": "DGS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2611555,
|
||||
"rpc": [
|
||||
"https://dpu-chain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sc-rpc.dpu.ac.th"
|
||||
],
|
||||
"shortName": "DPU",
|
||||
"slug": "dpu-chain",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MCH Verse",
|
||||
"chainId": 29548,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "MCH Verse Explorer",
|
||||
"url": "https://explorer.oasys.mycryptoheroes.net",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZZnwR1y6cU1sare2TQmwqkNDLXQxD4GdPrmHLmUoPtbU",
|
||||
"width": 4000,
|
||||
"height": 4000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.mycryptoheroes.net/verse",
|
||||
"name": "MCH Verse Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "OAS",
|
||||
"symbol": "OAS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 29548,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-248"
|
||||
},
|
||||
"rpc": [
|
||||
"https://mch-verse.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://29548.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.oasys.mycryptoheroes.net"
|
||||
],
|
||||
"shortName": "MCHV",
|
||||
"slug": "mch-verse",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "OGC",
|
||||
"chainId": 300,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.gnosischain.com",
|
||||
"name": "(deprecated) Optimism on GC",
|
||||
"nativeCurrency": {
|
||||
"name": "xDAI",
|
||||
"symbol": "xDAI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 300,
|
||||
"rpc": [],
|
||||
"shortName": "ogc",
|
||||
"slug": "deprecated-optimism-on-gc",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FIL",
|
||||
"chainId": 3141,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://filecoin.io",
|
||||
"name": "Filecoin - Hyperspace testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "testnet filecoin",
|
||||
"symbol": "tFIL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3141,
|
||||
"rpc": [],
|
||||
"shortName": "filecoin-hyperspace",
|
||||
"slip44": 1,
|
||||
"slug": "filecoin-hyperspace-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FIL",
|
||||
"chainId": 31415,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://filecoin.io",
|
||||
"name": "Filecoin - Wallaby testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "testnet filecoin",
|
||||
"symbol": "tFIL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 31415,
|
||||
"rpc": [],
|
||||
"shortName": "filecoin-wallaby",
|
||||
"slip44": 1,
|
||||
"slug": "filecoin-wallaby-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,45 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "N3-Test",
|
||||
"chainId": 333333,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Nativ3 Test Explorer",
|
||||
"url": "https://scantest.nativ3.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://nativ3.network",
|
||||
"name": "Nativ3 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "USNT",
|
||||
"symbol": "USNT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 333333,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-421613",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridgetest.nativ3.network"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://nativ3-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://333333.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpctest.nativ3.network",
|
||||
"wss://wstest.nativ3.network"
|
||||
],
|
||||
"shortName": "N3-Test",
|
||||
"slug": "nativ3-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -13,9 +13,9 @@ export default {
|
||||
"https://faucet.securechain.ai"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVNLDQ7edirox9gAehyen9gLHq64Z5532EXsLvSaVfjWh",
|
||||
"width": 65,
|
||||
"height": 65,
|
||||
"url": "ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",
|
||||
"width": 150,
|
||||
"height": 150,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://securechain.ai",
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "BTC",
|
||||
"chain": "BOTANIX",
|
||||
"chainId": 3636,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Botanix",
|
||||
"url": "https://testnet.btxtestchain.com",
|
||||
"name": "3xpl",
|
||||
"url": "https://3xpl.com/botanix",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet.btxtestchain.com"
|
||||
"https://faucet.botanixlabs.dev"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmf2iSjcrZwUDKhCVY9ZzfbSV2He2HSssbcG2yMz1mDerm",
|
||||
"width": 32,
|
||||
"height": 32,
|
||||
"url": "ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://btxtestchain.com",
|
||||
"infoURL": "https://botanixlabs.xyz",
|
||||
"name": "Botanix Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Botanix",
|
||||
@@ -29,9 +29,9 @@ export default {
|
||||
"rpc": [
|
||||
"https://botanix-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://3636.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-rpc.btxtestchain.com"
|
||||
"https://node.botanixlabs.dev"
|
||||
],
|
||||
"shortName": "BTCt",
|
||||
"shortName": "BTNX",
|
||||
"slug": "botanix-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -13,9 +13,9 @@ export default {
|
||||
"https://faucet.btxtestchain.com"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmf2iSjcrZwUDKhCVY9ZzfbSV2He2HSssbcG2yMz1mDerm",
|
||||
"width": 32,
|
||||
"height": 32,
|
||||
"url": "ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://btxtestchain.com",
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "XPLATest",
|
||||
"chainId": 3701,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "XPLA Explorer",
|
||||
"url": "https://explorer.xpla.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet.xpla.io"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://xpla.io",
|
||||
"name": "Xpla Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "XPLA",
|
||||
"symbol": "XPLA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3701,
|
||||
"rpc": [
|
||||
"https://xpla-testnet-xplatest.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://dimension-rpc.xpla.dev"
|
||||
],
|
||||
"shortName": "xplatest",
|
||||
"slug": "xpla-testnet-xplatest",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,45 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Nativ3",
|
||||
"chainId": 399,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "N3scan",
|
||||
"url": "https://scan.nativ3.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://nativ3.network",
|
||||
"name": "Nativ3 Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "USNT",
|
||||
"symbol": "USNT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 399,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-42161",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge.nativ3.network"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://nativ3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://399.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.nativ3.network",
|
||||
"wss://ws.nativ3.network"
|
||||
],
|
||||
"shortName": "N3",
|
||||
"slug": "nativ3",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -9,7 +9,9 @@ export default {
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"faucets": [
|
||||
"https://faucet.onbeam.com"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP1559"
|
||||
@@ -24,15 +26,16 @@ export default {
|
||||
"infoURL": "https://www.onbeam.com",
|
||||
"name": "Beam",
|
||||
"nativeCurrency": {
|
||||
"name": "Merit Circle",
|
||||
"symbol": "MC",
|
||||
"name": "Beam",
|
||||
"symbol": "BEAM",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 4337,
|
||||
"rpc": [
|
||||
"https://beam.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://4337.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/beam/mainnet/rpc"
|
||||
"https://subnets.avax.network/beam/mainnet/rpc",
|
||||
"wss://subnets.avax.network/beam/mainnet/ws"
|
||||
],
|
||||
"shortName": "beam",
|
||||
"slug": "beam",
|
||||
|
||||
@@ -34,7 +34,7 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://xinfin.org",
|
||||
"name": "XinFin XDC Network",
|
||||
"name": "XDC Network",
|
||||
"nativeCurrency": {
|
||||
"name": "XinFin",
|
||||
"symbol": "XDC",
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
"networkId": 50,
|
||||
"rpc": [
|
||||
"https://xinfin-xdc-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xdc-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://erpc.xinfin.network",
|
||||
"https://rpc.xinfin.network",
|
||||
@@ -50,6 +50,6 @@ export default {
|
||||
"https://rpc-xdc.icecreamswap.com"
|
||||
],
|
||||
"shortName": "xdc",
|
||||
"slug": "xinfin-xdc-network",
|
||||
"slug": "xdc-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 5003,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.sepolia.mantle.xyz",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet.sepolia.mantle.xyz"
|
||||
],
|
||||
"infoURL": "https://mantle.xyz",
|
||||
"name": "Mantle Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Sepolia Mantle",
|
||||
"symbol": "MNT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5003,
|
||||
"rpc": [
|
||||
"https://mantle-sepolia-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://5003.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.sepolia.mantle.xyz"
|
||||
],
|
||||
"shortName": "mnt-sep",
|
||||
"slug": "mantle-sepolia-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,49 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Electroneum",
|
||||
"chainId": 52014,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://blockexplorer.electroneum.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://electroneum.com",
|
||||
"name": "Electroneum Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Electroneum",
|
||||
"symbol": "ETN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 52014,
|
||||
"rpc": [
|
||||
"https://electroneum.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://52014.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://api.electroneum.com"
|
||||
],
|
||||
"shortName": "etn-mainnet",
|
||||
"slug": "electroneum",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,49 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Electroneum",
|
||||
"chainId": 5201420,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://blockexplorer.thesecurityteam.rocks",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://electroneum.com",
|
||||
"name": "Electroneum Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Electroneum",
|
||||
"symbol": "ETN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5201420,
|
||||
"rpc": [
|
||||
"https://electroneum-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://5201420.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://api.electroneum.com"
|
||||
],
|
||||
"shortName": "etn-testnet",
|
||||
"slug": "electroneum-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FIRE",
|
||||
"chainId": 5290,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://thefirechain.com",
|
||||
"name": "Firechain Mainnet Old",
|
||||
"nativeCurrency": {
|
||||
"name": "Firechain",
|
||||
"symbol": "FIRE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5290,
|
||||
"rpc": [
|
||||
"https://firechain-old.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.rpc1.thefirechain.com"
|
||||
],
|
||||
"shortName": "_old_fire",
|
||||
"slug": "firechain-old",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -4,13 +4,13 @@ export default {
|
||||
"chainId": 534352,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://blockscout.scroll.io",
|
||||
"name": "Scrollscan",
|
||||
"url": "https://scrollscan.com",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "Scrollscan",
|
||||
"url": "https://scrollscan.com",
|
||||
"name": "Blockscout",
|
||||
"url": "https://blockscout.scroll.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 534353,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Scroll Alpha Testnet Block Explorer",
|
||||
"url": "https://alpha-blockscout.scroll.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://scroll.io",
|
||||
"name": "Scroll Alpha Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 534353,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-5",
|
||||
"bridges": []
|
||||
},
|
||||
"rpc": [
|
||||
"https://scroll-alpha-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://alpha-rpc.scroll.io/l2"
|
||||
],
|
||||
"shortName": "scr-alpha",
|
||||
"slug": "scroll-alpha-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 534354,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://scroll.io",
|
||||
"name": "Scroll Pre-Alpha Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "TSETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 534354,
|
||||
"rpc": [],
|
||||
"shortName": "scr-prealpha",
|
||||
"slug": "scroll-pre-alpha-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -25,8 +25,7 @@ export default {
|
||||
"https://570.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.rollux.com",
|
||||
"https://rollux.public-rpc.com",
|
||||
"wss://rpc.rollux.com/wss",
|
||||
"https://rpc.ankr.com/rollux/${ANKR_API_KEY}"
|
||||
"wss://rpc.rollux.com/wss"
|
||||
],
|
||||
"shortName": "sys-rollux",
|
||||
"slug": "rollux",
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 588,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://stardust-explorer.metis.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.metis.io",
|
||||
"name": "Metis Stardust Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "tMetis",
|
||||
"symbol": "METIS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 588,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-4",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge.metis.io"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://metis-stardust-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://stardust.metis.io/?owner=588"
|
||||
],
|
||||
"shortName": "metis-stardust",
|
||||
"slug": "metis-stardust-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "EOS",
|
||||
"chainId": 59,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://eosargentina.io",
|
||||
"name": "EOS EVM Legacy",
|
||||
"nativeCurrency": {
|
||||
"name": "EOS",
|
||||
"symbol": "EOS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 59,
|
||||
"rpc": [
|
||||
"https://eos-evm-legacy.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://api.eosargentina.io"
|
||||
],
|
||||
"shortName": "eos-legacy",
|
||||
"slug": "eos-evm-legacy",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETC",
|
||||
"chainId": 6,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://explorer.jade.builders/?network=kotti",
|
||||
"name": "Ethereum Classic Testnet Kotti",
|
||||
"nativeCurrency": {
|
||||
"name": "Kotti Ether",
|
||||
"symbol": "KOT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 6,
|
||||
"rpc": [
|
||||
"https://ethereum-classic-testnet-kotti.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://6.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://www.ethercluster.com/kotti"
|
||||
],
|
||||
"shortName": "kot",
|
||||
"slug": "ethereum-classic-testnet-kotti",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "SIN",
|
||||
"chainId": 67390,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "siriusnetscan",
|
||||
"url": "https://siriusnet.tryethernal.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://macaucasinolisboa.xyz",
|
||||
"name": "SiriusNet",
|
||||
"nativeCurrency": {
|
||||
"name": "MCD",
|
||||
"symbol": "MCD",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 67390,
|
||||
"rpc": [
|
||||
"https://siriusnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"
|
||||
],
|
||||
"shortName": "mcl",
|
||||
"slug": "siriusnet",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -13,6 +13,12 @@ export default {
|
||||
"https://faucet.triangleplatform.com/frame"
|
||||
],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmTS1P9sh49zg5xL5BUsRLWDz3vVoJCtCNf9yN1TTnsuQ3",
|
||||
"width": 321,
|
||||
"height": 320,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://frame.xyz",
|
||||
"name": "Frame Testnet",
|
||||
"nativeCurrency": {
|
||||
@@ -25,7 +31,7 @@ export default {
|
||||
"rpc": [
|
||||
"https://frame-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.testnet.frame.xyz"
|
||||
"https://rpc.testnet.frame.xyz/http"
|
||||
],
|
||||
"shortName": "frame-test",
|
||||
"slug": "frame-testnet",
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Canto Tesnet",
|
||||
"chainId": 740,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Canto Tesnet Explorer (Neobase)",
|
||||
"url": "https://testnet-explorer.canto.neobase.one",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://canto.io",
|
||||
"name": "Canto Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Canto",
|
||||
"symbol": "CANTO",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 740,
|
||||
"rpc": [
|
||||
"https://canto-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://eth.plexnode.wtf/"
|
||||
],
|
||||
"shortName": "tcanto",
|
||||
"slug": "canto-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "TQF",
|
||||
"chainId": 8194,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://testnet.torusscan.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.toruschain.com",
|
||||
"name": "Torus Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "tTQF",
|
||||
"symbol": "TTQF",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 8194,
|
||||
"rpc": [
|
||||
"https://torus-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.testnet.toruschain.com"
|
||||
],
|
||||
"shortName": "ttqf",
|
||||
"slug": "torus-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "CLO",
|
||||
"chainId": 821,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://callisto.network",
|
||||
"name": "Callisto Testnet Deprecated",
|
||||
"nativeCurrency": {
|
||||
"name": "Callisto Testnet Ether",
|
||||
"symbol": "TCLO",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2,
|
||||
"rpc": [],
|
||||
"shortName": "tclo",
|
||||
"slug": "callisto-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,32 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "GWT",
|
||||
"chainId": 868455272153094,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "GWScan Block Explorer",
|
||||
"url": "https://v1.aggron.gwscan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://homura.github.io/light-godwoken"
|
||||
],
|
||||
"infoURL": "https://www.nervos.org",
|
||||
"name": "Godwoken Testnet (V1)",
|
||||
"nativeCurrency": {
|
||||
"name": "CKB",
|
||||
"symbol": "CKB",
|
||||
"decimals": 8
|
||||
},
|
||||
"networkId": 868455272153094,
|
||||
"rpc": [
|
||||
"https://godwoken-testnet-v1-gw-testnet-v1-deprecated.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"
|
||||
],
|
||||
"shortName": "gw-testnet-v1-deprecated",
|
||||
"slug": "godwoken-testnet-v1-gw-testnet-v1-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "TWT",
|
||||
"chainId": 894538,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "explorer",
|
||||
"url": "https://subnets-test.avax.network/thirdweb",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmXDGoJKuuwQKzY1Y7ZhgULg8hcmveu6PVaDaYQzEjKwkQ/Thirdweb-Icon-Black-BG.png",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"name": "thirdweb test subnet",
|
||||
"nativeCurrency": {
|
||||
"name": "TWT",
|
||||
"symbol": "TWT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 894538,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://thirdweb-test-subnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://894538.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/thirdweb/testnet/rpc"
|
||||
],
|
||||
"shortName": "twt",
|
||||
"slug": "thirdweb-test-subnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FIRE",
|
||||
"chainId": 9170,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://faucet.thefirechain.com"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://thefirechain.com",
|
||||
"name": "Rinia Testnet Old",
|
||||
"nativeCurrency": {
|
||||
"name": "Firechain",
|
||||
"symbol": "FIRE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 9170,
|
||||
"rpc": [],
|
||||
"shortName": "_old_tfire",
|
||||
"slug": "rinia-testnet-old",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,42 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "XCAP",
|
||||
"chainId": 9322252,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://xcap-mainnet.explorer.xcap.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",
|
||||
"width": 1600,
|
||||
"height": 1600,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://xcap.network/",
|
||||
"name": "XCAP",
|
||||
"nativeCurrency": {
|
||||
"name": "Gas",
|
||||
"symbol": "GAS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 9322252,
|
||||
"rpc": [
|
||||
"https://xcap.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://9322252.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xcap-mainnet.relay.xcap.network/znzvh2ueyvm2yts5fv5gnul395jbkfb2/rpc1"
|
||||
],
|
||||
"shortName": "xcap",
|
||||
"slug": "xcap",
|
||||
"testnet": false,
|
||||
"title": "XCAP Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,42 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "XCAP",
|
||||
"chainId": 9322253,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://xcap-milvine.explorer.xcap.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",
|
||||
"width": 1600,
|
||||
"height": 1600,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://xcap.network/",
|
||||
"name": "Milvine",
|
||||
"nativeCurrency": {
|
||||
"name": "Gas",
|
||||
"symbol": "GAS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 9322253,
|
||||
"rpc": [
|
||||
"https://milvine.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://9322253.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xcap-milvine.relay.xcap.network/zj5l55ftsgi027kz4nf14vs8d89inego/rpc1"
|
||||
],
|
||||
"shortName": "milv",
|
||||
"slug": "milvine",
|
||||
"testnet": true,
|
||||
"title": "XCAP Testnet Milvine"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "tPLS",
|
||||
"chainId": 940,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://faucet.v2.testnet.pulsechain.com/"
|
||||
],
|
||||
"infoURL": "https://pulsechain.com/",
|
||||
"name": "PulseChain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Test Pulse",
|
||||
"symbol": "tPLS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 940,
|
||||
"rpc": [
|
||||
"https://pulsechain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.v2.testnet.pulsechain.com/",
|
||||
"wss://rpc.v2.testnet.pulsechain.com/"
|
||||
],
|
||||
"shortName": "tpls",
|
||||
"slug": "pulsechain-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "t2bPLS",
|
||||
"chainId": 941,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://faucet.v2b.testnet.pulsechain.com/"
|
||||
],
|
||||
"infoURL": "https://pulsechain.com/",
|
||||
"name": "PulseChain Testnet v2b",
|
||||
"nativeCurrency": {
|
||||
"name": "Test Pulse",
|
||||
"symbol": "tPLS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 941,
|
||||
"rpc": [
|
||||
"https://pulsechain-testnet-v2b.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.v2b.testnet.pulsechain.com/",
|
||||
"wss://rpc.v2b.testnet.pulsechain.com/"
|
||||
],
|
||||
"shortName": "t2bpls",
|
||||
"slug": "pulsechain-testnet-v2b",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "t3PLS",
|
||||
"chainId": 942,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://faucet.v3.testnet.pulsechain.com/"
|
||||
],
|
||||
"infoURL": "https://pulsechain.com/",
|
||||
"name": "PulseChain Testnet v3",
|
||||
"nativeCurrency": {
|
||||
"name": "Test Pulse",
|
||||
"symbol": "tPLS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 942,
|
||||
"rpc": [
|
||||
"https://pulsechain-testnet-v3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.v3.testnet.pulsechain.com/",
|
||||
"wss://rpc.v3.testnet.pulsechain.com/"
|
||||
],
|
||||
"shortName": "t3pls",
|
||||
"slug": "pulsechain-testnet-v3",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,26 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Boba BNB Mainnet",
|
||||
"chainId": 97288,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Boba BNB block explorer",
|
||||
"url": "https://blockexplorer.bnb.boba.network",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://boba.network",
|
||||
"name": "Boba BNB Mainnet Old",
|
||||
"nativeCurrency": {
|
||||
"name": "Boba Token",
|
||||
"symbol": "BOBA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 97288,
|
||||
"rpc": [],
|
||||
"shortName": "BobaBnbOld",
|
||||
"slug": "boba-bnb-old",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Ecrox Chain",
|
||||
"chainId": 988207,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Ecrox Chain Explorer",
|
||||
"url": "https://ecroxscan.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreibnqdlwgotu4hwx6oeu4ye3huobr3eaiuvv55n5tolyxya2q7edmq",
|
||||
"width": 300,
|
||||
"height": 300,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ecroxcoin.io/",
|
||||
"name": "Ecrox Chain Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "ECROX COIN",
|
||||
"symbol": "ECROX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 988207,
|
||||
"rpc": [
|
||||
"https://ecrox-chain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://988207.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet-rpc.ecroxscan.com/"
|
||||
],
|
||||
"shortName": "ecrox",
|
||||
"slug": "ecrox-chain",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -1,26 +1,15 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/chains",
|
||||
"version": "0.1.56",
|
||||
"version": "0.1.58",
|
||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-chains.esm.js": "./dist/thirdweb-dev-chains.browser.esm.js"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"module": {
|
||||
"browser": "./dist/thirdweb-dev-chains.browser.esm.js",
|
||||
"default": "./dist/thirdweb-dev-chains.esm.js"
|
||||
},
|
||||
"module": "./dist/thirdweb-dev-chains.esm.js",
|
||||
"default": "./dist/thirdweb-dev-chains.cjs.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/chains",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/thirdweb-dev/js/issues"
|
||||
},
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.9",
|
||||
@@ -29,11 +18,9 @@
|
||||
"@babel/runtime": "^7.22.6",
|
||||
"@preconstruct/cli": "2.7.0",
|
||||
"@thirdweb-dev/tsconfig": "workspace:*",
|
||||
"@types/jest": "^29.5.3",
|
||||
"axios": "^1.4.0",
|
||||
"deepmerge": "^4.3.1",
|
||||
"eslint-config-thirdweb": "workspace:*",
|
||||
"jest": "^29.6.2",
|
||||
"plop": "^3.1.2",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
@@ -41,11 +28,7 @@
|
||||
"entrypoints": [
|
||||
"index.ts"
|
||||
],
|
||||
"exports": {
|
||||
"envConditions": [
|
||||
"browser"
|
||||
]
|
||||
}
|
||||
"exports": true
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
@@ -56,7 +39,7 @@
|
||||
"plop": "plop",
|
||||
"add-chain": "plop add-chain",
|
||||
"override-chain": "plop override-chain",
|
||||
"test": "jest"
|
||||
"test": "bun test"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,91 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6832b19f`](https://github.com/thirdweb-dev/js/commit/6832b19fc5eedc7c17e69940a361840de0a84881), [`7abb36a7`](https://github.com/thirdweb-dev/js/commit/7abb36a7ec39766dd7da03015ccef401ef7a7863), [`1c4cbedb`](https://github.com/thirdweb-dev/js/commit/1c4cbedb6a3c9f9014ffbf83c02b998768958d96), [`e43beec3`](https://github.com/thirdweb-dev/js/commit/e43beec36a569211b6fe708107aa7dc04bff08ec)]:
|
||||
- @thirdweb-dev/wallets@2.1.7
|
||||
- @thirdweb-dev/sdk@4.0.15
|
||||
- @thirdweb-dev/auth@4.1.10
|
||||
|
||||
## 0.13.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ab2dfd4f`](https://github.com/thirdweb-dev/js/commit/ab2dfd4f5cf4256fa62d76f84ca804992afab1e4), [`ab2dfd4f`](https://github.com/thirdweb-dev/js/commit/ab2dfd4f5cf4256fa62d76f84ca804992afab1e4)]:
|
||||
- @thirdweb-dev/sdk@4.0.14
|
||||
- @thirdweb-dev/wallets@2.1.6
|
||||
- @thirdweb-dev/storage@2.0.5
|
||||
- @thirdweb-dev/auth@4.1.9
|
||||
|
||||
## 0.13.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`69d68f5a`](https://github.com/thirdweb-dev/js/commit/69d68f5a25877bf5ea694719d2cf4ca8388f3091)]:
|
||||
- @thirdweb-dev/wallets@2.1.5
|
||||
- @thirdweb-dev/auth@4.1.8
|
||||
|
||||
## 0.13.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9f993dcc`](https://github.com/thirdweb-dev/js/commit/9f993dcc1e60cc087850b8fb9ce09524073ce0b5)]:
|
||||
- @thirdweb-dev/wallets@2.1.4
|
||||
- @thirdweb-dev/auth@4.1.7
|
||||
|
||||
## 0.13.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`23ab897e`](https://github.com/thirdweb-dev/js/commit/23ab897e329cdd5b316fbe554ea0f64add91f2b4), [`a3f3e160`](https://github.com/thirdweb-dev/js/commit/a3f3e160e07328655a4f0332f41f4edd210a1a8a), [`6fcdec7c`](https://github.com/thirdweb-dev/js/commit/6fcdec7c12e4a3c0d10f3a67771e19cfad5c8ab5), [`42c74368`](https://github.com/thirdweb-dev/js/commit/42c743682739de77c264c11cc1692ed752f929a6), [`6fcdec7c`](https://github.com/thirdweb-dev/js/commit/6fcdec7c12e4a3c0d10f3a67771e19cfad5c8ab5), [`480ed721`](https://github.com/thirdweb-dev/js/commit/480ed721d1c736049fa8b6ee4cbdbdf3cce18abd), [`16e9e8b6`](https://github.com/thirdweb-dev/js/commit/16e9e8b64d7d1a97a5b32fc855479e992b7ed3a8), [`b1190914`](https://github.com/thirdweb-dev/js/commit/b1190914a97a9c4d9019c4ce8ee49ad345aed18c)]:
|
||||
- @thirdweb-dev/sdk@4.0.13
|
||||
- @thirdweb-dev/storage@2.0.4
|
||||
- @thirdweb-dev/wallets@2.1.3
|
||||
- @thirdweb-dev/auth@4.1.6
|
||||
|
||||
## 0.13.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1918](https://github.com/thirdweb-dev/js/pull/1918) [`95c9d56e`](https://github.com/thirdweb-dev/js/commit/95c9d56ea47ef57113679196efe8f9114c6fbb21) Thanks [@saminacodes](https://github.com/saminacodes)! - Fix url redirect for pre-built deploy command
|
||||
|
||||
- Updated dependencies [[`3f3a484a`](https://github.com/thirdweb-dev/js/commit/3f3a484a3aa6e9f784e4d44458461bac0d3d4c6b), [`05e52114`](https://github.com/thirdweb-dev/js/commit/05e52114bf4f0ee352f393ed20115a904a18c310), [`a81a5285`](https://github.com/thirdweb-dev/js/commit/a81a5285b7ef4ddf47fd2779ab80ebbef4bd9e0e), [`30ea9c6b`](https://github.com/thirdweb-dev/js/commit/30ea9c6bf74b483a98592a1d8d64589b7f1b22a3), [`97fdbc8f`](https://github.com/thirdweb-dev/js/commit/97fdbc8f6443dcd08a7610e4437bd4c9d6b0e8c8), [`3f3a484a`](https://github.com/thirdweb-dev/js/commit/3f3a484a3aa6e9f784e4d44458461bac0d3d4c6b)]:
|
||||
- @thirdweb-dev/wallets@2.1.2
|
||||
- @thirdweb-dev/auth@4.1.5
|
||||
- @thirdweb-dev/storage@2.0.3
|
||||
- @thirdweb-dev/sdk@4.0.12
|
||||
|
||||
## 0.13.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`0dcb15b7`](https://github.com/thirdweb-dev/js/commit/0dcb15b7e647acd038b0ec8b1a2b200808aae00e), [`fefeaeef`](https://github.com/thirdweb-dev/js/commit/fefeaeef18f52a75462c43da8b85a77975d32e01), [`20d0f53b`](https://github.com/thirdweb-dev/js/commit/20d0f53b46a2975a0a14ddaa4a377f2f758804db), [`91c2352b`](https://github.com/thirdweb-dev/js/commit/91c2352b03d7cf1c3cbbbc98846f248b0f707ea7)]:
|
||||
- @thirdweb-dev/chains@0.1.58
|
||||
- @thirdweb-dev/sdk@4.0.11
|
||||
- @thirdweb-dev/wallets@2.1.1
|
||||
- @thirdweb-dev/auth@4.1.4
|
||||
|
||||
## 0.13.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`a9d32f3c`](https://github.com/thirdweb-dev/js/commit/a9d32f3c90251a459e17a19eca803bbfdeeaeb79), [`0acc530f`](https://github.com/thirdweb-dev/js/commit/0acc530f8bbee59672d9705724edc278bd853d9a)]:
|
||||
- @thirdweb-dev/sdk@4.0.10
|
||||
- @thirdweb-dev/wallets@2.1.0
|
||||
- @thirdweb-dev/auth@4.1.3
|
||||
|
||||
## 0.13.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
|
||||
- @thirdweb-dev/chains@0.1.57
|
||||
- @thirdweb-dev/wallets@2.0.10
|
||||
- @thirdweb-dev/sdk@4.0.9
|
||||
- @thirdweb-dev/auth@4.1.2
|
||||
|
||||
## 0.13.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "thirdweb",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.9",
|
||||
"version": "0.13.18",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { LocalWallet } from "@thirdweb-dev/wallets";
|
||||
import assert from "assert";
|
||||
import chalk from "chalk";
|
||||
import fs from "fs";
|
||||
@@ -30,7 +29,7 @@ type ConfigPaths = {
|
||||
credsConfigPath: string;
|
||||
cliWalletPath: string;
|
||||
tokenPath: string;
|
||||
}
|
||||
};
|
||||
|
||||
export async function loginUser(
|
||||
configPaths: ConfigPaths,
|
||||
@@ -56,12 +55,21 @@ export async function loginUser(
|
||||
}
|
||||
}
|
||||
|
||||
export async function logoutUser(credsConfigPath: string, tokenPath: string, cliWalletPath: string) {
|
||||
export async function logoutUser(
|
||||
credsConfigPath: string,
|
||||
tokenPath: string,
|
||||
cliWalletPath: string,
|
||||
) {
|
||||
try {
|
||||
ora("Logging out...").start();
|
||||
const dirExists = fs.existsSync(credsConfigPath) && fs.existsSync(tokenPath) && fs.existsSync(cliWalletPath);
|
||||
const dirExists =
|
||||
fs.existsSync(credsConfigPath) &&
|
||||
fs.existsSync(tokenPath) &&
|
||||
fs.existsSync(cliWalletPath);
|
||||
if (!dirExists) {
|
||||
ora().warn(chalk.yellow("You are already logged out, did you mean to login?"));
|
||||
ora().warn(
|
||||
chalk.yellow("You are already logged out, did you mean to login?"),
|
||||
);
|
||||
return;
|
||||
}
|
||||
fs.unlinkSync(credsConfigPath);
|
||||
@@ -89,7 +97,9 @@ export const authenticateUser = async (
|
||||
props: LoginProps = defaultLoginProps,
|
||||
) => {
|
||||
const { credsConfigPath, cliWalletPath, tokenPath } = props.configPaths;
|
||||
const waitForDashboard = spinner("Waiting for a response from the dashboard").clear();
|
||||
const waitForDashboard = spinner(
|
||||
"Waiting for a response from the dashboard",
|
||||
).clear();
|
||||
|
||||
// Get or generate a localwallet.
|
||||
const wallet = await getOrGenerateLocalWallet(credsConfigPath, cliWalletPath);
|
||||
@@ -112,10 +122,16 @@ export const authenticateUser = async (
|
||||
let loginTimeoutHandle: NodeJS.Timeout;
|
||||
const timerPromise = new Promise<void>((resolve, reject) => {
|
||||
loginTimeoutHandle = setTimeout(() => {
|
||||
logger.error("Login session timed out, server didn't receive a response in 5 minutes. Please try again.");
|
||||
logger.error(
|
||||
"Login session timed out, server didn't receive a response in 5 minutes. Please try again.",
|
||||
);
|
||||
server.close();
|
||||
clearTimeout(loginTimeoutHandle);
|
||||
reject(new Error("Login session timed out, server didn't receive a response in 5 minutes. Please try again."));
|
||||
reject(
|
||||
new Error(
|
||||
"Login session timed out, server didn't receive a response in 5 minutes. Please try again.",
|
||||
),
|
||||
);
|
||||
}, 300000);
|
||||
});
|
||||
|
||||
@@ -129,12 +145,15 @@ export const authenticateUser = async (
|
||||
}
|
||||
});
|
||||
}
|
||||
res.setHeader('Access-Control-Allow-Credentials', 'true');
|
||||
res.setHeader('Access-Control-Allow-Origin', "https://thirdweb.com");
|
||||
res.setHeader('Access-Control-Allow-Methods', 'POST');
|
||||
res.setHeader("Access-Control-Allow-Credentials", "true");
|
||||
res.setHeader("Access-Control-Allow-Origin", "https://thirdweb.com");
|
||||
res.setHeader("Access-Control-Allow-Methods", "POST");
|
||||
|
||||
if (req.method === 'OPTIONS') {
|
||||
res.setHeader('Access-Control-Allow-Headers', 'content-type, baggage, sentry-trace');
|
||||
if (req.method === "OPTIONS") {
|
||||
res.setHeader(
|
||||
"Access-Control-Allow-Headers",
|
||||
"content-type, baggage, sentry-trace",
|
||||
);
|
||||
res.writeHead(200);
|
||||
res.end();
|
||||
return;
|
||||
@@ -148,12 +167,18 @@ export const authenticateUser = async (
|
||||
res.writeHead(500, "Unable to authenticate with the dashboard!");
|
||||
res.end("Unable to authenticate with the dashboard!", () => {
|
||||
finish(new Error("Unable to authenticate with the dashboard!"));
|
||||
})
|
||||
reject(chalk.red("Something went wrong! Unable to authenticate with the dashboard."));
|
||||
});
|
||||
reject(
|
||||
chalk.red(
|
||||
"Something went wrong! Unable to authenticate with the dashboard.",
|
||||
),
|
||||
);
|
||||
waitForDashboard.stop();
|
||||
}
|
||||
if (query.token) {
|
||||
const token = Array.isArray(query.token) ? query.token[0] : query.token;
|
||||
const token = Array.isArray(query.token)
|
||||
? query.token[0]
|
||||
: query.token;
|
||||
const theirState = Array.isArray(query.state)
|
||||
? query.state[0]
|
||||
: query.state;
|
||||
@@ -171,13 +196,18 @@ export const authenticateUser = async (
|
||||
} else {
|
||||
// Save the token to the config file.
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
fs.writeFileSync(tokenPath, token), {
|
||||
encoding: "utf8",
|
||||
mode: 0o600,
|
||||
};
|
||||
fs.writeFileSync(tokenPath, token),
|
||||
{
|
||||
encoding: "utf8",
|
||||
mode: 0o600,
|
||||
};
|
||||
res.end(() => {
|
||||
waitForDashboard.clear();
|
||||
console.log(chalk.green(`Successfully linked your account to this device`));
|
||||
console.log(
|
||||
chalk.green(
|
||||
`Successfully linked your account to this device`,
|
||||
),
|
||||
);
|
||||
finish();
|
||||
});
|
||||
logger.info(chalk.green(`\nSuccessfully logged in.`));
|
||||
@@ -197,15 +227,21 @@ export const authenticateUser = async (
|
||||
|
||||
server.listen(8976);
|
||||
});
|
||||
console.log(`Automatically attempting to open a link to authenticate with our dashboard...\n`);
|
||||
console.log(
|
||||
`Automatically attempting to open a link to authenticate with our dashboard...\n`,
|
||||
);
|
||||
waitForDashboard.start();
|
||||
// Adding this timeout since it feels weird for the browser to open before the spinner.
|
||||
setTimeout(async () => {
|
||||
await open(urlToOpen);
|
||||
}, 2000);
|
||||
|
||||
console.log(chalk.yellow(`If the browser doesn't open, please use this link to authenticate:\n`));
|
||||
console.log(chalk.yellow(urlToOpen + '\n'));
|
||||
console.log(
|
||||
chalk.yellow(
|
||||
`If the browser doesn't open, please use this link to authenticate:\n`,
|
||||
),
|
||||
);
|
||||
console.log(chalk.yellow(urlToOpen + "\n"));
|
||||
|
||||
return Promise.race([timerPromise, loginPromise]);
|
||||
};
|
||||
@@ -229,9 +265,13 @@ async function getOrCreatePassword(configCredsPath: string): Promise<string> {
|
||||
}
|
||||
}
|
||||
|
||||
async function getOrGenerateLocalWallet(configCredsPath: string, cliWalletPath: string) {
|
||||
async function getOrGenerateLocalWallet(
|
||||
configCredsPath: string,
|
||||
cliWalletPath: string,
|
||||
) {
|
||||
// Get or prompt for password.
|
||||
const password = await getOrCreatePassword(configCredsPath);
|
||||
const { LocalWallet } = await import("@thirdweb-dev/wallets");
|
||||
const wallet = new LocalWallet();
|
||||
const foundWallet = fs.existsSync(cliWalletPath);
|
||||
|
||||
@@ -265,9 +305,13 @@ async function getOrGenerateLocalWallet(configCredsPath: string, cliWalletPath:
|
||||
});
|
||||
|
||||
// write password
|
||||
fs.writeFileSync(configCredsPath, JSON.stringify({
|
||||
password: password,
|
||||
}), "utf8");
|
||||
fs.writeFileSync(
|
||||
configCredsPath,
|
||||
JSON.stringify({
|
||||
password: password,
|
||||
}),
|
||||
"utf8",
|
||||
);
|
||||
|
||||
return wallet;
|
||||
}
|
||||
@@ -280,14 +324,13 @@ export const validateKey = async (apiSecretKey: string) => {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"x-secret-key": apiSecretKey,
|
||||
}
|
||||
})
|
||||
},
|
||||
});
|
||||
|
||||
if (response.status !== 200) {
|
||||
throw new Error("Unauthorized key");
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
throw new Error(chalk.red("Unauthorized key"));
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import got from "got/dist/source";
|
||||
import got from "got";
|
||||
|
||||
export const getStartOrDev = async (name: string) => {
|
||||
try {
|
||||
|
||||
@@ -30,7 +30,7 @@ export default function generateDashboardUrl(
|
||||
const foundMapping = mapping[name as keyof typeof mapping];
|
||||
|
||||
return foundMapping
|
||||
? `https://thirdweb.com/dashboard/${foundMapping}`
|
||||
? `https://thirdweb.com/thirdweb.eth/${foundMapping}`
|
||||
: undefined;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWFee__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWFee__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWFee__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWFee__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWFee__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWFee__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWFee__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWRouter__factory.browser.esm.js"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,4 @@
|
||||
{
|
||||
"main": "dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.cjs.js": "./dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.esm.js": "./dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.browser.esm.js"
|
||||
}
|
||||
"module": "dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.esm.js"
|
||||
}
|
||||
|
||||
@@ -3,9 +3,422 @@
|
||||
"version": "1.3.16",
|
||||
"main": "dist/thirdweb-dev-contracts-js.cjs.js",
|
||||
"module": "dist/thirdweb-dev-contracts-js.esm.js",
|
||||
"browser": {
|
||||
"./dist/thirdweb-dev-contracts-js.cjs.js": "./dist/thirdweb-dev-contracts-js.browser.cjs.js",
|
||||
"./dist/thirdweb-dev-contracts-js.esm.js": "./dist/thirdweb-dev-contracts-js.browser.esm.js"
|
||||
"exports": {
|
||||
".": {
|
||||
"module": "./dist/thirdweb-dev-contracts-js.esm.js",
|
||||
"default": "./dist/thirdweb-dev-contracts-js.cjs.js"
|
||||
},
|
||||
"./factories/TWFee__factory": {
|
||||
"module": "./factories/TWFee__factory/dist/thirdweb-dev-contracts-js-factories-TWFee__factory.esm.js",
|
||||
"default": "./factories/TWFee__factory/dist/thirdweb-dev-contracts-js-factories-TWFee__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWProxy__factory": {
|
||||
"module": "./factories/TWProxy__factory/dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.esm.js",
|
||||
"default": "./factories/TWProxy__factory/dist/thirdweb-dev-contracts-js-factories-TWProxy__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWFactory__factory": {
|
||||
"module": "./factories/TWFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.esm.js",
|
||||
"default": "./factories/TWFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWFactory__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWRegistry__factory": {
|
||||
"module": "./factories/TWRegistry__factory/dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.esm.js",
|
||||
"default": "./factories/TWRegistry__factory/dist/thirdweb-dev-contracts-js-factories-TWRegistry__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWMinimalFactory__factory": {
|
||||
"module": "./factories/TWMinimalFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.esm.js",
|
||||
"default": "./factories/TWMinimalFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWMinimalFactory__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWStatelessFactory__factory": {
|
||||
"module": "./factories/TWStatelessFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.esm.js",
|
||||
"default": "./factories/TWStatelessFactory__factory/dist/thirdweb-dev-contracts-js-factories-TWStatelessFactory__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWMultichainRegistry__factory": {
|
||||
"module": "./factories/TWMultichainRegistry__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.esm.js",
|
||||
"default": "./factories/TWMultichainRegistry__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistry__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWMultichainRegistryLogic__factory": {
|
||||
"module": "./factories/TWMultichainRegistryLogic__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.esm.js",
|
||||
"default": "./factories/TWMultichainRegistryLogic__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryLogic__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWMultichainRegistryRouter__factory": {
|
||||
"module": "./factories/TWMultichainRegistryRouter__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.esm.js",
|
||||
"default": "./factories/TWMultichainRegistryRouter__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryRouter__factory.cjs.js"
|
||||
},
|
||||
"./factories/TWMultichainRegistryStorage__factory": {
|
||||
"module": "./factories/TWMultichainRegistryStorage__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.esm.js",
|
||||
"default": "./factories/TWMultichainRegistryStorage__factory/dist/thirdweb-dev-contracts-js-factories-TWMultichainRegistryStorage__factory.cjs.js"
|
||||
},
|
||||
"./package.json": "./package.json",
|
||||
"./dist/abis/SharedMetadataBatch.json": "./dist/abis/SharedMetadataBatch.json",
|
||||
"./dist/abis/Staking721Upgradeable.json": "./dist/abis/Staking721Upgradeable.json",
|
||||
"./dist/abis/Staking1155.json": "./dist/abis/Staking1155.json",
|
||||
"./dist/abis/IPluginMap.json": "./dist/abis/IPluginMap.json",
|
||||
"./dist/abis/SignatureAction.json": "./dist/abis/SignatureAction.json",
|
||||
"./dist/abis/IDirectListings.json": "./dist/abis/IDirectListings.json",
|
||||
"./dist/abis/Multiwrap.json": "./dist/abis/Multiwrap.json",
|
||||
"./dist/abis/ERC20Votes.json": "./dist/abis/ERC20Votes.json",
|
||||
"./dist/abis/ITWFee.json": "./dist/abis/ITWFee.json",
|
||||
"./dist/abis/Permissions.json": "./dist/abis/Permissions.json",
|
||||
"./dist/abis/Pack.json": "./dist/abis/Pack.json",
|
||||
"./dist/abis/RulesEngineExtension.json": "./dist/abis/RulesEngineExtension.json",
|
||||
"./dist/abis/PrimarySale.json": "./dist/abis/PrimarySale.json",
|
||||
"./dist/abis/EntryPoint.json": "./dist/abis/EntryPoint.json",
|
||||
"./dist/abis/DropSinglePhase1155.json": "./dist/abis/DropSinglePhase1155.json",
|
||||
"./dist/abis/IAirdropERC721.json": "./dist/abis/IAirdropERC721.json",
|
||||
"./dist/abis/TWFee.json": "./dist/abis/TWFee.json",
|
||||
"./dist/abis/IContractPublisher.json": "./dist/abis/IContractPublisher.json",
|
||||
"./dist/abis/IOwnable.json": "./dist/abis/IOwnable.json",
|
||||
"./dist/abis/SignatureDrop_V4.json": "./dist/abis/SignatureDrop_V4.json",
|
||||
"./dist/abis/ITokenERC20.json": "./dist/abis/ITokenERC20.json",
|
||||
"./dist/abis/OperatorFilterToggle.json": "./dist/abis/OperatorFilterToggle.json",
|
||||
"./dist/abis/EnumerableSet.json": "./dist/abis/EnumerableSet.json",
|
||||
"./dist/abis/ERC721A__IERC721ReceiverUpgradeable.json": "./dist/abis/ERC721A__IERC721ReceiverUpgradeable.json",
|
||||
"./dist/abis/AccountFactory.json": "./dist/abis/AccountFactory.json",
|
||||
"./dist/abis/MerkleProof.json": "./dist/abis/MerkleProof.json",
|
||||
"./dist/abis/SafeCast.json": "./dist/abis/SafeCast.json",
|
||||
"./dist/abis/Staking721.json": "./dist/abis/Staking721.json",
|
||||
"./dist/abis/ERC721A.json": "./dist/abis/ERC721A.json",
|
||||
"./dist/abis/UserOperationLib.json": "./dist/abis/UserOperationLib.json",
|
||||
"./dist/abis/ERC721Multiwrap.json": "./dist/abis/ERC721Multiwrap.json",
|
||||
"./dist/abis/SignatureDrop.json": "./dist/abis/SignatureDrop.json",
|
||||
"./dist/abis/IMintableERC721.json": "./dist/abis/IMintableERC721.json",
|
||||
"./dist/abis/IBurnToClaim.json": "./dist/abis/IBurnToClaim.json",
|
||||
"./dist/abis/AccountPermissions.json": "./dist/abis/AccountPermissions.json",
|
||||
"./dist/abis/IStakeManager.json": "./dist/abis/IStakeManager.json",
|
||||
"./dist/abis/IClaimConditionsSinglePhase.json": "./dist/abis/IClaimConditionsSinglePhase.json",
|
||||
"./dist/abis/PrimarySaleInit.json": "./dist/abis/PrimarySaleInit.json",
|
||||
"./dist/abis/IERC2771Context.json": "./dist/abis/IERC2771Context.json",
|
||||
"./dist/abis/IAccountCore.json": "./dist/abis/IAccountCore.json",
|
||||
"./dist/abis/IERC165.json": "./dist/abis/IERC165.json",
|
||||
"./dist/abis/BurnToClaimDrop721Logic.json": "./dist/abis/BurnToClaimDrop721Logic.json",
|
||||
"./dist/abis/ERC721DelayedReveal.json": "./dist/abis/ERC721DelayedReveal.json",
|
||||
"./dist/abis/IClaimCondition_V1.json": "./dist/abis/IClaimCondition_V1.json",
|
||||
"./dist/abis/IERC1155.json": "./dist/abis/IERC1155.json",
|
||||
"./dist/abis/IStaking1155.json": "./dist/abis/IStaking1155.json",
|
||||
"./dist/abis/Math.json": "./dist/abis/Math.json",
|
||||
"./dist/abis/IRoyaltyEngineV1.json": "./dist/abis/IRoyaltyEngineV1.json",
|
||||
"./dist/abis/DelayedRevealStorage.json": "./dist/abis/DelayedRevealStorage.json",
|
||||
"./dist/abis/ISignatureMintERC1155.json": "./dist/abis/ISignatureMintERC1155.json",
|
||||
"./dist/abis/IPack.json": "./dist/abis/IPack.json",
|
||||
"./dist/abis/SenderCreator.json": "./dist/abis/SenderCreator.json",
|
||||
"./dist/abis/IMintableERC1155.json": "./dist/abis/IMintableERC1155.json",
|
||||
"./dist/abis/ReentrancyGuardLogic.json": "./dist/abis/ReentrancyGuardLogic.json",
|
||||
"./dist/abis/IERC1155Receiver.json": "./dist/abis/IERC1155Receiver.json",
|
||||
"./dist/abis/IERC4906.json": "./dist/abis/IERC4906.json",
|
||||
"./dist/abis/ERC2771ContextLogic.json": "./dist/abis/ERC2771ContextLogic.json",
|
||||
"./dist/abis/TWBitMaps.json": "./dist/abis/TWBitMaps.json",
|
||||
"./dist/abis/IERC2981.json": "./dist/abis/IERC2981.json",
|
||||
"./dist/abis/ILazyMintWithTier.json": "./dist/abis/ILazyMintWithTier.json",
|
||||
"./dist/abis/ERC721SignatureMint.json": "./dist/abis/ERC721SignatureMint.json",
|
||||
"./dist/abis/LazyMintWithTier_V1.json": "./dist/abis/LazyMintWithTier_V1.json",
|
||||
"./dist/abis/EvolvingNFTLogic.json": "./dist/abis/EvolvingNFTLogic.json",
|
||||
"./dist/abis/IPrimarySale.json": "./dist/abis/IPrimarySale.json",
|
||||
"./dist/abis/IRouterState.json": "./dist/abis/IRouterState.json",
|
||||
"./dist/abis/NFTMetadataRenderer.json": "./dist/abis/NFTMetadataRenderer.json",
|
||||
"./dist/abis/SignatureActionUpgradeable.json": "./dist/abis/SignatureActionUpgradeable.json",
|
||||
"./dist/abis/IPermissions.json": "./dist/abis/IPermissions.json",
|
||||
"./dist/abis/EnglishAuctionsLogic.json": "./dist/abis/EnglishAuctionsLogic.json",
|
||||
"./dist/abis/IMulticall.json": "./dist/abis/IMulticall.json",
|
||||
"./dist/abis/Exec.json": "./dist/abis/Exec.json",
|
||||
"./dist/abis/IAccountFactory.json": "./dist/abis/IAccountFactory.json",
|
||||
"./dist/abis/ERC721LazyMint.json": "./dist/abis/ERC721LazyMint.json",
|
||||
"./dist/abis/IDropSinglePhase_V1.json": "./dist/abis/IDropSinglePhase_V1.json",
|
||||
"./dist/abis/ERC721AQueryableInit.json": "./dist/abis/ERC721AQueryableInit.json",
|
||||
"./dist/abis/ERC721AQueryableUpgradeable.json": "./dist/abis/ERC721AQueryableUpgradeable.json",
|
||||
"./dist/abis/DropERC721.json": "./dist/abis/DropERC721.json",
|
||||
"./dist/abis/AirdropERC721.json": "./dist/abis/AirdropERC721.json",
|
||||
"./dist/abis/IDropSinglePhase.json": "./dist/abis/IDropSinglePhase.json",
|
||||
"./dist/abis/zora_IERC721Drop.json": "./dist/abis/zora_IERC721Drop.json",
|
||||
"./dist/abis/TWStringSet.json": "./dist/abis/TWStringSet.json",
|
||||
"./dist/abis/InitStorage.json": "./dist/abis/InitStorage.json",
|
||||
"./dist/abis/IDropSinglePhase1155.json": "./dist/abis/IDropSinglePhase1155.json",
|
||||
"./dist/abis/AccountCore.json": "./dist/abis/AccountCore.json",
|
||||
"./dist/abis/TWStorageSlot.json": "./dist/abis/TWStorageSlot.json",
|
||||
"./dist/abis/TWMinimalFactory.json": "./dist/abis/TWMinimalFactory.json",
|
||||
"./dist/abis/TWRegistry.json": "./dist/abis/TWRegistry.json",
|
||||
"./dist/abis/OpenEditionERC721.json": "./dist/abis/OpenEditionERC721.json",
|
||||
"./dist/abis/ERC2771Context.json": "./dist/abis/ERC2771Context.json",
|
||||
"./dist/abis/IERC721Receiver.json": "./dist/abis/IERC721Receiver.json",
|
||||
"./dist/abis/ISharedMetadataBatch.json": "./dist/abis/ISharedMetadataBatch.json",
|
||||
"./dist/abis/ERC1155Holder.json": "./dist/abis/ERC1155Holder.json",
|
||||
"./dist/abis/BurnToClaim.json": "./dist/abis/BurnToClaim.json",
|
||||
"./dist/abis/Forwarder.json": "./dist/abis/Forwarder.json",
|
||||
"./dist/abis/ERC2771ContextInit.json": "./dist/abis/ERC2771ContextInit.json",
|
||||
"./dist/abis/SharedMetadataBatchStorage.json": "./dist/abis/SharedMetadataBatchStorage.json",
|
||||
"./dist/abis/PlatformFeeLogic.json": "./dist/abis/PlatformFeeLogic.json",
|
||||
"./dist/abis/Royalty.json": "./dist/abis/Royalty.json",
|
||||
"./dist/abis/IMintableERC20.json": "./dist/abis/IMintableERC20.json",
|
||||
"./dist/abis/PermissionsLogic.json": "./dist/abis/PermissionsLogic.json",
|
||||
"./dist/abis/Staking20Base.json": "./dist/abis/Staking20Base.json",
|
||||
"./dist/abis/IContext.json": "./dist/abis/IContext.json",
|
||||
"./dist/abis/Staking20Upgradeable.json": "./dist/abis/Staking20Upgradeable.json",
|
||||
"./dist/abis/Proxy.json": "./dist/abis/Proxy.json",
|
||||
"./dist/abis/ERC1967Proxy.json": "./dist/abis/ERC1967Proxy.json",
|
||||
"./dist/abis/IRoyaltyPayments.json": "./dist/abis/IRoyaltyPayments.json",
|
||||
"./dist/abis/BaseRouter.json": "./dist/abis/BaseRouter.json",
|
||||
"./dist/abis/TWAddress.json": "./dist/abis/TWAddress.json",
|
||||
"./dist/abis/EvolvingNFT.json": "./dist/abis/EvolvingNFT.json",
|
||||
"./dist/abis/ContractMetadata.json": "./dist/abis/ContractMetadata.json",
|
||||
"./dist/abis/IOffers.json": "./dist/abis/IOffers.json",
|
||||
"./dist/abis/Staking1155Base.json": "./dist/abis/Staking1155Base.json",
|
||||
"./dist/abis/PermissionsEnumerableImpl.json": "./dist/abis/PermissionsEnumerableImpl.json",
|
||||
"./dist/abis/TWFactory.json": "./dist/abis/TWFactory.json",
|
||||
"./dist/abis/IERC6551Account.json": "./dist/abis/IERC6551Account.json",
|
||||
"./dist/abis/ILoyaltyCard.json": "./dist/abis/ILoyaltyCard.json",
|
||||
"./dist/abis/SafeMath.json": "./dist/abis/SafeMath.json",
|
||||
"./dist/abis/MarketplaceV3.json": "./dist/abis/MarketplaceV3.json",
|
||||
"./dist/abis/ReentrancyGuardInit.json": "./dist/abis/ReentrancyGuardInit.json",
|
||||
"./dist/abis/DropERC721_V3.json": "./dist/abis/DropERC721_V3.json",
|
||||
"./dist/abis/PermissionOverrideCoreRouter.json": "./dist/abis/PermissionOverrideCoreRouter.json",
|
||||
"./dist/abis/OperatorFilterer.json": "./dist/abis/OperatorFilterer.json",
|
||||
"./dist/abis/IDelayedReveal.json": "./dist/abis/IDelayedReveal.json",
|
||||
"./dist/abis/TokenERC721.json": "./dist/abis/TokenERC721.json",
|
||||
"./dist/abis/PlatformFeeStorage.json": "./dist/abis/PlatformFeeStorage.json",
|
||||
"./dist/abis/ERC6551AccountLib.json": "./dist/abis/ERC6551AccountLib.json",
|
||||
"./dist/abis/ITWRegistry.json": "./dist/abis/ITWRegistry.json",
|
||||
"./dist/abis/DropERC20.json": "./dist/abis/DropERC20.json",
|
||||
"./dist/abis/TWStatelessFactory.json": "./dist/abis/TWStatelessFactory.json",
|
||||
"./dist/abis/IDropERC721.json": "./dist/abis/IDropERC721.json",
|
||||
"./dist/abis/IMarketplace.json": "./dist/abis/IMarketplace.json",
|
||||
"./dist/abis/IThirdwebContract.json": "./dist/abis/IThirdwebContract.json",
|
||||
"./dist/abis/LazyMint_V1.json": "./dist/abis/LazyMint_V1.json",
|
||||
"./dist/abis/PrimarySaleStorage.json": "./dist/abis/PrimarySaleStorage.json",
|
||||
"./dist/abis/IClaimConditionMultiPhase.json": "./dist/abis/IClaimConditionMultiPhase.json",
|
||||
"./dist/abis/ReentrancyGuardStorage.json": "./dist/abis/ReentrancyGuardStorage.json",
|
||||
"./dist/abis/LoyaltyPoints.json": "./dist/abis/LoyaltyPoints.json",
|
||||
"./dist/abis/IBurnableERC20.json": "./dist/abis/IBurnableERC20.json",
|
||||
"./dist/abis/Initializable.json": "./dist/abis/Initializable.json",
|
||||
"./dist/abis/IAirdropERC20Claimable.json": "./dist/abis/IAirdropERC20Claimable.json",
|
||||
"./dist/abis/AirdropERC1155.json": "./dist/abis/AirdropERC1155.json",
|
||||
"./dist/abis/ERC721AUpgradeable.json": "./dist/abis/ERC721AUpgradeable.json",
|
||||
"./dist/abis/RouterStorage.json": "./dist/abis/RouterStorage.json",
|
||||
"./dist/abis/ILoyaltyPoints.json": "./dist/abis/ILoyaltyPoints.json",
|
||||
"./dist/abis/TokenERC20.json": "./dist/abis/TokenERC20.json",
|
||||
"./dist/abis/AirdropERC20Claimable.json": "./dist/abis/AirdropERC20Claimable.json",
|
||||
"./dist/abis/SignatureMintERC20.json": "./dist/abis/SignatureMintERC20.json",
|
||||
"./dist/abis/Staking1155Upgradeable.json": "./dist/abis/Staking1155Upgradeable.json",
|
||||
"./dist/abis/IEntryPoint.json": "./dist/abis/IEntryPoint.json",
|
||||
"./dist/abis/EnglishAuctionsStorage.json": "./dist/abis/EnglishAuctionsStorage.json",
|
||||
"./dist/abis/IDropERC721_V3.json": "./dist/abis/IDropERC721_V3.json",
|
||||
"./dist/abis/EIP712.json": "./dist/abis/EIP712.json",
|
||||
"./dist/abis/DelayedReveal.json": "./dist/abis/DelayedReveal.json",
|
||||
"./dist/abis/IAccount.json": "./dist/abis/IAccount.json",
|
||||
"./dist/abis/OffersStorage.json": "./dist/abis/OffersStorage.json",
|
||||
"./dist/abis/IClaimableERC721.json": "./dist/abis/IClaimableERC721.json",
|
||||
"./dist/abis/IBurnableERC1155.json": "./dist/abis/IBurnableERC1155.json",
|
||||
"./dist/abis/ContractMetadataInit.json": "./dist/abis/ContractMetadataInit.json",
|
||||
"./dist/abis/ERC165.json": "./dist/abis/ERC165.json",
|
||||
"./dist/abis/RouterImmutable.json": "./dist/abis/RouterImmutable.json",
|
||||
"./dist/abis/IStaking20.json": "./dist/abis/IStaking20.json",
|
||||
"./dist/abis/IERC721Supply.json": "./dist/abis/IERC721Supply.json",
|
||||
"./dist/abis/ITokenERC721.json": "./dist/abis/ITokenERC721.json",
|
||||
"./dist/abis/ERC2771ContextUpgradeable.json": "./dist/abis/ERC2771ContextUpgradeable.json",
|
||||
"./dist/abis/IDropClaimCondition_V2.json": "./dist/abis/IDropClaimCondition_V2.json",
|
||||
"./dist/abis/Upgradeable.json": "./dist/abis/Upgradeable.json",
|
||||
"./dist/abis/DynamicAccount.json": "./dist/abis/DynamicAccount.json",
|
||||
"./dist/abis/LoyaltyCard.json": "./dist/abis/LoyaltyCard.json",
|
||||
"./dist/abis/IClaimCondition.json": "./dist/abis/IClaimCondition.json",
|
||||
"./dist/abis/IStaking721.json": "./dist/abis/IStaking721.json",
|
||||
"./dist/abis/IEnglishAuctions.json": "./dist/abis/IEnglishAuctions.json",
|
||||
"./dist/abis/TWMultichainRegistry.json": "./dist/abis/TWMultichainRegistry.json",
|
||||
"./dist/abis/StakeManager.json": "./dist/abis/StakeManager.json",
|
||||
"./dist/abis/BurnToClaimDropERC721.json": "./dist/abis/BurnToClaimDropERC721.json",
|
||||
"./dist/abis/ERC20SignatureMint.json": "./dist/abis/ERC20SignatureMint.json",
|
||||
"./dist/abis/ISignatureMintERC721_V1.json": "./dist/abis/ISignatureMintERC721_V1.json",
|
||||
"./dist/abis/ERC20DropVote.json": "./dist/abis/ERC20DropVote.json",
|
||||
"./dist/abis/ERC721AStorage.json": "./dist/abis/ERC721AStorage.json",
|
||||
"./dist/abis/BaseAccountFactory.json": "./dist/abis/BaseAccountFactory.json",
|
||||
"./dist/abis/ERC1155PresetUpgradeable.json": "./dist/abis/ERC1155PresetUpgradeable.json",
|
||||
"./dist/abis/PlatformFeeImpl.json": "./dist/abis/PlatformFeeImpl.json",
|
||||
"./dist/abis/SafeERC20.json": "./dist/abis/SafeERC20.json",
|
||||
"./dist/abis/IAirdropERC1155.json": "./dist/abis/IAirdropERC1155.json",
|
||||
"./dist/abis/OffersLogic.json": "./dist/abis/OffersLogic.json",
|
||||
"./dist/abis/Marketplace.json": "./dist/abis/Marketplace.json",
|
||||
"./dist/abis/TWStrings.json": "./dist/abis/TWStrings.json",
|
||||
"./dist/abis/DirectListingsStorage.json": "./dist/abis/DirectListingsStorage.json",
|
||||
"./dist/abis/TieredDrop.json": "./dist/abis/TieredDrop.json",
|
||||
"./dist/abis/ERC1155Receiver.json": "./dist/abis/ERC1155Receiver.json",
|
||||
"./dist/abis/AccountCoreStorage.json": "./dist/abis/AccountCoreStorage.json",
|
||||
"./dist/abis/Drop1155.json": "./dist/abis/Drop1155.json",
|
||||
"./dist/abis/IDelayedRevealDeprecated.json": "./dist/abis/IDelayedRevealDeprecated.json",
|
||||
"./dist/abis/DropERC1155.json": "./dist/abis/DropERC1155.json",
|
||||
"./dist/abis/PermissionsInit.json": "./dist/abis/PermissionsInit.json",
|
||||
"./dist/abis/Account.json": "./dist/abis/Account.json",
|
||||
"./dist/abis/ERC20Base.json": "./dist/abis/ERC20Base.json",
|
||||
"./dist/abis/INFTStake.json": "./dist/abis/INFTStake.json",
|
||||
"./dist/abis/BytesLib.json": "./dist/abis/BytesLib.json",
|
||||
"./dist/abis/LazyMintStorage.json": "./dist/abis/LazyMintStorage.json",
|
||||
"./dist/abis/IDropERC20_V2.json": "./dist/abis/IDropERC20_V2.json",
|
||||
"./dist/abis/ERC2771ContextUpgradeableStorage.json": "./dist/abis/ERC2771ContextUpgradeableStorage.json",
|
||||
"./dist/abis/IClaimableERC1155.json": "./dist/abis/IClaimableERC1155.json",
|
||||
"./dist/abis/ILazyMint.json": "./dist/abis/ILazyMint.json",
|
||||
"./dist/abis/IOperatorFilterToggle.json": "./dist/abis/IOperatorFilterToggle.json",
|
||||
"./dist/abis/IERC1155Metadata.json": "./dist/abis/IERC1155Metadata.json",
|
||||
"./dist/abis/IBeacon.json": "./dist/abis/IBeacon.json",
|
||||
"./dist/abis/BaseAccount.json": "./dist/abis/BaseAccount.json",
|
||||
"./dist/abis/ITokenBundle.json": "./dist/abis/ITokenBundle.json",
|
||||
"./dist/abis/ReentrancyGuard.json": "./dist/abis/ReentrancyGuard.json",
|
||||
"./dist/abis/AirdropERC20.json": "./dist/abis/AirdropERC20.json",
|
||||
"./dist/abis/ERC2771ContextStorage.json": "./dist/abis/ERC2771ContextStorage.json",
|
||||
"./dist/abis/SignatureMintERC1155Upgradeable.json": "./dist/abis/SignatureMintERC1155Upgradeable.json",
|
||||
"./dist/abis/IPackVRFDirect.json": "./dist/abis/IPackVRFDirect.json",
|
||||
"./dist/abis/MetaTx.json": "./dist/abis/MetaTx.json",
|
||||
"./dist/abis/IDropERC20.json": "./dist/abis/IDropERC20.json",
|
||||
"./dist/abis/ERC721A__Initializable.json": "./dist/abis/ERC721A__Initializable.json",
|
||||
"./dist/abis/TokenBoundAccount.json": "./dist/abis/TokenBoundAccount.json",
|
||||
"./dist/abis/ISharedMetadata.json": "./dist/abis/ISharedMetadata.json",
|
||||
"./dist/abis/IERC721Metadata.json": "./dist/abis/IERC721Metadata.json",
|
||||
"./dist/abis/DropSinglePhase_V1.json": "./dist/abis/DropSinglePhase_V1.json",
|
||||
"./dist/abis/PermissionsEnumerable.json": "./dist/abis/PermissionsEnumerable.json",
|
||||
"./dist/abis/IAccountFactoryCore.json": "./dist/abis/IAccountFactoryCore.json",
|
||||
"./dist/abis/TokenStake.json": "./dist/abis/TokenStake.json",
|
||||
"./dist/abis/AppURI.json": "./dist/abis/AppURI.json",
|
||||
"./dist/abis/AirdropERC721Claimable.json": "./dist/abis/AirdropERC721Claimable.json",
|
||||
"./dist/abis/DropSinglePhase.json": "./dist/abis/DropSinglePhase.json",
|
||||
"./dist/abis/OperatorFiltererUpgradeable.json": "./dist/abis/OperatorFiltererUpgradeable.json",
|
||||
"./dist/abis/IAirdropERC721Claimable.json": "./dist/abis/IAirdropERC721Claimable.json",
|
||||
"./dist/abis/IOperatorFilterRegistry.json": "./dist/abis/IOperatorFilterRegistry.json",
|
||||
"./dist/abis/IContractFactory.json": "./dist/abis/IContractFactory.json",
|
||||
"./dist/abis/ERC20Drop.json": "./dist/abis/ERC20Drop.json",
|
||||
"./dist/abis/LazyMintWithTier.json": "./dist/abis/LazyMintWithTier.json",
|
||||
"./dist/abis/ManagedAccount.json": "./dist/abis/ManagedAccount.json",
|
||||
"./dist/abis/EIP712ChainlessDomain.json": "./dist/abis/EIP712ChainlessDomain.json",
|
||||
"./dist/abis/IDropERC1155.json": "./dist/abis/IDropERC1155.json",
|
||||
"./dist/abis/IPermissionsEnumerable.json": "./dist/abis/IPermissionsEnumerable.json",
|
||||
"./dist/abis/SignatureMintERC1155.json": "./dist/abis/SignatureMintERC1155.json",
|
||||
"./dist/abis/ForwarderConsumer.json": "./dist/abis/ForwarderConsumer.json",
|
||||
"./dist/abis/IAggregator.json": "./dist/abis/IAggregator.json",
|
||||
"./dist/abis/PermissionsEnumerableStorage.json": "./dist/abis/PermissionsEnumerableStorage.json",
|
||||
"./dist/abis/IEditionStake.json": "./dist/abis/IEditionStake.json",
|
||||
"./dist/abis/ERC1155Drop.json": "./dist/abis/ERC1155Drop.json",
|
||||
"./dist/abis/DropStorage.json": "./dist/abis/DropStorage.json",
|
||||
"./dist/abis/PackVRFDirect.json": "./dist/abis/PackVRFDirect.json",
|
||||
"./dist/abis/AccountExtension.json": "./dist/abis/AccountExtension.json",
|
||||
"./dist/abis/SoulboundERC721A.json": "./dist/abis/SoulboundERC721A.json",
|
||||
"./dist/abis/ISignatureAction.json": "./dist/abis/ISignatureAction.json",
|
||||
"./dist/abis/ERC721AInit.json": "./dist/abis/ERC721AInit.json",
|
||||
"./dist/abis/IRoyalty.json": "./dist/abis/IRoyalty.json",
|
||||
"./dist/abis/IAccountPermissions_V1.json": "./dist/abis/IAccountPermissions_V1.json",
|
||||
"./dist/abis/CoreRouter.json": "./dist/abis/CoreRouter.json",
|
||||
"./dist/abis/ContractMetadataLogic.json": "./dist/abis/ContractMetadataLogic.json",
|
||||
"./dist/abis/ERC1155LazyMint.json": "./dist/abis/ERC1155LazyMint.json",
|
||||
"./dist/abis/TokenERC1155.json": "./dist/abis/TokenERC1155.json",
|
||||
"./dist/abis/IAccountPermissions.json": "./dist/abis/IAccountPermissions.json",
|
||||
"./dist/abis/Staking20.json": "./dist/abis/Staking20.json",
|
||||
"./dist/abis/RoyaltyStorage.json": "./dist/abis/RoyaltyStorage.json",
|
||||
"./dist/abis/ERC6551BytecodeLib.json": "./dist/abis/ERC6551BytecodeLib.json",
|
||||
"./dist/abis/TWMultichainRegistryStorage.json": "./dist/abis/TWMultichainRegistryStorage.json",
|
||||
"./dist/abis/ForwarderEOAOnly.json": "./dist/abis/ForwarderEOAOnly.json",
|
||||
"./dist/abis/TokenStore.json": "./dist/abis/TokenStore.json",
|
||||
"./dist/abis/TokenBundle.json": "./dist/abis/TokenBundle.json",
|
||||
"./dist/abis/IPaymaster.json": "./dist/abis/IPaymaster.json",
|
||||
"./dist/abis/RoyaltyInit.json": "./dist/abis/RoyaltyInit.json",
|
||||
"./dist/abis/SharedMetadata.json": "./dist/abis/SharedMetadata.json",
|
||||
"./dist/abis/ManagedAccountFactory.json": "./dist/abis/ManagedAccountFactory.json",
|
||||
"./dist/abis/IFeeTierPlacementExtension.json": "./dist/abis/IFeeTierPlacementExtension.json",
|
||||
"./dist/abis/TokenCallbackHandler.json": "./dist/abis/TokenCallbackHandler.json",
|
||||
"./dist/abis/PaymentSplitterUpgradeable.json": "./dist/abis/PaymentSplitterUpgradeable.json",
|
||||
"./dist/abis/ERC1155Base.json": "./dist/abis/ERC1155Base.json",
|
||||
"./dist/abis/ForwarderChainlessDomain.json": "./dist/abis/ForwarderChainlessDomain.json",
|
||||
"./dist/abis/ERC1967Upgrade.json": "./dist/abis/ERC1967Upgrade.json",
|
||||
"./dist/abis/ExtensionManager.json": "./dist/abis/ExtensionManager.json",
|
||||
"./dist/abis/NonceManager.json": "./dist/abis/NonceManager.json",
|
||||
"./dist/abis/IAirdropERC1155Claimable.json": "./dist/abis/IAirdropERC1155Claimable.json",
|
||||
"./dist/abis/IVotes.json": "./dist/abis/IVotes.json",
|
||||
"./dist/abis/PluginMap.json": "./dist/abis/PluginMap.json",
|
||||
"./dist/abis/PermissionsEnumerableLogic.json": "./dist/abis/PermissionsEnumerableLogic.json",
|
||||
"./dist/abis/IContractMetadata.json": "./dist/abis/IContractMetadata.json",
|
||||
"./dist/abis/IDropClaimCondition.json": "./dist/abis/IDropClaimCondition.json",
|
||||
"./dist/abis/SignatureMintERC20Upgradeable.json": "./dist/abis/SignatureMintERC20Upgradeable.json",
|
||||
"./dist/abis/DynamicAccountFactory.json": "./dist/abis/DynamicAccountFactory.json",
|
||||
"./dist/abis/OwnableInit.json": "./dist/abis/OwnableInit.json",
|
||||
"./dist/abis/VoteERC20.json": "./dist/abis/VoteERC20.json",
|
||||
"./dist/abis/IMultiwrap.json": "./dist/abis/IMultiwrap.json",
|
||||
"./dist/abis/BurnToClaimDrop721Storage.json": "./dist/abis/BurnToClaimDrop721Storage.json",
|
||||
"./dist/abis/IBurnableERC721.json": "./dist/abis/IBurnableERC721.json",
|
||||
"./dist/abis/AccountPermissionsStorage.json": "./dist/abis/AccountPermissionsStorage.json",
|
||||
"./dist/abis/FeeType.json": "./dist/abis/FeeType.json",
|
||||
"./dist/abis/Split.json": "./dist/abis/Split.json",
|
||||
"./dist/abis/IERC20Metadata.json": "./dist/abis/IERC20Metadata.json",
|
||||
"./dist/abis/EditionStake.json": "./dist/abis/EditionStake.json",
|
||||
"./dist/abis/ERC721A__InitializableStorage.json": "./dist/abis/ERC721A__InitializableStorage.json",
|
||||
"./dist/abis/TWMultichainRegistryLogic.json": "./dist/abis/TWMultichainRegistryLogic.json",
|
||||
"./dist/abis/IERC1155Enumerable.json": "./dist/abis/IERC1155Enumerable.json",
|
||||
"./dist/abis/SignatureMintERC721.json": "./dist/abis/SignatureMintERC721.json",
|
||||
"./dist/abis/IERC1155Supply.json": "./dist/abis/IERC1155Supply.json",
|
||||
"./dist/abis/AirdropERC1155Claimable.json": "./dist/abis/AirdropERC1155Claimable.json",
|
||||
"./dist/abis/ISignatureMintERC20.json": "./dist/abis/ISignatureMintERC20.json",
|
||||
"./dist/abis/ERC1155.json": "./dist/abis/ERC1155.json",
|
||||
"./dist/abis/IRulesEngine.json": "./dist/abis/IRulesEngine.json",
|
||||
"./dist/abis/Router.json": "./dist/abis/Router.json",
|
||||
"./dist/abis/IPlatformFee.json": "./dist/abis/IPlatformFee.json",
|
||||
"./dist/abis/Base64.json": "./dist/abis/Base64.json",
|
||||
"./dist/abis/ProxyForUpgradeable.json": "./dist/abis/ProxyForUpgradeable.json",
|
||||
"./dist/abis/Helpers.json": "./dist/abis/Helpers.json",
|
||||
"./dist/abis/VRFV2WrapperConsumerBase.json": "./dist/abis/VRFV2WrapperConsumerBase.json",
|
||||
"./dist/abis/ITokenERC1155.json": "./dist/abis/ITokenERC1155.json",
|
||||
"./dist/abis/BatchMintMetadata.json": "./dist/abis/BatchMintMetadata.json",
|
||||
"./dist/abis/NFTMetadata.json": "./dist/abis/NFTMetadata.json",
|
||||
"./dist/abis/ERC20Permit.json": "./dist/abis/ERC20Permit.json",
|
||||
"./dist/abis/IAppURI.json": "./dist/abis/IAppURI.json",
|
||||
"./dist/abis/ERC1155DelayedReveal.json": "./dist/abis/ERC1155DelayedReveal.json",
|
||||
"./dist/abis/BatchMintMetadata_V1.json": "./dist/abis/BatchMintMetadata_V1.json",
|
||||
"./dist/abis/ContractPublisher.json": "./dist/abis/ContractPublisher.json",
|
||||
"./dist/abis/Drop.json": "./dist/abis/Drop.json",
|
||||
"./dist/abis/MockContractPublisher.json": "./dist/abis/MockContractPublisher.json",
|
||||
"./dist/abis/ERC721Holder.json": "./dist/abis/ERC721Holder.json",
|
||||
"./dist/abis/IWETH.json": "./dist/abis/IWETH.json",
|
||||
"./dist/abis/ERC1155SignatureMint.json": "./dist/abis/ERC1155SignatureMint.json",
|
||||
"./dist/abis/TWProxy.json": "./dist/abis/TWProxy.json",
|
||||
"./dist/abis/CurrencyTransferLib.json": "./dist/abis/CurrencyTransferLib.json",
|
||||
"./dist/abis/MinimalForwarderEOAOnly.json": "./dist/abis/MinimalForwarderEOAOnly.json",
|
||||
"./dist/abis/PermissionsEnumerableInit.json": "./dist/abis/PermissionsEnumerableInit.json",
|
||||
"./dist/abis/INonceManager.json": "./dist/abis/INonceManager.json",
|
||||
"./dist/abis/IERC721.json": "./dist/abis/IERC721.json",
|
||||
"./dist/abis/IERC721AQueryableUpgradeable.json": "./dist/abis/IERC721AQueryableUpgradeable.json",
|
||||
"./dist/abis/DropERC1155_V2.json": "./dist/abis/DropERC1155_V2.json",
|
||||
"./dist/abis/PermissionsStorage.json": "./dist/abis/PermissionsStorage.json",
|
||||
"./dist/abis/IDrop1155.json": "./dist/abis/IDrop1155.json",
|
||||
"./dist/abis/IERC721Enumerable.json": "./dist/abis/IERC721Enumerable.json",
|
||||
"./dist/abis/IDropSinglePhase1155_V1.json": "./dist/abis/IDropSinglePhase1155_V1.json",
|
||||
"./dist/abis/ERC1271.json": "./dist/abis/ERC1271.json",
|
||||
"./dist/abis/DropSinglePhase1155_V1.json": "./dist/abis/DropSinglePhase1155_V1.json",
|
||||
"./dist/abis/Ownable.json": "./dist/abis/Ownable.json",
|
||||
"./dist/abis/ERC721Base.json": "./dist/abis/ERC721Base.json",
|
||||
"./dist/abis/OperatorFilterToggleStorage.json": "./dist/abis/OperatorFilterToggleStorage.json",
|
||||
"./dist/abis/NFTStake.json": "./dist/abis/NFTStake.json",
|
||||
"./dist/abis/ContractMetadataStorage.json": "./dist/abis/ContractMetadataStorage.json",
|
||||
"./dist/abis/DropERC20_V2.json": "./dist/abis/DropERC20_V2.json",
|
||||
"./dist/abis/PlatformFee.json": "./dist/abis/PlatformFee.json",
|
||||
"./dist/abis/IERC20.json": "./dist/abis/IERC20.json",
|
||||
"./dist/abis/Staking721Base.json": "./dist/abis/Staking721Base.json",
|
||||
"./dist/abis/RulesEngine.json": "./dist/abis/RulesEngine.json",
|
||||
"./dist/abis/LazyMint.json": "./dist/abis/LazyMint.json",
|
||||
"./dist/abis/BurnToClaimStorage.json": "./dist/abis/BurnToClaimStorage.json",
|
||||
"./dist/abis/Multicall.json": "./dist/abis/Multicall.json",
|
||||
"./dist/abis/PlatformFeeInit.json": "./dist/abis/PlatformFeeInit.json",
|
||||
"./dist/abis/TWMultichainRegistryRouter.json": "./dist/abis/TWMultichainRegistryRouter.json",
|
||||
"./dist/abis/OwnableStorage.json": "./dist/abis/OwnableStorage.json",
|
||||
"./dist/abis/IERC1822Proxiable.json": "./dist/abis/IERC1822Proxiable.json",
|
||||
"./dist/abis/ERC20Vote.json": "./dist/abis/ERC20Vote.json",
|
||||
"./dist/abis/IAirdropERC20.json": "./dist/abis/IAirdropERC20.json",
|
||||
"./dist/abis/DirectListingsLogic.json": "./dist/abis/DirectListingsLogic.json",
|
||||
"./dist/abis/IERC20Permit.json": "./dist/abis/IERC20Permit.json",
|
||||
"./dist/abis/INFTMetadata.json": "./dist/abis/INFTMetadata.json",
|
||||
"./dist/abis/IDrop.json": "./dist/abis/IDrop.json",
|
||||
"./dist/abis/ISignatureMintERC721.json": "./dist/abis/ISignatureMintERC721.json",
|
||||
"./dist/abis/RulesEngineStorage.json": "./dist/abis/RulesEngineStorage.json",
|
||||
"./dist/abis/ERC20SignatureMintVote.json": "./dist/abis/ERC20SignatureMintVote.json",
|
||||
"./dist/abis/BatchMintMetadataStorage.json": "./dist/abis/BatchMintMetadataStorage.json",
|
||||
"./dist/abis/ITokenStake.json": "./dist/abis/ITokenStake.json",
|
||||
"./dist/abis/ITWMultichainRegistry.json": "./dist/abis/ITWMultichainRegistry.json",
|
||||
"./dist/abis/SignatureMintERC721Upgradeable.json": "./dist/abis/SignatureMintERC721Upgradeable.json",
|
||||
"./dist/abis/IERC721A.json": "./dist/abis/IERC721A.json",
|
||||
"./dist/abis/IDropERC1155_V2.json": "./dist/abis/IDropERC1155_V2.json",
|
||||
"./dist/abis/IContractDeployer.json": "./dist/abis/IContractDeployer.json",
|
||||
"./dist/abis/ERC721Drop.json": "./dist/abis/ERC721Drop.json",
|
||||
"./dist/abis/ERC2771ContextUpgradeableLogic.json": "./dist/abis/ERC2771ContextUpgradeableLogic.json",
|
||||
"./dist/abis/ContractMetadataImpl.json": "./dist/abis/ContractMetadataImpl.json"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/contracts-js",
|
||||
@@ -36,14 +449,17 @@
|
||||
"entrypoints": [
|
||||
"index.ts",
|
||||
"./factories/TW*.ts"
|
||||
]
|
||||
],
|
||||
"exports": {
|
||||
"extra": {}
|
||||
}
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"typechain": "rm -rf ./src && cp ./external_abis/*.json ./node_modules/@thirdweb-dev/contracts/abi && typechain --target ethers-v5 --out-dir src './node_modules/@thirdweb-dev/contracts/abi/*.json'",
|
||||
"extract-abi": "node ./scripts/extract-abis.mjs",
|
||||
"build": "pnpm typechain && tsc && pnpm preconstruct build && pnpm extract-abi",
|
||||
"extract-abi": "bun ./scripts/extract-abis.ts && bun ./scripts/write-exports.ts",
|
||||
"build": "bun ./scripts/revert-exports.ts && pnpm typechain && tsc && pnpm preconstruct build && pnpm extract-abi",
|
||||
"push": "yalc push"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { readFile, writeFile } from "node:fs/promises";
|
||||
|
||||
const pkgJson = JSON.parse(await readFile('./package.json', "utf-8"));
|
||||
|
||||
// for each path add to the `exports` field in `package.json`
|
||||
const pkgExports = pkgJson.exports || {};
|
||||
Object.keys(pkgExports).forEach(key => {
|
||||
if(key.endsWith(".json") && key !== './package.json'){
|
||||
delete pkgExports[key];
|
||||
}
|
||||
})
|
||||
pkgJson.exports = pkgExports;
|
||||
// write the updated `package.json` to disk
|
||||
|
||||
await writeFile('./package.json', JSON.stringify(pkgJson, null, 2), "utf-8");
|
||||
@@ -0,0 +1,28 @@
|
||||
|
||||
import {resolve} from "node:path";
|
||||
import { readdir, readFile, writeFile } from "node:fs/promises";
|
||||
|
||||
|
||||
// enumerate all files in `dist/abis/*.json`
|
||||
async function getPaths() {
|
||||
|
||||
const dir = resolve(__dirname, '../dist/abis');
|
||||
const paths = await readdir(dir);
|
||||
const jsonPaths = paths.filter(p => p.endsWith('.json'));
|
||||
return jsonPaths.map(p => `./dist/abis/${p}`);
|
||||
}
|
||||
|
||||
|
||||
const [paths, pkg] = await Promise.all([getPaths(), readFile('./package.json', "utf-8")]);
|
||||
|
||||
const pkgJson = JSON.parse(pkg);
|
||||
|
||||
// for each path add to the `exports` field in `package.json`
|
||||
const pkgExports = pkgJson.exports || {};
|
||||
for(const path of paths){
|
||||
pkgExports[path] = path;
|
||||
}
|
||||
pkgJson.exports = pkgExports;
|
||||
// write the updated `package.json` to disk
|
||||
|
||||
await writeFile('./package.json', JSON.stringify(pkgJson, null, 2), "utf-8");
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "@thirdweb-dev/tsconfig/base.json",
|
||||
"extends": "@thirdweb-dev/tsconfig/sdk.json",
|
||||
"include": ["."],
|
||||
"exclude": ["dist", "build", "node_modules"]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"presets": [
|
||||
"@babel/preset-typescript",
|
||||
["@babel/preset-env", { "targets": "defaults, not ie 11" }]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# folders
|
||||
dist/
|
||||
|
||||
# files
|
||||
@@ -0,0 +1,24 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ["thirdweb"],
|
||||
rules: {
|
||||
"no-restricted-globals": [
|
||||
"error",
|
||||
{
|
||||
name: "Buffer",
|
||||
message: "Use Uint8Array instead.",
|
||||
},
|
||||
],
|
||||
"no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
name: "buffer",
|
||||
message: "Use Uint8Array instead.",
|
||||
},
|
||||
{
|
||||
name: "node:buffer",
|
||||
message: "Use Uint8Array instead.",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
# @thirdweb-dev/crypto
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#1861](https://github.com/thirdweb-dev/js/pull/1861) [`ab2dfd4f`](https://github.com/thirdweb-dev/js/commit/ab2dfd4f5cf4256fa62d76f84ca804992afab1e4) Thanks [@jnsdls](https://github.com/jnsdls)! - initial release
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user