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 07a3541
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
22 changes: 11 additions & 11 deletions docs/build/isc/v1.1/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='iota' label='IOTA EVM'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>

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

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

<CodeBlock language="js">
{`
networks: {
'shimmerevm': {
url: '${Networks['shimmer'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer'].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='shimmer_testnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer' label='ShimmerEVM'>

<CodeBlock language="js">
{`
networks: {
'shimmerevm': {
url: '${Networks['shimmer_testnet'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer_testnet'].evm.core.chainId)},
url: '${Networks['shimmer'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['shimmer'].evm.core.chainId)},
accounts: [YOUR PRIVATE KEY],
},
}
Expand Down
6 changes: 3 additions & 3 deletions docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ networks: {
<CodeBlock language="js">
{`
networks: {
'iotaevm-testnet': {
url: '${Networks['iota_testnet'].evm.core.rpcUrls[0]}',
chainId: ${parseInt(Networks['iota_testnet'].evm.core.chainId)},
'shimmerevm': {
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 07a3541

Please sign in to comment.