npm install
Update config.js
with your collection specific information.
npm start
# Make git/docker ignored data directory.
mkdir data
# Copy BCMR file
cp <path-to-BCMR-file> data/bitcoin-cash-metadata-registry.json
# Copy collection images
cp <path-to-collection-images> data/images
# Copy collection icons
cp <path-to-collection-icons> data/icons
/
- Mint summary.
/mint
- Minting UTXO data.
/icons/:id
- Show icon for NFT.
/images/:id
- Show image for NFT.
/nfts/:id
- Show metadata for NFT.
/.well-known/bitcoin-cash-metadata-registry.json
- BCMR registry.
docker build -t cashninja-server .
docker run -p 8777:3000 cashninja-server
Then visit http://127.0.0.1:8777.
Profit.