I built this project using truffle and ganache, it is based on a template I made last year for creating NFT projects so there is some dangling code in here that still needs to be cleaned up.
LETS GO!
Ensure you have Node.js and NPM installed. I am using node v18.x
Use NPM to install some needed packages:
- Install Ganache
npm install ganache -g
- Install Truffle
npm install truffle -g
Once Ganache and Truffle are installed
- Navigate to where you want the repo to go
- Clone the repo
git clone https://github.com/DerpHerpenstein/lnr-resolver.git
- Install NPM packages
npm install
Open 2 terminal windows in the root directory.
In the first terminal, launch ganache with a mnemonic so you get repeatable addresses:
ganache -e 10000 -m "nice fetch insect exact south wheel stay pepper section piece tenant select" --fork
In the second terminal run:
truffle test
It should succeed.
Distributed under the MIT License. See LICENSE.txt
for more information.
Derp Herpenstein - @0xDerpNation