For base information about NFT standarts, please, check [TIP-4] (https://docs.venom.foundation/standards/TIP/TIP-4/core-description )
npm install
npx locklift build
For more information [TIP-4.2] (https://docs.venom.foundation/standards/TIP/TIP-4/2)
You need prepare json file with similar structure (file nft_to_address.json):
"collection": {
"type": "Basic NFT",
"name": "Sample Name",
"description": "Description about NFT collection!",
"preview": {
"source": "",
"mimetype": "image/jpeg"
},
"files": [
{
"source": "",
"mimetype": "image/jpeg"
}
],
"external_url": ""
},
"nfts":
[
{
"address": "",
"type": "Basic NFT",
"preview_url": "",
"mimetype_preview": "image/jpeg",
"url": "",
"mimetype": "image/jpeg",
"name": "Nft Name",
"description": "Nft description",
"external_url": ""
}
]
}
preview
- preview-logo. We recommend: ratio 1:1, recommended dimensions 1000x1000px, jpeg, size less 200Kb.
Where source
- link to Collection preview.
files
- wallpaper. We recommend: 4:1 ratio, recommended dimensions 4000x1000px, jpeg
Where source
- link to Collection wallpaper.
address
- owner's address NFT, if you would like put nft on sell this address have to equal account address
preview_url
- link to NFT logo. We recommend: recommended dimensions 512x512, ratio 1:1, jpeg, size no more than 200Kb
url
- link to NFT main file. It may be pdf, docs, jpeg, gif, png, audio, video
Š”onfigure .env
and locklift.config.ts
npx locklift run --disable-build --network venom_mainet --script scripts/0-deploy-account.ts - b N
Where N = (count of NFT * 1.6) + 2.5
npx locklift run --disable-build --network venom_mainet --script scripts/1-deploy-collection-mint-nft-from-json.ts
npx locklift run --disable-build --network venom_mainet --script scripts/151-put-nft-to-sell.ts
Set constant:
PAYMENT_TOKEN
- tip3 token, for Venom - wVenom
RECIPIENT
- Nft's owner
FACTORY_DIRECT_SELL
- address root contract for sale on marketplace
START_TIME
- start tile for sale
PRICE
- prise
You also can set durationTime for sale.
Implementation of auction, direct sell, direct buy.