Skip to content

Instantly share code, notes, and snippets.

View kaksv's full-sized avatar

Kakooza Vianey kaksv

View GitHub Profile
@kaksv
kaksv / lib.cairo
Created December 16, 2023 17:02
Deploying a smart contract on starknet
#[starknet::contract]
mod hello {
#[storage]
struct Storage {
name: felt252,
}
#[constructor]
fn constructor(ref self: ContractState, name: felt252) {
self.name.write(name);