test: 🚧 Added fixtures for new test schema

This commit is contained in:
PedroCailleret
2022-12-03 01:17:48 -03:00
parent 4403541660
commit c69d82ccee
49 changed files with 931 additions and 1126 deletions

View File

@@ -26,7 +26,9 @@
p2pix.sol
Reputation.sol
```
## Callgraph
![Callgraph](docs/callgraph.svg)
## Usage
@@ -76,16 +78,15 @@ $ yarn clean
To import artifacts on the project use the following:
```ts
import P2PIXArtifact from 'p2pix-smart-contracts/artifacts/contracts/p2pix.sol/P2PIX.json'
import P2PIXArtifact from "p2pix-smart-contracts/artifacts/contracts/p2pix.sol/P2PIX.json";
```
To grab deployment addresses you can just grab from deploys folder:
```ts
import localhostDeploys from 'p2pix-smart-contracts/deploys/localhost.json'
import localhostDeploys from "p2pix-smart-contracts/deploys/localhost.json";
```
## Deploying to local environment
On the first teminal, use the following command and import some wallets to your Metamask, then connect to the network pointed: