A quick and dirty example of a covenant transaction to create an oridnal listing.
Requires Node version 19 or above.
First, we need to create a .env
file with our private key:
PRIVATE_KEY="cTE..."
Then run:
npm i
npx ts-node scripts/covenant.ts