From 1e5d13c57622e1046d3d441b9adf0ac73e599c6a Mon Sep 17 00:00:00 2001 From: cc-cara Date: Tue, 22 Oct 2019 19:30:15 +0800 Subject: [PATCH 01/20] Building framework --- DApp-Dev-Guid | 0 DApp-Dev-Reference | 0 how-to-creat-a-token-technical | 0 how-to-creat-an-account-and-get-some-tokens | 0 how-to-develop-a-block-eploerer | 0 how-to-develop-a-game-on-blackchain | 0 how-to-develop-a-web-based-wallet | 0 how-to-issue-a-token(non-technical) | 0 how-to-setup-the-blockexeplorer.rst | 0 how-to-setup-the-facet-wallet.rst | 0 how-to-setup-the-testnet-node-service.rst | 0 how-to-setup-the-web-based-game.rst | 0 index.rst | 29 ++++++++++++++++----- 13 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 DApp-Dev-Guid create mode 100644 DApp-Dev-Reference create mode 100644 how-to-creat-a-token-technical create mode 100644 how-to-creat-an-account-and-get-some-tokens create mode 100644 how-to-develop-a-block-eploerer create mode 100644 how-to-develop-a-game-on-blackchain create mode 100644 how-to-develop-a-web-based-wallet create mode 100644 how-to-issue-a-token(non-technical) create mode 100644 how-to-setup-the-blockexeplorer.rst create mode 100644 how-to-setup-the-facet-wallet.rst create mode 100644 how-to-setup-the-testnet-node-service.rst create mode 100644 how-to-setup-the-web-based-game.rst diff --git a/DApp-Dev-Guid b/DApp-Dev-Guid new file mode 100644 index 0000000..e69de29 diff --git a/DApp-Dev-Reference b/DApp-Dev-Reference new file mode 100644 index 0000000..e69de29 diff --git a/how-to-creat-a-token-technical b/how-to-creat-a-token-technical new file mode 100644 index 0000000..e69de29 diff --git a/how-to-creat-an-account-and-get-some-tokens b/how-to-creat-an-account-and-get-some-tokens new file mode 100644 index 0000000..e69de29 diff --git a/how-to-develop-a-block-eploerer b/how-to-develop-a-block-eploerer new file mode 100644 index 0000000..e69de29 diff --git a/how-to-develop-a-game-on-blackchain b/how-to-develop-a-game-on-blackchain new file mode 100644 index 0000000..e69de29 diff --git a/how-to-develop-a-web-based-wallet b/how-to-develop-a-web-based-wallet new file mode 100644 index 0000000..e69de29 diff --git a/how-to-issue-a-token(non-technical) b/how-to-issue-a-token(non-technical) new file mode 100644 index 0000000..e69de29 diff --git a/how-to-setup-the-blockexeplorer.rst b/how-to-setup-the-blockexeplorer.rst new file mode 100644 index 0000000..e69de29 diff --git a/how-to-setup-the-facet-wallet.rst b/how-to-setup-the-facet-wallet.rst new file mode 100644 index 0000000..e69de29 diff --git a/how-to-setup-the-testnet-node-service.rst b/how-to-setup-the-testnet-node-service.rst new file mode 100644 index 0000000..e69de29 diff --git a/how-to-setup-the-web-based-game.rst b/how-to-setup-the-web-based-game.rst new file mode 100644 index 0000000..e69de29 diff --git a/index.rst b/index.rst index 77020de..9e9ce89 100644 --- a/index.rst +++ b/index.rst @@ -3,10 +3,15 @@ Bitconch .. image:: logo.svg :width: 120px - :alt: Solidity logo + :alt: bitconch logo :align: center -Something about Bitconch +With 100000 TPSs, Bitconch is the fastest basic public chain in the world, +dedicated to building a truly decentralized network and infrastructure for it. +Based on the orginal POR reputation consensus algorithm, Bitconch develops +Bit-R reputation quantification anti-centralization node governance system +and Blaze zero delay ledger access technology, which effectively solves the +incompatibility of "high speed, security and decentralization". .. warning:: @@ -27,7 +32,7 @@ Language Documentation :ref:`security_considerations` section. If you have any questions, you can try searching for answers or asking on the -`Ethereum Stackexchange `_, or our `gitter channel `_. +`https://github.com/bitconch/Documentation`_, or our `https://bitconch.io/technicalManual.jhtml`_. Ideas for improving Solidity or this documentation are always welcome, read our :doc:`contributors guide ` for more details. @@ -41,7 +46,7 @@ They have varying degrees of completeness and up-to-dateness. The English version stands as a reference. * `Simplified Chinese `_ (in progress) -* `Korean `_ (in progress) +* `English `_ (in progress) Contents @@ -51,5 +56,17 @@ Contents .. toctree:: :maxdepth: 2 - How-to-setup-the-testnet-node-service.rst - How-to-setup-the-blockexplorer.rst + how-to-setup-the-testnet-node-service.rst + how-to-setup-the-blockexplorer.rst + how-to-setup-the-faucet-wallet + how-to-setup-the-web-based-game + how-to-create-an-account-and-get-some-tokens + how-to-create-a-token-technical + how-to-issue-a-toekn(non-technical) + how-to-create-an-DApp-on-Bitconch-mainnet(technical) +DApp-Dev-Reference + Bitconch-web3j +DApp-Dev-Guide + how-to-develop-a-block-explorer + how-to-develop-a-game-on-blockchain + how-to-develop-a-web-based-wallet From d31a97ed1981c70712211d8b49ca8dbc9c2df804 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Tue, 22 Oct 2019 19:41:08 +0800 Subject: [PATCH 02/20] Initialization framework --- ...ken(non-technical) => how-to-issue-a-token(non-technical).rst | 0 index.rst | 1 + 2 files changed, 1 insertion(+) rename how-to-issue-a-token(non-technical) => how-to-issue-a-token(non-technical).rst (100%) diff --git a/how-to-issue-a-token(non-technical) b/how-to-issue-a-token(non-technical).rst similarity index 100% rename from how-to-issue-a-token(non-technical) rename to how-to-issue-a-token(non-technical).rst diff --git a/index.rst b/index.rst index 9e9ce89..c2eca2d 100644 --- a/index.rst +++ b/index.rst @@ -70,3 +70,4 @@ DApp-Dev-Guide how-to-develop-a-block-explorer how-to-develop-a-game-on-blockchain how-to-develop-a-web-based-wallet + \ No newline at end of file From b1687ff6c2c81fd4e58e075997b5cb54fbed7d19 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Tue, 22 Oct 2019 19:45:25 +0800 Subject: [PATCH 03/20] Initialization framework --- DApp-Dev-Guid => DApp-Dev-Guid.rst | 0 DApp-Dev-Reference => DApp-Dev-Reference.rst | 0 ...-creat-a-token-technical => how-to-creat-a-token-technical.rst | 0 ...some-tokens => how-to-creat-an-account-and-get-some-tokens.rst | 0 ...evelop-a-block-eploerer => how-to-develop-a-block-eploerer.rst | 0 ...-game-on-blackchain => how-to-develop-a-game-on-blackchain.rst | 0 ...op-a-web-based-wallet => how-to-develop-a-web-based-wallet.rst | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename DApp-Dev-Guid => DApp-Dev-Guid.rst (100%) rename DApp-Dev-Reference => DApp-Dev-Reference.rst (100%) rename how-to-creat-a-token-technical => how-to-creat-a-token-technical.rst (100%) rename how-to-creat-an-account-and-get-some-tokens => how-to-creat-an-account-and-get-some-tokens.rst (100%) rename how-to-develop-a-block-eploerer => how-to-develop-a-block-eploerer.rst (100%) rename how-to-develop-a-game-on-blackchain => how-to-develop-a-game-on-blackchain.rst (100%) rename how-to-develop-a-web-based-wallet => how-to-develop-a-web-based-wallet.rst (100%) diff --git a/DApp-Dev-Guid b/DApp-Dev-Guid.rst similarity index 100% rename from DApp-Dev-Guid rename to DApp-Dev-Guid.rst diff --git a/DApp-Dev-Reference b/DApp-Dev-Reference.rst similarity index 100% rename from DApp-Dev-Reference rename to DApp-Dev-Reference.rst diff --git a/how-to-creat-a-token-technical b/how-to-creat-a-token-technical.rst similarity index 100% rename from how-to-creat-a-token-technical rename to how-to-creat-a-token-technical.rst diff --git a/how-to-creat-an-account-and-get-some-tokens b/how-to-creat-an-account-and-get-some-tokens.rst similarity index 100% rename from how-to-creat-an-account-and-get-some-tokens rename to how-to-creat-an-account-and-get-some-tokens.rst diff --git a/how-to-develop-a-block-eploerer b/how-to-develop-a-block-eploerer.rst similarity index 100% rename from how-to-develop-a-block-eploerer rename to how-to-develop-a-block-eploerer.rst diff --git a/how-to-develop-a-game-on-blackchain b/how-to-develop-a-game-on-blackchain.rst similarity index 100% rename from how-to-develop-a-game-on-blackchain rename to how-to-develop-a-game-on-blackchain.rst diff --git a/how-to-develop-a-web-based-wallet b/how-to-develop-a-web-based-wallet.rst similarity index 100% rename from how-to-develop-a-web-based-wallet rename to how-to-develop-a-web-based-wallet.rst From e4aa8e402dccb3eef59158b6ffb4343f850abebd Mon Sep 17 00:00:00 2001 From: cc-cara Date: Tue, 22 Oct 2019 20:02:24 +0800 Subject: [PATCH 04/20] Initialization framework --- index.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/index.rst b/index.rst index c2eca2d..a61b645 100644 --- a/index.rst +++ b/index.rst @@ -58,16 +58,16 @@ Contents :maxdepth: 2 how-to-setup-the-testnet-node-service.rst how-to-setup-the-blockexplorer.rst - how-to-setup-the-faucet-wallet - how-to-setup-the-web-based-game - how-to-create-an-account-and-get-some-tokens - how-to-create-a-token-technical - how-to-issue-a-toekn(non-technical) - how-to-create-an-DApp-on-Bitconch-mainnet(technical) -DApp-Dev-Reference - Bitconch-web3j -DApp-Dev-Guide - how-to-develop-a-block-explorer - how-to-develop-a-game-on-blockchain - how-to-develop-a-web-based-wallet + how-to-setup-the-faucet-wallet.rst + how-to-setup-the-web-based-game.rst + how-to-create-an-account-and-get-some-tokens.rst + how-to-create-a-token-technical.rst + how-to-issue-a-toekn(non-technical).rst + how-to-create-an-DApp-on-Bitconch-mainnet(technical).rst +DApp-Dev-Reference.rst + Bitconch-web3j.rst +DApp-Dev-Guide.rst + how-to-develop-a-block-explorer.rst + how-to-develop-a-game-on-blockchain.rst + how-to-develop-a-web-based-wallet.rst \ No newline at end of file From 18a72710a55f8a11cdc88dcbdc77db39a3248575 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Tue, 22 Oct 2019 20:51:01 +0800 Subject: [PATCH 05/20] Initialization framework --- index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.rst b/index.rst index a61b645..57b1ec8 100644 --- a/index.rst +++ b/index.rst @@ -32,9 +32,9 @@ Language Documentation :ref:`security_considerations` section. If you have any questions, you can try searching for answers or asking on the -`https://github.com/bitconch/Documentation`_, or our `https://bitconch.io/technicalManual.jhtml`_. +`Bitconch Documentation `_, or our `Technical Manual `_. -Ideas for improving Solidity or this documentation are always welcome, read our :doc:`contributors guide ` for more details. +Ideas for improving Bitconch or this documentation are always welcome, read our :doc:`contributors guide ` for more details. .. _translations: From 94b0b910836a6c92fd46895afb8af5ca590e7b58 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Wed, 23 Oct 2019 11:10:42 +0800 Subject: [PATCH 06/20] modify the framework --- Bitconch-web3j.rst | 0 how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 Bitconch-web3j.rst create mode 100644 how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst new file mode 100644 index 0000000..e69de29 diff --git a/how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst b/how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst new file mode 100644 index 0000000..e69de29 From b1b93896954990c68168e3629a719dc7ad7ff7da Mon Sep 17 00:00:00 2001 From: cc-cara Date: Wed, 23 Oct 2019 13:45:44 +0800 Subject: [PATCH 07/20] immort logo of bitconch --- logo.svg | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 logo.svg diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..e69de29 From 0a822078e21602c72db390d51b82b953a7870677 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Wed, 23 Oct 2019 13:53:16 +0800 Subject: [PATCH 08/20] Configuration the environment --- conf.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 conf.py diff --git a/conf.py b/conf.py new file mode 100644 index 0000000..e69de29 From fc074f19a23d288858215651e36926375e355481 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 10:15:01 +0800 Subject: [PATCH 09/20] import logo of Bitconch --- logo.svg | 2965 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2965 insertions(+) diff --git a/logo.svg b/logo.svg index e69de29..ad5ffbf 100644 --- a/logo.svg +++ b/logo.svg @@ -0,0 +1,2965 @@ + + + + + From 1f6d2db2da66e7f14907cde537549f0fe0eb35cd Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 17:43:10 +0800 Subject: [PATCH 10/20] Interface documentation of web3j --- Bitconch-web3j.rst | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index e69de29..50519c6 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -0,0 +1,40 @@ ++------------------------------------------------------------------------------------------------------------+ +| *The interface descriptions of bitconch web3j* | ++========================+=======================================+===========================+===============+ +| FileName | ClassName | Components | Type | ++------------------------+---------------------------------------+---------------------------+---------------+ +| bus-account.j | BusAccout | _keypair | property | +| | +---------------------------+---------------+ +| | | pubkey | property | +| | +---------------------------+---------------+ +| | | privatekey | property | +| | +---------------------------+---------------+ +| | | constructor | variable | ++------------------------+---------------------------------------+---------------------------+---------------+ +| bus-blockhash.js | | Blockhash | variable | ++------------------------+---------------------------------------+---------------------------+---------------+ +| bpfcontroller-loader.js| BpfControllerLoader | contraollerId | property | +| | +---------------------------+---------------+ +| | | load | method | ++------------------------+---------------------------------------+---------------------------+---------------+ +| budget-controller.js | | SignatureCond | variable | +| | +---------------------------+---------------+ +| | | TimestampCond | variable | +| | +---------------------------+---------------+ +| | | Payment | variable | +| | +---------------------------+---------------+ +| | | BudgetCond | variable | +| | +---------------------------+---------------+ +| | | serializePayment | method | +| | +---------------------------+---------------+ +| | | serializeDate | method | +| | +---------------------------+---------------+ +| | | iso | method | +| | +---------------------------+---------------+ +| | | serializeCond | method | +| +---------------------------------------+---------------------------+---------------+ +| | BudgetController | controllerId | property | +| | +---------------------------+---------------+ +| | | size | property | ++------------------------+---------------------------------------+---------------------------+---------------+ + From 99b69fd0035176753ec59b7207c4761f2c2f4bdf Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 17:56:46 +0800 Subject: [PATCH 11/20] Interface documentation of web3j --- Bitconch-web3j.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index 50519c6..3461ec3 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -1,3 +1,7 @@ +=============== +Bitconch-web3j +=============== + +------------------------------------------------------------------------------------------------------------+ | *The interface descriptions of bitconch web3j* | +========================+=======================================+===========================+===============+ @@ -36,5 +40,18 @@ | | BudgetController | controllerId | property | | | +---------------------------+---------------+ | | | size | property | +| | +---------------------------+---------------+ +| | | datetimeCond | method | +| | +---------------------------+---------------+ +| | | signatureCond | method | +| | +---------------------------+---------------+ +| | | pay | method | +| | +---------------------------+---------------+ +| | | payOnAll | method | +| | +---------------------------+---------------+ +| | | sealWithDatetime | method | +| | +---------------------------+---------------+ +| | | sealWithSignature | method | +------------------------+---------------------------------------+---------------------------+---------------+ + From 036fde3124b2007d635a225961cafbd5c2c15f74 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 19:39:22 +0800 Subject: [PATCH 12/20] Interface documentation of web3j --- Bitconch-web3j.rst | 114 ++++++++++++++++++++++++++------------------- 1 file changed, 65 insertions(+), 49 deletions(-) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index 3461ec3..8f4b303 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -4,54 +4,70 @@ Bitconch-web3j +------------------------------------------------------------------------------------------------------------+ | *The interface descriptions of bitconch web3j* | -+========================+=======================================+===========================+===============+ -| FileName | ClassName | Components | Type | -+------------------------+---------------------------------------+---------------------------+---------------+ -| bus-account.j | BusAccout | _keypair | property | -| | +---------------------------+---------------+ -| | | pubkey | property | -| | +---------------------------+---------------+ -| | | privatekey | property | -| | +---------------------------+---------------+ -| | | constructor | variable | -+------------------------+---------------------------------------+---------------------------+---------------+ -| bus-blockhash.js | | Blockhash | variable | -+------------------------+---------------------------------------+---------------------------+---------------+ -| bpfcontroller-loader.js| BpfControllerLoader | contraollerId | property | -| | +---------------------------+---------------+ -| | | load | method | -+------------------------+---------------------------------------+---------------------------+---------------+ -| budget-controller.js | | SignatureCond | variable | -| | +---------------------------+---------------+ -| | | TimestampCond | variable | -| | +---------------------------+---------------+ -| | | Payment | variable | -| | +---------------------------+---------------+ -| | | BudgetCond | variable | -| | +---------------------------+---------------+ -| | | serializePayment | method | -| | +---------------------------+---------------+ -| | | serializeDate | method | -| | +---------------------------+---------------+ -| | | iso | method | -| | +---------------------------+---------------+ -| | | serializeCond | method | -| +---------------------------------------+---------------------------+---------------+ -| | BudgetController | controllerId | property | -| | +---------------------------+---------------+ -| | | size | property | -| | +---------------------------+---------------+ -| | | datetimeCond | method | -| | +---------------------------+---------------+ -| | | signatureCond | method | -| | +---------------------------+---------------+ -| | | pay | method | -| | +---------------------------+---------------+ -| | | payOnAll | method | -| | +---------------------------+---------------+ -| | | sealWithDatetime | method | -| | +---------------------------+---------------+ -| | | sealWithSignature | method | -+------------------------+---------------------------------------+---------------------------+---------------+ ++========================+===========================+===========================================+===========+ +| FileName | ClassName | Components | Type | ++------------------------+---------------------------+-------------------------------------------+-----------+ +| bus-account.js | BusAccout | _keypair | property | +| | +-------------------------------------------+-----------+ +| | | pubkey | property | +| | +-------------------------------------------+-----------+ +| | | privatekey | property | +| | +-------------------------------------------+-----------+ +| | | constructor | variable | ++------------------------+---------------------------+-------------------------------------------+-----------+ +| bus-blockhash.js | | Blockhash | variable | ++------------------------+---------------------------+-------------------------------------------+-----------+ +| bpfcontroller-loader.js| BpfControllerLoader | contraollerId | property | +| | +-------------------------------------------+-----------+ +| | | load | method | ++------------------------+---------------------------+-------------------------------------------+-----------+ +| budget-controller.js | | SignatureCond | variable | +| | +-------------------------------------------+-----------+ +| | | TimestampCond | variable | +| | +-------------------------------------------+-----------+ +| | | Payment | variable | +| | +-------------------------------------------+-----------+ +| | | BudgetCond | variabl | +| | +-------------------------------------------+-----------+ +| | | serializePayment | method | +| | +-------------------------------------------+-----------+ +| | | serializeDate | method | +| | +-------------------------------------------+-----------+ +| | | iso | method | +| | +-------------------------------------------+-----------+ +| | | serializeCond | method | +| +---------------------------+-------------------------------------------+-----------+ +| | BudgetController | controllerId | property | +| | +-------------------------------------------+-----------+ +| | | size | property | +| | +-------------------------------------------+-----------+ +| | | datetimeCond | method | +| | +-------------------------------------------+-----------+ +| | | signatureCond | method | +| | +-------------------------------------------+-----------+ +| | | pay | method | +| | +-------------------------------------------+-----------+ +| | | payOnAll | method | +| | +-------------------------------------------+-----------+ +| | | sealWithDatetime | method | +| | +-------------------------------------------+-----------+ +| | | sealWithSignature | method | ++------------------------+---------------------------+-------------------------------------------+-----------+ +| connection.js | | RpcReq | variabl | +| | +-------------------------------------------+-----------+ +| | | NodeInfo | variabl | +| | +-------------------------------------------+-----------+ +| | | createRpcReq | method | +| | +-------------------------------------------+-----------+ +| | | FetchBalanceRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | jsonRpcResult | method | +| | +-------------------------------------------+-----------+ +| | | AccountDetailResult | variable | +| | +-------------------------------------------+-----------+ +| | | fetchAccountDetailRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | AccountNoticeResult | method | + From 57fea10e4166a528d220b2b0815542b5c7ccf280 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 19:50:54 +0800 Subject: [PATCH 13/20] Interface documentation of web3j --- Bitconch-web3j.rst | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index 8f4b303..6be8b68 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -2,6 +2,8 @@ Bitconch-web3j =============== + + +------------------------------------------------------------------------------------------------------------+ | *The interface descriptions of bitconch web3j* | +========================+===========================+===========================================+===========+ @@ -67,7 +69,28 @@ Bitconch-web3j | | +-------------------------------------------+-----------+ | | | fetchAccountDetailRpcResult | variable | | | +-------------------------------------------+-----------+ -| | | AccountNoticeResult | method | - +| | | AccountNoticeResult | variable | +| | +-------------------------------------------+-----------+ +| | | ControllerAccountDetailResult | variable | +| | +-------------------------------------------+-----------+ +| | | ControllerAccountNoticeResult | variable | +| | +-------------------------------------------+-----------+ +| | | ConfmTxnRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | FetchRoundLeader | variable | +| | +-------------------------------------------+-----------+ +| | | FetchClusterNodes | variable | +| | +-------------------------------------------+-----------+ +| | | FetchSignatureStateRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | FetchTxnAmountRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | FetchRecentBlockhash | variable | +| | +-------------------------------------------+-----------+ +| | | ReqDroneRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | SendTxnRpcResult | variable | +| | +-------------------------------------------+-----------+ +| | | AccountDetail | variable | From 5095051cd6ad25f508d47e8a9cd87dfe1246c0c8 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 20:09:08 +0800 Subject: [PATCH 14/20] Interface documentation of web3j --- Bitconch-web3j.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index 6be8b68..aa91de9 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -92,5 +92,36 @@ Bitconch-web3j | | | SendTxnRpcResult | variable | | | +-------------------------------------------+-----------+ | | | AccountDetail | variable | +| | +-------------------------------------------+-----------+ +| | | KeyedAccountDetail | variable | +| | +-------------------------------------------+-----------+ +| | | AccountChangeCallback | variable | +| | +-------------------------------------------+-----------+ +| | | AccountSubscriptionDetail | variable | +| | +-------------------------------------------+-----------+ +| | | ControllerAccountChangeCallback | variable | +| | +-------------------------------------------+-----------+ +| | | ControllerAccountSubscriptionDetail | variable | +| | +-------------------------------------------+-----------+ +| | | SignaturePass | variable | +| | +-------------------------------------------+-----------+ +| | | TxnErr | variable | +| +---------------------------+-------------------------------------------+-----------+ +| | Connection | _rpcReq | property | +| | +-------------------------------------------+-----------+ +| | | _rpcWebSock | property | +| | +-------------------------------------------+-----------+ +| | | _rpcWebSockConnected | property | +| | +-------------------------------------------+-----------+ +| | | _blockhashInfo | property | +| | +-------------------------------------------+-----------+ +| | | _disableBlockhashCaching | property | +| | +-------------------------------------------+-----------+ +| | | _accountChangeSubscriptionCounter | property | +| | +-------------------------------------------+-----------+ +| | | _controllerAccountChangeSubscription | property | +| | +-------------------------------------------+-----------+ +| | |_controllerAccountChangeSubscriptionCounter| property | + From 81238fde40151c9b479de1e1d836fd6be90a0b01 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Thu, 24 Oct 2019 20:29:34 +0800 Subject: [PATCH 15/20] Interface documentation of web3j --- Bitconch-web3j.rst | 48 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index aa91de9..b40c412 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -122,6 +122,52 @@ Bitconch-web3j | | | _controllerAccountChangeSubscription | property | | | +-------------------------------------------+-----------+ | | |_controllerAccountChangeSubscriptionCounter| property | - +| | +-------------------------------------------+-----------+ +| | | constructor | variable | +| | +-------------------------------------------+-----------+ +| | | fetchAccountBalance | method | +| | +-------------------------------------------+-----------+ +| | | fetchAccountDetail | method | +| | +-------------------------------------------+-----------+ +| | | confmTxn | method | +| | +-------------------------------------------+-----------+ +| | | fetchRoundLeader | method | +| | +-------------------------------------------+-----------+ +| | | fetchClusterNodes | method | +| | +-------------------------------------------+-----------+ +| | | fetchSignatureState | method | +| | +-------------------------------------------+-----------+ +| | | fetchTxnAmount | method | +| | +-------------------------------------------+-----------+ +| | | fetchRecentBlockhash | method | +| | +-------------------------------------------+-----------+ +| | | reqDrone | method | +| | +-------------------------------------------+-----------+ +| | | sendTxn | method | +| | +-------------------------------------------+-----------+ +| | | fullnodeExit | method | +| | +-------------------------------------------+-----------+ +| | | sendNativeTxn | method | +| | +-------------------------------------------+-----------+ +| | | _wsOnOpen | method | +| | +-------------------------------------------+-----------+ +| | | _wsOnErr | method | +| | +-------------------------------------------+-----------+ +| | | _wsOnClose | method | +| | +-------------------------------------------+-----------+ +| | | _updateSubscription | method | +| | +-------------------------------------------+-----------+ +| | | _wsOnAccountNotice | method | +| | +-------------------------------------------+-----------+ +| | | onAccountChange | method | +| | +-------------------------------------------+-----------+ +| | | removeListenerOfAccountChange | method | +| | +-------------------------------------------+-----------+ +| | | _wsOnControllerAccountNotice | method | +| | +-------------------------------------------+-----------+ +| | | onControllerAccountChange | method | +| | +-------------------------------------------+-----------+ +| | | removeControllerAccountChangeListener | method | ++------------------------+---------------------------+-------------------------------------------+-----------+ From d2e9b510b5b532d06b9be9f93ab50a7b0ee89651 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Fri, 25 Oct 2019 10:44:26 +0800 Subject: [PATCH 16/20] Interface documentation of web3j --- Bitconch-web3j.rst | 374 +++++++++++++++++++++++++-------------------- 1 file changed, 211 insertions(+), 163 deletions(-) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index b40c412..3b0c209 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -6,168 +6,216 @@ Bitconch-web3j +------------------------------------------------------------------------------------------------------------+ | *The interface descriptions of bitconch web3j* | -+========================+===========================+===========================================+===========+ -| FileName | ClassName | Components | Type | -+------------------------+---------------------------+-------------------------------------------+-----------+ -| bus-account.js | BusAccout | _keypair | property | -| | +-------------------------------------------+-----------+ -| | | pubkey | property | -| | +-------------------------------------------+-----------+ -| | | privatekey | property | -| | +-------------------------------------------+-----------+ -| | | constructor | variable | -+------------------------+---------------------------+-------------------------------------------+-----------+ -| bus-blockhash.js | | Blockhash | variable | -+------------------------+---------------------------+-------------------------------------------+-----------+ -| bpfcontroller-loader.js| BpfControllerLoader | contraollerId | property | -| | +-------------------------------------------+-----------+ -| | | load | method | -+------------------------+---------------------------+-------------------------------------------+-----------+ -| budget-controller.js | | SignatureCond | variable | -| | +-------------------------------------------+-----------+ -| | | TimestampCond | variable | -| | +-------------------------------------------+-----------+ -| | | Payment | variable | -| | +-------------------------------------------+-----------+ -| | | BudgetCond | variabl | -| | +-------------------------------------------+-----------+ -| | | serializePayment | method | -| | +-------------------------------------------+-----------+ -| | | serializeDate | method | -| | +-------------------------------------------+-----------+ -| | | iso | method | -| | +-------------------------------------------+-----------+ -| | | serializeCond | method | -| +---------------------------+-------------------------------------------+-----------+ -| | BudgetController | controllerId | property | -| | +-------------------------------------------+-----------+ -| | | size | property | -| | +-------------------------------------------+-----------+ -| | | datetimeCond | method | -| | +-------------------------------------------+-----------+ -| | | signatureCond | method | -| | +-------------------------------------------+-----------+ -| | | pay | method | -| | +-------------------------------------------+-----------+ -| | | payOnAll | method | -| | +-------------------------------------------+-----------+ -| | | sealWithDatetime | method | -| | +-------------------------------------------+-----------+ -| | | sealWithSignature | method | -+------------------------+---------------------------+-------------------------------------------+-----------+ -| connection.js | | RpcReq | variabl | -| | +-------------------------------------------+-----------+ -| | | NodeInfo | variabl | -| | +-------------------------------------------+-----------+ -| | | createRpcReq | method | -| | +-------------------------------------------+-----------+ -| | | FetchBalanceRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | jsonRpcResult | method | -| | +-------------------------------------------+-----------+ -| | | AccountDetailResult | variable | -| | +-------------------------------------------+-----------+ -| | | fetchAccountDetailRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | AccountNoticeResult | variable | -| | +-------------------------------------------+-----------+ -| | | ControllerAccountDetailResult | variable | -| | +-------------------------------------------+-----------+ -| | | ControllerAccountNoticeResult | variable | -| | +-------------------------------------------+-----------+ -| | | ConfmTxnRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | FetchRoundLeader | variable | -| | +-------------------------------------------+-----------+ -| | | FetchClusterNodes | variable | -| | +-------------------------------------------+-----------+ -| | | FetchSignatureStateRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | FetchTxnAmountRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | FetchRecentBlockhash | variable | -| | +-------------------------------------------+-----------+ -| | | ReqDroneRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | SendTxnRpcResult | variable | -| | +-------------------------------------------+-----------+ -| | | AccountDetail | variable | -| | +-------------------------------------------+-----------+ -| | | KeyedAccountDetail | variable | -| | +-------------------------------------------+-----------+ -| | | AccountChangeCallback | variable | -| | +-------------------------------------------+-----------+ -| | | AccountSubscriptionDetail | variable | -| | +-------------------------------------------+-----------+ -| | | ControllerAccountChangeCallback | variable | -| | +-------------------------------------------+-----------+ -| | | ControllerAccountSubscriptionDetail | variable | -| | +-------------------------------------------+-----------+ -| | | SignaturePass | variable | -| | +-------------------------------------------+-----------+ -| | | TxnErr | variable | -| +---------------------------+-------------------------------------------+-----------+ -| | Connection | _rpcReq | property | -| | +-------------------------------------------+-----------+ -| | | _rpcWebSock | property | -| | +-------------------------------------------+-----------+ -| | | _rpcWebSockConnected | property | -| | +-------------------------------------------+-----------+ -| | | _blockhashInfo | property | -| | +-------------------------------------------+-----------+ -| | | _disableBlockhashCaching | property | -| | +-------------------------------------------+-----------+ -| | | _accountChangeSubscriptionCounter | property | -| | +-------------------------------------------+-----------+ -| | | _controllerAccountChangeSubscription | property | -| | +-------------------------------------------+-----------+ -| | |_controllerAccountChangeSubscriptionCounter| property | -| | +-------------------------------------------+-----------+ -| | | constructor | variable | -| | +-------------------------------------------+-----------+ -| | | fetchAccountBalance | method | -| | +-------------------------------------------+-----------+ -| | | fetchAccountDetail | method | -| | +-------------------------------------------+-----------+ -| | | confmTxn | method | -| | +-------------------------------------------+-----------+ -| | | fetchRoundLeader | method | -| | +-------------------------------------------+-----------+ -| | | fetchClusterNodes | method | -| | +-------------------------------------------+-----------+ -| | | fetchSignatureState | method | -| | +-------------------------------------------+-----------+ -| | | fetchTxnAmount | method | -| | +-------------------------------------------+-----------+ -| | | fetchRecentBlockhash | method | -| | +-------------------------------------------+-----------+ -| | | reqDrone | method | -| | +-------------------------------------------+-----------+ -| | | sendTxn | method | -| | +-------------------------------------------+-----------+ -| | | fullnodeExit | method | -| | +-------------------------------------------+-----------+ -| | | sendNativeTxn | method | -| | +-------------------------------------------+-----------+ -| | | _wsOnOpen | method | -| | +-------------------------------------------+-----------+ -| | | _wsOnErr | method | -| | +-------------------------------------------+-----------+ -| | | _wsOnClose | method | -| | +-------------------------------------------+-----------+ -| | | _updateSubscription | method | -| | +-------------------------------------------+-----------+ -| | | _wsOnAccountNotice | method | -| | +-------------------------------------------+-----------+ -| | | onAccountChange | method | -| | +-------------------------------------------+-----------+ -| | | removeListenerOfAccountChange | method | -| | +-------------------------------------------+-----------+ -| | | _wsOnControllerAccountNotice | method | -| | +-------------------------------------------+-----------+ -| | | onControllerAccountChange | method | -| | +-------------------------------------------+-----------+ -| | | removeControllerAccountChangeListener | method | -+------------------------+---------------------------+-------------------------------------------+-----------+ ++===========================+========================+=============================================+=========+ +| FileName | ClassName | Components | Type | ++---------------------------+------------------------+---------------------------------------------+---------+ +| bus-account.js | BusAccout | _keypair | property| +| | +---------------------------------------------+---------+ +| | | pubkey | property| +| | +---------------------------------------------+---------+ +| | | privatekey | property| +| | +---------------------------------------------+---------+ +| | | constructor | variable| ++---------------------------+------------------------+---------------------------------------------+---------+ +| bus-blockhash.js | | Blockhash | variable| ++---------------------------+------------------------+---------------------------------------------+---------+ +| bpfcontroller-loader.js | BpfControllerLoader | contraollerId | property| +| | +---------------------------------------------+---------+ +| | | load | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| budget-controller.js | | SignatureCond | variable| +| | +---------------------------------------------+---------+ +| | | TimestampCond | variable| +| | +---------------------------------------------+---------+ +| | | Payment | variable| +| | +---------------------------------------------+---------+ +| | | BudgetCond | variabl | +| | +---------------------------------------------+---------+ +| | | serializePayment | method | +| | +---------------------------------------------+---------+ +| | | serializeDate | method | +| | +---------------------------------------------+---------+ +| | | iso | method | +| | +---------------------------------------------+---------+ +| | | serializeCond | method | +| +------------------------+---------------------------------------------+---------+ +| | BudgetController | controllerId | property| +| | +---------------------------------------------+---------+ +| | | size | property| +| | +---------------------------------------------+---------+ +| | | datetimeCond | method | +| | +---------------------------------------------+---------+ +| | | signatureCond | method | +| | +---------------------------------------------+---------+ +| | | pay | method | +| | +---------------------------------------------+---------+ +| | | payOnAll | method | +| | +---------------------------------------------+---------+ +| | | sealWithDatetime | method | +| | +---------------------------------------------+---------+ +| | | sealWithSignature | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| connection.js | | RpcReq | variable| +| | +---------------------------------------------+---------+ +| | | NodeInfo | variable| +| | +---------------------------------------------+---------+ +| | | createRpcReq | method | +| | +---------------------------------------------+---------+ +| | | FetchBalanceRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | jsonRpcResult | method | +| | +---------------------------------------------+---------+ +| | | AccountDetailResult | variable| +| | +---------------------------------------------+---------+ +| | | fetchAccountDetailRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | AccountNoticeResult | variable| +| | +---------------------------------------------+---------+ +| | | ControllerAccountDetailResult | variable| +| | +---------------------------------------------+---------+ +| | | ControllerAccountNoticeResult | variable| +| | +---------------------------------------------+---------+ +| | | ConfmTxnRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | FetchRoundLeader | variable| +| | +---------------------------------------------+---------+ +| | | FetchClusterNodes | variable| +| | +---------------------------------------------+---------+ +| | | FetchSignatureStateRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | FetchTxnAmountRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | FetchRecentBlockhash | variable| +| | +---------------------------------------------+---------+ +| | | ReqDroneRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | SendTxnRpcResult | variable| +| | +---------------------------------------------+---------+ +| | | AccountDetail | variable| +| | +---------------------------------------------+---------+ +| | | KeyedAccountDetail | variable| +| | +---------------------------------------------+---------+ +| | | AccountChangeCallback | variable| +| | +---------------------------------------------+---------+ +| | | AccountSubscriptionDetail | variable| +| | +---------------------------------------------+---------+ +| | | ControllerAccountChangeCallback | variable| +| | +---------------------------------------------+---------+ +| | | ControllerAccountSubscriptionDetail | variable| +| | +---------------------------------------------+---------+ +| | | SignaturePass | variable| +| | +---------------------------------------------+---------+ +| | | TxnErr | variable| +| +------------------------+---------------------------------------------+---------+ +| | Connection | _rpcReq | property| +| | +---------------------------------------------+---------+ +| | | _rpcWebSock | property| +| | +---------------------------------------------+---------+ +| | | _rpcWebSockConnected | property| +| | +---------------------------------------------+---------+ +| | | _blockhashInfo | property| +| | +---------------------------------------------+---------+ +| | | _disableBlockhashCaching | property| +| | +---------------------------------------------+---------+ +| | | _accountChangeSubscriptionCounter | property| +| | +---------------------------------------------+---------+ +| | | _controllerAccountChangeSubscription | property| +| | +---------------------------------------------+---------+ +| | | _controllerAccountChangeSubscriptionCounter | property| +| | +---------------------------------------------+---------+ +| | | constructor | variable| +| | +---------------------------------------------+---------+ +| | | fetchAccountBalance | method | +| | +---------------------------------------------+---------+ +| | | fetchAccountDetail | method | +| | +---------------------------------------------+---------+ +| | | confmTxn | method | +| | +---------------------------------------------+---------+ +| | | fetchRoundLeader | method | +| | +---------------------------------------------+---------+ +| | | fetchClusterNodes | method | +| | +---------------------------------------------+---------+ +| | | fetchSignatureState | method | +| | +---------------------------------------------+---------+ +| | | fetchTxnAmount | method | +| | +---------------------------------------------+---------+ +| | | fetchRecentBlockhash | method | +| | +---------------------------------------------+---------+ +| | | reqDrone | method | +| | +---------------------------------------------+---------+ +| | | sendTxn | method | +| | +---------------------------------------------+---------+ +| | | fullnodeExit | method | +| | +---------------------------------------------+---------+ +| | | sendNativeTxn | method | +| | +---------------------------------------------+---------+ +| | | _wsOnOpen | method | +| | +---------------------------------------------+---------+ +| | | _wsOnErr | method | +| | +---------------------------------------------+---------+ +| | | _wsOnClose | method | +| | +---------------------------------------------+---------+ +| | | _updateSubscription | method | +| | +---------------------------------------------+---------+ +| | | _wsOnAccountNotice | method | +| | +---------------------------------------------+---------+ +| | | onAccountChange | method | +| | +---------------------------------------------+---------+ +| | | removeListenerOfAccountChange | method | +| | +---------------------------------------------+---------+ +| | | _wsOnControllerAccountNotice | method | +| | +---------------------------------------------+---------+ +| | | onControllerAccountChange | method | +| | +---------------------------------------------+---------+ +| | | removeControllerAccountChangeListener | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| typelayout.js | | pubKey | property| +| | +---------------------------------------------+---------+ +| | | uint64 | property| +| | +---------------------------------------------+---------+ +| | | rustString | property| ++---------------------------+------------------------+---------------------------------------------+---------+ +| controller-loader.js | ControllerLoader | chunkSize | property| +| | +---------------------------------------------+---------+ +| | | load | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| nativecontroller-loader.js| NativeControllerLoader | controllerId | property| +| | +---------------------------------------------+---------+ +| | | load | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| pubkey.js | PubKey | _bn | property| +| | +---------------------------------------------+---------+ +| | | constructor | variable| +| | +---------------------------------------------+---------+ +| | | isPubKey | method | +| | +---------------------------------------------+---------+ +| | | equals | method | +| | +---------------------------------------------+---------+ +| | | toBase58 | method | +| | +---------------------------------------------+---------+ +| | | toBuffer | method | +| | +---------------------------------------------+---------+ +| | | toString | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| system-controller.js | SystemController | controllerId | property| +| | +---------------------------------------------+---------+ +| | | createNewAccount | method | +| | +---------------------------------------------+---------+ +| | | transfer | method | +| | +---------------------------------------------+---------+ +| | | assign | method | ++---------------------------+------------------------+---------------------------------------------+---------+ +| timing.js | | NUM_TICKS_PER_SEC | variable| +| | +---------------------------------------------+---------+ +| | | DEFAULT_TICKS_PER_ROUND | variable| ++---------------------------+------------------------+---------------------------------------------+---------+ +| token-controller.rs | TokenCount | toBuffer | method | +| | +---------------------------------------------+---------+ +| | | fromBuffer | method | +| | +---------------------------------------------+---------+ +| | | TokenDetail | variable| +| | +---------------------------------------------+---------+ +| | | TokenDetailLayout | variable| + From bc652281748da0bae9090cb294882d04b70d01ca Mon Sep 17 00:00:00 2001 From: cc-cara Date: Fri, 25 Oct 2019 10:59:06 +0800 Subject: [PATCH 17/20] Interface documentation of web3j --- Bitconch-web3j.rst | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst index 3b0c209..595485c 100644 --- a/Bitconch-web3j.rst +++ b/Bitconch-web3j.rst @@ -216,6 +216,47 @@ Bitconch-web3j | | | TokenDetail | variable| | | +---------------------------------------------+---------+ | | | TokenDetailLayout | variable| +| | +---------------------------------------------+---------+ +| | | TokenAccountDetail | variable| +| | +---------------------------------------------+---------+ +| | | TokenAccountDetailLayout | variable| +| | +---------------------------------------------+---------+ +| | | TokenAndPubKey | variable| +| | +---------------------------------------------+---------+ +| | | SYSTEM_TOKEN_CONTROLLER_ID | variable| +| +------------------------+---------------------------------------------+---------+ +| | Token | connection | property| +| | +---------------------------------------------+---------+ +| | | token | property| +| | +---------------------------------------------+---------+ +| | | controllerId | property| +| | +---------------------------------------------+---------+ +| | | constructor | variable| +| | +---------------------------------------------+---------+ +| | | createNewToken | method | +| | +---------------------------------------------+---------+ +| | | createNewAccount | method | +| | +---------------------------------------------+---------+ +| | | fetchTokenDetail | method | +| | +---------------------------------------------+---------+ +| | | fetchAccountDetail | method | +| | +---------------------------------------------+---------+ +| | | transfer | method | +| | +---------------------------------------------+---------+ +| | | approve | method | +| | +---------------------------------------------+---------+ +| | | revoke | method | +| | +---------------------------------------------+---------+ +| | | setOwner | method | +| | +---------------------------------------------+---------+ +| | | transferOperation | method | +| | +---------------------------------------------+---------+ +| | | approveOperation | method | +| | +---------------------------------------------+---------+ +| | | revokeOperation | method | +| | +---------------------------------------------+---------+ +| | | setOwnerOperation | method | ++---------------------------+------------------------+---------------------------------------------+---------+ From 2532c11bb3dee38e01c6ba2b581794d0a469c798 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Fri, 25 Oct 2019 20:18:03 +0800 Subject: [PATCH 18/20] Interface documentation of web3j --- DApp-Dev-Reference.rst | 346 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 346 insertions(+) diff --git a/DApp-Dev-Reference.rst b/DApp-Dev-Reference.rst index e69de29..0bbec4b 100644 --- a/DApp-Dev-Reference.rst +++ b/DApp-Dev-Reference.rst @@ -0,0 +1,346 @@ +==================== +DApp-Dev-Reference +==================== + +Bitconch-web3j +=============== + + ++---------------------------------------------------------------------------------------------------------------+ +| *The interface descriptions of bitconch web3j* | ++==========================+======================+===========================================+=================+ +| FileName | ClassName | Components | Type | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| bus-account.js | BusAccout | _keypair | property | +| | +-------------------------------------------+-----------------+ +| | | pubkey | property | +| | +-------------------------------------------+-----------------+ +| | | privatekey | property | +| | +-------------------------------------------+-----------------+ +| | | constructor | variable | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| bus-blockhash.js | | Blockhash | variable | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| bpfcontroller-loader.js | BpfControllerLoader | contraollerId | property | +| | +-------------------------------------------+-----------------+ +| | | load | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| budget-controller.js | | SignatureCond | variable | +| | +-------------------------------------------+-----------------+ +| | | TimestampCond | variable | +| | +-------------------------------------------+-----------------+ +| | | Payment | variable | +| | +-------------------------------------------+-----------------+ +| | | BudgetCond | variable | +| | +-------------------------------------------+-----------------+ +| | | serializePayment | method | +| | +-------------------------------------------+-----------------+ +| | | serializeDate | method | +| | +-------------------------------------------+-----------------+ +| | | iso | method | +| | +-------------------------------------------+-----------------+ +| | | serializeCond | method | +| +----------------------+-------------------------------------------+-----------------+ +| | BudgetController | controllerId | property | +| | +-------------------------------------------+-----------------+ +| | | size | property | +| | +-------------------------------------------+-----------------+ +| | | datetimeCond | method | +| | +-------------------------------------------+-----------------+ +| | | signatureCond | method | +| | +-------------------------------------------+-----------------+ +| | | pay | method | +| | +-------------------------------------------+-----------------+ +| | | payOnAll | method | +| | +-------------------------------------------+-----------------+ +| | | sealWithDatetime | method | +| | +-------------------------------------------+-----------------+ +| | | sealWithSignature | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| connection.js | | RpcReq | variable | +| | +-------------------------------------------+-----------------+ +| | | NodeInfo | variable | +| | +-------------------------------------------+-----------------+ +| | | createRpcReq | method | +| | +-------------------------------------------+-----------------+ +| | | FetchBalanceRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | jsonRpcResult | method | +| | +-------------------------------------------+-----------------+ +| | | AccountDetailResult | variable | +| | +-------------------------------------------+-----------------+ +| | | fetchAccountDetailRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | AccountNoticeResult | variable | +| | +-------------------------------------------+-----------------+ +| | | ControllerAccountDetailResult | variable | +| | +-------------------------------------------+-----------------+ +| | | ControllerAccountNoticeResult | variable | +| | +-------------------------------------------+-----------------+ +| | | ConfmTxnRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | FetchRoundLeader | variable | +| | +-------------------------------------------+-----------------+ +| | | FetchClusterNodes | variable | +| | +-------------------------------------------+-----------------+ +| | | FetchSignatureStateRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | FetchTxnAmountRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | FetchRecentBlockhash | variable | +| | +-------------------------------------------+-----------------+ +| | | ReqDroneRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | SendTxnRpcResult | variable | +| | +-------------------------------------------+-----------------+ +| | | AccountDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | KeyedAccountDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | AccountChangeCallback | variable | +| | +-------------------------------------------+-----------------+ +| | | AccountSubscriptionDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | ControllerAccountChangeCallback | variable | +| | +-------------------------------------------+-----------------+ +| | | ControllerAccountSubscriptionDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | SignaturePass | variable | +| | +-------------------------------------------+-----------------+ +| | | TxnErr | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | Connection | _rpcReq | property | +| | +-------------------------------------------+-----------------+ +| | | _rpcWebSock | property | +| | +-------------------------------------------+-----------------+ +| | | _rpcWebSockConnected | property | +| | +-------------------------------------------+-----------------+ +| | | _blockhashInfo | property | +| | +-------------------------------------------+-----------------+ +| | | _disableBlockhashCaching | property | +| | +-------------------------------------------+-----------------+ +| | | _accountChangeSubscriptionCounter | property | +| | +-------------------------------------------+-----------------+ +| | | _controllerAccountChangeSubscription | property | +| | +-------------------------------------------+-----------------+ +| | |_controllerAccountChangeSubscriptionCounter| property | +| | +-------------------------------------------+-----------------+ +| | | constructor | variable | +| | +-------------------------------------------+-----------------+ +| | | fetchAccountBalance | method | +| | +-------------------------------------------+-----------------+ +| | | fetchAccountDetail | method | +| | +-------------------------------------------+-----------------+ +| | | confmTxn | method | +| | +-------------------------------------------+-----------------+ +| | | fetchRoundLeader | method | +| | +-------------------------------------------+-----------------+ +| | | fetchClusterNodes | method | +| | +-------------------------------------------+-----------------+ +| | | fetchSignatureState | method | +| | +-------------------------------------------+-----------------+ +| | | fetchTxnAmount | method | +| | +-------------------------------------------+-----------------+ +| | | fetchRecentBlockhash | method | +| | +-------------------------------------------+-----------------+ +| | | reqDrone | method | +| | +-------------------------------------------+-----------------+ +| | | sendTxn | method | +| | +-------------------------------------------+-----------------+ +| | | fullnodeExit | method | +| | +-------------------------------------------+-----------------+ +| | | sendNativeTxn | method | +| | +-------------------------------------------+-----------------+ +| | | _wsOnOpen | method | +| | +-------------------------------------------+-----------------+ +| | | _wsOnErr | method | +| | +-------------------------------------------+-----------------+ +| | | _wsOnClose | method | +| | +-------------------------------------------+-----------------+ +| | | _updateSubscription | method | +| | +-------------------------------------------+-----------------+ +| | | _wsOnAccountNotice | method | +| | +-------------------------------------------+-----------------+ +| | | onAccountChange | method | +| | +-------------------------------------------+-----------------+ +| | | removeListenerOfAccountChange | method | +| | +-------------------------------------------+-----------------+ +| | | _wsOnControllerAccountNotice | method | +| | +-------------------------------------------+-----------------+ +| | | onControllerAccountChange | method | +| | +-------------------------------------------+-----------------+ +| | | removeControllerAccountChangeListener | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| typelayout.js | | pubKey | property | +| | +-------------------------------------------+-----------------+ +| | | uint64 | property | +| | +-------------------------------------------+-----------------+ +| | | rustString | property | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| controller-loader.js | ControllerLoader | chunkSize | property | +| | +-------------------------------------------+-----------------+ +| | | load | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +|nativecontroller-loader.js|NativeControllerLoader| controllerId | property | +| | +-------------------------------------------+-----------------+ +| | | load | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| pubkey.js | PubKey | _bn | property | +| | +-------------------------------------------+-----------------+ +| | | constructor | variable | +| | +-------------------------------------------+-----------------+ +| | | isPubKey | method | +| | +-------------------------------------------+-----------------+ +| | | equals | method | +| | +-------------------------------------------+-----------------+ +| | | toBase58 | method | +| | +-------------------------------------------+-----------------+ +| | | toBuffer | method | +| | +-------------------------------------------+-----------------+ +| | | toString | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| system-controller.js | SystemController | controllerId | property | +| | +-------------------------------------------+-----------------+ +| | | createNewAccount | method | +| | +-------------------------------------------+-----------------+ +| | | transfer | method | +| | +-------------------------------------------+-----------------+ +| | | assign | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| timing.js | | NUM_TICKS_PER_SEC | variable | +| | +-------------------------------------------+-----------------+ +| | | DEFAULT_TICKS_PER_ROUND | variable | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| token-controller.rs | TokenCount | toBuffer | method | +| | +-------------------------------------------+-----------------+ +| | | fromBuffer | method | +| | +-------------------------------------------+-----------------+ +| | | TokenDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | TokenDetailLayout | variable | +| | +-------------------------------------------+-----------------+ +| | | TokenAccountDetail | variable | +| | +-------------------------------------------+-----------------+ +| | | TokenAccountDetailLayout | variable | +| | +-------------------------------------------+-----------------+ +| | | TokenAndPubKey | variable | +| | +-------------------------------------------+-----------------+ +| | | SYSTEM_TOKEN_CONTROLLER_ID | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | Token | connection | property | +| | +-------------------------------------------+-----------------+ +| | | token | property | +| | +-------------------------------------------+-----------------+ +| | | controllerId | property | +| | +-------------------------------------------+-----------------+ +| | | constructor | variable | +| | +-------------------------------------------+-----------------+ +| | | createNewToken | method | +| | +-------------------------------------------+-----------------+ +| | | createNewAccount | method | +| | +-------------------------------------------+-----------------+ +| | | fetchTokenDetail | method | +| | +-------------------------------------------+-----------------+ +| | | fetchAccountDetail | method | +| | +-------------------------------------------+-----------------+ +| | | transfer | method | +| | +-------------------------------------------+-----------------+ +| | | approve | method | +| | +-------------------------------------------+-----------------+ +| | | revoke | method | +| | +-------------------------------------------+-----------------+ +| | | setOwner | method | +| | +-------------------------------------------+-----------------+ +| | | transferOperation | method | +| | +-------------------------------------------+-----------------+ +| | | approveOperation | method | +| | +-------------------------------------------+-----------------+ +| | | revokeOperation | method | +| | +-------------------------------------------+-----------------+ +| | | setOwnerOperation | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| transaction-controller.rs| | TxnSignature | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | | PACKET_DATA_SIZE | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | | TxnInstructionControlFields | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | TxOperation | keys | property | +| | +-------------------------------------------+-----------------+ +| | | controllerId | property | +| | +-------------------------------------------+-----------------+ +| | | data | property | +| | +-------------------------------------------+-----------------+ +| | | SignaturePubKeyPair | variable | +| | +-------------------------------------------+-----------------+ +| | | TxnControlFields | variable | +| +----------------------+-------------------------------------------+-----------------+ +| | Transaction | signatures | property | +| | +-------------------------------------------+-----------------+ +| | | signature | property | +| | +-------------------------------------------+-----------------+ +| | | operations | property | +| | +-------------------------------------------+-----------------+ +| | | recentPackagehash | property | +| | +-------------------------------------------+-----------------+ +| | | constructor | variable | +| | +-------------------------------------------+-----------------+ +| | | add | method | +| | +-------------------------------------------+-----------------+ +| | | _fetchSignData | method | +| | +-------------------------------------------+-----------------+ +| | | sign | method | +| | +-------------------------------------------+-----------------+ +| | | signPartial | method | +| | +-------------------------------------------+-----------------+ +| | | addSigner | method | +| | +-------------------------------------------+-----------------+ +| | | serialize | method | +| | +-------------------------------------------+-----------------+ +| | | keys |Deprecated method| +| | +-------------------------------------------+-----------------+ +| | | controllerId() |Deprecated method| +| | +-------------------------------------------+-----------------+ +| | | data |Deprecated method| +| | +-------------------------------------------+-----------------+ +| | | from | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| src/util/send-and-confm- | | sendAndConfmNativeTxn | method | +| original-tx.js | | | | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| src/util/send-and-confm- | | sendAndConfmTxn | method | +| tx.js | | | | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| src/util/send-and-confm- | | decodeLength | method | +| | +-------------------------------------------+-----------------+ +| | | encodeLength | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ +| src/util/sleep.js | | sleep | method | ++--------------------------+----------------------+-------------------------------------------+-----------------+ + + ++----------------------------+ +| RpcRequest method | ++----------------------------+ +| getDif | ++----------------------------+ +| requestDif | ++----------------------------+ +| getSignatureState | ++----------------------------+ +| sendTxn | ++----------------------------+ +| getAccountInfo | ++----------------------------+ +| confirmTxn | ++----------------------------+ +| getRoundLeader | ++----------------------------+ +| getClusterNodes | ++----------------------------+ +| getTxnCnt | ++----------------------------+ +| getLastestBlockhash | ++----------------------------+ +| fullnodeQuit | ++----------------------------+ \ No newline at end of file From 92058160d051bf4a2be0aea048ba31e13474b237 Mon Sep 17 00:00:00 2001 From: cc-cara Date: Fri, 25 Oct 2019 20:31:39 +0800 Subject: [PATCH 19/20] Optimize document framework --- Bitconch-web3j.rst | 262 ------------------ DApp-Dev-Guid.rst | 20 ++ DApp-Dev-Reference.rst | 25 +- Installation.rst | 44 +++ conf.py | 64 +++++ how-to-creat-a-token-technical.rst | 0 ...an-DApp-on-Bitconch-mainnet(technical).rst | 0 ...o-creat-an-account-and-get-some-tokens.rst | 0 how-to-develop-a-block-eploerer.rst | 0 how-to-develop-a-game-on-blackchain.rst | 0 how-to-develop-a-web-based-wallet.rst | 0 how-to-issue-a-token(non-technical).rst | 0 how-to-setup-the-blockexeplorer.rst | 0 how-to-setup-the-facet-wallet.rst | 0 how-to-setup-the-testnet-node-service.rst | 0 how-to-setup-the-web-based-game.rst | 0 index.rst | 20 +- 17 files changed, 156 insertions(+), 279 deletions(-) delete mode 100644 Bitconch-web3j.rst create mode 100644 Installation.rst delete mode 100644 how-to-creat-a-token-technical.rst delete mode 100644 how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst delete mode 100644 how-to-creat-an-account-and-get-some-tokens.rst delete mode 100644 how-to-develop-a-block-eploerer.rst delete mode 100644 how-to-develop-a-game-on-blackchain.rst delete mode 100644 how-to-develop-a-web-based-wallet.rst delete mode 100644 how-to-issue-a-token(non-technical).rst delete mode 100644 how-to-setup-the-blockexeplorer.rst delete mode 100644 how-to-setup-the-facet-wallet.rst delete mode 100644 how-to-setup-the-testnet-node-service.rst delete mode 100644 how-to-setup-the-web-based-game.rst diff --git a/Bitconch-web3j.rst b/Bitconch-web3j.rst deleted file mode 100644 index 595485c..0000000 --- a/Bitconch-web3j.rst +++ /dev/null @@ -1,262 +0,0 @@ -=============== -Bitconch-web3j -=============== - - - -+------------------------------------------------------------------------------------------------------------+ -| *The interface descriptions of bitconch web3j* | -+===========================+========================+=============================================+=========+ -| FileName | ClassName | Components | Type | -+---------------------------+------------------------+---------------------------------------------+---------+ -| bus-account.js | BusAccout | _keypair | property| -| | +---------------------------------------------+---------+ -| | | pubkey | property| -| | +---------------------------------------------+---------+ -| | | privatekey | property| -| | +---------------------------------------------+---------+ -| | | constructor | variable| -+---------------------------+------------------------+---------------------------------------------+---------+ -| bus-blockhash.js | | Blockhash | variable| -+---------------------------+------------------------+---------------------------------------------+---------+ -| bpfcontroller-loader.js | BpfControllerLoader | contraollerId | property| -| | +---------------------------------------------+---------+ -| | | load | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| budget-controller.js | | SignatureCond | variable| -| | +---------------------------------------------+---------+ -| | | TimestampCond | variable| -| | +---------------------------------------------+---------+ -| | | Payment | variable| -| | +---------------------------------------------+---------+ -| | | BudgetCond | variabl | -| | +---------------------------------------------+---------+ -| | | serializePayment | method | -| | +---------------------------------------------+---------+ -| | | serializeDate | method | -| | +---------------------------------------------+---------+ -| | | iso | method | -| | +---------------------------------------------+---------+ -| | | serializeCond | method | -| +------------------------+---------------------------------------------+---------+ -| | BudgetController | controllerId | property| -| | +---------------------------------------------+---------+ -| | | size | property| -| | +---------------------------------------------+---------+ -| | | datetimeCond | method | -| | +---------------------------------------------+---------+ -| | | signatureCond | method | -| | +---------------------------------------------+---------+ -| | | pay | method | -| | +---------------------------------------------+---------+ -| | | payOnAll | method | -| | +---------------------------------------------+---------+ -| | | sealWithDatetime | method | -| | +---------------------------------------------+---------+ -| | | sealWithSignature | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| connection.js | | RpcReq | variable| -| | +---------------------------------------------+---------+ -| | | NodeInfo | variable| -| | +---------------------------------------------+---------+ -| | | createRpcReq | method | -| | +---------------------------------------------+---------+ -| | | FetchBalanceRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | jsonRpcResult | method | -| | +---------------------------------------------+---------+ -| | | AccountDetailResult | variable| -| | +---------------------------------------------+---------+ -| | | fetchAccountDetailRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | AccountNoticeResult | variable| -| | +---------------------------------------------+---------+ -| | | ControllerAccountDetailResult | variable| -| | +---------------------------------------------+---------+ -| | | ControllerAccountNoticeResult | variable| -| | +---------------------------------------------+---------+ -| | | ConfmTxnRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | FetchRoundLeader | variable| -| | +---------------------------------------------+---------+ -| | | FetchClusterNodes | variable| -| | +---------------------------------------------+---------+ -| | | FetchSignatureStateRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | FetchTxnAmountRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | FetchRecentBlockhash | variable| -| | +---------------------------------------------+---------+ -| | | ReqDroneRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | SendTxnRpcResult | variable| -| | +---------------------------------------------+---------+ -| | | AccountDetail | variable| -| | +---------------------------------------------+---------+ -| | | KeyedAccountDetail | variable| -| | +---------------------------------------------+---------+ -| | | AccountChangeCallback | variable| -| | +---------------------------------------------+---------+ -| | | AccountSubscriptionDetail | variable| -| | +---------------------------------------------+---------+ -| | | ControllerAccountChangeCallback | variable| -| | +---------------------------------------------+---------+ -| | | ControllerAccountSubscriptionDetail | variable| -| | +---------------------------------------------+---------+ -| | | SignaturePass | variable| -| | +---------------------------------------------+---------+ -| | | TxnErr | variable| -| +------------------------+---------------------------------------------+---------+ -| | Connection | _rpcReq | property| -| | +---------------------------------------------+---------+ -| | | _rpcWebSock | property| -| | +---------------------------------------------+---------+ -| | | _rpcWebSockConnected | property| -| | +---------------------------------------------+---------+ -| | | _blockhashInfo | property| -| | +---------------------------------------------+---------+ -| | | _disableBlockhashCaching | property| -| | +---------------------------------------------+---------+ -| | | _accountChangeSubscriptionCounter | property| -| | +---------------------------------------------+---------+ -| | | _controllerAccountChangeSubscription | property| -| | +---------------------------------------------+---------+ -| | | _controllerAccountChangeSubscriptionCounter | property| -| | +---------------------------------------------+---------+ -| | | constructor | variable| -| | +---------------------------------------------+---------+ -| | | fetchAccountBalance | method | -| | +---------------------------------------------+---------+ -| | | fetchAccountDetail | method | -| | +---------------------------------------------+---------+ -| | | confmTxn | method | -| | +---------------------------------------------+---------+ -| | | fetchRoundLeader | method | -| | +---------------------------------------------+---------+ -| | | fetchClusterNodes | method | -| | +---------------------------------------------+---------+ -| | | fetchSignatureState | method | -| | +---------------------------------------------+---------+ -| | | fetchTxnAmount | method | -| | +---------------------------------------------+---------+ -| | | fetchRecentBlockhash | method | -| | +---------------------------------------------+---------+ -| | | reqDrone | method | -| | +---------------------------------------------+---------+ -| | | sendTxn | method | -| | +---------------------------------------------+---------+ -| | | fullnodeExit | method | -| | +---------------------------------------------+---------+ -| | | sendNativeTxn | method | -| | +---------------------------------------------+---------+ -| | | _wsOnOpen | method | -| | +---------------------------------------------+---------+ -| | | _wsOnErr | method | -| | +---------------------------------------------+---------+ -| | | _wsOnClose | method | -| | +---------------------------------------------+---------+ -| | | _updateSubscription | method | -| | +---------------------------------------------+---------+ -| | | _wsOnAccountNotice | method | -| | +---------------------------------------------+---------+ -| | | onAccountChange | method | -| | +---------------------------------------------+---------+ -| | | removeListenerOfAccountChange | method | -| | +---------------------------------------------+---------+ -| | | _wsOnControllerAccountNotice | method | -| | +---------------------------------------------+---------+ -| | | onControllerAccountChange | method | -| | +---------------------------------------------+---------+ -| | | removeControllerAccountChangeListener | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| typelayout.js | | pubKey | property| -| | +---------------------------------------------+---------+ -| | | uint64 | property| -| | +---------------------------------------------+---------+ -| | | rustString | property| -+---------------------------+------------------------+---------------------------------------------+---------+ -| controller-loader.js | ControllerLoader | chunkSize | property| -| | +---------------------------------------------+---------+ -| | | load | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| nativecontroller-loader.js| NativeControllerLoader | controllerId | property| -| | +---------------------------------------------+---------+ -| | | load | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| pubkey.js | PubKey | _bn | property| -| | +---------------------------------------------+---------+ -| | | constructor | variable| -| | +---------------------------------------------+---------+ -| | | isPubKey | method | -| | +---------------------------------------------+---------+ -| | | equals | method | -| | +---------------------------------------------+---------+ -| | | toBase58 | method | -| | +---------------------------------------------+---------+ -| | | toBuffer | method | -| | +---------------------------------------------+---------+ -| | | toString | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| system-controller.js | SystemController | controllerId | property| -| | +---------------------------------------------+---------+ -| | | createNewAccount | method | -| | +---------------------------------------------+---------+ -| | | transfer | method | -| | +---------------------------------------------+---------+ -| | | assign | method | -+---------------------------+------------------------+---------------------------------------------+---------+ -| timing.js | | NUM_TICKS_PER_SEC | variable| -| | +---------------------------------------------+---------+ -| | | DEFAULT_TICKS_PER_ROUND | variable| -+---------------------------+------------------------+---------------------------------------------+---------+ -| token-controller.rs | TokenCount | toBuffer | method | -| | +---------------------------------------------+---------+ -| | | fromBuffer | method | -| | +---------------------------------------------+---------+ -| | | TokenDetail | variable| -| | +---------------------------------------------+---------+ -| | | TokenDetailLayout | variable| -| | +---------------------------------------------+---------+ -| | | TokenAccountDetail | variable| -| | +---------------------------------------------+---------+ -| | | TokenAccountDetailLayout | variable| -| | +---------------------------------------------+---------+ -| | | TokenAndPubKey | variable| -| | +---------------------------------------------+---------+ -| | | SYSTEM_TOKEN_CONTROLLER_ID | variable| -| +------------------------+---------------------------------------------+---------+ -| | Token | connection | property| -| | +---------------------------------------------+---------+ -| | | token | property| -| | +---------------------------------------------+---------+ -| | | controllerId | property| -| | +---------------------------------------------+---------+ -| | | constructor | variable| -| | +---------------------------------------------+---------+ -| | | createNewToken | method | -| | +---------------------------------------------+---------+ -| | | createNewAccount | method | -| | +---------------------------------------------+---------+ -| | | fetchTokenDetail | method | -| | +---------------------------------------------+---------+ -| | | fetchAccountDetail | method | -| | +---------------------------------------------+---------+ -| | | transfer | method | -| | +---------------------------------------------+---------+ -| | | approve | method | -| | +---------------------------------------------+---------+ -| | | revoke | method | -| | +---------------------------------------------+---------+ -| | | setOwner | method | -| | +---------------------------------------------+---------+ -| | | transferOperation | method | -| | +---------------------------------------------+---------+ -| | | approveOperation | method | -| | +---------------------------------------------+---------+ -| | | revokeOperation | method | -| | +---------------------------------------------+---------+ -| | | setOwnerOperation | method | -+---------------------------+------------------------+---------------------------------------------+---------+ - - - diff --git a/DApp-Dev-Guid.rst b/DApp-Dev-Guid.rst index e69de29..e503efc 100644 --- a/DApp-Dev-Guid.rst +++ b/DApp-Dev-Guid.rst @@ -0,0 +1,20 @@ +================== +DApp-Dev-Guid +================== + +How to develop a block explorer +================================= + +152525 + +How to develop a game on blockchain +===================================== + +14552 + + + +How to develop a web based wallet +======================================= + +415252154 \ No newline at end of file diff --git a/DApp-Dev-Reference.rst b/DApp-Dev-Reference.rst index 0bbec4b..de7b105 100644 --- a/DApp-Dev-Reference.rst +++ b/DApp-Dev-Reference.rst @@ -343,4 +343,27 @@ Bitconch-web3j | getLastestBlockhash | +----------------------------+ | fullnodeQuit | -+----------------------------+ \ No newline at end of file ++----------------------------+ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Installation.rst b/Installation.rst new file mode 100644 index 0000000..447bcfa --- /dev/null +++ b/Installation.rst @@ -0,0 +1,44 @@ + +====================== +Installation +====================== + +How to setup the testnet-node service +====================================== +something here.. + + +How to setup the blockexplorer +================================= +something here .. + +How to setup the faucet-wallet +================================ +something there + + +How to setup the web-based game +================================== +somethig here + + +How to create an account and get some tokens +============================================== +something here + +How to create a token (technical) +========================================= +something here + + +How to issue a toekn (non-technical) +===================================== +something here + + +How to create an DApp on Bitconch mainnet(technical) +====================================================== + something here + + + diff --git a/conf.py b/conf.py index e69de29..88a8519 100644 --- a/conf.py +++ b/conf.py @@ -0,0 +1,64 @@ +# Configuration file for the Sphinx documentation builder. +# +# This file only contains a selection of the most common options. For a full +# list see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Path setup -------------------------------------------------------------- + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# +# import os +# import sys +# sys.path.insert(0, os.path.abspath('.')) + + +# -- Project information ----------------------------------------------------- + +project = 'Bitconch' +copyright = '2019, cc' +author = 'Caesar Chad' + +# The full version, including alpha/beta/rc tags +release = '1.2' + + +# -- General configuration --------------------------------------------------- + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ +] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +# +# This is also used if you do content translation via gettext catalogs. +# Usually you set "language" from the command line for these cases. +language = 'zh_CN' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This pattern also affects html_static_path and html_extra_path. +exclude_patterns = [] + + +# -- Options for HTML output ------------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +import sphinx_rtd_theme +html_theme = "sphinx_rtd_theme" +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +#html_static_path = ['_static'] \ No newline at end of file diff --git a/how-to-creat-a-token-technical.rst b/how-to-creat-a-token-technical.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst b/how-to-creat-an-DApp-on-Bitconch-mainnet(technical).rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-creat-an-account-and-get-some-tokens.rst b/how-to-creat-an-account-and-get-some-tokens.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-develop-a-block-eploerer.rst b/how-to-develop-a-block-eploerer.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-develop-a-game-on-blackchain.rst b/how-to-develop-a-game-on-blackchain.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-develop-a-web-based-wallet.rst b/how-to-develop-a-web-based-wallet.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-issue-a-token(non-technical).rst b/how-to-issue-a-token(non-technical).rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-setup-the-blockexeplorer.rst b/how-to-setup-the-blockexeplorer.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-setup-the-facet-wallet.rst b/how-to-setup-the-facet-wallet.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-setup-the-testnet-node-service.rst b/how-to-setup-the-testnet-node-service.rst deleted file mode 100644 index e69de29..0000000 diff --git a/how-to-setup-the-web-based-game.rst b/how-to-setup-the-web-based-game.rst deleted file mode 100644 index e69de29..0000000 diff --git a/index.rst b/index.rst index 57b1ec8..0060e8a 100644 --- a/index.rst +++ b/index.rst @@ -3,7 +3,7 @@ Bitconch .. image:: logo.svg :width: 120px - :alt: bitconch logo + :alt: Bitconch logo :align: center With 100000 TPSs, Bitconch is the fastest basic public chain in the world, @@ -56,18 +56,6 @@ Contents .. toctree:: :maxdepth: 2 - how-to-setup-the-testnet-node-service.rst - how-to-setup-the-blockexplorer.rst - how-to-setup-the-faucet-wallet.rst - how-to-setup-the-web-based-game.rst - how-to-create-an-account-and-get-some-tokens.rst - how-to-create-a-token-technical.rst - how-to-issue-a-toekn(non-technical).rst - how-to-create-an-DApp-on-Bitconch-mainnet(technical).rst -DApp-Dev-Reference.rst - Bitconch-web3j.rst -DApp-Dev-Guide.rst - how-to-develop-a-block-explorer.rst - how-to-develop-a-game-on-blockchain.rst - how-to-develop-a-web-based-wallet.rst - \ No newline at end of file + Installation.rst + DApp-Dev-Guid.rst + DApp-Dev-Reference.rst \ No newline at end of file From 0de23ef30f17ed693843c9aaa94a85bbf39278dd Mon Sep 17 00:00:00 2001 From: cc-cara Date: Fri, 25 Oct 2019 20:49:31 +0800 Subject: [PATCH 20/20] Interface documentation of web3j --- DApp-Dev-Reference.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DApp-Dev-Reference.rst b/DApp-Dev-Reference.rst index de7b105..40b1516 100644 --- a/DApp-Dev-Reference.rst +++ b/DApp-Dev-Reference.rst @@ -306,13 +306,13 @@ Bitconch-web3j | | | from | method | +--------------------------+----------------------+-------------------------------------------+-----------------+ | src/util/send-and-confm- | | sendAndConfmNativeTxn | method | -| original-tx.js | | | | +| original-tx.js | | | | +--------------------------+----------------------+-------------------------------------------+-----------------+ | src/util/send-and-confm- | | sendAndConfmTxn | method | -| tx.js | | | | +| tx.js | | | | +--------------------------+----------------------+-------------------------------------------+-----------------+ -| src/util/send-and-confm- | | decodeLength | method | -| | +-------------------------------------------+-----------------+ +| src/util/shortvec- | | decodeLength | method | +| encoding.js | +-------------------------------------------+-----------------+ | | | encodeLength | method | +--------------------------+----------------------+-------------------------------------------+-----------------+ | src/util/sleep.js | | sleep | method |