-
Notifications
You must be signed in to change notification settings - Fork 9
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
sui integration #464
Closed
Closed
sui integration #464
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6169188
chore: account session hooks
SGiaccobasso cce10e4
chore: refactor use custom useAccount and useDisconnect everywhere
SGiaccobasso 9c59557
chore: next-auth session
SGiaccobasso ee38d40
chore: merge main
SGiaccobasso 3b88349
chore: useEffect to fix interactivity issue
SGiaccobasso e86fac1
chore: interactivity issue
SGiaccobasso 60d62de
chore: fix session issue
SGiaccobasso d51a336
chore: add sui logo
SGiaccobasso 167a7f3
chore: fix login modal
SGiaccobasso f7e5da6
chore: fix main page style issue
SGiaccobasso 0d9307c
chore: useChainId custom hook refactor
SGiaccobasso 9ed314f
chore: useBalance refactor
SGiaccobasso 9f73393
chore: lockfile update
SGiaccobasso 7436461
chore: wip useSwitchChain
SGiaccobasso c432834
chore: wip deploy token sui
SGiaccobasso 6a94acc
chore: return undefined chain if no wallet connected in useAccount
SGiaccobasso 30f4915
chore: sign and execute deploy tx
SGiaccobasso 4400e78
chore: all sui deploy token txs working
SGiaccobasso c8fcf4a
chore: db migration to accept sui types
SGiaccobasso 9599020
chore: register deployed token in db
SGiaccobasso 96553d7
chore: testing remote deploy
SGiaccobasso f51a3ca
Feat/sui integration euro (#470)
SGiaccobasso ae5e8b8
chore: prevent error after deploying remote token
SGiaccobasso 1677d4b
feat: support deployment from sui to evm (#471)
npty 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 |
---|---|---|
|
@@ -76,6 +76,45 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [ | |
axelarChainName: "ethereum", | ||
environment: ENVIRONMENTS.mainnet, | ||
}, | ||
// TODO: correct this | ||
{ | ||
id: 101, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since Sui isn't an EVM chain, we should either create a separate sui config file or rename thsi file |
||
axelarChainId: "sui", | ||
axelarChainName: "sui", | ||
environment: ENVIRONMENTS.mainnet, | ||
name: "Sui", | ||
nativeCurrency: { | ||
name: "SUI", | ||
symbol: "SUI", | ||
decimals: 9, | ||
}, | ||
rpcUrls: { | ||
default: { http: ["https://sui-rpc.publicnode.com"] }, | ||
public: { http: ["https://sui-rpc.publicnode.com"] }, | ||
}, | ||
blockExplorers: { | ||
default: { name: "Sui Explorer", url: "https://suiexplorer.com/" }, | ||
}, | ||
}, | ||
{ | ||
id: 103, | ||
axelarChainId: "sui", | ||
axelarChainName: "sui", | ||
environment: ENVIRONMENTS.testnet, | ||
name: "Sui Testnet", | ||
nativeCurrency: { | ||
name: "SUI", | ||
symbol: "SUI", | ||
decimals: 9, | ||
}, | ||
rpcUrls: { | ||
default: { http: ["https://fullnode.testnet.sui.io:443"] }, | ||
public: { http: ["https://fullnode.testnet.sui.io:443"] }, | ||
}, | ||
blockExplorers: { | ||
default: { name: "Sui Explorer", url: "https://suiscan.xyz/testnet" }, | ||
}, | ||
}, | ||
{ | ||
...sepolia, | ||
axelarChainId: "ethereum-sepolia", | ||
|
@@ -348,6 +387,12 @@ export const ALL_CHAINS: ExtendedWagmiChainConfig[] = [ | |
axelarChainName: "blast-sepolia", | ||
environment: ENVIRONMENTS.testnet, | ||
}, | ||
{ | ||
...blastSepolia, | ||
axelarChainId: "blast-sepolia", | ||
axelarChainName: "blast-sepolia", | ||
environment: ENVIRONMENTS.testnet, | ||
}, | ||
] as const; | ||
|
||
export const WAGMI_CHAIN_CONFIGS = ALL_CHAINS.filter( | ||
|
This file contains 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@npty - what is the correct version we should be using for this now?