Implementation of ERC4907 to mint rentable pets.
- Solidity (Writing Smart Contracts & Tests)
- Javascript (Testing)
- Truffle (Development Framework)
To engage with the smart contract you will need the following :
- NodeJS (https://nodejs.org/en/)
npm install nodejs
- Ganache(https://www.trufflesuite.com/ganache)
npm install ganache-cli -g
- Truffle([https://www.trufflesuite.com/truffle] (https://www.trufflesuite.com/truffle))
npm install truffle
- Clone/Download the repository
- Install dependencies in truffle and client folder
npm install
- Truffle([https://www.trufflesuite.com/truffle] (https://www.trufflesuite.com/truffle))
npm install truffle
- Run tests
$ truffle test
- Start local Ganache Node
In a separate terminal execute run the following command : Ganache
- Deploy script locally
Inside truffle folder run the following command
- $ truffle console --network development
- $ truffle compile
- $ truffle migrate