Solide: Open-source IDE and Knowledge Hub for seamless smart contract development.
npm i @arbitrum/nitro-contracts @arbitrum/token-bridge-contracts
Arbitrum is a highly scalable, low cost, EVM-compatible Optimistic Rollup. A Layer 2 scaling solution for Ethereum, focusing on off-chain transaction processing for improved performance and scalability while upholding security. It comprises smart contracts, libraries, and data structures that collectively handle transaction batching, execution, administrative tasks, and user interactions.
Arbitrum native token is Ethereum Layer 1 (L1) token designed to seamlessly connect with both the Arbitrum Nova network. By implementing essential features such as token minting, burning, and registration on both networks, the contract ensures efficient cross-network transactions and facilitates integration between the Arbitrum Layer 2 (L2) and Nova networks. With a focus on security considerations and adherence to ERC-20 standards, this contract serves as a robust foundation for developers aiming to create decentralized applications spanning the Arbitrum Nova ecosystems.
The Inbox smart contract is an important message contract that facilitates the smooth transfer of messages from Layer 1 to Layer 2. Whether through direct sends or retryable tickets, it ensures secure message delivery and interfaces with sequencers for enhanced reliability.
Like the Inbox contract in the Arbitrum Rollup, the Outbox contract serves as a vital communication hub between the Arbitrum Layer 2 (L2) and Ethereum Layer 1 (L1) networks. Its key features include the execution of transactions originating from the L2 network on the L1 network. By securely processing transactions and ensuring accurate outcomes, the `Outbox` contributes to the interoperability and efficiency of the Arbitrum solution within the broader Ethereum ecosystem.
The contract serves as a crucial bridge facilitating the secure transfer of DAI tokens between the Ethereum Layer 1 (L1) and Arbitrum Layer 2 (L2) networks. Offering features such as outbound and inbound transfer handling, closure capabilities, and robust security measures, the contract ensures the interoperability and efficient movement of DAI tokens within the Arbitrum L2 protocol. Developers can leverage this gateway to enhance decentralized applications, enabling users to seamlessly transfer DAI tokens between Ethereum layers.
The `L1LPTGateway` smart contract is a pivotal component facilitating the transfer of Livepeer (LPT) between Ethereum's Layer 1 and the Arbitrum Rollup Layer 2 network. With features like retryable tickets for outbound transfers, a pausing mechanism for added control, and configurable counterparts, the contract ensures secure and efficient interoperability. It enables users to seamlessly migrate LPT tokens, enhancing the overall functionality and connectivity of decentralized applications across different Ethereum layers.
A time-locked multi-signature wallet designed for secure governance. It enables the execution of critical administrative functions, including ownership transfers, and system administration. Through a multisignature mechanism and careful consideration of custom time locks, the contract ensures that changes are subject to consensus among authorized parties, enhancing the security and reliability of the 0x Protocol on Arbitrum blockchain.
From the OffchainLabs token-bridge-contracts repository, the smart contract is designed for managing ERC20 tokens on the Arbitrum Layer 2 scaling solution. It supports efficient token transfers between Layer 1 and Layer 2. With dynamic initialization and adaptive getter handling, the contract ensures compatibility, flexibility, and adaptability within the Arbitrum ecosystem, serving as a fundamental tool for ERC20 token management.
The AggregationRouterV5 contract, is part of the 1inch Network which orchestrates a diverse array of routers for token swaps and incorporates the Limit Orders Protocol for advanced trading capabilities. It introduces features like fund rescue functionality to retrieve mistakenly sent tokens and an emergency contract destruction mechanism for urgent situations.
The MultiDistributor smart contract, created by Lyra Finance, serves as a comprehensive token distribution solution, allowing whitelisted addresses to efficiently create batches of token claims for specified users. Users can redeem their claims, and the contract provides insightful querying functions for users to assess claimable amounts and associated batch IDs, contributing to a transparent and secure token distribution process.
ParaSwap contracts aims to provide users with the most favorable market prices by aggregating liquidity from various lending protocols with tokens adhering to the ERC-20 standard. This focus on compatibility with popular networks and standards enhances the platform's accessibility and utility for decentralized trading on Arbitrum.
The StarNFTV4 smart contract by an Project Galaxy and of the ERC-721 standard, introducing a unique NFT structure called "Star" with individual owners and associated campaign IDs. It provides comprehensive functionalities for minting, transferring, and burning stars, with additional features such as flexible metadata management, minter access control, and customizable contract parameters. The contract prioritizes security considerations and ERC-721 compliance.
OneStepProverMath is a Fraud proof smart contract facilitating mathematical and logical operations within a VM, specifically designed for Arbitrum's layer 2 scaling solutions on Ethereum, incorporating functions for arithmetic, logical, and bitwise operations on 32-bit and 64-bit integers with error-handling mechanisms.
The Greeter Tutorial provides a straightforward demonstration of Arbitrum's Layer 1 to Layer 2 message passing system, also known as 'retryable tickets'. This tutorial involves deploying two contracts, one on Layer 1 and the other on Layer 2, showcasing the process of sending a message from the Layer 1 contract to the Layer 2 contract for automatic execution. The accompanying script and contracts illustrate the interaction with Arbitrum's core bridge contracts, including the creation of retryable messages, the calculation and forwarding of fees from Layer 1 to Layer 2, and the utilization of Arbitrum's Layer 1-to-Layer 2 message address aliasing.
The ArbitrumVIP smart contract is a basic implementation demonstrating a VIP point system on the Arbitrum blockchain. Users accrue VIP points based on their addresses, influencing their perceived coolness within the system. Leveraging the Arbitrum Address Table precompiled contract for efficient address management, the contract showcases key features such as the VIP point system and integration with external contracts.
The L1CustomGateway smart contract is an implementation of a custom gateway deployed on Layer 1 (L1) of the Arbitrum blockchain. Facilitating token transfers between Layer 1 and Layer 2 (L2), the contract supports outbound and inbound transfers, allowing users to deposit and withdraw custom tokens across the Arbitrum network. Key features include customizable deposit settings, ownership control, and the ability to set token bridge information, providing flexibility for integration with Layer 2 applications.
The L1Token smart contract is an ERC-20 token deployed on Layer 1 (L1) of the Arbitrum blockchain. Serving as a custom token, it interacts with the L1CustomGateway and L1GatewayRouter contracts to enable token transfers between Layer 1 and Layer 2 (L2) of the Arbitrum network. The contract includes functionalities for registering the token on L2, ensuring seamless integration with the cross-chain token bridge.
The L2Token smart contract represents an ERC-20 token deployed on Layer 2 (L2) of the Arbitrum blockchain. It is designed to interact with the corresponding L2 gateway contract, allowing for the minting and burning of tokens when transitioning between Layer 1 and Layer 2. The contract ensures that these operations can only be initiated by the designated L2 gateway, providing a secure mechanism for cross-chain token transfers.