You can see a list of available commands by typing on the command line:
cellframe-node-cli help [<command>]
Options:
Command - when writing a command (for example net), you can see advanced information on the specified command
You can find a list of chain in catalogs:
\var\lib\cellframe-node\etc\network<network_name> - Linux
C:\Users\Public\Documents\Cellframe-Node\etc\network<network_name> - Windows
Common Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-datum - Datum hash (data element).It can be indicated either in HEX format or in the format of BASE58 (-H HEX (Default) | Base58)
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
-serts - certificate name or certificate list (can be indicated through a comma: cert01, cert02, cert03)
-coins - number of coins (Datoshi)
Creation of a new block and cleaning memory if something was in it before
Command syntax:
block -net <net_name> -chain <chain name> New
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
Add the section of the blocks from the data ** Datum Hash ** taken from the mempool
Command syntax:
block -net <net_name> -chain <chain_name> New_datum_add <DATUM HASH>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-datum hash datum.Should be indicated in HEX format
Removing the section of blocks with a datum in ** Datum Hash ** format
Command syntax:
block -net <net_name> -chain <chain_name> New_datum_del <DATUM HASH>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-datum hash datum.Should be indicated in HEX format
Get a list of blocks
Command syntax:
block -net <net_name> -chain <chain_name> New_datum_list
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
Example:
cellframe-node-cli block List -net Backbone -chain Main
Backbone.main: have 3 blacks:
0xD3E07282FC1C4FC7333AEE789898BA17DF7659CA7B64047886FA12EDD82759C23: ts_create = Thu Apr 07 21:40:42 2022
0x12C505ECDC83320B59EA1A32DB01BF7FCF8A465AE6C203759DD82FD8728: TS_create = Mon APR 18 22:30:22 2022
0xCF7D793D4FC9DC0C34F000DFE07C5CF72C9884ED20FAA58FA417F5C46CCC6107: TS_create = TUE APR 19 09:47:24 2022
Show detailed information about the block
Command syntax:
block -net <Chain Net Name> -chain <Chain Name> dump <block Hash>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
<block HASH> - block hash.Must be indicated in HEX format.
Example:
cellframe-node-cli block -net Backbone -chain Main dump 0xd3e07282FC1C4FC7333AEE7898989DF7659CA7B6404786FA12edD82759C23
block 0XD3E07282FC1C4FC7333AEE7898BA177659CA7B647886FA12edD82759C23:
Version: 0x0001
Cell_id: 0x0000000000000000
Chain_id: 0x0000000000000002
TS_createD: Thu Apr 07 21:40:42 2022
Metadata.Count: 1S
Genesis
Datums: Count: 1
Datum: Datum_Size: 3713
Version: = 0x00
Type_id: = DATUM_TX
ts_create = Thu Apr 07 21:40:26 2022
Data_Size = 3698
Transaction: (EMIT) HASH: 0XECA1E788C30E76774AB976399397CDECE80EB758C907884CF13156C7244ECEB
TS Creed: Thu Apr 07 21:40:26 2022
Items:
Token:
Ticker: Cell
TOKEN_EMISSION_HASH: 0XADC1BCA0edFC119AEC8BC42D67A39544246D55501465B2EFE83164ABAFAC0
TOKEN_EMISSION_CHain_ID: 0x0000000000000000
In:
TX_PREV_HASH: BLANK
Tx_out_prev_idx: 0
Out:
Value: 1.0 (0000000000000000001000000000000000000)
Address: RJ7J7MIX2BWY8SNYWFYD9QSXKLRJ1ZXTACRIZSW6CFRRMVSUTMI5RYB18MISWPPHPPRN1DGQASY7PPAMPAMPAMPAMPAMPAMPVCTXQWJHHHG
Signature:
Type: SIG_DIL
Public Key Hash: 0x29E782873A61B5518981BD3738BE697AB540E3C8EB2D0766908AEA120F67ABBB
Public Key Size: 1196
Signature Size: 2266
Signatures: Count: 3
Type: SIG_DIL SIZE: 7062 PKEY_HASH: 0x6CabFCF62417083BB3A3F248631CA6EE018D250941089345868135D89A69A69A69A69A69A69A69A69A69A69A69A69A69A69A69A69A69A
Addr: RJ7J7MIX2BWY8SNYYKIH63DKFXDSAKHMAM9HRFRFRPNQWPSRGZAZO43DHVT1N6LX4B8RFDHUVUVUAENY4XAQ7BXAVZYAVZYCTCAJKH
Type: SIG_DIL SIZE: 7062 PKEY_HASH: 0xb97b3210FFBBAF0F2643A56AC255E3636375375BFAAE4264FD202F5
Addr: RJ7J7MIX2BWY8SNYAHNFXEGEEGEEGEEGEEGEEGEEGEEGEEGEEGEEGEGEGEGEGEGENNMPNNCPEKPMET23PLXPEKNWGXJMN6uis4HXB4FR5XZVSWNHXZHTRX
Type: SIG_DIL SIZE: 7062 PKEY_HASH: 0x29E782873A61B5518981BD3738BE697AB540EB2D0766908AEA120F67AB67AB67ABE
Addr: RJ7J7MIX2BWY8SNYXRJ6RKNW4T8DAM2QWSBKA9MWII59VTY5KZ1N51KAMCQBDUSPWNUMO7NAMO7NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN1SSZ5K8B3CT
Sign a new block using a certificate
Command syntax:
block_poa -net <net_name> -chain <chain_name> block Sign [-sert <private_Cert_name>]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-sert - the name of the private certificate.
Creating an event from Datum
Command syntax:
dag event create -net <Chain Net Name> -chain <Chain Name> -datum <DATUM HASH> [-H HEX | BASE58 (Default)]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-datum - block hash.It can be indicated either in HEX format or in the format of BASE58 (-H HEX (Default) | Base58)
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Example:
cellframe-node-cli dag event create -net Home21 -network -chain poablock_poa -datum 0xe803859777C2B674CF8011D9B7C324A6091BC9D0F51A2598388888888888888888888888L
Converted Datum 0XEE8038597777C2B674CF8011D9B7C324A609090C1791BC9D0F51A25983888F FROMPOOL to event in the New Forming Round
Adding a signature to the event in the ** event Hash ** format in round.new.The hash does not include other signs, so the hash events
It does not change after adding a sign to the event.
Command syntax:
Cellframe -Node dag event Sign -net <net_name> -chain <chain_name> -event <Avent hash>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-event - hash events.
Unloading the list of events from consensus dag_poa and dag_POS
Command syntax:
cellframe-node-cli dag event List -net <Chain Net Name> -chain <Chain Name> -from <events |events_LASTS |Threshold |Round.new
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-from - Ledger section, from where the events will be unloaded (events, events_lasts, Threshold, Round.new).Must be indicated in HEX format.
Example:
cellframe-node-cli dag event List -net Home21 -network -chain poablock_poa -from events
0x6adf1422D5BDA2FD1BC7742891792355179B452DE1E273C1EE3EC0783D5Ae4: TS_create = TUE APR 19 13:16:40 2022
0x1EBD2174EF9D2C9617F4FC020D8D06FC968AE58AE58A9CD12D38IB8746A4: TS_create = TUE APR 19 13:16:40 2022
0xd382B1FD41FCA8EF9456011F68AF017888BD69A640665B19D541E8846FE41CC: ts_create = Tue Apr 19 13:16:40 2022
..........................................................
Home21-network.poablock_poa have Total 109 events:
Viewing events in threshold
cellframe-node-cli dag event List -net Home21 -network -chain poablock_poa -from Threshold
dag Threshold events:
0x256F63B4C8E39888F9BCE621E9C636A283DD06E34F5A78FBBB9FE6B02DCFF72: ts_create = FRI APR 15 10:24:07 2022
0xf802A522941951E4847CD777DD4BBC7IB0E9774BB6FC5A37979780C60A3E383: TS_create = FRI APR 15 10:24:07:00 2022
0x6D5813D383D8622A2825E7024ED2410963580C03D36FEC4C65B41D5914541: TS_create = FRI APR 15 10:24:07 2022
0x7BB0B471BB19E555CF860E2A95591E619EB17CF10EE209778AF3763D8A8FBAD4B: ts_create = FRI APR 15 10:24:07 2022
View events in rounds
cellframe-node-cli dag event List -net Home21 -network -chain poablock_poa_rounds -from Round.new
Home21-network.poablock_poa_rounds: Found 1 Records:
0xb1a9887A6C8EE3F579FCB81D9D619AA67103E1A98E2B9CCDA1656F3F9DD9719B: ts_create = tue apr 19 09:07:09 2022
View events in events_lasts
cellframe-node-cli dag event List -net Home21 -network -chain poablock_poa -from events_Lasts
dag events from events_Lasts:
0x2a0e321CE6E923333336808F051C2D05B0D170040CA2547541525D97555924D06: TS_create = Mon APR 25 08:46:54 2022
Home21-network.poablock_poa have Total 1 events in events_lasts:
View detailed information about the event
Command syntax:
dag event dump -net <Chain Net Name> -chain <chain name> -event <Avent hash> -from <events |events_LASTS |Threshold |Round.new |Round. <Round ID in Hex >> [-H Hex | Base58 (Default)]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-from - Ledger section, from where the events will be unloaded (events, events_lasts, Threshold, Round.new).Must be indicated in HEX format.
-event - hash events.
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Get detailed information about the event from threshold
Example:
cellframe-node-cli dag event dump -event 0x256F63B4C89888F988F9IBCE621E9C636A283DD06E34F5A78FBB9FF7DCFFF72 -netWORK -chain POOA -FROM THREM
event 0x256F8F63B4C8E3988F9BCE621E9C636A283DD06E34F5A78FBB9FE6B02DCFF72:
Header:
Version: 0x00
Cell_id: 0x0000000000000000
Chain_id: 0x0000000000000030
TS_createD: FRI APR 15 10:24:07 2022
Hashes: Count: 1
HASH: 0xe01214A0D24C3CFF884C91B530DDD1928FBE57573BCC967DAE3389F11192
Datum: Datum_Size: 3713
Version: = 0x00
Type_id: = DATUM_TX
TS_create = FRI APR 15 10:24:07 2022
Data_Size = 3698
Signs: Count: 1
View detailed information about the event from the round
cellframe-node-cli dag event dump -net home21-network -chain poablock_poa_rounds -event 0xC3DBCE239C13DC9076E40711F31D51A87244D309EF24C3643F30E6D0DC5C3CC0 -from round.new
event 0xC3DBCE239C13DC9076E40711F31D51A87244D309EF24C3643F30E6D0DC5C3CC0:
Round info:
confirmations_minimum: 3
confirmations_timeout: 40
signs reject: 0
first_event_hash: 0xC3DBCE239C13DC9076E40711F31D51A87244D309EF24C3643F30E6D0DC5C3CC0
ts_update: Tue Apr 19 09:07:09 2022
Header:
version: 0x00
cell_id: 0x0000000000000000
chain_id: 0x0000000000000031
ts_created: Tue Apr 19 09:07:09 2022
hashes: count: 0
datum: datum_size: 3895
version:=0x00
type_id:=DATUM_TOKEN_DECL
ts_create=Tue Apr 19 09:07:09 2022
data_size=3880
signs: count: 1
type: sig_dil pkey_hash: 0xDA5DDEDF871D8C2CAFCB6D7AD121496404325C21E1C678415FAB0B83E66E224A
=== Datum Token Declaration ===
hash: 0x97361F993C64B06BD13C4E79F946DCA3380DD3B68108AB71E51D4E60A13D4B5F
ticker: TKN_DIL_B
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 000000000000000000000000000000000005000
signatures:
1) 0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23, sig_dil, 2366 bytes
cellframe-node-cli dag event dump -event 0x256F8F63B4C8E3988F9BCE621E9C636A283DD06E34F5A78FBBB9FE6B02DCFF72 -net home21-network -chain poablock_poa -from events_lasts
Can't find event 0x256F8F63B4C8E3988F9BCE621E9C636A283DD06E34F5A78FBBB9FE6B02DCFF72 in events_last table
Complete the performance of the round (the event for this should dial the number of signatures specified in the configuration file of Chain)
Command syntax:
dag Round Complete -net <Chain Net Name> -chain <Chain Name> -Mode "Verify_only"
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-Verify only - Verification of an event without writing to a chain file
Example:
cellframe-node-cli dag round complete -net home21-network -chain poablock_poa_rounds
Completing round:
event 0xB1A9887A6C8EE3F579FCB81D9D619AA67103E1A98E2B9CCDA1656F3F9DD9719B verification passed
event 0xB1A9887A6C8EE3F579FCB81D9D619AA67103E1A98E2B9CCDA1656F3F9DD9719B added in chain successfully
cellframe-node-cli dag round complete -net home21-network -chain poablock_poa_round -mode "verify only"
Completing round:
Error! event 0x80D8DAF86CC85A7A7D528482F4E8E6469853142FD7957CB71F1867AF3F2DBBA7 is not passing consensus verification, ret code -2
event 0xFA5AB3564F79514603A7AF5F491B76BB0A3AF9A9C1C8A204FFCCDA92E31F2A4B verification passed
Delete the event from Cheyne and return back to the mempool
Command syntax:
dag event cancel -net <Chain Net Name> -chain <chain name> -event <Avent hash>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-event - Hash of event.
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Example:
cellframe-node-cli dag event cancel -net Home21 -network -chain poa -event 0x6b2c567b686EF22BECDB83AE85B03A82610D6CD2BABF97FFA3597FFAFA
Successfly Removed event (Null) from the New Forming Round
Sign an event in the round
Command syntax:
dag_poa event SIGN -net <Chain Net Name> -chain <Chain Name> -event <event Hash> [-H Hex | Base58 (Default)]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-event - Hash of event.
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Example:
cellframe-node-cli dag_poa event sign -net home21-network -chain poablock_poa_rounds -event 0xC3DBCE239C13DC9076E40711F31D51A87244D309EF24C3643F30E6D0DC5C3CC0
Added new sign with cert "cert_event02", event 0xB1A9887A6C8EE3F579FCB81D9D619AA67103E1A98E2B9CCDA1656F3F9DD9719B placed back in round.new
Command syntax:
GDB_Export Filename <Filename without extension> [-groups <group names list>]
Options:
-filename - Filename Without Full Path to it.
Example:
Cellframe-Node -cli GDB_Export Filename DB.JSON
Database with the name "gdb.db" will be created in the directory VAR \ LIB \ Global_DB if you do not indicate another folder
The following messages will appear in the Log File of the Noda:
[INF] [chain_node_cli_cmd] Exporting group dag-home21-network-poablock_poa.rounds-0000000000000000-round.new.del, number of records: 2
[INF] [chain_node_cli_cmd] Exporting group local.ledger-cache.home21-network.txs, number of records: 20
[INF] [chain_node_cli_cmd] Exporting group local.ledger-cache.home21-network.balances, number of records: 1
[INF] [chain_node_cli_cmd] Exporting group local.ledger-cache.home21-network.emissions, number of records: 20
[INF] [chain_node_cli_cmd] Exporting group chain-gdb.home21-network.chain-F00000000000003F, number of records: 41
[INF] [chain_node_cli_cmd] Exporting group local.ledger-cache.home21-network.tokens, number of records: 2
[INF] [chain_node_cli_cmd] Exporting group dag-home21-network-poablock_poa.rounds-0000000000000000-round.new, number of records: 0
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-noconsensus.mempool.del, number of records: 41
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-noconsensus.mempool, number of records: 0
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-poablock_poa.mempool.del, number of records: 1
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-poablock_poa.mempool, number of records: 0
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-poablock_poa.rounds.mempool.del, number of records: 2
[INF] [chain_node_cli_cmd] Exporting group home21-network.chain-poablock_poa.rounds.mempool, number of records: 0
[INF] [chain_node_cli_cmd] Exporting group local.node.last.id, number of records: 3
[INF] [chain_node_cli_cmd] Exporting group local.general, number of records: 1
[INF] [chain_node_cli_cmd] Exporting group home21-network.nodes.aliases, number of records: 2
[INF] [chain_node_cli_cmd] Exporting group home21-network.nodes, number of records: 4
[INF] [chain_node_cli_cmd] Exporting group local.node-addr, number of records: 1
If there is a need for an export of a separate data group in the database, this can be specified additionally using the Groups key
Example:
Cellframe-node -cli gdb_export Filename db.json igroups homo21-network.nodes.aliases
[DBG] [chain_node_cli] execute command=gdb_export;filename;db.json;-groups;home21-network.nodes.aliases
[INF] [chain_node_cli_cmd] Exporting group home21-network.nodes.aliases, number of records: 2
Import of backups of the GDB from the JSON file
The syntax of the team:
cellframe-node-cli gdb_import filename <filename without extension>
Options:
-filename - название файла без указания полного пути к нему
Example:
cellframe-node-cli gdb_import filename db.json
The following messages will appear in the log-file of the noda
[DBG] [chain_node_cli] execute command=gdb_import;filename;db.json
[INF] [chain_node_cli_cmd] Group 0: dag-home21-network-poablock_poa.rounds-0000000000000000-round.new.del
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 1: local.ledger-cache.home21-network.txs
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 2: local.ledger-cache.home21-network.balances
[INF] [chain_node_cli_cmd] Group 3: local.ledger-cache.home21-network.emissions
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 4: chain-gdb.home21-network.chain-F00000000000003F
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 5: local.ledger-cache.home21-network.tokens
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 6: home21-network.chain-noconsensus.mempool.del
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 7: home21-network.chain-poablock_poa.mempool.del
[INF] [chain_node_cli_cmd] Group 8: home21-network.chain-poablock_poa.rounds.mempool.del
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 9: local.node.last.id
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 10: local.general
[INF] [chain_node_cli_cmd] Group 11: home21-network.nodes.aliases
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 12: home21-network.nodes
[DBG] [db_sqlite] Start TX l_conn: @00007ff73242f360
[DBG] [db_sqlite] End TX l_conn: @0000000000000000
[INF] [chain_node_cli_cmd] Group 13: local.node-addr
Preservation of the cache of the database from memory to a hard drive
Options:
There are no Options
The syntax of the team:
global_db flush
Example:
cellframe-node-cli global_db flush
Commit database and filesystem caches to disk completed.
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-cell - cell name
global_db cells add -cell <cell id>
Example:
cellframe-node-cli global_db cells add -cell cell01 -net home21-network -chain poablock_poa_rounds
can't create file for cell 0x0000000000000000 (0.dchaincell)
or
cell added successfully
Certificate signature
Command syntax:
Mempool Sign -cert <private_Cert_name> -net <net_name> -chain <chain_name> -file <filename>
[-Mime {<Signer_filename, signer_filename_short, signer_filesize, signer_date, signer_mime_magic> |<Signer_all_flags>}]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-file - file name
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-mime - signing the file and adding it to the mempool. Check can be found in chains by hash
Supported mime types:
{ "SIGNER_ALL_FLAGS", SIGNER_ALL_FLAGS },
{ "SIGNER_FILENAME", SIGNER_FILENAME },
{ "SIGNER_FILENAME_SHORT", SIGNER_FILENAME_SHORT },
{ "SIGNER_FILESIZE", SIGNER_FILESIZE },
{ "SIGNER_DATE", SIGNER_DATE },
{ "SIGNER_MIME_MAGIC", SIGNER_MIME_MAGIC }
Certificate signature
Command syntax:
mempool check -cert <priv_cert_name> -net <net_name> {-file <filename> | -hash <hash>}
[-mime {<SIGNER_FILENAME,SIGNER_FILENAME_SHORT,SIGNER_FILESIZE,SIGNER_DATE,SIGNER_MIME_MAGIC> | <SIGNER_ALL_FLAGS>}]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-filename - имя файла
-hash - хэш элемента
-mime
?: Synonym for "help"
Get a list of tokens
Command syntax:
Ledger List Coins -net <Network Name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli ledger list coins -net home21-network
Found 5 tokens in home21-network ledger
Token name 'TKN_DIL_M', type SIMPLE, flags: NO_FLAGS
Supply (current/total) 000000000000000000000000014999969999790/000000000000000000000000015000000000000
Auth signs (valid/total) 1/1
Total emissions 20
Token name 'TKN_DIL_N', type SIMPLE, flags: NO_FLAGS
Supply (current/total) 000000000000000000000000000000000005000/000000000000000000000000000000000005000
Auth signs (valid/total) 1/1
Total emissions 0
Token name 'TKN_DIL_P', type SIMPLE, flags: NO_FLAGS
Supply (current/total) 000000000000000000000000000000000005000/000000000000000000000000000000000005000
Auth signs (valid/total) 1/1
Total emissions 0
Token name 'tkn_8', type CF20, flags: ALL_ALLOWED
Decimals: 18
Auth signs (valid/total) 3/1
Total emissions 0
Token name 'tkn_prv', type PRIVATE, flags: ALL_ALLOWED
Supply (current/total) 000000000000000000000000000000000000000/000000000000000000000000000000000000000
Auth signs (valid/total) 3/1
Total emissions 0
Get the data from Ledger's trashhold (emissions and transactions)
Command syntax:
ledger list threshold [-hash <tx_treshold_hash>] -net <network name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Hash - Hash element
Example:
cellframe-node-cli ledger list threshold -net home21-network
Ledger thresholded tx_hash_fast0x981AB2D04C08AF74145B9553B81F161202233F05782D88EE886221C513A020DD, time_created:Tue, 19 Apr 22 10:32:58, tx_item_size: 3686
0 items in ledger emission threshold
Command syntax:
Ledger List Balance -net <Network Name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli ledger list balance -net home21-network
Ledger balance key: rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN TKN_DIL_M, token_ticker:TKN_DIL_M, balance:000000000000000000000000000000030000210
Ledger balance key: rMcg8v2uM2b71q9sXv1hMQfE8D1t4W7vYv3Qvne7vG7ydU2u9ntzvfbaQXkUkLanj2Gvmbu3GX1dxvhG1L2AeYva9tDVS4HhcF2qYriu TKN_DIL_A, token_ticker:TKN_DIL_A, balance:000000000000000000000000000000000001500
Ledger balance key: rMcg8v2uM2b71q9sXv1hMQfE8D1t4W7vYv3Qvne7vG7ydU2u9ntzvfbaQXkUkLanj2Gvmbu3GX1dxvhG1L2AeYva9tDVS4HhcF2qYriu TKN_DIL_B, token_ticker:TKN_DIL_B, balance:000000000000000000000000000000000001500
Ledger balance key: rMcg8v2uM2b71q9sXv1hMQfE8D1t4W7vYv3Qvne7vG7ydU2u9ntzvfbaQXkUkLanj2Gvmbu3GX1dxvhG1L2AeYva9tDVS4HhcF2qYriu TKN_DIL_C, token_ticker:TKN_DIL_C, balance:000000000000000000000000000000000003000
Command syntax:
Ledger Info -Hash <tx_hash> -net <net_name> [-unspent]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Hash - Hesh transactions
Get detailed information about transactions in Ledger
Command syntax:
Ledger TX -LL -net <NETWORK NAME>
Ledger TX [-Addr <DDDR> |-w <wallet name> |-tx <tx_hash>] [-chain <chain name>] -net <network name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-Addr - Wallet Address.
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-TX - hash transactions
Example:
cellframe-node-cli ledger tx -all -net home21-network
---------------
chain: poablock_poa
all history:
=== Datum Token Declaration ===
hash: 0xB247B98F0E7DBE3F6F92A767E05B88ED9C96E47321B4B43178912FB0269971FE
ticker: TKN_DIL_A
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 000000000000000000000000000000000005000
signatures:
1) 0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23, sig_dil, 2366 bytes
emission: hash 0x408AC2E73FB0687BBF78D4E84DD8C2C5205C7C415DB81947CB228AAD71B95FB8
0.000000000001500001(000000000000000000000000000000001500001) TKN_DIL_M, type: AUTH, version: 2
to addr: rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN
signs_count: 1
tsd_total_size: 0
signatures:
1) 0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23, sig_dil, 2249 bytes
---------------
tokens: 1
emissions: 20
transactions: 20
total datums: 41
Get detailed information about transactions conducted for these addresses
Example:
cellframe-node-cli ledger tx -addr rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN -net home21-network
chain: poablock_poa
history for addr rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN:
TX hash 0x12E69B08377189B9E13B77BE6C59BB9C27E0C91C1FBD08D2528FD6DEE6AA0D75
Tue Apr 19 13:16:40 2022
recv 404276376544 TKN_DIL_M from emission
TX hash 0x4104216203FD2F2F43F96601D4695A83046618D2B16D8CB9DB463E9F0D7A3DC9
Tue Apr 19 13:16:40 2022
recv 404276376544 TKN_DIL_M from emission
TX hash 0xEDD38B851B0C7D9206BE14C2372BE41F6AD05BB5EA3DA4F077EA1618437D1CFB
Tue Apr 19 13:16:41 2022
recv 404276376544 TKN_DIL_M from emission
Get detailed information about transactions conducted for these wallets
Example:
cellframe-node-cli ledger tx -w test02 -net home21-network
chain: poablock_poa
history for addr rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN:
TX hash 0x12E69B08377189B9E13B77BE6C59BB9C27E0C91C1FBD08D2528FD6DEE6AA0D75
Tue Apr 19 13:16:40 2022
recv 404226045184 TKN_DIL_M from emission
TX hash 0x4104216203FD2F2F43F96601D4695A83046618D2B16D8CB9DB463E9F0D7A3DC9
Tue Apr 19 13:16:40 2022
recv 404226045184 TKN_DIL_M from emission
TX hash 0xEDD38B851B0C7D9206BE14C2372BE41F6AD05BB5EA3DA4F077EA1618437D1CFB
Tue Apr 19 13:16:41 2022
cellframe-node-cli ledger tx -tx 0x9B95C5C054A1DF5C0A0B8D409767BF122CFDE2FFDF44C88D7A28EB4FF0FFD969 -net home21-network
---------------
chain: noconsensus
history for tx hash 0x9B95C5C054A1DF5C0A0B8D409767BF122CFDE2FFDF44C88D7A28EB4FF0FFD969:
Tue Apr 19 08:55:18 2022
OUT 256bit item 000000000000000000000000000000001500018 TKN_DIL_M to 1C6bZ1qZXzLmGL3kkvtLtRaQb5TnhW9hvP1ZyeFrER6msw5zq58TEoeGqheDHEieFBKdieMq5WJkF2hiTEoDh3reC1Mxeszy6x9eR6Th3
IN item
prev tx_hash Null
Command syntax:
Mempool_add_ca -net <net_name> [-chain <chain_name>] -ca_name <private_Cert_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-ca_name - name of the private certificate
Example:
First create a public certificate using the command
cellframe-node-tool cert create test_cert sig_dil
cellframe-node-tool cert create_cert_pkey test_cert test_cert_pub
Then this public certificate can be placed in a mempool
cellframe-node-cli mempool_add_ca -net home21-network -chain poablock_poa -ca_name test_cert_pub
In the Log File of the Noda you can see the message:
Datum with data's hash 0xD1C90C9F902DAB80B85F3C814C00C3FF8F2103E0E32087638D6552CCBBFAB586 was placed in mempool
You can see a certificate with a mempool (type Datum_ca)
cellframe-node-cli mempool_list -net home21-network
home21-network.poablock_poa: Found 1 records :
hash 0xF39814FDF682620DCD4335346184ABA006B91365C6A790B54881D22D40B800C6 : type_id=DATUM_CA data_size=1285 data_hash=0xE5C09A4C890C67040C9153EAB1F60273ED34AA94B9A9645B0FA19A2CC4080B5D ts_create=Wed Apr 20 11:26:03 2022
The syntax of the team:
mempool_delete -net <net name> -datum <datum hash>
Options:
-net is the name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
Example:
cellframe-node-cli mempool_delete -net home21-network -datum 0x2FF85DC34505CB156A7660633977304BC203B876A8427332039026F28B2FC997 -chain poablock_poa
Datum 0x2FF85DC34505CB156A7660633977304BC203B876A8427332039026F28B2FC997 deleted
Command syntax:
MemPool_List -net <net_name> [-chain <chain_name>] [-Addr <DDDR>]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-Addr - wallet address
Example:
cellframe-node-cli mempool_list -net home21-network
home21-network.poablock_poa: Found 2 records :
hash 0x2FF85DC34505CB156A7660633977304BC203B876A8427332039026F28B2FC997 : type_id=DATUM_TOKEN_DECL data_size=3880 data_hash=0xB247B98F0E7DBE3F6F92A767E05B88ED9C96E47321B4B43178912FB0269971FE ts_create=Wed Apr 20 11:23:53 2022
=== Datum Token Declaration ===
hash: 0xB247B98F0E7DBE3F6F92A767E05B88ED9C96E47321B4B43178912FB0269971FE
ticker: TKN_DIL_A
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 000000000000000000000000000000000005000
signatures:
1) 0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23, sig_dil, 2366 bytes
Command syntax:
Mempool_Check -net <net name> -datum <DATUM HASH>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-datum - Hash data element (Datum)
Command syntax:
MemPool_PROC -net <net name> -datum <DATUM HASH>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-datum - Hash data element (Datum)
Example:
cellframe-node-cli mempool_proc -net private -chain zero -datum 0x1F21F5AC0DF225ADDB4C95E25B2F6834617D423A9B5B95734C61E939F7A0F4D3
hash 0x1F21F5AC0DF225ADDB4C95E25B2F6834617D423A9B5B95734C61E939F7A0F4D3: type_id=DATUM_TOKEN_DECL ts_create=Thu Sep 30 09:02:06 2021
data_size=3411
Datum processed well. Removed datum from mempool
After performing the command, you can see that the Datum was removed from the membrane using the command
Example:
cellframe-node-cli mempool_list -net private -chain zero
private.zero: Not found records
Adding a public certificate to a membrane to prepare it for Chain
Command syntax:
chain_ca_pub -net <net_name> [-chain <chain_name>] -ca_name <private_cert_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-ca_name - name of the private certificate
Copying a public certificate in a membrane to prepare it for Chain:
Command syntax:
Chain_ca_copy -net <net_name> [-chain <chain_name>] -ca_name <pub_cert_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-ca_name - name of the private certificate
Display a list of all available networks or a list of all chains in the selected network
Command syntax:
Net List [Chains -net <Chain Net Name>]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli net list
Networks:
Backbone
core-t
home21-network
kelvpn-minkowski
mileena
subzero
cellframe-node-cli net list chains -net home21-network
Networks:
home21-network:
poablock_poa:
noconsensus:
Change the state of the node
Command syntax:
Net -net <Chain Net Name> [-Mode {update |all}] go {online |Offline |sync}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Mode - set the operating mode. The option "Update" is included by default - only new data in chain or GDB are updated. The "All" mode is updated from scratch
Go online - set the state of the network in online. Turn on all the connections (Links) of the nodes and connect to other Nodam on the network.
Go Offline - set the state of the network in Offline. Disconnect all connections (Links) and disconnect from other GCDs.
Go sync - start the process of synchronization of the node in the network
Example:
cellframe-node-cli net -net Backbone go online
Network "Backbone" going from state NET_STATE_SYNC_GDB to NET_STATE_ONLINE
cellframe-node-cli net -net Backbone go sync
Network "Backbone" resynchronizing
cellframe-node-cli net -net Backbone go offline
Network "Backbone" going from state NET_STATE_LINKS_CONNECTING to NET_STATE_OFFLINE
Get the current state of the node.Possible conditions
NET_STATE_OFFLINE
NET_STATE_LINKS_PREPARE
NET_STATE_LINKS_CONNECTING
NET_STATE_LINKS_ESTABLISHED
NET_STATE_SYNC_GDB
NET_STATE_SYNC_CHAINS
NET_STATE_ADDR_REQUEST
NET_STATE_ONLINE
The syntax of the team:
net -net <chain net name> get status
Options:
-net is the name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli net -net kelvpn-minkowski get status
Network "kelvpn-minkowski" has state NET_STATE_OFFLINE (target state NET_STATE_OFFLINE), cur node address AAAA::0000::0000::0000
Start the process of synchronization of the node (only chain, only GDB, or all at once)
Command syntax:
Net -net <Chain Net Name> [-Mode {update |all}] sync {all |GDB |chains}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Mode - set Specific Mode.Mode "Update" is by Defaulta when New Chains and GDB Are Updated.Mode "All" Updates EVERYTHING FROM ZERO
Sync All - Start Syncronization of GDB and Chains Simultaneousup
Sync GDB - Start GDB Syncronization
Sync Chains - Start Chains Syncronization
Example:
cellframe-node-cli net -net kelvpn-minkowski sync all
SYNC_ALL state requested to state machine. Current state: NET_STATE_OFFLINE
cellframe-node-cli net -net Backbone sync gdb
SYNC_GDB state requested to state machine. Current state: NET_STATE_OFFLINE
cellframe-node-cli net -net mileena sync chains
SYNC_CHAINS state requested to state machine. Current state: NET_STATE_OFFLINE
Statistics display for the specified network
Command syntax:
Net -net <Chain Net Name> Stats TX [-from <frome Time>] [-to <totime>] [-prev_Sec <Seconds>]
Net -net <Chain Net Name> Stats TPS [-from <frome Time>] [-to <totime>] [-prev_Sec <Seconds>]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-from - the initial time of the interval.Format <The year>-<mon>-<DAM> _ <MATUS>: <MINGS>: <second> or only <seconds>.For example, "2022-06-02_08: 25: 02"
-TO - the final time of the interval.Format <The year>-<mon>-<DAM> _ <MATUS>: <MINGS>: <second> or only <seconds>.For example, "2022-06-02_08: 25: 02"
-prev_Sec - period the current time minus the time specified in seconds
Example:
cellframe-node-cli net -net Backbone stats tx -prev_sec 9000000
Transactions statistics:
From: 2022-01-06_08:36:41 To:
Speed: -0.000 TPS
Total: 0
cellframe-node-cli net -net home21-network stats tps -prev_sec 9000000
Transactions per second peak values:
From: 2022-06-02_07:56:51 To: 2022-06-02_07:56:51
Speed: 55.126 TPS
Total: 2
View Links of Networks
Command syntax:
Net -net <Chain Net Name> Link {List |Add |DEL |Info |Establish}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
List - get a list of braces that are described in the configuration file of the network
Add - not implemented
del - not implemented
Info - not implemented
Disconnect_all - stop all network communications.Install the condition of the network Net_state_Offline
Example:
cellframe-node-cli net -net Backbone link list
Links 5:
0404::2022::0000::0000:
alias: 0.root.scorpion
cell_id: 0x0000000000000000
ext_ipv4:
ext_ipv6: ::
ext_port: 8079
state: (Undefined node client state)
0404::2022::0000::0001:
alias: 1.root.scorpion
cell_id: 0x0000000000000000
ext_ipv4:
ext_ipv6: ::
ext_port: 8079
state: SYNCED
0404::2022::0000::0002:
alias: 2.root.scorpion
cell_id: 0x0000000000000000
ext_ipv4:
ext_ipv6: ::
ext_port: 8079
state: ERROR
Adding certificates to the GDB group
If there is no command of the team, then the certificate was successfully added to the GDB group.
If you see the message "Database ACL Group Not Defined for this Network" (ACL database is not defined for the current network), you must add to Cellframe-node.cfg:
[auth]
type=ca
acl_accept_ca_gdb=test_sig_dil
The syntax of the team:
net -net <chain net name> ca add {-cert <cert name> | -hash <cert hash>}
net -net <chain net name> ca list
net -net <chain net name> ca del -hash <cert hash> [-H hex|base58(default)]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-sert - certificate name
-Hash - Hesh certificate
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Example:
cellframe-node-cli net -net home21-network ca add -cert cert_sig_dil
Display a list of certificates from the State Duma.You will see Hesh certificates that were added by the CA Add command
cellframe-node-cli net -net home21-network ca list
0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23
0xA52468D2B47E58ED921C723E2950F759873D6A2B217807E13B76A84F64CE853B
Delete certificates from the GDB according to the list
cellframe-node-cli net -net home21-network ca del -hash 0xEEBD60816B0143B03E9BEF49AF3F9F7288A19E896EAC181DF72B393B69510B23
Relating the cache Ledger on the current network
The syntax of the team:
net -net <chain net name> ledger reload
Example:
cellframe-node-cli net -net home21-network ledger reload
Search for the order
The syntax of the team:
net_srv -net <net_name> order find [-direction {sell | buy}] [-srv_uid <Service UID>] [-price_unit <price unit>][-price_token <Token ticker>]
[-price_min <Price minimum>] [-price_max <Price maximum>]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Direction - Order Type.Sell or Buy.
-SRV_UID - UID service, for example, for the VPN service, set 1
-price_unit - The parameter is set in accordance with the table:
Serv_unit_b (1): "byte";
Serv_unit_kb (2): "kilobyt";
Serv_unit_mb (3): "megabyte";
Serv_unit_Sec (16): "second";
Serv_unit_day (17): "Day";
Serv_unit_pcs (34): "parts";
-Price_TOKEN - TOKEN Name
-Price_MIN - search filter.Shows all orders with a price more and equivalent to a given
-Price_MAX - search filter.Shows all orders with a price of a smaller and equivalent given
Example:
cellframe-node-cli net_srv -net home21-network order find
Found 4 orders:
== Order 0x1CC4742EF78BD9DA69791F58F7892F6A839E63183EA7C0CA9302D85935AAD75E ==
version: 3
direction: SERV_DIR_SELL
srv_uid: 0x0000000000000001
price: 0.0000000000000001 (000000000000000000000000000000000000100)
node_addr: AAAA::0000::0000::0004
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x6F726465725F65787400
== Order 0x21414D043DD35D1EDD12E4F6EA8E5D6AF864F51184F73A01A9427F8E5650BB3A ==
version: 3
direction: SERV_DIR_SELL
srv_uid: 0x0000000000000001
price: 0.0000000000000001 (000000000000000000000000000000000000100)
node_addr: AAAA::0000::0000::0004
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x0
Removing the order
Command syntax:
Net_SRV -net <Chain Net Name> Order Delete -Hash <Order Hash>
Order Delete
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Hash - Hash order
````Example:```
cellframe-node-cli net_srv -net home21-network order delete -hash 0xF57D07B0AABF48E009774572B503E7139DA9816FE4EFF2CC3FE441C072F1457B
Deleted order 0xF57D07B0AABF48E009774572B503E7139DA9816FE4EFF2CC3FE441C072F1457B
Show detailed information about the order
Command syntax:
Net_SRV -net <Chain Net Name> Order dump -Hash <Order Hash>
Example:
cellframe-node-cli net_srv -net home21-network order dump -hash 0x21414D043DD35D1EDD12E4F6EA8E5D6AF864F51184F73A01A9427F8E5650BB3A
== Order 0x21414D043DD35D1EDD12E4F6EA8E5D6AF864F51184F73A01A9427F8E5650BB3A ==
version: 3
direction: SERV_DIR_SELL
srv_uid: 0x0000000000000001
price: 0.0000000000000001 (000000000000000000000000000000000000100)
node_addr: AAAA::0000::0000::0004
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x0
The team saves or deleys a static list of GCDs.Designed for a VPN module
Command syntax:
net_srv -net <chain net name> order static [save | delete | del]
Options:
-net - network name. List of networks can be found in <config_dir>\etc\network folder
save
delete
````Example:```
cellframe-node-cli net_srv -net home21-network order static save
cellframe-node-cli net_srv -net home21-network order static delete
cellframe-node-cli net_srv -net home21-network order static del
Command syntax:
net_srv -net <chain net name> order recheck
Options:
-net - network name. List of networks can be found in <config_dir>\etc\network folder
````Example:```
cellframe-node-cli net_srv -net home21-network order recheck
Создание ордера
The syntax of the team:
net_srv -net <chain net name> order create -direction {sell | buy} -srv_uid <Service UID> -price <Price>
-price_unit <Price Unit> -price_token <Token ticker> [-node_addr <Node Address>] [-tx_cond <TX Cond Hash>]
[-expires <Unix time when expires>] [-cert <cert name to sign order>]
[{-ext <Extension with params> | -region <Region name> -continent <Continent name>}]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Direction - type of order.Buying or sale.
-SRV_UID - uid service, for the VPN service, set 1.
-Price - the price of the service in Datoshi, for Serv_class_once Once completely for the service, for Serv_class_Permanent the price is set for unit
-Price_TOKEN - TOKEN Name
-price_unit - The parameter is set in accordance with the table:
Serv_unit_b (1): "byte";
Serv_unit_kb (2): "kilobyt";
Serv_unit_mb (3): "megabyte";
Serv_unit_Sec (16): "second";
Serv_unit_day (17): "Day";
Serv_unit_pcs (34): "parts";
-node_addr - address of the node that serves (if not indicated, the node can be any)
-tx_cond - Hash Index of Conditional Transaction Attached with Order
-ext - arbitrary Options in the string representation that can be used in the order
-expires -Unix -time in seconds, indicating when the order of the order is over
-sert - certificate name
-region - region (for example, country)
-continent - name of the continent. Possible options:
None
Africa
Europe
North America
South America
Southeast Asia
Asia
Oceania
Antarctica
````Example:```
cellframe-node-cli net_srv -net home21-network order create -direction sell -srv_uid 1 -price 100 -price_unit 0x00000002 -price_token tkn01 -node_addr AAAA::0000::0000::0004 -cert cert_sig_dil -continent Africa -region Zimbabwe
created order 0xBD51EF5C07765037480A9087AAF94EFA0156E57C4072DC35D07C8862501CFD6A
Add a new node to the network
The syntax of the team:
node add -net <net name> -addr {<node address> | -alias <node alias>} {-port <port>} -cell <cell id> {-ipv4 <ipv4 external address> | -ipv6 <ipv6 external address>}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - node address (set up by the SEED_NODES_ADDRS parameter in the network configuration file)
-alias - Noda name (set by the SEED_NODES_ALIASES parameter in the network configuration file)
-Port -a network port for connecting (usually installed in the configuration file of the Cellframe-node.cfg network Listen_Port_TCP)
-cell - ID cells
-IPV4 - address of the node in IPV4 format
-IPV6 - address of the node in IPV6 format
Example:
cellframe-node-cli node add -net core-t -addr 0000::0000::0000::0003 -alias Ubuntu01 -cell 0 -port 8079 -ipv4 104.248.41.92
node added
Delete the node from the network
node del -net <net name> -addr <node address> | -alias <node alias>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - node address (set up by the SEED_NODES_ADDRS parameter in the network configuration file)
-alias - Noda name (set by the SEED_NODES_ALIASES parameter in the network configuration file)
Example:
cellframe-node-cli node del -net core-t -addr 0000::0000::0000::0003
node deleted
cellframe-node-cli node del -net home21-network -alias Ubuntu01
node deleted
Add a connection to another node
The syntax of the team:
node link {add|del} -net <net name> {-addr <node address> | -alias <node alias>} -link <node address>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-add - добавить подключение к ноде
-del - удалить подключения к ноде
-addr - адрес ноды (настраивается параметром seed_nodes_addrs в конфигурационном файле сети)
-alias - имя ноды (настраивается параметром seed_nodes_aliases в конфигурационном файле сети)
````Example:```
cellframe-node-cli node link add -net home21-network -addr AAAA::0000::0000::0001 -link AAAA::0000::0000::0005
link added
cellframe-node-cli node link add -net home21-network -alias WIN11 -link AAAA::0000::0000::0005
link not added because it is already present
ДTo arise Alias to another node.Allows you to assign one and the same node several names
Command syntax:
node alias -net <net name> -addr <node address> -alias <node alias>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - node address (set up by the SEED_NODES_ADDRS parameter in the network configuration file)
-alias - Noda name (configured by the SEED_NODES_ALIASES parameter in the network configuration file)
````Example:```
cellframe-node-cli node alias -net home21-network -addr AAAA::0000::0000::0005 -alias WIN11_1
alias mapped successfully
cellframe-node-cli node alias -net home21-network -addr AAAA::0000::0000::0005 -alias WIN11_2
alias mapped successfully
created alias on already existing node (must be presented in network config file)
cellframe-node-cli node alias -net home21-network -addr AAAA::0000::0000::0004 -alias WIN11_3
cellframe-node-cli node link add -net home21-network -alias WIN11_3 -link AAAA::0000::0000::0004
create connecting type "Stream" indicating the address
Command syntax:
node connect {<node address> | -alias <node alias> | auto}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - node address (set up by the SEED_NODES_ADDRS parameter in the network configuration file)
-alias - Noda name (configured by the SEED_NODES_ALIASES parameter in the network configuration file)
Auto - connect to Nodes in the Seed_nodes_hostnames parameter of the network configuration file.The parameter works if the node was launched in auto-mode ([General] :: node_addr_type = auto in the configuration file of the network)
````Example:```
cellframe-node-cli node connect -net home21-network -alias WIN11
cellframe-node-cli node connect -net home21-network -address AAAA:0000:0000:0006
cellframe-node-cli node connect auto -net home21-network
Check the connection with the node.After a successful connection of the NOD will be added to the list of connected GCDs (Conn_List)
Command syntax:
node handshake {<node address> | -alias <node alias>}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - node address (set up by the SEED_NODES_ADDRS parameter in the network configuration file)
-alias - Noda name (configured by the SEED_NODES_ALIASES parameter in the network configuration file)
````Example:```
cellframe-node-cli node handshake -net home21-network -addr AAAA::0000::0000::0004
Connection already present
cellframe-node-cli node handshake -net home21-network -addr AAAA::0000::0000::0001
Connection established
cellframe-node-cli node handshake -net home21-network -alias Ubuntu01
Connection already present
cellframe-node-cli node handshake -net home21-network -alias Ubuntu02
Connection already present
node dump -net <net name> [ -addr <node address> | -alias <node alias>] [-full]
```Example:```
```ActionScript
cellframe-node-cli node dump -net kelvin-testnet
Node dump:
Got 12 records:
node address 890B::E11F::34F5::4A87 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address 1B4B::4160::66E5::D864 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address FD11::53AE::2C0E::72C1 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address 41CB::CCDE::96E8::32F9 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address 67BC::C114::26F1::2731 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address EE60::5770::CEEC::5390 cell 0x0000000000000000 ipv4 109.229.69.158 port: 8079 number of links 0
node address 68D9::0F8B::5D1F::6FA3 cell 0x0000000000000000 ipv4 0.0.0.0 port: 8079 number of links 0
node address FFFF::0000::0000::0001 cell 0x0000000000000000 ipv4 104.248.201.95 port: 8079 number of links 0
node address FFFF::0000::0000::0002 cell 0x0000000000000000 ipv4 167.99.133.102 port: 8079 number of links 0
node address FFFF::0000::0000::0003 cell 0x0000000000000000 ipv4 159.65.24.58 port: 8079 number of links 0
node address FFFF::0000::0000::0004 cell 0x0000000000000000 ipv4 67.207.80.51 port: 8079 number of links 0
node address FFFF::0000::0000::0005 cell 0x0000000000000000 ipv4 157.230.173.166 port: 8079 number of links 0
The team does not work under the Windows operating system.You must take IP-Address from the output of the team Cellframe-node -cli node dump````<br>
Command syntax:```
Send ICMP ECHO_REQUEST to network hosts:
ping [-c <count>] host
Options:
-c - count of ping request
host - ip address of host
Example:
cellframe-node-cli ping 167.99.133.102
ping 167.99.133.102 time=91.2 ms
The syntax of the team:
print_log [ts_after <timestamp >] [limit <line numbers>]
Options:
ts_after - Time in UNIX format (01.01.1970)
limit - The number of lines displayed
Example:
cellframe-node-cli print_log ts_after 1641886241 limit 100
[01/11/22-10:19:12] [DBG] [dap_config] Looking for config name cellframe-node...
[01/11/22-10:19:12] [DBG] [dap_config] Opened config cellframe-node
[01/11/22-10:19:12] [DBG] [main] Parsing command line args
[01/11/22-10:19:12] [ATT] [main] *** DEBUG MODE ***
[01/11/22-10:19:12] [DAP] [main] *** CellFrame Node version: 5-1.1 ***
[01/11/22-10:19:12] [ * ] [dap_events_socket] Initialized events socket module
[01/11/22-10:19:12] [ * ] [dap_timerfd] Initialized timerfd
The output information is to withdraw and trace packages to the network node
The syntax of the team:
traceroute host
Options:
host - The address of the node
Tracks the path to the network node along this path
The syntax of the team:
tracepath host
Options:
host - The address of the node
Before using the command, indicate the Datum conservation catalog in the [Resources] :: Datum_folder of the Network Configuration file, for example
[resources]
datum_folder=C:\Users\Public\Documents\cellframe-node\datums
Save the Datum from the mempool to the file
The syntax of the team:
srv_datum -net <chain net name> -chain <chain name> datum save -datum <datum hash>
Options:
-net - Time in UNIX format (01.01.1970)
-chain - The number of lines displayed
-datum - datum hash
Example:
cellframe-node-cli srv_datum -net home21-network -chain poablock_poa datum save -datum 0xF26F93299561336FBF2E19068BB238C347862D6A0D84484BD0DCC90D2F6A85DB
Restore the DATUM from the file to the mempool.
The syntax of the team:
srv_datum -net <chain net name> -chain <chain name> datum load -datum <datum hash>
Options:
-net -time in UNIX format (01.01.1970)
-chain - number of lines outputs
-datum - datum hash
Example:
cellframe-node-cli srv_datum -net home21-network -chain poablock_poa datum load -datum 0xF26F93299561336FBF2E19068BB238C347862D6A0D84484BD0DCC90D2F6A85DB
Datum custom 0xF26F93299561336FBF2E19068BB238C347862D6A0D84484BD0DCC90D2F6A85DB was successfully placed to mempool
Creating a new order indicating the number of tokens in Datoshi.The remuneration for the transaction as a percentage is returned to the address of the wallet specified in the command Options.
Command syntax:
srv_stake order create -net <net_name> -addr_hldr <addr> -token <token_ticker> -coins <value> -cert <priv_cert_name> -fee_percent <value>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-ADDR_HLDR -wallet address (YOU CAN IT USING CommAND: cellframe-node-cli Wallet Info -w Test01 -net Home21 -network)
-token - Token name
-Coins - number of coins
-sert - name of the private certificate
-fee_percent - remuneration for the transaction (as a percentage)
Example:
cellframe-node-cli srv_stake order create -net home21-network -token tkn_9 -coins 1 -cert test_cert -fee_percent 20.0 -addr_hldr rTDbDdeStfpodpLUeXUMuDdUUpHQhRHqrbgmytHtvrhQ1Fcjwb4kMyiBaw4rdvCyScwcyXa4uT14QNYaziaCipTcPjoDUgH1WhVP5KGj
Successfully created order 0xAA36BB3CA0E71DBC7C03AC3C32F386E949525DB78367AF758D4B8F7AE1963EAB
You can view detailed information about the newly created warrant using the Net_SRV command
cellframe-node-cli net_srv -net home21-network order dump -hash 0xAA36BB3CA0E71DBC7C03AC3C32F386E949525DB78367AF758D4B8F7AE1963EAB
== Order 0xAA36BB3CA0E71DBC7C03AC3C32F386E949525DB78367AF758D4B8F7AE1963EAB ==
version: 3
direction: SERV_DIR_BUY
srv_uid: 0x0000000000000013
price: 0.000000000000000001 (1)
node_addr: 4844::76D3::BB96::C636
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x01FFFFFFFF0000000002010000D955BEC7FD940FA2B8C921FCD5FCBE502802F1BA4595316B979FE94F3BDBC9943DD999817EB284AD693E612ACFE1829C7A069FF1FF30B9F4D361B2EE25BDB41801FEFFFFFFFFFFFFFF020100003BF63E5AEC213D2FCCF1B640BD4A2286F9ED5CDCE747F7A0C57DCDEF7946942D1FB847F73E5805F77A64531A8CC471167B6A8CACD7951724DDB056D6BF6D716E000000000000000000000000000000000000D01309468E150100000000000000
The creation of a new order with the specified amount of Datosh and the commission, which the holder is ready to put.
The syntax of the team:
srv_stake order declare -net <net_name> -wallet <wallet_name> -token <token_ticker> -coins <value> -fee_percent <value>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-wallet - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-token - name token
-Coins - number of coins
-FEE_percent - percentage remuneration
Removing the order
The syntax of the team:
srv_stake order remove -net <net name> -order <order hash> [-H {hex | base58(default)}]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-order - Hash order. Can be displayed using the Order List command
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Example:
cellframe-node-cli srv_stake order remove -net home21-network -order 0x3A4C9F2D8D7B01AD1C40F64201B5A1CA4EC470E6007F34594050676B53615792
Stake order successfully removed
Updating the order
```The syntax of the team:```
```ActionScript
srv_stake order update -net <net name> -order <order hash> {-cert <priv_cert_name> | -wallet <name>} [-H {hex | base58(default)}]{[-addr_hldr <addr>] [-token <ticker>] [-coins <value>] [-fee_percent <value>] | [-token <ticker>] [-coins <value>] -fee_percent <value>]}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-order - Order Hash. It CanDer List Command
-sert - certificate name
-wallet - the name of the wallet. The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
-Addr_hldr - wallet address
-token - name token
-Coins - number of coins
-FEE_percent - percentage remuneration
Example:
cellframe-node-cli srv_stake order update -net home21-network -order 0x4BE0B92AAB03FF2BF29243677E71A6B55BA2975072E3D99D5E7492D921AC0CB8 -token tkn_9 -coins 2 -addr_hldr rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy -cert test_cert -fee_percent 30.00
Successfully created order 0x3F97904D10DC9F756CC53351F444E7F1E4A5215B9CBC1E71905A7FA7C2403174
The syntax of the team:
srv_stake order list -net <net name>
Get the stake orders list within specified net name
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli srv_stake order list -net home21-network
0x3A4C9F2D8D7B01AD1C40F64201B5A1CA4EC470E6007F34594050676B53615792 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
0xE146DEBEC6FEA3A6DBB4647A7B5AF38654EE859A9F7E4B991FD98933E49DDCFC 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
0x4BE0B92AAB03FF2BF29243677E71A6B55BA2975072E3D99D5E7492D921AC0CB8 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
0xAA36BB3CA0E71DBC7C03AC3C32F386E949525DB78367AF758D4B8F7AE1963EAB 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
0x26C08A879745723226C5AEA3B7864D44E05ED14971E89E26F872DF2333D16FA7 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
0x880455704CF1361F6F9248408D9B6A839E44A26CE913B34D76023847B34FFC3D 1 tkn_9 rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy 20.0
Approve the transaction
The syntax of the team:
srv_stake approve -net <net name> -tx <transaction hash> -cert <root cert name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-TX-a hash of transactions (you can see transactions using the Cellframe-Node-Cli Srv_stake Transactions -net Home21-network)
-sert - certificate name
Example:
cellframe-node-cli srv_stake approve -net home21-network -tx 0x9AB1075CB4778569914BB808B87C6C6E657D7481254086D9CD2BAFC49409026D -cert test_cert
Delegation of tokens for these tokens inside the network indicating the address of the wallet for remuneration.
The syntax of the team:
srv_stake delegate -order <order hash> -net <net name> -wallet <wallet_name> -fee_addr <addr>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-order - Hash order
-wallet - Wildly address from which the transaction will be delegated
-Fee_addr - address of the wallet for remuneration for the transaction
Example:
cellframe-node-cli srv_stake delegate -net home21-network -order 0xA1619516A1BA6D8CC875103AF26E0554097C77C782DAE4011D0FE18F53C3D7CB -wallet test01 -fee_addr rMcg8v2uM2b71q9sX59aqy3v1quUmvrVaRSAkBJYoJHg94dZZ6zXhDR4LThN21ZGmCeVjZMrrNzarYdRkxLN8pcD4FuhPrgR7NGvHZSy
Stake transaction has done
Show a list of steak transactions
The syntax of the team:
srv_stake transactions -net <net name> {-addr <addr from>}
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-Addr - Address of Wallet (Filter Is Not Implemented Yet)
Example:
cellframe-node-cli srv_stake transactions -net home21-network
0x9AB1075CB4778569914BB808B87C6C6E657D7481254086D9CD2BAFC49409026D tkn_9 1 rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo rMcg8v2uM2b71q9sUmXEdm1tvQhTcUgAqL5SuWkxAiBeJjPydQ9mG6VVEsK7ytHMfGmNy7YpLT7GobXWvhkewffoKmL6MZSy5hvWqRGy rMcg8v2uM2b71q9sX59aqy3v1quUmvrVaRSAkBJYoJHg94dZZ6zXhDR4LThN21ZGmCeVjZMrrNzarYdRkxLN8pcD4FuhPrgR7NGvHZSy 20.0
cancel the transaction of the steak, indicating their hash
Command syntax:
srv_stake invalidate -net <net name> -tx <transaction hash> -wallet <wallet name>;
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-tx - hash of transactions (you can see transactions using the Cellframe-Node-Cli Srv_stake Transactions -net Home21-network)
-sert - certificate name
Example:
cellframe-node-cli srv_stake invalidate -net home21-network -tx 0x9AB1075CB4778569914BB808B87C6C6E657D7481254086D9CD2BAFC49409026D -wallet test01
Show the list of transactions of the exchange service
The syntax of the team:
srv_xchange tx_list -net <net_name> [-time_from <yymmdd> -time_to <yymmdd>][[-addr <wallet_addr> [-status closed | open] ]
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-time_from - a filter on the time of creating a transaction.All transactions will be displayed, starting from the specified time (220601)
-time_to - a filter on the time of creating a transaction.All transactions made before the specified time will be displayed (220623)
-Addr - wallet address
-status - state of transactions
Show a list of exchange service
The syntax of the team:
srv_xchange token_pair -net <net_name> list all
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Get an average rat for a pair token in ** token from **: ** token to ** with a temporary interval from ** from time ** to ** to time **.
All the time is indicated in the RFC822 standard.
Command syntax:
srv_xchange token_pair -net <net_name> price average -token_from <token_ticker> -token_to <token_ticker> [-time_from <From time>] [-time_to <To time>]
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-token_from - Tiken Tiker
-token_to - Tiken ticker
-time_from - a filter on the time of creating a transaction.All transactions will be displayed, starting from the specified time (220601)
-time_to - a filter on the time of creating a transaction.All transactions made before the specified time will be displayed (220623)
To derive the history of the course for the pair token in the ** token from **: ** token to ** with a temporary interval from ** from time ** to ** to time **.
All the time is indicated in the RFC822 standard.
Command syntax:
srv_xchange token_pair -net <net_name> price average -token_from <token_ticker> -token_to <token_ticker> [-time_from <From time>] [-time_to <To time>]
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-token_from - Tiken Tiker
-token_to - Tiken ticker
-time_from - a filter on the time of creating a transaction.All transactions will be displayed, starting from the specified time (220601)
-time_to - a filter on the time of creating a transaction.All transactions made before the specified time will be displayed (220623)
Bring a list of orders that were created using the Price create command in the specified network.
Command syntax:
srv_xchange orders -net <net name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli srv_xchange orders -net home21-network
0xF3C9A844C21F496AA2B63B3F2AC1D77AAE7B350D0B93FF4755682A810C318FE1 tkn01 home21-network tkn02 home21-network 000000000000000000000000000000000000002 1.000000
0x4EEF3D81A942523B405C38351B04BE141D17BC04465F83AA2115F1BEDF2AAF57 tkn02 home21-network tkn01 home21-network 000000000000000000000000000000000000003 1.000000
create a new order and send the specified number of Datos for exchange at the specified rate (purchase/sale)
Command syntax:
srv_xchange order create -net <net_name> -token_sell <token_ticker> -token_buy <token_ticker> -wallet <wallet_name> -value <value> -rate <value> -fee <value>
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-token_sell - Toker Toker for sale
-token_buy - Toker Tiken for purchase
-wallet - Name of a wallet
-value - number of coins in Datoshi
-rate - exchange rate. Used to calculate the cost of tokens. Formula Rate * TOKEN_AMOUNT
-Fee - remuneration size (in coins).In the case of an input of an erroneous value, it will be set at 0.1
Delete a warrant with the indicated Hash in the specified network
Command syntax:
srv_xchange order remove -net <net_name> -order <order_hash> -wallet <wallet_name>
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-order - Hash order.Can be displayed using the Order List command
-wallet - Name of a wallet
Update the order with the specified Hash in the specified network
Command syntax:
srv_xchange order update -net <net_name> -order <order_hash> -wallet <wallet_name> [-token_sell <token_ticker>] [-net_buy <net_name>]
[-token_buy <token_ticker>] [-coins <value>] [-rate <value>]
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-order - Hash order.Can be displayed using the Order List command
-wallet - Name of a wallet
-token_sell - Toker Toker for sale
-net_buy - a network in which a warrant is being created
-token_buy - Toker Tiken for purchase
-coins - number of coins (Datoshi)
-Rate - exchange rate. Used to calculate the cost of tokens. Formula Rate * TOKEN_AMOUNT
Show the history of transactions for the selected warrant
Command syntax:
srv_xchange order history -net <net_name> {-order <order_hash> | -addr <wallet_addr>}
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-order - Hash order.Can be displayed using the Order List command
-Addr - wallet address
Show the volume of non -distributed coins from the selected warrant and the percentage of its completion
Command syntax:
srv_xchange order status -net <net_name> -order <order_hash>
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-order - Hash order.Can be displayed using the Order List command
Enable the Exchange service
Command syntax:
srv_xchange enable
Example:
cellframe-node-cli srv_xchange enable
Turn off the Exchange service
Command syntax:
srv_xchange disable
Example:
cellframe-node-cli srv_xchange disable
Launch VPN connection
Command syntax:
vpn_client [start -addr <server address> -port <server port>| stop | status] -net <net_name>
Options:
-Addr - server address
-Port -a network port for connecting (usually installed in the configuration file of the Cellframe-node.cfg network Listen_Port_TCP)
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
Launch of a paid VPN connection
Command syntax:
vpn_client init -w <wallet_name> -token <token_ticker> -value <value> -net <net_name>
Options:
-w - purse name
-token - Token name
-value - number of coins in Datoshi
-net - Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
Stop VPN connection
Command syntax:
vpn_client stop -net <net_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Опрос текущего состояния VPN
Command syntax:
vpn_client status -net <net_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
VPN availability check
Command syntax:
vpn_client check -addr <ip addr> -port <port> -net <net_name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
VPN accessibility and statistics checking
```Command syntax:```
```ActionScript
vpn_client check result -net <net_name> [-H hex|base58(default)]
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-H - the format of the hash value for the command parameter. It can be either in HEX format: 0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5 or in Base58: Betcryb4arefsamtjars9dxydzasszdfkkh6
Print out the statistics of the node
Command syntax:
stats cpu
Example:
cellframe-node-cli stats cpu
CPU-0: nan% CPU-1: 49.999344% CPU-2: -0.000000% CPU-3: 100.000000% CPU-4: 0.582124%
CPU-5: 50.000000% CPU-6: nan% CPU-7: nan%
Total: 2.651515%
Get information about data elements (Datums) in which information about tokens is stored
Command syntax:
token info -net <network name> -name <token name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
-name - The name of token
Example:
cellframe-node-cli token info -net home21-network -name tkn_9
=== Datum Token Declaration ===
hash: DY88TMqNAbWJ5pkQCNcM4rgJp5wP3DV6GtqM5QwakDGT
ticker: tkn_9
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 5000
token certificate:
1) H4wX3dduVvVFwuFVWH14xzKXNNZjWrCW73tdu6zPkQz6, sig_dil, 2366 bytes
Get a list of tokens
Command syntax:
token list -net <network name>
Options:
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
cellframe-node-cli token list -net home21-network
=== Datum Token Declaration ===
hash: DPv4Ea3p4Gaz5sJPLyDdpVWLk4pZNAvJLcbwDsKCpFWA
ticker: tkn_10
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 5000
token certificate:
1) H4wX3dduVvVFwuFVWH14xzKXNNZjWrCW73tdu6zPkQz6, sig_dil, 2366 bytes
=== Datum Token Declaration ===
hash: DY88TMqNAbWJ5pkQCNcM4rgJp5wP3DV6GtqM5QwakDGT
ticker: tkn_9
size: 3880
type: SIMPLE
sign_total: 1
sign_valid: 1
total_supply: 5000
token certificate:
1) H4wX3dduVvVFwuFVWH14xzKXNNZjWrCW73tdu6zPkQz6, sig_dil, 2366 bytes
---------------
tokens: 2
Get detailed information about transactions
Command syntax:
token tx [all | -addr <wallet_addr> | -wallet <wallet_name>] -name <token_ticker> -net <net_name> [-page_start <page>] [-page <page>]
Options:
All - List All Transactions for Specific Tokens
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-name - Token name
-Addr - wallet address
-page_start - output filter.See the formula below
-page - output filter
Example:
cellframe-node-cli token tx all -net home21-network -name HOME21CH0 (can be arbitrary name now)
Chain: poablock_poa
transaction: (emit) hash: 83BXGQNNGCDA4HqXs2hZXwRCrwjK5iRnunxRgajogMnb
TS created: Thu Jan 01 03:00:00 1970
Token ticker: 1
Items:
TOKEN:
ticker: 1
token_emission_hash: 0xFB9AFE533C1C6A0438535307564B4B9F64406DDD63E75D77E8D9F4AF8A0D6CDA
token_emission_chain_id: 0x0000000000000000
IN:
Tx_prev_hash: 0x6890DDFE5D99A6823FDAF274D4496A36D2B9F8B496C20D21CF96E2AFA3C64C1C
Tx_out_prev_idx: 0
OUT:
Value: 150.000000000 (150000000000)
Address: rMcg8v2uM2b71q9sW2DZPL4m1Rj9wZmubR4eUGGVXrJdBVufbz3LnvsgbwPA2LwbY5guHVocjePVCXBBdonxiHpeC9sd3iaZTd6kJr5M
SIG:
sig_size: 3463
Signature:
Type: sig_dil
Public key hash: 0x655FD362C082DFE8A4432B96B9F7D031204F8DF368E55FDD4B1F5E06C6967031
Public key size: 1196
Signature size: 2253
The declaration of simple token
Command syntax:
token_decl -net <net_name> -chain <chain_name> -token <token_ticker> -total_supply <total supply> -signs_total <sign total> -signs_emission <signs for emission> -certs <certs list>
Options:
-net - is the name of the network. It can be either your network or one of the existing Cellframe networks (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain. In some zero networks - for tokens, Plasma - for transactions
-token - name token (length more than 9 symbols)
-serts - the name of the certificate (or many certificates - can be indicated through a comma)
-signs_total - maximum signatures that can be made for this token
-SIGNS_EMISSION - the number of signatures is sufficient for the issue (for Example, only 3 validator signatures from the maximum 5 set using SIGNS_TOTAL).With the number of signatures from 3 to 5, the token declaration will be successful.
-total_supply - maximum number of coins that can be released for the specified token
Example:
cellframe-node-cli token_decl -net home21-network -chain poablock_poa -token tkn_poablock_poa -total_supply 5000 -signs_total 1 -signs_emission 1 -certs cert_sig_dil
Datum 0xADB82F1512A0E37AAB7FFE1DF818B848680A8802154002DD63A344C542598457 with 256bit token tkn_poablock_poa is placed in datum pool
You can also declare private token with specified limits at addresses - the issue can be released only to these addresses:
Example:
cellframe-node-cli token_decl -net home21-network -chain poablock_poa -token tkn_poablock_poa -total_supply 5000 -signs_total 1 -signs_emission 1 -certs cert_sig_dil -type private -flags ALL_ALLOWED -tx_receiver_allowed rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo,rMcg8v2uM2b71q9sVkBngrWnjRwMcDoCiPwuzQrunMD2RDR6BRynGrPdhwHiEMdzGdz1urYwuMUKe8LJ6koSi5fgKkuJyhGjsba5xSwf
Datum 0xAA0D6F89088A088AF24C79F4BCFE61701B2F145027C99448DDB556470F19C539 with 256bit token tkn_poablock_poa is placed in datum pool
Extended declaration of private token
Command syntax:
token_decl -net <net_name> -chain <chain_name> -token <token_ticker> -type private -total_supply <total supply> -decimals <18> -signs_total <sign total>
-signs_emission <signs for emission> -certs <certs list> -flags [<Flag 1>][,<Flag 2>]...[,<Flag N>]...
[-<Param name 1> <Param Value 1>] [-Param name 2> <Param Value 2>] ...[-<Param Name N> <Param Value N>]
Options:
-net - name of the network.It can be either your network or one of the existing Cellframe networks (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain.In some zero networks - for tokens, Plasma - for transactions
-token - name token (length more than 9 symbols)
-serts - the name of the certificate (or many certificates - can be indicated through a comma)
-signs_total - maximum signatures that can be made for this token
-SIGNS_EMISSION - the number of signatures is sufficient for the issue (for Example, only 3 validator signatures from the maximum 5 set using SIGNS_TOTAL).With the number of signatures from 3 to 5, the token declaration will be successful.
-total_supply - maximum number of coins that can be released for the specified token
-decimals - the number of signs after aim.According to the standard, 18
-flags - installing flags for a token declaration. Options of flags are presented below
Expanded CF20 Token
Command syntax:
token_decl -net <net_name> -chain <chain_name> -token <token_ticker> -type CF20 -total_supply <total supply/if 0 = endless> -decimals <18> -signs_total <sign total> -signs_emission <signs for emission> -certs <certs list>
-flags [<Flag 1>][,<Flag 2>]...[,<Flag N>]...
[-<Param name 1> <Param Value 1>] [-Param name 2> <Param Value 2>] ...[-<Param Name N> <Param Value N>]
Options:
-net is the name of the network.It can be either your network or one of the existing Cellframe networks (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain.In some zero networks - for tokens, Plasma - for transactions
-token - name token (length more than 9 symbols)
-serts - the name of the certificate (or many certificates - can be indicated through a comma)
-signs_total - maximum signatures that can be made for this token
-SIGNS_EMISSION - the number of signatures is sufficient for the issue (for Example, only 3 validator signatures from the maximum 5 set using SIGNS_TOTAL).With the number of signatures from 3 to 5, the token declaration will be successful.
-total_supply - the maximum number of coins that can be released for the specified token.If indicated 0, then the value will be accepted for infinity.
-decimals - the number of signs after aim.According to the standard, 18
-flags - installing flags for a token declaration. Options of flags are presented below
Flags:
==Flags== ALL_blockED: заблокированы все разрешения, полезно сначала добавить их, а затем добавить разрешения, которые вы хотите разрешить
ALL_ALLOWED: разрешены все разрешения, если они не заблокированы. Будьте осторожны с этим режимом
ALL_FROZEN: все разрешения временно заморожены.
ALL_UNFROZEN: Разблокированные разрешения
STATIC_ALL: запрет манипуляций с токенами после объявлений. Токен объявляется статически и не может изменяться после
STATIC_FLAGS: запрет манипуляций с токенами после объявлений с флагами
STATIC_PERMISSIONS_ALL: Запрет изменения разрешений на токен после его декларации
STATIC_PERMISSIONS_DATUM_TYPE: Запрет изменения разрешённого списка датумов после декларации токена
STATIC_PERMISSIONS_TX_SENDER: Запрет изменения списка отправителей после декларации токена
STATIC_PERMISSIONS_TX_RECEIVER: Запрет изменения списка получателей после декларации токена
==Options==
General:
-flags <value>: Список флагов от <value> до объявления токена
-total_supply <value>: установить общее предложение - максимум выбросов - в <значение>
-total_signs_valid <value>: установить минимальное количество действительных подписей
Datum type allowed/blocked:
-datum_type_allowed <value>: Установить разрешенный тип(ы) датума
-datum_type_blocked <value>: Установить заблокированный тип(ы) датума
Tx receiver addresses allowed/blocked:
-tx_receiver_allowed <value>: Установить разрешенных получателей транзакций
-tx_receiver_blocked <value>: установить заблокированные получатели транзакций
Tx sender addresses allowed/blocked:
-tx_sender_allowed <value>: установить разрешенных отправителей транзакций
-tx_sender_blocked <value>: установить разрешенных отправителей транзакций
Command syntax:
token_decl_sign -net <net_name> -chain <chain_name> -datum <datum_hash> -certs <certs list>
You must install [Mempool] :: auto_proc = false in the configuration file of the Cellframe-node.cfg network.You can specify more than one certificate for the signature
Options:
-net-Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-datum - Hash Datum in Mempool
-certs - the name of the certificate (or many certificates - can be indicated through a comma)
Example:
cellframe-node-cli token_decl_sign -datum 0x924215DB04E4CCBFCDB051BB4A7DD1ADF1310108E2C765B60FC6FAEAB52037E1 -net home21-network -certs test_cert01
datum 0xCF33D3FE381A49E487095E997E56FF9CEA3F1CBC2FEDA49BD2EB0949DF25A84F is replacing the 0x924215DB04E4CCBFCDB051BB4A7DD1ADF1310108E2C765B60FC6FAEAB52037E1 in datum pool
cellframe-node-cli token_decl_sign -datum 0x330FAA25CBDC4843D7294ED372E71D2554A8BADD545DA7934DC13990CBDC4534 -net home21-network -certs test_cert02, test_cert03, test_cert04
datum 0xC2795906DAFEFF52420F34714B18D46A4084BB7A36850D787B9687F685F71E2A is replacing the 0x330FAA25CBDC4843D7294ED372E71D2554A8BADD545DA7934DC13990CBDC4534 in datum pool
create a token emission
Command syntax:
token_emit { sign | -token <mempool_token_ticker> -emission_value <value>
-addr <addr> [-chain_emission <chain_name>]
[-chain_base_tx <chain_name> | use flag '-no_base_tx' if you need create emission has no base transaction] }
-net <net_name> -certs <cert list>
Options:
-net is the name of the network.It can be your internal network or Cellframe network (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain_emission - Chain, which stored data on emissions (events).If the type of chain is None, the data is saved in the State Duma
-chain_base_tx - Chain, which stored data on transactions (events).If the type of chain is None, the data is saved in the State Duma
-token - token name (length cannot be more than 9)
-Addr - wallet address
-certs - the name of the certificate (or many certificates - can be indicated through a comma)
-emission_value - issue size
Example:
cellframe-node-cli token_emit -net home21-network -chain_emission poablock_poa -chain_base_tx poablock_poa -token tkn01 -certs cert_sig_dil -emission_value 123 -addr rMcg8v2uM2b71q9sVJbmwvqZ6UHwwJTSNyW17LZEQPjt1uX6wcB2cnXXkrn9AWxBRBc1UxKBQTXhtZSm4sXhzUurp6ka69aSvArKEqrw
Datum 0xFD090A3FE94BF2016BF09EBECBE2C728F264F50BD62B605CB03E0AD755E97E2A with 256bit emission is placed in datum pool
Datum 0x1B64670B1969A07E582D12E53E343CF9F3C2301836B7C1BA7DE21AE1B1DB8D6A with 256bit TX is placed in datum pool
Updating information about tokens
Command syntax:
token_update -net <net_name> -chain <chain_name> -token <existing token_ticker> -type private -total_supply <the same or more> -decimals <18>
-signs_total <the same total as the token you are updating> -signs_emission <the same total as the token you are updating> -certs <use the certificates of the token you are update>
-flags [<Flag 1>][,<Flag 2>]...[,<Flag N>]...
Options:
-net is the name of the network.It can be either your network or one of the existing Cellframe networks (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain.In some zero networks - for tokens, Plasma - for transactions
-token - name token (length more than 9 symbols)
-serts - the name of the certificate (or many certificates - can be indicated through a comma)
-signs_total - maximum signatures that can be made for this token
-SIGNS_EMISSION - the number of signatures is sufficient for the issue (for Example, only 3 validator signatures from the maximum 5 set using SIGNS_TOTAL).With the number of signatures from 3 to 5, the token declaration will be successful.
-total_supply - the maximum number of coins that can be released for the specified token.If indicated 0, then the value will be accepted for infinity.
-decimals - the number of signs after aim.According to the standard, 18
-flags - installing flags for a token declaration. Options of flags are presented below
Updating information about tokens
Command syntax:
token_update -net <net_name> -chain <chain_name> -token <existing token_ticker> -type CF20 -total_supply <the same or more/if 0 = endless> -decimals <18>
-signs_total <the same total as the token you are updating> -signs_emission <the same total as the token you are updating> -certs <use the certificates of the token you are update>
-flags [<Flag 1>][,<Flag 2>]...[,<Flag N>]...
[-<Param name 1> <Param Value 1>] [-Param name 2> <Param Value 2>] ...[-<Param Name N> <Param Value N>]
Options:
-net is the name of the network.It can be either your network or one of the existing Cellframe networks (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain.In some zero networks - for tokens, Plasma - for transactions
-token - name token (length more than 9 symbols)
-serts - the name of the certificate (or many certificates - can be indicated through a comma)
-signs_total - maximum signatures that can be made for this token
-SIGNS_EMISSION - the number of signatures is sufficient for the issue (for Example, only 3 validator signatures from the maximum 5 set using SIGNS_TOTAL).With the number of signatures from 3 to 5, the token declaration will be successful.
-total_supply - the maximum number of coins that can be released for the specified token.If indicated 0, then the value will be accepted for infinity.
-decimals - the number of signs after aim.According to the standard, 18
-flags - installing flags for a token declaration.Options flags are presented below
Flags:
General:
==Flags==
ALL_blockED: заблокированы все разрешения, полезно сначала добавить их, а затем добавить разрешения, которые вы хотите разрешить
ALL_ALLOWED: разрешены все разрешения, если они не заблокированы. Будьте осторожны с этим режимом
ALL_FROZEN: все разрешения временно заморожены.
ALL_UNFROZEN: Разблокированные разрешения
STATIC_ALL: запрет манипуляций с токенами после объявлений. Токен объявляется статически и не может изменяться после
STATIC_FLAGS: запрет манипуляций с токенами после объявлений с флагами
STATIC_PERMISSIONS_ALL: Запрет изменения разрешений на токен после его декларации
STATIC_PERMISSIONS_DATUM_TYPE: Запрет изменения разрешённого списка датумов после декларации токена
STATIC_PERMISSIONS_TX_SENDER: Запрет изменения списка отправителей после декларации токена
STATIC_PERMISSIONS_TX_RECEIVER: Запрет изменения списка получателей после декларации токена
==Options==
General:
-flags <value>: Список флагов от <value> до объявления токена
-total_supply <value>: установить общее предложение - максимум выбросов - в <значение>
-total_signs_valid <value>: установить минимальное количество действительных подписей
Datum type allowed/blocked:
-datum_type_allowed <value>: Установить разрешенный тип(ы) датума
-datum_type_blocked <value>: Установить заблокированный тип(ы) датума
Tx receiver addresses allowed/blocked:
-tx_receiver_allowed <value>: Установить разрешенных получателей транзакций
-tx_receiver_blocked <value>: установить заблокированные получатели транзакций
Tx sender addresses allowed/blocked:
-tx_sender_allowed <value>: установить разрешенных отправителей транзакций
-tx_sender_blocked <value>: установить разрешенных отправителей транзакций
Command syntax:
tracepath host
Options:
host - DNS or IP-address of host
Example:
cellframe-node-cli tracepath cellframe.net
You can see the conclusion in the logs
4: 185.140.148.31 (185.140.148.31) 26.485ms asymm 6
5: no reply
6: 95.71.2.226 (95.71.2.226) 50.845ms asymm 7
7: no reply
8: no reply
9: no reply
10: no reply
The team does not work in the Windows OS
Command syntax:
traceroute host
Options:
host - DNS or IP-address of host
The team does not work in the Windows OS
Example:
cellframe-node-cli traceroute 167.99.133.102
traceroute 167.99.133.102 hops=12 time=90.4 ms
Command syntax:
tx_cond_create -net <net_name> -token <token_ticker> -wallet <wallet_name> -cert <pub_cert_name> -value <value datoshi> -unit {mb | kb | b | sec | day} -srv_uid <numeric uid>
Options:
-net is the name of the network.It can be your internal network or Cellframe network (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-wallet - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-sert - certificate name
-value - number of coins in Datoshi
-unit - type of section
-SRV_UID - service identifier
Example:
cellframe-node-cli tx_cond_create -token TICK_TEST -wallet_f test01 -wallet_t test02 -value 2 -net private -unit kb -service vpn
cond create succefully hash=0x7B0A0DFD9691B3B013FAFBA6227645D0F6498C70F9F8E6B1538286856DCCD03E
Command syntax:
tx_create -net <net_name> -chain <chain_name> {-from_wallet <wallet_name> -token <token_ticker> -value <value> -to_addr <addr> | -from_emission <emission_hash>}
[-fee <addr> -value_fee <val>]
Options:
-net is the name of the network.It can be your internal network or Cellframe network (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minkowski, Milena, Subzero)
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-token - Token name
-from_wallet - the name of the wallet from which the translation will be completed
-value - number of coins
-to_addr - address of the wallet to which you need to make a translation
-from_emission - Hash emissions
-Fee - wallet address for transferring remuneration for the transaction
-value_fee - remuneration size (in coins).In the case of an input of an erroneous value, it will be set at 0.1
cellframe-node-cli tx_create -net private -chain zero -from_wallet test01 -to_addr rTDbDdeStfpodpLUevvYaxJBh2k739fjwusqtmAU72VoUCm88ERPw555jHXtrkoEGJfYEZ7Mmwssc3ajijG9eEqEZxV2FmZvYcvnAVZz -token TICK_TEST -value 1
transfer=Ok
tx_hash=0x4E6D540F86CD46CBFA551F219A04BA2248FF474BB795EB5B2C524299458AD709
cellframe-node-cli tx_create -net home21-network -chain noconsensus -from_wallet test_wallet_from -to_addr rMcg8v2uM2b71q9sV5BTmJHK8SQ51KGUqyaFxHYacPvDjRGPUhjeTGsFMUKwM2DJgQ345vzbWV7AsWfjhyEwmKND8dPj9MErkhz1AuqG -value 123555
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepared obj with key 0x9A7B4FE259C34B5BEA4C8D359A2869579924860B0EB0760AD904F2E149AE223F (value_len = 3761)
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepare tx 18
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Added input 0x9A7B4FE259C34B5BEA4C8D359A2869579924860B0EB0760AD904F2E149AE223F with 14999997776010 datoshi
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Found change back output, stored back in UTXO table
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepared obj with key 0xC5014070524BC6EBB5714339817299FC7CB28AFFD9829817C051FCD6A1E2E1BF (value_len = 3761)
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepare tx 19
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Added input 0xC5014070524BC6EBB5714339817299FC7CB28AFFD9829817C051FCD6A1E2E1BF with 14999997652455 datoshi
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Found change back output, stored back in UTXO table
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepared obj with key 0xCDBDEFE561C61A21996CDD68530784736C596704488F27B20A694187405E2A2A (value_len = 3761)
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Prepare tx 20
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Added input 0xCDBDEFE561C61A21996CDD68530784736C596704488F27B20A694187405E2A2A with 14999997528900 datoshi
[02/02/22-12:51:57] [DBG] [dap_chain_mempool] Found change back output, stored back in UTXO table
Command syntax:
tx_history {-addr <addr> | -w <wallet_name> | -tx <tx_hash>} -net <net_name> -chain <chain_name>
Options:
-net - Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-Addr - wallet address
-tx - hash transactions
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
Example:
cellframe-node-cli tx_history -w test01 -net private -chain zero
history for addr rTDbDdeStfpodpLUeXUMuDdUUpHQhRHqrbgmytHtvrhQ1Fcjwb4kMyiBaw4rdvCyScwcyXa4uT14QNYaziaCipTcPjoDUgH1WhVP5KGj:
empty
Command syntax:
tx_verify -net <net name> -chain <chain name> -tx <tx_hash>
Options:
-net- Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-tx - hash transactions
Example:
tx_verify -net home21-network -chain poablock_poa -tx 0xA23EA6B00EEDEB80B88612C88049ABA48225730AB72C02B31760D90A8F894324
Specified tx verify fail with return code=-111
Allows you to add a new transaction by loading its Options from the formed JSON file
JSON file format
Example:
{
"net" : "home21-network",
"chain" : "poablock_poa",
"items" : [ {
"type" : "in",
"prev_hash" : "0xB5A01C52D6AFAFD4860172F4057A9BDF5E7AAB5A5AD9BE574EA919DB27EFBC0B",
"out_prev_idx" : 2
}, {
"type" : "out",
"value" : "12345",
"addr" : "rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo"
},{
"type" : "sign",
"wallet" : "test01",
} ]
}
```Options:```
Options Net and Chain determine the network and chain to which the transaction will be added.The network and chain indicated on the command line have priority if they are indicated in the command and in the JSON file.
The ITEMS parameter is an array and it contains a list of transactions.
Type [String] defines the type of aytem, permissible values: in, out, out_ext, sign, in_cond, out_cond, receipt
There can be several aytemov of the same type.
Each type of aitem has its own additional Options.
Type in: Entrance
prev_hash [string] - hash of the previous transaction
OUT_PREV_IDX [int] - serial exit number in the previous transaction
type out: exit
Value [String] - number of Datoshi for sending
Addr [String] - recipient address
Type out_ext: Entrance extended
Value [String] - number of Datoshi for sending
Addr [String] - recipient address
token [string] - Token name
Type Sign: Signature
Wallet - a wallet for signing a transaction
CERT - certificate for transaction signature
One thing must be indicated, if there is both a wallet and a certificate, then a wallet is used
Type Receipt: Check
value [string] - the size of the board in Datoshi
unit [int] - the number of used units
price_unit [string] - what are the units, permissible values: MB, Bytes or B, SEC, Day, KB, PCS or Pieces are measured
Service_id [int] - ID of the service used, if not specified, then the service name is sought - Service.
Service [String] - the name of the service used, permissible values: SRV_VPN, SRV_XCHANGE, SRV_STAKE
The service must be specified
Params [String] - additional Options, this is an optional parameter
type in_cond: conditional entrance
prev_hash [string] - hash of the previous transaction
OUT_PREV_IDX [int] - serial exit number in the previous transaction
Receipt_idx [int] - serial number of checks (Receipt) in the transaction
type out_cond: conditional exit
Subtype [String] - defines the subtype of a conditional output, for each subtype its Options, permissible values: fee, srv_pay, srv_xchange, srv_stake
Subtype feat: a commission for tracing
value [string] - the size of the commission to Datoshi
Subtype SRV_Pay: RAY, currently used only for VPN service
value [string] - the size of the board in Datoshi
value_max_per_unit [string] - the maximum size of the board in Datoshi per unit
price_unit [string] - what are the units, permissible values: MB, Bytes or B, SEC, Day, KB, PCS or Pieces are measured
Service_id [int] - ID of the service used, if not specified, then the service name is sought - Service.
Service [String] - the name of the service used, permissible values: SRV_VPN, SRV_XCHANGE, SRV_STAKE
If the service is not specified, then the default service is used - srv_vpn
Params [String] - additional Options, this is an optional parameter
Subtype SRV_XCHANGE: XCHANGE, currently used only for the exchange service
value [string] - the size of the board in Datoshi
token [string] - Token name
Net [String] - Network name
Service_id [int] - ID of the service used, if not specified, then the service name is sought - Service.
Service [String] - the name of the service used, permissible values: SRV_VPN, SRV_XCHANGE, SRV_STAKE
If the service is not specified, then the default service is used - SRV_XCHANGE
Params [String] - additional Options, this is an optional parameter
Subtype SRV_STAKE: Stake, currently used only for the service service
value [string] - the size of the board in Datoshi
Fee [String] - Staker Commission
fee_addr [String] - Address of the recipient of the comic
HLDR_ADDR [String] - Holder's address
Signing_addr [String] - the address of the one who signs the transaction
Service_id [int] - ID of the service used, if not specified, then the service name is sought - Service.
Service [String] - the name of the service used, permissible values: SRV_VPN, SRV_XCHANGE, SRV_STAKE
If the service is not specified, then the default service is used - srv_stake
Params [String] - additional Options, this is an optional parameter
Example Json File with different aytems:
{
"net" : "kelvin-testnet",
"chain" : "zerochain",
"items" : [ {
"type" : "in",
"prev_hash" : "0xB5A01C52D6AFAFD4860172F4057A9BDF5E7AAB5A5AD9BE574EA919DB27EFBC0B",
"out_prev_idx" : 2
}, {
"type" : "out",
"value" : "12345",
"addr" : "RpiDC8c1SxrTF3aSu2VL4Pwu8beWMY8ur71TeiR6ViBdnvMQCKudoWkvT8BGFN2ycKnHSaGm5WrNccex2qiZjA4PoEicUmWJNvRQQJYN"
}, {
"type" : "out_ext",
"value" : "100000000000",
"addr" : "RpiDC8c1SxrTF3aSteGk3THSTbS7MYfNLsYKqUsKn9NpeHQ4mVuTB4w4NHKp4qGFH71vXXSFTbJgjDGvyyS3zAtMwjyy33WVtALJW52Z",
"token" : "COIN"
}, {
"type" : "receipt",
"value" : "1000",
"units" : 50,
"price_unit" : "sec",
"service" : "srv_stake",
"params" : "add Options"
}, {
"type" : "in_cond",
"prev_hash" : "0xE48B9C5BA30AD8E79525C3E1101EC5D6BE0837E1E44E1C8BA6D3C7B9CD077890",
"out_prev_idx" : 2,
"receipt_idx" : 0
}, {
"type" : "out_cond",
"subtype" : "fee",
"value" : "100000000000"
}, {
"type" : "out_cond",
"subtype" : "srv_pay",
"value" : "1000",
"value_max_per_unit" : "100000",
"price_unit" : "sec",
"service_id" : 1,
"service" : "srv_vpn",
"params" : "add Options"
}, {
"type" : "out_cond",
"subtype" : "srv_xchange",
"net" : "kelvin-testnet",
"service" : "srv_xchange",
"token" : "COIN",
"value" : "10000",
"params" : "add Options"
}, {
"type" : "out_cond",
"subtype" : "srv_stake",
"service" : "srv_xchange",
"value" : "1230000000",
"fee" : "1000",
"fee_addr" : "RpiDC8c1SxrTF3aStZGbD94opb1SaJHAfkvcASyHz9DTrDs739WfvjJDLLGsvHJr8jb7tyiFkasuMFCgx1kjbXEFLV3G7YFQGV5ubaJK",
"hldr_addr" : "RpiDC8c1SxrTF3aSteGk3THSTbS7MYfNLsYKqUsKn9NpeHQ4mVuTB4w4NHKp4qGFH71vXXSFTbJgjDGvyyS3zAtMwjyy33WVtALJW52Z",
"signing_addr" : "RpiDC8c1SxrTF3aSteGk3THSTbS7MYfNLsYKqUsKn9NpeHQ4mVuTB4w4NHKp4qGFH71vXXSFTbJgjDGvyyS3zAtMwjyy33WVtALJW52Z",
"node_addr" : "F2F1::AC00::0000::0001",
"params" : "add Options"
}, {
"type" : "sign",
"wallet" : "myk",
}, {
"type" : "sign",
"cert" : "mypvt"
} ]
}
Command syntax:
tx_create_json [-net <net name>] [-chain <chain name>] -json <json file path>
Options:
-net - Name of the Cellframe Network. The List of Networks Can Be Found in the <Config_dir> \ etc \ Network Folder Or Receved by The Cellframe-Node-net List List Commandd
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-json - full path to json file
Notes:
If the network is not indicated, then it should be in the json file
If Chain is not specified, then the transaction is created in the default, transaction for transactions
JSON file contains all the information about the transaction created
Example:
cellframe-node-cli tx_create_json -json /home/dev/cellframe-node/tx.json
cellframe-node-cli tx_create_json -json /home/dev/cellframe-node/tx.json -net kelvin-testnet
cellframe-node-cli tx_create_json -json /home/dev/cellframe-node/tx.json -net kelvin-testnet -chain plasma
Command syntax:
cellframe-node-cli version
Example:
cellframe-node-cli version
cellframe-node version 5-1.310
Creating a wallet
Command syntax:
wallet new -w <wallet_name> [-sign <sign_type>] [-restore <hex_value>] [-net <net_name>] [-force] [-password <password>] [-restore <hash>]
Options:
-net is the name of the network.It can be your network or Cellframe (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minki, Milena, Subzero)
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-sign - types of cryptographic algorithms:
sig_bliss
sig_picnic
sig_dil
sig_tesla (Forbidden)
sig_multi2
sig_multi
-Force - to recreate the wallet if it was created earlier
-w - the name of the wallet. The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-Restore -HEX meaning of the SEED wallet parameter (a new wallet will be created with this parameter)
-Addr - wallet address
-Password - wallet password. This option is given at the discretion of the user when creating a wallet and is not mandatory
Example:
cellframe-node-cli wallet new -w new_wallet -sign sig_dil
cellframe-node-cli wallet new -w new_wallet -sign sig_picnic
cellframe-node-cli wallet new -w new_wallet -sign sig_bliss
Wallet 'new_wallet' (type=sig_dil) successfully created
Restoring the wallet.To perform the operation, you should know the SEED, which was to use to create a wallet
Command syntax:
wallet new -w <wallet_name> [-sign <sign_type>] [-restore <hex_value>] [-net <net_name>] [-force] [-password <password>] [-restore <hash>]
Options:
-net is the name of the network.It can be your network or Cellframe (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minki, Milena, Subzero)
-chain - the name of Chain. The list of chain can be found in the directory <ffig_dir> \ etc \ network \ <network_name> or get the Cellframe-Node-App Net List Chains command
-sign - types of cryptographic algorithms:
sig_bliss
sig_picnic
sig_dil
sig_tesla (запрещён)
sig_multi2
sig_multi
-Force - to recreate the wallet if it was created earlier
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-Restore -HEX meaning of the SEED wallet parameter (a new wallet will be created with this parameter)
-Addr - wallet address
Example:
cellframe-node-cli wallet new -w new_wallet01 -sign sig_dil -restore 0x12345 -force
Wallet 'new_wallet' (type=sig_dil) successfully created
The output of the list of purse names.If you indicate the name of the network, you will additionally see the addresses of the wallets
Command syntax:
wallet list -net <net_name>
Options:
-net - Network name. It can be your network or Cellframe network (Backbone, core-t, kelvin-testnet, kelvpn-minkowski, mileena, subzero)
Example:
cellframe-node-cli wallet list
wallet: test01
wallet: test02
wallet: test03
wallet: test04
wallet: test05
cellframe-node-cli wallet list -net home21-network
wallet: test01
addr: rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo
wallet: test02
addr: rMcg8v2uM2b71q9sUbvXszNvhuhwxXnjEPtsyP3332RnXmS9HadnUNGGXsqdaYDE2C1im4P4pFgaqoR2Y2YP5Ga9Hwvoe8eKcmpNZqRN
wallet: test03
addr: rMcg8v2uM2b71q9sTjdHHeicsqLB9wH7zL9GhMKHTdWgHS2ZhR7w5XcJRD1x5VgQKLSgNwAsuBGyY3BNVtFdJ7sKH2vdAnEwSKMqiAmQ
wallet: test04
addr: rMcg8v2uM2b71q9sX4vZcRMeRbS5utoWHzFRb43cPu6CsMzK8Mgksqp6uSfVsw44cBzgxhzK9wkhQSuHFu1jC1G57is6AGtRUYM2ro4J
wallet: test05
addr: rMcg8v2uM2b71q9sTeL16UpTkoZBzawVqzk8UyHN9Zaq2KBzLPgM3EqpHGLFfrC51LfPz8hhyFRVrxEYGHQ5H6sAmnsTWVC9Q1KBYRaM
Get information about the wallet
Command syntax:
wallet info -addr <addr> -w <wallet_name> -net <net_name>
Options:
-net - name of the network.It can be your network or Cellframe (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minki, Milena, Subzero)
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-Addr - wallet address
Example:
cellframe-node-cli wallet info -w test01 -net home21-network
wallet: test01
addr: rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo
network: home21-network
balance:
0.000000000000000119 (119) tkn_9
cellframe-node-cli wallet info -addr rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo -net home21-network
addr: rMcg8v2uM2b71q9sVwFt2tvEM9qAnrQT2dNeKHhrrq3mPFKsL7LgA4z2ahfJ6PYFhsJUgLjEyQvmF3aLUdsRBtvhyNmLe5JJEbeUCUNo
network: home21-network
balance:
0.000000000000000119 (119) tkn_9
Unlock a private wallet
Command syntax:
wallet activate -w <wallet_name> -password <password> [-ttl <password_ttl_in_minutes>]
Options:
-w - the name of the wallet.The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-password - wallet password
-ttl - duration of unlocking in minutes
Unlock a private wallet
Command syntax:
wallet deactivate -w <wallet_name> -password <password>
Options:
-w - the name of the wallet. The list of wallets can be obtained using the Cellframe-Node-Cli Wallet List -net <Network_name> command
-password - wallet password
Removing SyD synchronization files
Command syntax:
remove -gdb
Options:
-gdb - key indicates the deletion of database files
Deleting chain synchronization files
Command syntax:
remove -chains [-net <net_name> | -all]
Options:
-chain - the key indicates the deletion of Cheynov files
-net - name of the network. It can be your network or Cellframe (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minki, Milena, Subzero)
-all - removal of chain of all networks
This function is needed to work with Explorer Kesh
Command syntax:
reload -net <net_name> -chain <chain_name> or -txs
Options:
-chain - the key indicates the deletion of Cheynov files
-net - name of the network.It can be your network or Cellframe (Backbone, Core-T, Kelvin-Testnet, Kelvpn-Minki, Milena, Subzero)
-txs - the key triggers all transactions
Show a list of plugins
```Command syntax:```
```ActionScript
plugins list
Show information about the plugin
```Command syntax:```
```ActionScript
plugins show --name <name_plugin>
Options:
--name - name of plugins
Reload all the plugins
```Command syntax:```
```ActionScript
plugins restart
Reloading of the specified plugin
```Command syntax:```
```ActionScript
plugins reload --name <name_plugin>