Proposals of #53

Badges - NFT contract

Exec Legacy Content
passed
Expected result
Turnout / Quorum
55.31% / 20.00%
Voting start 2022.09.20 at 05:09:06
Voting end 2022.09.23 at 05:09:06
98.53%
438 011 200 stars
Yes
0.01%
48 887 stars
No
0.00%
523 stars
Veto
1.46%
6 493 098 stars
Abstain

Details

Proposer
-
Total deposit
1 000 stars
Submit time
2022.09.20 at 05:09:06
Deposit end time
2022.10.04 at 05:10:06

Description

Inspired by POAP, Badges is an NFT protocol that allows anyone to permissionlessly create digital badges.

The project consists of two smart contracts, badge-hub where users create, edit, or mint new badges, and badge-nft which is the actual NFT contract.

This proposal is regarding uploading the wasm binary code of badge-nft contract to the Stargaze blockchain.

The source code can be find at this repository. The binary is compiled at commit de02247 using workspace-optimizer v0.12.8. Specifically, the following command is used:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/workspace-optimizer:v0.12.8

This results in the following SHA256 checksums:

f2099680cee548155bf51e1ece80d605ef3dbe64f10c438641891ee163adecf7  badge_hub.wasm
7dab38768447429d541afb6109cfaeeaf58feb0e1d1a30c26f491159de9fc55c  badge_nft.wasm

We encourage voters to independently validate that the binary code proposed on-chain matches the Rust source code. The following command may be helpful:

starsd q gov proposal $id --output json \
| jq -r '.content.wasm_byte_code' \
| base64 -d \
| gzip -dc \
| sha256sum

where $id is the id of this proposal.

Votes

Voter
Answer