Wrapped Doichain (wDOI)
A Decentralized ERC-20 Token Backed 1:1 by Doichain Reserves
Table of Contents
1. Abstract
Wrapped Doichain (wDOI) is an ERC-20 token on the Ethereum blockchain that represents the native Doichain token (DOI) at a 1:1 ratio. Following the proven model of Wrapped Bitcoin (WBTC), it enables DOI holders to participate in the Ethereum DeFi ecosystem — including decentralized exchanges, liquidity pools, and smart contract protocols — without selling their DOI holdings.
The system is built on a transparent custodian model where DOI reserves are verifiable on-chain and publicly auditable at any time.
2. Introduction
The Problem
Doichain is a Namecoin-based blockchain specializing in decentralized email opt-in processes (DOI). While technologically innovative, DOI remains isolated from the Ethereum DeFi ecosystem — the world's largest marketplace for decentralized financial applications.
DOI holders cannot trade their tokens on Uniswap, deploy them in DeFi protocols, or use them within Ethereum smart contracts. This significantly limits liquidity, usability, and market access.
The Solution
wDOI solves this problem through a bidirectional bridge: DOI is deposited with a custodian and wDOI is issued 1:1 on Ethereum. The reverse process is available at any time. The result is a fully interoperable token combining all advantages of Ethereum with the fundamentals of Doichain.
3. Architecture
The system consists of three components: the Doichain blockchain (origin chain), the custodian system (DOI reserve custody), and the Ethereum smart contract (wDOI issuance and management).
4. Smart Contract
The wDOI smart contract is a fully ERC-20-compatible token contract on Ethereum, implemented in Solidity 0.8.27 using OpenZeppelin libraries for security and standards compliance.
Address: 0xA2B6c1a7EFB3dFa75E2d9DF1180b02668c06da72
Standard: ERC-20
Network: Ethereum Mainnet (Chain ID: 1)
Compiler: Solidity 0.8.27
Symbol: wDOI
Decimals: 18Core functions include mint() (issuance by authorized custodian),
burn() (destruction upon redemption), and role-based access control via
CUSTODIAN_ROLE. All transactions are publicly visible on Etherscan.
5. Custodian System
Custodians are trusted entities that hold DOI reserves on the Doichain and authorize
the issuance or destruction of wDOI on Ethereum. Each custodian receives the
CUSTODIAN_ROLE in the smart contract.
Custodian Responsibilities
- Receiving and holding DOI for mint requests
- Authorizing wDOI issuance on Ethereum
- Returning DOI for burn/redemption requests
- Regularly updating reserve proofs
- Maintaining 1:1 backing at all times
6. Minting & Burning
🟢 Mint (DOI → wDOI)
- User sends DOI to the custodian address on Doichain
- Custodian confirms receipt on the Doichain
- Custodian calls
mint()on the smart contract - wDOI is issued to the user's Ethereum address
🔴 Burn (wDOI → DOI)
- User calls
burn()on the smart contract - wDOI is destroyed and removed from circulation
- Custodian confirms the burn on Ethereum
- DOI is returned to the user's Doichain address
7. Reserves & Backing
The wDOI system guarantees full 1:1 backing: for every wDOI in circulation, one DOI exists in the custodied reserves. The backing ratio is publicly viewable at any time on the Reserves page.
8. Liquidity Pool & Price Discovery
wDOI uses a dedicated AMM (Automated Market Maker) pool on Ethereum for direct
exchange between wDOI and USDT. The pool is based on the constant product formula
x · y = k, as popularized by Uniswap V2.
The price of wDOI is determined by the pool reserve ratio and converges to the DOI market price through arbitrage. The pool is publicly accessible and requires no KYC or registration.
9. Security
- OpenZeppelin: Use of audited, standardized smart contract libraries
- Role-based access control: Only authorized custodians can call mint/burn
- On-chain transparency: All transactions are publicly visible on Etherscan
- Reserve verification: DOI reserves are directly verifiable on the Doichain
- Slippage protection: The AMM pool includes configurable slippage protection
10. Conclusion
Wrapped Doichain (wDOI) creates a secure, transparent, and fully auditable bridge between Doichain and the Ethereum DeFi ecosystem. Through the proven 1:1 backing model, public reserve proofs, and an open AMM pool, wDOI gives DOI holders their first access to Ethereum's liquidity and opportunities.
The system is designed to progressively decentralize — starting with trusted custodians, with the goal of full decentralization through multi-signature systems and DAO governance.
