Setting up your environment
Using Hardhat:
Link to template
We can start by cloning our template project, you can go to our repository and click the
[Use this template]
button at the top of the page to create a new repository with this repo as the initial state or simply follow the current steps:Change the directly to the repository and install the project dependencies:
Set an .env file with your mnemonics:
If you don't already have a mnemonic, you can use this website to generate one, or you can use our default set of accounts.
After installation, run the pre-launch script to setup the environment:
To deploy the contracts on the rivest network, run the following command:
To run the tests on the rivest network, run the following command:
Hooyah! Default contracts have been deployed on Rivest! Let's understand them now ->
Last updated