-
Notifications
You must be signed in to change notification settings - Fork 629
[SDK] Add ERC6551 Interface #1324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7524d7a
wip
ciaranightingale de65f04
merge main
ciaranightingale 98c7018
wip
ciaranightingale 820d4cc
Merge branch 'main' into ciara/tba
ciaranightingale 4755ac0
merge main
ciaranightingale 2580d13
wip
ciaranightingale 279b260
update with clientId & secretKey & requested changes
ciaranightingale c8445b9
Merge branch 'ciara/tba' of https://github.com/thirdweb-dev/js into c…
ciaranightingale af57f47
Merge branch 'main' into ciara/tba
ciaranightingale 2db5249
fix build
ciaranightingale 73a51fa
wip
ciaranightingale 39e22b9
wip
ciaranightingale f34654b
Merge branch 'ciara/tba' of https://github.com/thirdweb-dev/js into c…
ciaranightingale 7477b73
restructure
5ab826b
cleanup
joaquim-verges 909ca2f
Merge branch 'main' into ciara/tba
joaquim-verges 0c9ada2
Merge branch 'main' into ciara/tba
ciaranightingale cf5bb93
working code & fix factoryAddress required
ciaranightingale fdee3f5
Merge branch 'main' into ciara/tba
joaquim-verges 0bdddc0
Merge branch 'main' into ciara/tba
joaquim-verges f11c12a
Merge branch 'main' into ciara/tba
joaquim-verges e93da7f
fix types
joaquim-verges 6b4642a
linting
joaquim-verges 8a07db2
fix build
joaquim-verges a8464f6
Merge branch 'main' into ciara/tba
joaquim-verges 4c8dd1c
require account impl for now
joaquim-verges c9616ed
changeset
joaquim-verges File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| import type { Chain } from "../src/types"; | ||
| export default { | ||
| "name": "Pepe Chain Mainnet", | ||
| "chain": "PC", | ||
| "status": "active", | ||
| "icon": { | ||
| "url": "ipfs://bafkreibjsc3gww3moti27za2hpyq552aevux3yv5y2ntdklksyr4v4uavy", | ||
| "width": 512, | ||
| "height": 512, | ||
| "format": "png" | ||
| }, | ||
| "rpc": [ | ||
| "https://pepe-chain.rpc.thirdweb.com/${THIRDWEB_API_KEY}", | ||
| "https://rpc.pepe-chain.vip" | ||
| ], | ||
| "faucets": [], | ||
| "nativeCurrency": { | ||
| "name": "Pepe", | ||
| "symbol": "PEPE", | ||
| "decimals": 18 | ||
| }, | ||
| "infoURL": "https://pepe-chain.vip", | ||
| "shortName": "pepe", | ||
| "chainId": 411, | ||
| "networkId": 411, | ||
| "explorers": [ | ||
| { | ||
| "name": "pepechain explorer", | ||
| "url": "https://explorer.pepe-chain.vip", | ||
| "standard": "EIP3091" | ||
| } | ||
| ], | ||
| "testnet": false, | ||
| "slug": "pepe-chain" | ||
| } as const satisfies Chain; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| import type { Chain } from "../src/types"; | ||
| export default { | ||
| "name": "Kinto Testnet", | ||
| "title": "Kinto Testnet", | ||
| "chain": "ETH", | ||
| "rpc": [ | ||
| "https://kinto-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}", | ||
| "http://35.215.120.180:8545" | ||
| ], | ||
| "features": [ | ||
| { | ||
| "name": "EIP155" | ||
| }, | ||
| { | ||
| "name": "EIP1559" | ||
| } | ||
| ], | ||
| "faucets": [], | ||
| "nativeCurrency": { | ||
| "name": "Ether", | ||
| "symbol": "ETH", | ||
| "decimals": 18 | ||
| }, | ||
| "infoURL": "https://ethereum.org", | ||
| "shortName": "keth", | ||
| "chainId": 42888, | ||
| "networkId": 42888, | ||
| "explorers": [ | ||
| { | ||
| "name": "kintoscan", | ||
| "url": "http://35.215.120.180:4000", | ||
| "standard": "EIP3091" | ||
| } | ||
| ], | ||
| "testnet": true, | ||
| "slug": "kinto-testnet" | ||
| } as const satisfies Chain; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import type { Chain } from "../src/types"; | ||
| export default { | ||
| "name": "eLiberty Mainnet", | ||
| "chain": "$EL", | ||
| "icon": { | ||
| "url": "ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9", | ||
| "width": 150, | ||
| "height": 150, | ||
| "format": "png" | ||
| }, | ||
| "rpc": [ | ||
| "https://eliberty.rpc.thirdweb.com/${THIRDWEB_API_KEY}", | ||
| "https://rpc.eliberty.ngo" | ||
| ], | ||
| "faucets": [ | ||
| "https://faucet.eliberty.ngo" | ||
| ], | ||
| "nativeCurrency": { | ||
| "name": "eLiberty", | ||
| "symbol": "$EL", | ||
| "decimals": 18 | ||
| }, | ||
| "infoURL": "https://eliberty.ngo", | ||
| "shortName": "ELm", | ||
| "chainId": 990, | ||
| "networkId": 990, | ||
| "explorers": [ | ||
| { | ||
| "name": "eLiberty Mainnet", | ||
| "url": "https://explorer.eliberty.ngo", | ||
| "standard": "EIP3091" | ||
| } | ||
| ], | ||
| "testnet": false, | ||
| "slug": "eliberty" | ||
| } as const satisfies Chain; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import type { Chain } from "../src/types"; | ||
| export default { | ||
| "name": "eLiberty Testnet", | ||
| "chain": "$EL", | ||
| "icon": { | ||
| "url": "ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9", | ||
| "width": 150, | ||
| "height": 150, | ||
| "format": "png" | ||
| }, | ||
| "rpc": [ | ||
| "https://eliberty-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}", | ||
| "https://testnet-rpc.eliberty.ngo" | ||
| ], | ||
| "faucets": [ | ||
| "https://faucet.eliberty.ngo" | ||
| ], | ||
| "nativeCurrency": { | ||
| "name": "eLiberty", | ||
| "symbol": "$EL", | ||
| "decimals": 18 | ||
| }, | ||
| "infoURL": "https://eliberty.ngo", | ||
| "shortName": "ELt", | ||
| "chainId": 99099, | ||
| "networkId": 99099, | ||
| "explorers": [ | ||
| { | ||
| "name": "eLiberty Testnet", | ||
| "url": "https://testnet.eliberty.ngo", | ||
| "standard": "EIP3091" | ||
| } | ||
| ], | ||
| "testnet": true, | ||
| "slug": "eliberty-testnet" | ||
| } as const satisfies Chain; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
packages/wallets/evm/connectors/token-bound-smart-wallet/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "main": "dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.cjs.js", | ||
| "module": "dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js", | ||
| "browser": { | ||
| "./dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js": "./dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.browser.esm.js" | ||
| } | ||
| } |
7 changes: 7 additions & 0 deletions
7
packages/wallets/evm/wallets/token-bound-smart-wallet/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "main": "dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.cjs.js", | ||
| "module": "dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js", | ||
| "browser": { | ||
| "./dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js": "./dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.browser.esm.js" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.