0.2.17 • Published 6 months ago

@fluencelabs/deal-aurora v0.2.17

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Deal Contracts System

Develop

Publish typechain

You have to open the main branch and pull the latest version of it locally Then do the following (replace versions with the actual versions that you want):

git tag -a v0.0.0 -m ""
git push origin v0.0.0

Run local network with contracts

npm install
npm run compile
npx hardhat node

Run local network with contracts in docker

docker-compose up -d

Deploy

We used to use hardhat-deploy plugin to deploy smart contracts on chains and track differences of the contracts (plugin identifies if the contract changed and deploy/update contract).

Note, that we commit our deployed contract addresses into the repo, e.g. Faucet contract from the kras: src/deployments/kras/Faucet.json. Thus, if you run deploy commands described below the addresses may change (if the contract in the network differs from the contract in you repo) and there will be git diff you ought to propagate the teams/community.

For all available for the hardhat-deploy networks and their writings, please refer to networks from hardhat.config.ts.

Ethereum Public Networks

For public test-net chains and production chains: do not forget to set appropriate in your .env file:

  • WAIT_CONFIRMATIONS in .env (e.g. 5-8)
  • PRIVATE_KEY for the deployer (raw private key)

Run Deploy

After you prepared .env file and did npm i, to deploy all contracts to e.g. kras:

npm run deploy:kras

we also have all -> npm run deploy:all

0.2.22

6 months ago

0.2.21

6 months ago

0.2.20

7 months ago

0.2.19

7 months ago

0.2.18

7 months ago

0.2.17

7 months ago

0.2.16

8 months ago

0.2.15

8 months ago

0.2.14

8 months ago

0.2.13

9 months ago

0.2.12

9 months ago

0.2.11

9 months ago

0.2.10

9 months ago

0.2.6

9 months ago

0.2.9

9 months ago

0.2.8

9 months ago

0.2.3

11 months ago

0.2.5

9 months ago

0.2.4

11 months ago

0.2.2

11 months ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.2.0

12 months ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.0.1

1 year ago