Skip to content

ithacaxyz/odyssey-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Odyssey Examples

This repository provides a step-by-step walkthrough for builders interested in the developer-preview features available on Odyssey, a L2 built for developers to innovate. We are rolling out each Chapter with new features for you to build on.

Chapter 1

  • Simple Example for EIP-7702: Showcases how EIP-7702 transactions work
  • Delegate an account to a p256 key: Describes how EIP-7702+EIP-7212 provide the ability to sign a message with a P256 key
  • BLS Multisig: In-depth walk-through of how to implement a Multisig based on BLS signatures verified through precompiles from EIP-2537
  • EOF: Instructions on how to deploy and inspect contracts in the new EOF format
  • ERC20 Fee: Describes how EIP-7702 provides the ability to pay ERC20 as gas fee to the gas sponsor.

Build & Test

Use foundry to build and run smart contracts in the repository:

# Make sure foundry is up to date
foundryup

# Compile contracts and run tests in chapter 1
cd chapter1/
forge build
forge test