-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add evm chain configs and move to directory
- Loading branch information
1 parent
0a69b19
commit c447f42
Showing
12 changed files
with
287 additions
and
160 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# @tangled3/react | ||
|
||
## 1.15.0 | ||
|
||
### Minor Changes | ||
|
||
- added additional evm chains | ||
|
||
## 1.14.4 | ||
|
||
### Patch Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { EVMChain } from '../../types/index.js'; | ||
|
||
export const arthera: EVMChain = { | ||
id: 10242, | ||
name: 'Arthera', | ||
type: 'evm', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Arthera', | ||
symbol: 'AA', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.arthera.net'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Arthera Explorer', | ||
url: 'https://explorer.arthera.net', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
}, | ||
}, | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { EVMChain } from '../../types/index.js'; | ||
|
||
export const oasisSapphire: EVMChain = { | ||
id: 23294, | ||
type: 'evm', | ||
name: 'Oasis Sapphire', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Rose', | ||
symbol: 'ROSE', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://sapphire.oasis.io'], | ||
webSocket: ['wss://sapphire.oasis.io/ws'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Oasis Explorer', | ||
url: 'https://explorer.oasis.io/mainnet/sapphire', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
}, | ||
}, | ||
}; |
2 changes: 1 addition & 1 deletion
2
packages/react/src/chains/router-evm.ts → packages/react/src/chains/evm/router-evm.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { EVMChain } from '../../types/index.js'; | ||
|
||
export const tangle: EVMChain = { | ||
id: 5845, | ||
name: 'Tangle', | ||
type: 'evm', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Tangle Network', | ||
symbol: 'TNT', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.tangle.tools'], | ||
webSocket: ['wss://rpc.tangle.tools'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Tangle Explorer', | ||
url: 'https://explorer.tangle.tools', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0x0000000000000000000000000000000000000808', | ||
}, | ||
}, | ||
} as const; |
2 changes: 1 addition & 1 deletion
2
packages/react/src/chains/evm.testnet.ts → packages/react/src/chains/evm/testnet.ts
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { sepolia as vSepolia } from 'viem/chains'; | ||
import { EVMChain } from '../types/index.js'; | ||
import { EVMChain } from '../../types/index.js'; | ||
|
||
export const sepolia: EVMChain = { ...vSepolia, type: 'evm' } as const; |
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.