Odra Counter Tutorial

A simple 'counter' smart contract using Odra. This is a relatively simple contract, with the idea being that you can use this as your gateway into the world of Odra programming. We cover the approach to building this contract both in Casper 1.x and using Odra, in order to demonstrate the differences for developers coming from the Casper 1.x environment.

COUNTER TUTORIAL

Odra Donation Tutorial

In this tutorial, you will learn how to create a donation contract using Odra. This smart contract can accept funds from anyone, and funds can be withdrawn by the original deployer. The donation contract will introduce two new concepts in Odra development, not covered in the previous tutorials: - Payable entrypoints - Emitting events

DONATION TUTORIAL

Odra Election Tutorial

This tutorial will guide you through the creation of a voting smart contract using Odra. In this tutorial, deployers can specify candidates and a final voting time in the constructor, the final voting time is denominated in block height, deployer's cannot modify the candidates or end time after deployment, and any account, besides the deployer, may make one vote for any candidate they please.

ELECTION TUTORIAL

Odra Escrow Tutorial

Escrow contracts are common and useful agreements for arbitratingarrangements between two or more parties. This tutorial will teach you how to create a basic escrow smart contract between two accounts with a dedicated arbiter.

ESCROW TUTORIAL

Odra x Fondant Tutorial

This tutorial demonstrates how to combine Odra, a framework for building smart contracts on the Casper Network and Fondant, a new and exciting tool, which simplifies running a local Casper network and testing contracts with its intuitive UI. Learn how to create a simple Odra contract, deploy it and test it on a local network using livenet. We'll also provide a script to fetch secret keys from Fondant for seamless interaction.

Odra x fondant TUTORIAL

Odra Recoverable Wallet Tutorial

This tutorial creates a smart contract that behaves like a personal wallet with some additional features on top, demonstrating the concept of account abstraction. This tutorial implements the social recovery feature, where a user can set a list of trusted addresses (recovery_guardians). A lost key to this wallet can still recover the funds and transfer them to a new account.

wallet TUTORIAL

Zero to Hero with NFTs: Part 1

A simple NFT contract on the Casper testnet using Odra.

LEARN MORE

Zero to Hero with NFTs: Part 2 - Batch Minting with Nested CEP-78 Module

Enhanced NFT contract with batch minting.

LEARN MORE

Odra Tutorials

Counter Tutorial

A simple "counter" smart contract using Odra. This is a relatively simple contract, with the idea being that you can use this as your gateway into the world of Odra programming. We cover the approach to building this contract both in Casper 1.x and using Odra, in order to demonstrate the differences for developers coming from the Casper 1.x environment.

COUNTER TUTORIAL

Donation Tutorial

In this tutorial, you will learn how to create a donation contract using Odra. This smart contract can accept funds from anyone, and funds can be withdrawn by the original deployer. The donation contract will introduce two new concepts in Odra development, not covered in the previous tutorials, payable entrypoints and emitting events.

DONATION TUTORIAL

Election Tutorial

This tutorial will guide you through the creation of a voting smart contract using Odra. In this tutorial deployers can specify candidates and a final voting time in the constructor, the final voting time is denominated in block height, the deployer cannot modify the candidates or end time after deployment, and any account, besides the deployer, may make one vote for any candidate they please.

ELECTION TUTORIAL

Escrow Tutorial

Escrow contracts are common and useful agreements for arbitrating arrangements between two or more parties. This tutorial will teach you how to create a basic escrow smart contract between two accounts with a dedicated arbiter.

ESCROW TUTORIAL

Odra x Fondant Tutorial

This tutorial demonstrates how to combine Odra, the recommended framework for building smart contracts on the Casper Network, and Fondant, a new and exciting tool, simplifies running a local Casper network and testing contracts with its intuitive UI. We'll create a simple Odra contract, deploy it and test it on a local network using livenet. We'll also provide a script to fetch secret keys from Fondant for seamless interaction.

Odra x fondant TUTORIAL

Recoverable Wallet Tutorial

This tutorial creates a smart contract that behaves like a personal wallet with some additional features on top, demonstrating the concept of account abstraction. In this example, we implement the social recovery feature, where a user can set a list of trusted addresses (recovery_guardians) in case of a lost key to this wallet to recover the funds and transfer them to a new account.

wallet TUTORIAL

Zero to Hero with NFTs: Part 1

A simple NFT contract on the Casper testnet using Odra.

LEARN MORE

Zero to Hero with NFTs: Part 2 - Batch Minting with Nested CEP-78 Module

Enhanced NFT contract with batch minting.

LEARN MORE

Odra Developer Support

Email Us

Drop us an email with your support issue

EMAIL US

Telegram

Contact us on Telegram

CONTACT US ON TELEGRAM

Github

Odra Github Repo

ODRA GITHUB

Odra...

Odra Docs

ODRA DOCS