diff --git a/README.md b/README.md index 087dfd2..849861f 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,17 @@ To import artifacts on the project use the following: import P2PIXArtifact from 'p2pix-smart-contracts/artifacts/contracts/p2pix.sol/P2PIX.json' ``` +To grab deployment addresses you can just grab from deploys folder: +``` +import localhostDeploys from 'p2pix-smart-contracts/deploys/localhost.json' +``` + +The default deploy addresses for localhost is the following: +| Contract | Address | +|-|-| +|p2pix|`0x5FbDB2315678afecb367f032d93F642f64180aa3`| +|token|`0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512`| + Then use a Contract instance to interact directly with it: ```