Claim MintNFT Airdrop Contract
Details
Description
Stargaze's contract that allows claiming the MintNFT action. An additional proposal is required after this contract is uploaded in order to allow the contract to claim this specific action of the airdrop\n\nSource Code:\nhttps://github.com/public-awesome/stargaze-contracts/tree/v0.9.0/contracts\n\n\n\n## Verifiying Contracts\n\n# download the contract from the proposal\nstarsd q gov proposal [proposal-number] -o json | jq -r .content.wasm_byte_code | base64 --decode > claim.wasm.gz\n\n# decompress de contract\ngzip -d -c claim.wasm.gz > claim.wasm \n\n# checksum\nsha256sum claim.wasm\n\n\n# clone the repo and checkout to the release\ngit clone https://github.com/public-awesome/stargaze-contracts.git\ncd stargaze-contracts\ngit checkout v0.9.0\n\n\n# compile and optimize contracts\ndocker run --rm -v "$(pwd)":/code \\n --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \\n --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\n cosmwasm/workspace-optimizer:0.12.5\n\n\n# checksum \nsha256sum artifacts/claim.wasm\n
Votes