Tutorials

This section contains various tutorials and examples to help you get started with building on Arbitrum chains using Python. The tutorials demonstrate how to interact with Arbitrum chains (including Orbit chains) — deploying and using contracts directly on Arbitrum, moving Ether and tokens between the parent and child chains, and more.

The tutorials provided here are based on the official Arbitrum TypeScript SDK and have been rewritten in Python using the Arbitrum Python SDK.

Basic Tutorials

Learn the basics of building on Arbitrum with these simple DApp examples:

Asset Bridging

Learn how to move assets between chains:

General Interoperability

Understand cross-chain communication and verification:

Advanced Features

Explore advanced Arbitrum features and customizations:

Custom Network Configuration

These tutorials can be used with any Arbitrum chain (including Orbit chains). To use them with a custom chain:

  1. Create a customNetwork.json file with your chain information

  2. The chain information can be obtained using the prepareArbitrumNetwork method from the Orbit SDK

  3. For tutorials involving multiple chains (like l1-l3-teleport), include an array of chain information objects

Disclaimer

The code contained within these tutorials is meant for testing purposes only and does not guarantee any level of security. It has not undergone any formal audit or security analysis. Use it at your own risk. Any potential damages or security breaches occurring from the use of this code are not the responsibility of the author(s) or contributor(s). Please exercise caution and due diligence while using this code in any environment.