Skip to content Skip to sidebar Skip to footer
  • Junior Vote Badge - www.lunctoken.org

    After that, GalacticShift TCG validator has compiled in a X post all the requirements needed.

    Attention All Terra Classic Builders
    Until the next chain upgrade (SDK 0.50)
    Smart contract builds need specific settings or you’ll hit issues

    Here is the config that works
    • Use Rust/Cargo v1.82 or lower
    Avoid 1.87+ it often adds bulk memory feature to builds, which is not supported

    If using cosmwasm-std v1.2 or v1.5, add this to your dependencies:
    base64ct = “<1.8.0"

    base64ct in version 1.8+ requires edition 2024 which is only available in newer rust/cargo versions

    To build:
    Manual method

    cargo build –release –target wasm32-unknown-unknown
    wasm-opt -Oz -o artifacts/contract.wasm target/wasm32-unknown-unknown/release/contract.wasm

    To build:
    Docker

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

    Ready to deploy on testnet?
    Use:
    • RPC: https://rpc.luncblaze.com
    • LCD: https://lcd.luncblaze.com

    Get test tokens via @trebelfaucet_bot on Telegram, or ping @StrathCole or @Frag_dude on X
    This information is brought to you by validator @Galactic_Shift

E-mail
Password
Confirm Password
QuoraTelegram