Add a file named config.json with the following format.
{
"PRIVATE_KEY": "",
"SENDER_ADDRESS": "<address sending NFTs>",
"RECEIVER_ADDRESS": "<address receiving NFTs>",
"TOKENS": [
//token_id:nat
]
}PRIVATE_KEYis the private key of the account you are planning to use to purchase art.TOKENSare the list of tokenIDs, this is the natural number, can be found in Temple when selecting the NFT to transfer. The tokens are numbers and do not need to be in quotes (based on my testing)
npm install
- In
index.tslook fortransfer()and set which contract you'd like to interact with npm run start