Skip to content

yomi-digital/quest-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOMI QUEST CONTRACT

Requirements

You will need NodeJS and YARN installed in your machine, if you're ready to start just install dependencies with:

yarn

Init local network

To init a new hardhat network you'll need to run:

yarn network

With this command a new hardhat.json file will be created, a new mnemonic will be created (don't use default one in any case) and a new hardhat network will run. Leave this terminal opened and open a new one.

Deploy contract

To deploy the contract simply run:

yarn task deploy hardhat

With this command we're saying the scripts/_task.js to run the scripts/deploy.js file using configs/hardhat.json file.

Run other scripts

As you can easily understand you're now able to write your own scripts (or tests) and use it like:

yarn task myscript hardhat

or you can change the hardhat with rinkeby (for instance) and deploy to Rinkeby network. Of course you will need to setup your own provider inside the configs/rinkeby.json file adding an Alchemy, Infura or whatsoever provider.

About

Home of the https://yomi.quest contracts. Quest is an on-chain game based on Merkle Proofs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors