CosmWasm Whitelisting
This guide explains how builders can request upload whitelisting for CosmWasm contracts on ZIGChain testnet and mainnet, and how to verify whitelist status once approved.
How to Whitelist Your Address
Contract uploads are restricted to whitelisted addresses. The process differs between testnet and mainnet.
Testnet Whitelisting
For testnet, contact ZIGChain support via Discord or Telegram and submit the details below.
-
Required:
- Contact address (email or Discord/Telegram handle)
- Description of the project
- Wallet address to whitelist (bech32
zig1...) - Network (Testnet)
-
Optional (recommended for faster review):
- Repository link and license
-
Where to request:
- Discord: Join ZIGChain Discord
- Telegram: Zignaly / ZIGChain Telegram
- See also: Community & Support
Once approved, your address will be added to the upload whitelist for testnet.
Mainnet Whitelisting
For mainnet, teams should create governance proposals that the community can vote on. This ensures transparency and community involvement in the whitelisting process.
-
Process:
- Create a governance proposal for address whitelisting
- Include project details, contract specifications, and the address to whitelist
- Community members vote on the proposal
- If approved, the address is added to the mainnet upload whitelist
-
Where to submit proposals:
- Follow the governance process outlined in Governance
Generate proposal.json
To make creating the governance proposal easier, you can use the whitelisting proposal generator scripts below. They will:
- Fetch the current whitelist and gov deposit params from chain
- Ask for your team name, project description, and wallet address(es) to whitelist
- Generate a
proposal.jsonin your current directory - Print the
zigchaind tx gov submit-proposal ...command you can run next
Note: These scripts use
zigchain-1and the public RPC (https://public-zigchain-rpc.numia.xyz).
- Linux
- macOS AMD
- macOS ARM
cd /tmp/
curl -O https://raw.githubusercontent.com/ZIGChain/docs/main/scripts/generate-proposal-linux.sh
chmod +x generate-proposal-linux.sh
./generate-proposal-linux.sh
cd /tmp/
curl -O https://raw.githubusercontent.com/ZIGChain/docs/main/scripts/generate-proposal-mac.sh
chmod +x generate-proposal-mac.sh
./generate-proposal-mac.sh
cd /tmp/
curl -O https://raw.githubusercontent.com/ZIGChain/docs/main/scripts/generate-proposal-mac.sh
chmod +x generate-proposal-mac.sh
./generate-proposal-mac.sh
Verify Whitelist
After your request is approved and you receive confirmation that your address is whitelisted, verify that your wallet address appears in the upload permissions:
- Mainnet
- Testnet
- Local
zigchaind query wasm params \
--chain-id zigchain-1 \
--node https://public-zigchain-rpc.numia.xyz
zigchaind query wasm params \
--chain-id zig-test-2 \
--node https://public-zigchain-testnet-rpc.numia.xyz
zigchaind query wasm params \
--chain-id zigchain-1 \
--node http://localhost:26657