English / 中文
钱包集成
Version 1.0.0
内容:
钱包集成
钱包包括资产账户和身份两部分.详情请参考文档 钱包规范
钱包集成需要完成如下功能:
模块 | 子模块 | 测试用例 |
---|---|---|
Wallet management | create | Use the mnemonic words when creating wallet(Based on BIP39 and BIP44 specifications) |
export | Export keystore | |
import | Import keystore to wallet | |
Import from the mnemonic words | ||
Import from private key | ||
Import from WIF | ||
delete | Delete wallet account | |
Information service | Query balance of ONT&ONG | |
Query details of ONT&ONG | ||
Query unclaim ONT&ONG | ||
Transfer Assets | Transfer | ONT/ONG transfer |
ONG Claim | ||
ONT ID management | Create | Create a new ONT ID and write onto blockchain |
Import | Import keystore of ONT ID | |
Export | Export keystore of ONT ID | |
Information service | Query ONT ID events , create, delete,etc. | |
Query ONT ID |
这些SDK已经完成了钱包规范:
Java SDK :Java SDK
TypeScript SDK :Ts SDK
Android SDK :Android SDK
Golang SDK :Go SDK
Python SDK :Python SDK
Native 合约地址
contract | contract u160 address | Address |
---|---|---|
ONT Token | 0100000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbvhUMqNMV |
ONG Token | 0200000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbvhfRZMHJ |
ONT ID | 0300000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6Ubvho7BUwN |
Global Params | 0400000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbvhrUqmc2 |
Oracle | 0500000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbvhzQYRMK |
Authorization Manager(Auth) | 0600000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6Ubvi9BuggV |
Governance | 0700000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbviEH9ugK |
DDXF(Decentralized Exchange) | 0800000000000000000000000000000000000000 | AFmseVrdL9f9oyCzZefL9tG6UbviKTaSnK |