Skip to content

Commit

Permalink
Merge pull request #1703 from Tritium-VLK/add_base
Browse files Browse the repository at this point in the history
Add base
  • Loading branch information
iamdefinitelyahuman authored Jan 29, 2024
2 parents 5133cb7 + da0799c commit 45bd746
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Polygon zkEVM
- Optimisim (fixed explorer support)
- Gnosis Chain
- Base chain

### Fixed
- Force using utf-8 for reading contracts
Expand Down
21 changes: 20 additions & 1 deletion brownie/data/network-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ live:
host: https://zkevm-rpc.com
id: zkevm-main
name: Polygon zkEVM mainnet
- name: Base
networks:
- chainid: 8453
explorer: https://api.basescan.org/api
host: https://mainnet.base.org
id: base-main
name: Base mainnet



Expand Down Expand Up @@ -361,4 +368,16 @@ development:
accounts: 10
evm_version: istanbul
mnemonic: brownie
fork: zkevm-main
fork: zkevm-main
- name: Ganache-CLI Base-Mainnet Fork)
id: base-main-fork
cmd: ganache-cli
host: http://127.0.0.1
timeout: 120
cmd_settings:
port: 8545
gas_limit: 20000000
accounts: 10
evm_version: istanbul
mnemonic: brownie
fork: base-main
3 changes: 2 additions & 1 deletion brownie/network/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
"snowtrace": "SNOWTRACE_TOKEN",
"aurorascan": "AURORASCAN_TOKEN",
"moonscan": "MOONSCAN_TOKEN",
"gnosisscan": "GNOSISSCAN_TOKEN"
"gnosisscan": "GNOSISSCAN_TOKEN",
"base": "BASESCAN_TOKEN"
}


Expand Down

0 comments on commit 45bd746

Please sign in to comment.