Closed antazoey closed 1 year ago
from contract import foo
style@fubuloubu can give some more detail, but there's at least a third way for Vyper imports, using .json files. We'll want to account for in the tests as well.
https://vyper.readthedocs.io/en/v0.2.11/compiling-a-contract.html#vyper-json
@fubuloubu can give some more detail, but there's at least a third way for Vyper imports, using .json files. We'll want to account for in the tests as well.
- import ...
- from ... import
- json file
https://vyper.readthedocs.io/en/v0.2.11/compiling-a-contract.html#vyper-json
Yes, you can pull in ABI JSON and ethPM Manifest files this way
@fubuloubu can give some more detail, but there's at least a third way for Vyper imports, using .json files. We'll want to account for in the tests as well.
- import ...
- from ... import
- json file
https://vyper.readthedocs.io/en/v0.2.11/compiling-a-contract.html#vyper-json
That sounds good.. but maybe a little complex enough to warrant its own PR?
@fubuloubu can give some more detail, but there's at least a third way for Vyper imports, using .json files. We'll want to account for in the tests as well.
- import ...
- from ... import
- json file
https://vyper.readthedocs.io/en/v0.2.11/compiling-a-contract.html#vyper-json
That sounds good.. but maybe a little complex enough to warrant its own PR?
Agreed
What I did
fixes: #43 Fixes: APE-406 This is needed for Etherscan verification and I think also helps Ape core compile Vyper projects (IICR why we did it in
ape-solidity
).This is step 1 to getting Verification working for Vyper contracts.
How I did it
How to verify it
Checklist