Alexangelj / sh-fam

shadowpakt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shadowlings

Guide

Guide

Tools

First, deploy the contracts using npx hardhat deploy --network <networkName>

Second, setup the contracts state using npx hardhat setup --network <networkName>

Finally, verify the contracts using npx hardhat verifyAll --network <networkName>

To set the base cost of an NFT, i.e. the void tokens minted in exchange for it, do npx hardhat setBaseCost --token <address> --cost <amount of void>

To set the premium cost of an NFT, i.e. the void tokens minted in exchange a specific tokenId, do npx hardhat setBaseCost --token <address> --tokenid <specific tokenid> --premium <amount of premium>

To set the Currency usage cost in void tokens, do npx hardhat setCurrencyCost --currencyid <id of currency> --cost <amount of void to burn>

To mint a Shadowling, do npx hardhat claim --tokenid <id of token to mint>, note: need void tokens to claim a shadowling

About

shadowpakt

License:GNU General Public License v3.0


Languages

Language:TypeScript 78.7%Language:Solidity 21.3%Language:Shell 0.0%