This repository demonstrates how to use Nested JS libary: @nested-finance/lego-contracts
-
Setup your .env file, based on .env.sample
-
Run
yarn
to install dependencies -
Run
yarn run:clone
to run the only current example in this repository... it should create a copy of the DIFFER MATIC portolio, worth approximately 1 MATIC.
nb: The gas price has been hard-coded for demonstration purposes, so please update it based on current gas price
- clone.ts 👉 Clones a given NFT