Team and background
Founded in May 2018, with all the core team members from Tencent, BlockABC has received the angel investment of over 10 million yuan from Bitmain. We boast rich Internet-related experience, a keen insight into user needs, and great perseverance in technology, and, having engaged in the industry for many years, the core founder is a veteran in the blockchain.
ABC Wallet is one of our ongoing blockchain projects. We also launched EOSPark.com, a blockchain explorer product, and later equipped it with such functions as the EOSPark Open API platform, EOSPark SEC contract security platform, contract semantics and web wallet. We are committed to lowering the barriers for novices to the cryptocurrency market and hope to bring the convenience of blockchain technology to everyone.
Project and justification
One Chain CKB
In order to make it easier for developers to build and push CKB transactions, we will implement a new SDK based on ckb-sdk-js and provide a series of developer-friendly interfaces:
- An easier and more straightforward transaction building interface that supports many-to-many transaction forms.
- Flexible transaction editing functions, convenient for users to define all aspects of transactions.
- The miner fees can be calculated automatically or manually.
- Automatic derivation of HD Wallet architecture is supported.
- And a series of tool functions essential to CKB.
As CKB 2020 Roadmap continues to complete, we will also provide further support:
- To support UDT standard. The application of this SDK that selects One Chain CKB will support any token in the UDT standard.
- The CKB-based online development toolbox allows developers to quickly solve trivial problems such as address generation, address conversion, and transaction analysis in daily development.
CKB Web Auth
We will extend a set of open source embedded wallet services from ABCWallet-lite and name it CKB Web Auth, which will bring to the community:
- A standard protocol for communication between Dapp and wallet, and an SDK based on this protocol that can communicate with iframes.
- An iframe wallet development framework, with which Dapp developers can customize their own iframe wallet.
- A server that supports OAuth login via Twitter, which mainly provides social platform accounts for iframe wallets. These accounts will be combined with user-defined passwords to generate public and private key pairs.
Developers can build their own server with the open source server, or use the ABCWallet-lite server that also supports this protocol, which not only supports the same OAuth server and iframe wallet, but also brings additional benefits to developers and users:
- The user’s public and private key pair can be used across Dapps, eliminating the trouble of multiple transfers.
- The public and private key pair based on the social platform account system further lowers the threshold to the blockchain world for novices. The more novice-friendly, the easier to get more users for Dapp developers.
- The user’s public and private key pair is kept separate from the Dapp, which reduces the cost of managing the public and private key pair for developers and improves the security of the system.
- Without worrying about connection to different wallet environments, developers just need to implement the SDK that complies with the communication protocol for the connection.
Technical specification and implementation
One Chain CKB Architecture
CKB Web Auth
Architecture
Interaction flow
Implementation details
- The Web Auth SDK will be a lightweight js SDK to be embedded in a Dapp. Here we will implement a version that supports communication with iframes and examples for Android and iOS versions.
- Web Auth Page is a lightweight wallet framework embedded in a Dapp page in an iframe form. It is a vue-based SPA application that contains basic UI elements, but Dapp developers need to further customize their UI.
- Web Auth Server is a server that completes OAtuh authorization. It will provide a set of open interfaces for Web Auth Page to complete OAuth authorization. We will build Twitter’s OAuth authorization mechanism in it, and allow developers to expand freely in the form of open interfaces as support for other social platforms.
Milestone
One Chain CKB
Milestone 1: Completed
-
Support the construction of one-to-many and many-to-many transactions. 2. Provid editable transaction objects.
-
Support calculation of miner fees based on estimated transaction size.
-
Support automatic derivation of HD Wallet structure.
-
Support the derivation of HD Wallet structure for interruption and recovery.
-
Provid CKB essential tool functions, e.g. public and private key generation and address format conversion.
Milestone 2: 2020-03-27
- Current documents and more examples of One Chain CKB
Milestone 3: after UDT Standard published
- Support the construction of UDT-standard token transactions
- More related documents and examples
Milestone 4: after above
Implement an online toolbox application based on nuxtjs, which is named as One Chain Toolbox temporarily and offers the following visualization tools:
-
Public and private key pair generation
-
Address format conversion
-
Transaction data analysis. Improve transaction readability by supplementing data such as address, balance to JSONify transactions in hex / json format.
-
Generation and derivation of mnemonic words Structural inspection of HD Wallet
-
Estimated transaction size
-
Create transaction
-
Signing transaction
Milestone 5: 2 month after above
- The 1.0 version of One Chain CKB
- The 1.0 version of One Chain Toolbox
- Complete documents and examples
CKB Web Auth
Milestone 1: 2020-04-13
- Detach Web Auth Server from ABCWallet-lite, which also boasts the following features:
- A common abstraction layer based on OAuth
- A series of OAuth interfaces
- A specific implemention for twitter OAuth login
- More related documents and examples
Milestone 2: 2020-04-27
- Implement Web Auth Page with Web Auth Server as the backend. It is the default UI developed based on vue and boasts the following features:
- A series of interfaces open to the Web Auth SDK
- Export flow of CKB public and private keys
- Authorization flow when Dapp tries to access the public key
- Authorization flow when Dapp requests transaction signature
- More related documents and examples
Milestone 3: 2020-05-17
- Develop a common communication protocol between Web Auth SDK and wallet and write a document
- Implement the Web Auth SDK
Milestone 4: 2020-07-03
- The 1.0 version of Web Auth Server, Web Auth Page, and Web Auth SDK 2. Complete documents and examples