Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed Jun 9, 2024
1 parent 391f574 commit cd84d4d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
22 changes: 11 additions & 11 deletions docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,44 @@ networks: {
</CodeBlock>

</TabItem>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<TabItem value='iota' label='IOTA EVM'>

<CodeBlock language="js">
{`
networks: {
'iotaevm-testnet': {
url: '${Networks['iota_testnet'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['iota_testnet'].evm.core.chainId)},
'iotaevm': {
url: '${Networks['iota'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['iota'].evm.core.chainId)},
accounts: [YOUR PRIVATE KEY],
},
}
`}
</CodeBlock>

</TabItem>
<TabItem value='iota' label='IOTA EVM'>
<TabItem value='shimmer' label='ShimmerEVM'>

<CodeBlock language="js">
{`
networks: {
'iotaevm': {
url: '${Networks['iota'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['iota'].evm.core.chainId)},
'shimmerevm': {
url: '${Networks['shimmer'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer'].evm.core.chainId)},
accounts: [YOUR PRIVATE KEY],
},
}
`}
</CodeBlock>

</TabItem>
<TabItem value='shimmer' label='ShimmerEVM'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>

<CodeBlock language="js">
{`
networks: {
'shimmerevm': {
url: '${Networks['shimmer'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer'].evm.core.chainId)},
url: '${Networks['shimmer_testnet'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer_testnet'].evm.core.chainId)},
accounts: [YOUR PRIVATE KEY],
},
}
Expand Down
6 changes: 4 additions & 2 deletions src/theme/NetworkInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Evm(props: NetworkProps) {
))}
</td>
</tr>
{props.evm.tools.blastApiUrls && (
{props.evm.tools && props.evm.tools.blastApiUrls && (
<tr>
<th>
<Admonition type='tip' title='Blast API URLs'>
Expand Down Expand Up @@ -111,7 +111,9 @@ function Evm(props: NetworkProps) {
</tr>
<tr>
<th>
{props.evm.custom.toolkit.hasFaucet ? 'Toolkit & Faucet' : 'Toolkit'}
{props.evm.custom.toolkit.hasFaucet
? 'Toolkit & Faucet'
: 'Toolkit'}
</th>
<td>
<a
Expand Down

0 comments on commit cd84d4d

Please sign in to comment.