mirror of
https://github.com/tornadocash/tornado-cli.git
synced 2025-07-30 01:38:38 -04:00
Add Optimistic network support & update README.md
This commit is contained in:
parent
e865eb9af8
commit
90a34da5b8
3 changed files with 91 additions and 5 deletions
4
cli.js
4
cli.js
|
@ -486,6 +486,8 @@ function getExplorerLink() {
|
|||
return 'goerli.etherscan.io'
|
||||
case 42:
|
||||
return 'kovan.etherscan.io'
|
||||
case 10:
|
||||
return 'optimistic.etherscan.io'
|
||||
default:
|
||||
return 'etherscan.io'
|
||||
}
|
||||
|
@ -510,6 +512,8 @@ function getCurrentNetworkName() {
|
|||
return 'Goerli'
|
||||
case 42:
|
||||
return 'Kovan'
|
||||
case 137:
|
||||
return 'Optimism'
|
||||
default:
|
||||
return 'localRPC'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue