last updated: July 3rd, 2023

<aside> 📢 Starting July 1st, “Darius” keyword is being deprecated in favor for “Titan Goerli”. We will use the new testname convention.

If you see “Darius” on this document or any other places, assume that it really means “Titan Goerli”

</aside>

Introduction

This document provides a development guide for the Darius L2 testnet. This testnet is based on the pre-Bedrock implementation of the Optimism L2 network and uses the Goerli network as its L1 network. Therefore, many of the development guidelines or principles from the Optimism team can be used as a reference for development.

If you're new to Darius, we recommend checking out the guide to deploying a basic contract. It will familiarize you with the core steps required to deploy a contract to the network. Luckily, Darius (which is a customized codebase of Optimism) is EVM equivalent, so deploying a contract to it is 100% the same as deploying a contract to Ethereum.

Services

<aside> 📢 This section lists the services that are available on the Darius L2 Testnet for testing purposes.

</aside>

<aside> â›” The frontend UX/UI is for testing purposes only. They will not be used on the mainnet. Note that some of the functions may not work properly (read below for more details).

</aside>

Untitled

Darius Explorer

goerli.explorer.tokamak.network

Darius Explorer is a block explorer and analytics platform that provides access to details on any pending or confirmed transactions on the Darius L2 Testnet.*, ^^

Untitled

Darius Gateway

https://goerli.gateway.tokamak.network/

Darius Gateway enables asset transfers between Goerli L1 Testnet and Darius L2 Testnet. It currently supports the deposit/withdrawal of ETH, TON, TOS, USDC, AURA, and LYDA.**, ^^^

Untitled

Darius Uniswap v3 Fork

app.uniswap.tokamak.network

Darius Uniswap V3 Fork is a version of Uniswap V3 that has been deployed on Darius L2 Testnet. Uniswap is a decentralized exchange (DEX) built on Ethereum that allows traders to swap ERC-20 tokens.**, ^

** This service is expected to be upgraded when L2 mainnet opens*

*** This service is expected to be replaced when L2 mainnet opens. ^ Please note that this version does not support the “collect” and auto router function.*

^^ Contract verification works with npm 7 or higher and hardhat-etherscan plugin v3.0.0 or higher. Contracts deployed through another contract (ex: contracts generated from a factory contract) cannot be verified at the moment.

^^^ Transactions or Document tab is not supported at the moment.

Testing on Darius L2 Testnet

<aside> 📢 This section provides information about setting network to start development or/and use our services on Darius L2 Testnet.

</aside>

Parameter Value
Network Name Darius
Description Testnet (public)
Darius Chain ID 5050
Goerli Chain ID 5
Explorer https://goerli.explorer.tokamak.network
HTTP Endpoint https://goerli.optimism.tokamak.network
WS Endpoint https://goerli.optimism.tokamak.network/ws
Withdrawal period ~ 20 minutes

1. Developing smart contract on Darius L2 testnet

<aside> â›” Note that the Optimism SDK is not fully supported for Darius at the moment. A dedicated SDK will be provided at a later date.

</aside>