Skip to content

dnsxyz/dns-tokens

Repository files navigation

DNS Achievements

Requiremets

  • Installed NodeJS (tested with NodeJS v15+);

  • Installed Yarn;

  • Installed node modules:

      yarn install

Compiling

Compilation is splitted into a few steps.

To compile all contracts (without lambdas) run the next command:

  yarn compile

Testing

To run all the tests execute the next command:

  yarn test

Deploy

To deploy the contracts you should run the following command:

  yarn migrate

By default, the contracts will be deployed to the development network.

Also, you can deploy to the mainnet

  yarn migrate-mainnet