UniDocs

UniDocs

  • Docs
  • API
  • Tutorial
  • Blog
  • Help

›UNW and Tokens

Learn About UniChain

  • Welcome
  • The ecosystem

UniChain Protocol

  • Overview
  • Key Concept
  • Data Structure
  • Account and Address
  • Wallet
  • Witness Node
  • Reward Mechanism
  • Network Governance
  • Network Upgrade

UNW and Tokens

  • UniWorld Token
  • URC-20 Token
  • URC-30 Native Token
  • URC-20 Native Token
  • URC-721 Native Token

Get Started

  • Config environment
  • Run Local Network

Smart Contract

  • Your first smart contract
  • Deploy smart contract
  • Interact with smart contract

PoS Bridge

  • Introducing
  • Protocol Structure
  • Transfer Flow
  • Started

Community

  • UniChain Open Source
  • Contribution Guide
  • Reporting Vulnerabilities

Example & Demo

  • Example & Demo

Archive Package

  • Util packages

URC-20 Token

URC-20 token follows the ERC-20 standards. Users can use ERC-20 smart contract interface to issue the token. The interface looks like following

pragma solidity ^0.6.0;

interface IURC20 {

    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Please go to smart contract session to learn how to write and deploy smart contract on UniChain network.

← UniWorld TokenURC-30 Native Token →
UniDocs
Uni Platforms Services
UniChain PlatformUniBot Platform
Uni Applications Services
UniMe HubUniBot Offline
Work inquiries
Interested in working with us?[email protected][email protected][email protected][email protected]
Telegram Official
UniWorld EcosystemGroup DiscussionUniMe ChannelUniBot ChannelUniChain Channel
Copyright © 2022 UniWorld