Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe authored Dec 13, 2023
1 parent 3fae643 commit b7f57c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
2. update `config/ormpscan2.yml`.

3. add contracts of the new networks.
`ETHERSCAN_API_KEY=#{api_key} rails 'pug:add_contract[#{network.chain_id},#{contract_address}]' --trace`
`ETHERSCAN_API_KEY=#{api_key} rails 'pug:add_contract[#{network.chain_id},#{contract_address}]' --trace`
NOTE1: you can manually add the contract. or, you can use helper task `rails contracts:add` to add all msgport and ormp contracts.
NOTE2: `pug:add_contract` depends on etherscan(-like) api to get contract creational info.
NOTE3: `ETHERSCAN_API_KEY` is optional, but without it, the api is limited to a small requests per second.
Expand Down

0 comments on commit b7f57c4

Please sign in to comment.