Nft Minting-transaction with artist / distributor royalties payment simulation using Javascript and Ganache environment.
- Solidity (Writing Smart Contract)
- Javascript (React & Testing)
- Web3 (Blockchain Interaction)
- Truffle (Development Framework)
- Ganache (For Local Blockchain)
- Install NodeJS, should work with any node version below 16.5.0
- Install Truffle, In your terminal, you can check to see if you have truffle by running
truffle version
. To install truffle runnpm i -g truffle
. Ideal to have truffle version 5.4 to avoid dependency issues. - Install Ganache.
$ cd Nft_Royalties_Example
$ npm install
$ truffle migrate --reset
$ truffle test
$ truffle exec ./scripts/perform_sale.js