-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ISC/updateNetworkInfo
- Loading branch information
Showing
14 changed files
with
219 additions
and
177 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { AddToMetaMaskButton } from '@theme/AddToMetaMaskButton'; | ||
import { Networks } from '@theme/constant'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs groupId='network'> | ||
<TabItem value='iota' label='IOTA EVM'> | ||
<AddToMetaMaskButton {...Networks['iota']}/> | ||
</TabItem> | ||
<TabItem value='iota_testnet' label='IOTA EVM Testnet'> | ||
<AddToMetaMaskButton {...Networks['iota_testnet']}/> | ||
</TabItem> | ||
<TabItem value='shimmer' label='ShimmerEVM'> | ||
<AddToMetaMaskButton {...Networks['shimmer']}/> | ||
</TabItem> | ||
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'> | ||
<AddToMetaMaskButton {...Networks['shimmer_testnet']}/> | ||
</TabItem> | ||
</Tabs> |
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
67 changes: 67 additions & 0 deletions
67
docs/build/isc/v1.0.0-rc.6/docs/_partials/_hardhat_config.md
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,67 @@ | ||
import CodeBlock from '@theme/CodeBlock'; | ||
import { Networks } from '@theme/constant'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs groupId='network'> | ||
<TabItem value='iota_testnet' label='IOTA EVM Testnet'> | ||
|
||
<CodeBlock language="js"> | ||
{` | ||
networks: { | ||
'iotaevm-testnet': { | ||
url: '${Networks['iota_testnet'].evm.rpcUrls[0]}', | ||
chainId: ${parseInt(Networks['iota_testnet'].evm.chainId)}, | ||
accounts: [YOUR PRIVATE KEY], | ||
}, | ||
} | ||
`} | ||
</CodeBlock> | ||
|
||
</TabItem> | ||
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'> | ||
|
||
<CodeBlock language="js"> | ||
{` | ||
networks: { | ||
'shimmerevm-testnet': { | ||
url: '${Networks['shimmer_testnet'].evm.rpcUrls[0]}', | ||
chainId: ${parseInt(Networks['shimmer_testnet'].evm.chainId)}, | ||
accounts: [YOUR PRIVATE KEY], | ||
}, | ||
} | ||
`} | ||
</CodeBlock> | ||
|
||
</TabItem> | ||
<TabItem value='iota_testnet' label='IOTA EVM Testnet'> | ||
|
||
<CodeBlock language="js"> | ||
{` | ||
networks: { | ||
'iotaevm-testnet': { | ||
url: '${Networks['iota_testnet'].evm.rpcUrls[0]}', | ||
chainId: ${parseInt(Networks['iota_testnet'].evm.chainId)}, | ||
accounts: [YOUR PRIVATE KEY], | ||
}, | ||
} | ||
`} | ||
</CodeBlock> | ||
|
||
</TabItem> | ||
<TabItem value='shimmer' label='ShimmerEVM'> | ||
|
||
<CodeBlock language="js"> | ||
{` | ||
networks: { | ||
'shimmerevm': { | ||
url: '${Networks['shimmer'].evm.rpcUrls[0]}', | ||
chainId: ${parseInt(Networks['shimmer'].evm.chainId)}, | ||
accounts: [YOUR PRIVATE KEY], | ||
}, | ||
} | ||
`} | ||
</CodeBlock> | ||
|
||
</TabItem> | ||
</Tabs> |
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.