Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/provable-things/pgala-recovery-plan-contracts

pGala recovery plan contracts
https://github.com/provable-things/pgala-recovery-plan-contracts

Last synced: about 14 hours ago
JSON representation

pGala recovery plan contracts

Awesome Lists containing this project

README

        

# pgala-recovery-plan-contracts

pGALA recovery plan contracts

 

***

 

## :guardsman: Smart Contract Tests

```
❍ npm install
```

```
❍ npm run test
```

 

***

 

## :white_check_mark: How to publish & verify

Create an __.env__ file with the following fields:

```
BSC_MAINNET_NODE=
BSCSCAN_API_KEY=
BSC_MAINNET_PRIVATE_KEY=
```

### publish

```
❍ npx hardhat run --network mainnet scripts/deploy-script.js
```

### verify

```
❍ npx hardhat verify --network mainnet DEPLOYED_CONTRACT_ADDRESS "Constructor argument 1"
```