-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Foundry and Etherscan to the API documentation
- Loading branch information
Showing
5 changed files
with
70 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Etherscan API | ||
------------- | ||
|
||
This is documentation for Web3.py and Etherscan integration. | ||
|
||
.. note :: | ||
Currently there does not exist direct Etherscan APIs that would be relevant for web3.py. | ||
For verying contracts on Etherscan and others see :py:func:`eth_defi.foundry.forge.deploy_contract_with_forge` | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary_etherscan | ||
:recursive: | ||
|
||
eth_defi.etherscan.verify | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Foundry API | ||
----------- | ||
|
||
Integration Foundry smart contract development toolchain with Web3.py. | ||
|
||
- Use `forge` to build, deploy and verify smart contracts with Web3.py | ||
|
||
- Anvil integration is in a separate module :py:mod:`eth_defi.rpc.anvil` | ||
|
||
- See `Foundry book <https://book.getfoundry.sh/>`__ for more information. | ||
|
||
|
||
.. autosummary:: | ||
:toctree: _autosummary_forge | ||
:recursive: | ||
|
||
eth_defi.foundry.forge | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
"""Etherscan integration. | ||
Currently TODO. Meanwhile use :py:func:`eth_defi.deploy.deploy_contract_with_forge` to deploy contracts that are verified on Etherscan. | ||
.. note :: | ||
Currently no Web3.py direct integration available. | ||
Use :py:func:`eth_defi.foundry.forge.deploy_contract_with_forge` to deploy contracts that are verified on Etherscan. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters