Marketplace for trading Rune tokens using covenants to allow for partial filling of sell orders.
The specification is here
node >=v22.13.0
make
jq
docker
Tip
You can use the .env.example
cd infrastructure
./setup_ord.sh && make keep-mining SEC=20
Warning
The script works on macOS. If you're using a different OS, change the ord
directory in setup_ord.sh
based on this table
cd contracts
npx scrypt-cli@latest compile -i "src/contracts/sellOrder.ts" --asm
NETWORK=regtest npx mocha --no-config --require ts-node/register tests/sellOrder.test.ts
Contract files should be automatically linked in the frontend. If they aren't, copy sellOrder.ts
, sigHashUtils.ts
and opmul.ts
from contracts/src/contracts
and sellOrder.json
from contracts/artifacts
to frontend/contracts
cd backend
npm run start
cd frontend
npm run dev