- network: Name of the chain to query for. (dogechain | dogechain-testnet)
- contactAddress: accepts contractAddress of the NFT which represented by the tokenId
/{networkName}/{contractAddress}/{tokenId}
{
"name": "tomokisun.dc",
"description": "tomokisun.dc, an DcNS name.",
"name_length": 9,
"url": "https://app.dc.domains/name/tomokisun.dc",
"image_url": "https://metadata.dc.domains/dogechain-testnet/0xbEE8EfC14b2fe020c1Eb7F5EE810Dffa27d638eD/15689827285224103067243218785250161404348533702991579618798445906349509186723/image.svg"
}
More info and list of all endpoints: https://metadata.dc.domains/docs
git clone https://github.com/dcnsdomains/dcns-metadata.git
cd dcns-metadata
cp .env.org .env // Fill in Vars
yarn
yarn dev
yarn deploy
Regular unit test;
yarn test
Unit test + coverage;
yarn test:cov