0/250

Forge your first Rust smart contract

Write Arbitrum Stylus contracts in the browser, check them line by line and claim a soul-bound certificate on-chain for every lesson you finish.

Start the first lesson
src/lib.rsTyping
sol_storage! {
    #[entrypoint]
    pub struct HelloWorld {
        string greeting;
    }
}

#[public]
impl HelloWorld {
    pub fn get_greeting(&self) -> String {
        self.greeting.get_string()
    }

    pub fn set_greeting(&mut self, greeting: String) {
        self.greeting.set_str(greeting);
    }
}

From a first line of Rust to proof on-chain

  1. Write

    Each lesson explains one Stylus idea and hands you starter code in a Rust editor, right in the browser.

  2. Validate

    Check your code as often as you like. Hints point at what is still missing, and your progress is saved as you go.

  3. Claim on-chain

    Connect a wallet and mint the lesson’s soul-bound certificate on Arbitrum. You pay the gas; it stays yours.

A certificate only you can hold

Every lesson you finish becomes a token in your wallet on Arbitrum. It is soul-bound: it cannot be transferred or sold, so it shows that you wrote the code yourself.

Your profile gathers your certificates and the XP they carry, read straight from the contract.

The forge is lit

Seven lessons, 1275 XP and a certificate for each. Start with Hello World Stylus: no setup, no wallet needed until you claim.

Start the first lesson