Skip to content

Passage-Chain/contracts

Repository files navigation

Passage Contracts

Passage smart contracts written in CosmWasm and deployed to Passage.

Diagram

Screen Shot 2022-09-29 at 3 06 37 PM

Commands

Deploy to mainnet

passage tx wasm store artifacts/marketplace_legacy.wasm  --from <from_address> --chain-id=passage-2 --node <node> --gas-prices 0.1upasg--gas auto --gas-adjustment 1.3 -b block

Deploy to testnet

passage tx wasm store artifacts/minter_metadata_onchain.wasm  --from <from_address> --chain-id=passage-2 \
  --gas-prices 0.1upasg --gas auto --gas-adjustment 1.3 -b block -y

Migrate

passage tx wasm migrate <contract_address> 2805 '{"num_mintable_tokens":5000}' --from <from_address> --chain-id=passage-2 --gas-prices 0.1upasg --gas auto --gas-adjustment 1.3 -b block -y
passage tx wasm set-contract-admin <contract_address> <new_admin> --from <from_address> --chain-id=passage-2 --gas-prices 0.1upasg --gas auto --gas-adjustment 1.3 -b block -y

About

Passage CosmWasm smart contracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •