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 ink-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.90) and cargo: Installation Guide.
- Pop
- cargo-contract
# Install Pop CLI via brew
$ brew install r0gue-io/pop-cli/pop
# From source
$ cargo install --force --locked pop-cli
# Setup environment
$ pop install
# Create a simple contract
$ pop new
# Build your contract
$ pop build --release
# Pop CLI automatically launches a local node when deploying
$ pop up
# Interact with your contract
$ pop call
# If you get an error saying your account is not mapped:
$ pop call chain --pallet Revive --function map_account --url wss://passet-hub-paseo.ibp.network/ --use-wallet
# 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.1 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.
Use ink! v6.0.0-beta.1!โ
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.1" }
[dev-dependencies]
ink_e2e = { version = "6.0.0-beta.1" }
# 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.1" }
๐ Where to deploy?โ
You can deploy locally via our local development node ink-node. The Pop CLI handles all of this for you (just do pop up), with cargo-contract you would need to install the ink-node (see deploy you contract).
As a testnet you need to use Paseo Passet Hub. You can find the faucet here.
๐ฐ dApp Templatesโ
We recommend the following tools to help you quickly scaffold dApp projects:
1. Typinkโ
- A fully type-safe React hooks library with a CLI for instant project scaffolding.
- Learn more in the docs, tutorial, and a LLM.txt file for your AI-assisted development workflow.
2. ink!athonโ
- Provides ready-to-use dApp templates combining ink! smart contracts and frontend integration.
- You can find a hardcoded frontend for our
flipperexample here.
๐ฉโ๐ป IDE/Editor supportโ
For VS Code users, we recommend using the ink! analyzer extension (alongside rust-analyzer) for the best editor experience.
For other IDEs/editors with LSP (Language Server Protocol) support (e.g. Vim/Neovim, Emacs, Helix, Zed e.t.c), ink! analyzer provides prebuilt language server binaries for Windows, Linux and macOS.
๐ค Smart Contract Examplesโ
You can find many contract examples in our
ink-examples repository.
We also have some xcm examples available here, and a contract using the assets precompile with full end to end tests here. Or check out this information on how to call any function in Passet Hub's runtime without having to use precompiles.
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