Welcome sub0 Hackathon participants!
This page contains all necessary info to participate in the sub0 HACK using ink! v6.
- The hackathon takes place from Nov 14 - Nov 16, 2025.
- $50,000 in prize money.
- Remote participation is fine!
๐ Supportโ
If you don't use Telegram, please create a GitHub issue here.
๐ค LLMsโ
We have an llms.txt that contains
all documentation from this website. If you copy/paste it into your
prompt/context window, this will help your AI friend a lot to provide help.
๐ Fast Trackโ
Install Rust (>= 1.88) and cargo: Installation Guide.
Download the binary for a local development node here.
# Install our cli tool: `cargo-contract`.
# It wraps around Rust's `cargo build` to build contracts with optimal
# flags for blockchains. It also allows for deploying + interacting
# with contracts.
$ rustup component add rust-src
$ cargo install --locked --force --version 6.0.0-beta cargo-contract
# Create a simple contract.
$ cargo contract new flipper && cd flipper
$ cargo contract build --release
# Download our local development node.
# Find the binary here: https://github.com/use-ink/ink-node/releases/latest
# Start your local development node in a separate shell session
$ ink-node
# Instantiate your contract on-chain.
$ cargo contract instantiate --suri //Alice
# Dry-run a call of it.
$ cargo contract call --suri //Alice --contract 0xโฆ --message get
# Execute a contract call, as a transaction on-chain.
$ cargo contract call --suri //Alice --contract 0xโฆ --message flip -x
Please see the chapter Getting started of this documentation for a deeper introduction.
You need to use ink! v6.0.0-beta!โ
Prior releases of ink! are not supported for the hackathon! You won't be able to deploy them on Passet Hub.
Make sure your Cargo.toml contains
[dependencies]
ink = { version = "6.0.0-beta" }
[dev-dependencies]
ink_e2e = { version = "6.0.0-beta" }
# we moved the sandbox testing environment to a separate crate
# this one cannot be published to crates.io yet
ink_sandbox = { git = "https://github.com/use-ink/ink.git", branch = "6.0.0-beta" }
Your cargo-contract version must be 6.0.0-beta too:
cargo install --force --locked --version 6.0.0-beta cargo-contract
๐ Where to deploy?โ
You can deploy locally via our local development node ink-node.
As a testnet you need to use Paseo Passet Hub. You can find the faucet here.
๐ฐ dApp Templatesโ
We recommend using ink!athon to generate dApp templates that contain contract and frontend code.
You can find a hardcoded frontend for our flipper example here.
๐ค Smart Contract Examplesโ
You can find many contract examples in our
ink-examples repository.
Our "Hello, World!".
ยป view example
An ERC-20 implementation.
ยป view example
An upgradeable contract.
ยป view example
A multi-signature wallet.
ยป view example
Calling Solidity contracts.
ยป view example