From af74c0a31480e5fac36b570dd5e50663fcc6c9ad Mon Sep 17 00:00:00 2001 From: smk762 Date: Tue, 5 Aug 2025 22:42:32 +0800 Subject: [PATCH 1/6] update v2 utils for CompactTable --- data-for-gpts/all-content.txt | 16 +- .../komodefi-api/all-api-content.txt | 14 +- .../komodefi-api/legacy-api-content.txt | 2 +- .../komodefi-api/v20-api-content.txt | 8 +- .../komodo-defi-framework-content.txt | 14 +- filepathSlugs.json | 261 +++-- .../komodo_defi.postman_collection.json | 4 +- src/data/sidebar.json | 56 +- src/data/tables/v2/utils.json | 1043 +++++++++++++++++ .../common_structures/activation/index.mdx | 1 - .../api/common_structures/index.mdx | 1 - .../api/common_structures/lightning/index.mdx | 2 +- .../api/common_structures/nfts/index.mdx | 1 - .../api/common_structures/orders/index.mdx | 5 +- .../api/common_structures/swaps/index.mdx | 1 - .../swaps/maker_events/index.mdx | 13 +- .../swaps/taker_events/index.mdx | 24 +- .../api/common_structures/wallet/index.mdx | 8 +- src/pages/komodo-defi-framework/api/index.mdx | 370 +++--- .../api/legacy/coin_activation/index.mdx | 4 +- .../api/legacy/kmd_rewards_info/index.mdx | 22 +- .../api/legacy/my_tx_history/index.mdx | 2 +- .../api/legacy/stop/index.mdx | 17 +- .../task_managed/enable_bch/index.mdx | 2 +- .../task_managed/enable_eth/index.mdx | 2 +- .../task_managed/enable_utxo/index.mdx | 2 +- .../clear_nft_db/index.mdx | 2 +- .../utils/add_node_to_version_stat/index.mdx | 102 +- .../utils/change_mnemonic_password/index.mdx | 30 +- .../api/v20/utils/get_current_mtp/index.mdx | 35 +- .../api/v20/utils/get_enabled_coins/index.mdx | 79 +- .../api/v20/utils/get_mnemonic/index.mdx | 90 +- .../api/v20/utils/get_public_key/index.mdx | 21 +- .../v20/utils/get_public_key_hash/index.mdx | 34 +- .../api/v20/utils/get_shared_db_id/index.mdx | 48 + .../api/v20/utils/get_token_info/index.mdx | 88 +- .../api/v20/utils/index.mdx | 25 +- .../api/v20/utils/message_signing/index.mdx | 31 +- .../message_signing/sign_message/index.mdx | 71 +- .../message_signing/verify_message/index.mdx | 63 +- .../peer_connection_healthcheck/index.mdx | 22 +- .../remove_node_from_version_stat/index.mdx | 34 +- .../api/v20/utils/send_asked_data/index.mdx | 63 + .../start_version_stat_collection/index.mdx | 34 +- .../stop_version_stat_collection/index.mdx | 56 +- .../task_connect_metamask/cancel/index.mdx | 67 ++ .../v20/utils/task_connect_metamask/index.mdx | 12 + .../task_connect_metamask/init/index.mdx | 51 + .../task_connect_metamask/status/index.mdx | 77 ++ .../utils/task_init_trezor/cancel/index.mdx | 66 ++ .../api/v20/utils/task_init_trezor/index.mdx | 476 +------- .../v20/utils/task_init_trezor/init/index.mdx | 64 + .../utils/task_init_trezor/status/index.mdx | 238 ++++ .../task_init_trezor/user_action/index.mdx | 104 ++ .../utils/trezor_connection_status/index.mdx | 53 + .../update_version_stat_collection/index.mdx | 54 +- .../api/v20/wallet/delete_wallet/index.mdx | 2 + .../api/v20/wallet/task_managed/index.mdx | 8 +- .../setup/configure-mm2-json/index.mdx | 2 +- .../telegram-alerts}/index.mdx | 24 +- .../index.mdx | 2 +- utils/_allMdxFileContentTree.json | 2 +- utils/gen_api_methods_table.py | 89 +- utils/run_tests.sh | 12 +- 64 files changed, 2974 insertions(+), 1252 deletions(-) create mode 100644 src/data/tables/v2/utils.json create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/get_shared_db_id/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/send_asked_data/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/init/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/status/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/index.mdx create mode 100644 src/pages/komodo-defi-framework/api/v20/utils/trezor_connection_status/index.mdx rename src/pages/komodo-defi-framework/{api/v20/utils/telegram_alerts => setup/telegram-alerts}/index.mdx (53%) diff --git a/data-for-gpts/all-content.txt b/data-for-gpts/all-content.txt index fe5daf938..80a8788b1 100644 --- a/data-for-gpts/all-content.txt +++ b/data-for-gpts/all-content.txt @@ -34562,8 +34562,8 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods: | | [delete\_wallet](/komodo-defi-framework/api/v20/wallet/delete_wallet/#delete-wallet) | | | | [disable](/komodo-defi-framework/api/v20/streaming/disable/#disable) | | | [disable\_coin](/komodo-defi-framework/api/legacy/disable_coin/#disable-coin) | | | -| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) | | | -| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) | | | +| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) | | | +| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) | | | | | [enable\_bch\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_bch_with_tokens/#enable-bch-with-tokens) | | | | [enable\_erc20](/komodo-defi-framework/api/v20/coin_activation/enable_erc20/#enable-erc20) | | | | [enable\_eth\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_eth_with_tokens/#enable-eth-with-tokens) | | @@ -39289,7 +39289,7 @@ export const description = The `my_tx_history` method returns the blockchain transactions involving the Komodo DeFi Framework API node's coin address. -The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) call. +The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) call. This method is deprecated and is incompatible with coins activated in HD mode. Use the [v2 my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/) method instead. @@ -44936,7 +44936,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_bch::user\_action {{label : 'task::enable_bch::user_action', tag : 'API-v2'}} @@ -45342,7 +45342,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_eth::user\_action {{label : 'task::enable_eth::user_action', tag : 'API-v2'}} @@ -46344,7 +46344,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_utxo::user\_action {{label : 'task::enable_utxo::user_action', tag : 'API-v2'}} @@ -55905,7 +55905,7 @@ Possible "In progress" Cases: } ``` -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} @@ -69554,7 +69554,7 @@ curl --url "http://127.0.0.1:7783" --data "{\"method\":\"stop\",\"userpass\":\"$ stdbuf -oL nohup ./kdf ``` -* Enable the coins involved in the swap using the [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) command +* Enable the coins involved in the swap using the [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) command ```bash curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"RICK\",\"servers\":[{\"url\":\"electrum1.cipig.net:10017\"},{\"url\":\"electrum2.cipig.net:10017\"},{\"url\":\"electrum3.cipig.net:10017\"}]}" diff --git a/data-for-gpts/komodefi-api/all-api-content.txt b/data-for-gpts/komodefi-api/all-api-content.txt index cc6814dce..72209587e 100644 --- a/data-for-gpts/komodefi-api/all-api-content.txt +++ b/data-for-gpts/komodefi-api/all-api-content.txt @@ -3486,8 +3486,8 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods: | | [delete\_wallet](/komodo-defi-framework/api/v20/wallet/delete_wallet/#delete-wallet) | | | | [disable](/komodo-defi-framework/api/v20/streaming/disable/#disable) | | | [disable\_coin](/komodo-defi-framework/api/legacy/disable_coin/#disable-coin) | | | -| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) | | | -| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) | | | +| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) | | | +| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) | | | | | [enable\_bch\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_bch_with_tokens/#enable-bch-with-tokens) | | | | [enable\_erc20](/komodo-defi-framework/api/v20/coin_activation/enable_erc20/#enable-erc20) | | | | [enable\_eth\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_eth_with_tokens/#enable-eth-with-tokens) | | @@ -8213,7 +8213,7 @@ export const description = The `my_tx_history` method returns the blockchain transactions involving the Komodo DeFi Framework API node's coin address. -The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) call. +The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) call. This method is deprecated and is incompatible with coins activated in HD mode. Use the [v2 my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/) method instead. @@ -13860,7 +13860,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_bch::user\_action {{label : 'task::enable_bch::user_action', tag : 'API-v2'}} @@ -14266,7 +14266,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_eth::user\_action {{label : 'task::enable_eth::user_action', tag : 'API-v2'}} @@ -15268,7 +15268,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_utxo::user\_action {{label : 'task::enable_utxo::user_action', tag : 'API-v2'}} @@ -24829,7 +24829,7 @@ Possible "In progress" Cases: } ``` -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} diff --git a/data-for-gpts/komodefi-api/legacy-api-content.txt b/data-for-gpts/komodefi-api/legacy-api-content.txt index 63e182c50..93c8d9f9a 100644 --- a/data-for-gpts/komodefi-api/legacy-api-content.txt +++ b/data-for-gpts/komodefi-api/legacy-api-content.txt @@ -4571,7 +4571,7 @@ export const description = The `my_tx_history` method returns the blockchain transactions involving the Komodo DeFi Framework API node's coin address. -The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) call. +The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) call. This method is deprecated and is incompatible with coins activated in HD mode. Use the [v2 my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/) method instead. diff --git a/data-for-gpts/komodefi-api/v20-api-content.txt b/data-for-gpts/komodefi-api/v20-api-content.txt index 340504443..0cd940ffe 100644 --- a/data-for-gpts/komodefi-api/v20-api-content.txt +++ b/data-for-gpts/komodefi-api/v20-api-content.txt @@ -1618,7 +1618,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_bch::user\_action {{label : 'task::enable_bch::user_action', tag : 'API-v2'}} @@ -2024,7 +2024,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_eth::user\_action {{label : 'task::enable_eth::user_action', tag : 'API-v2'}} @@ -3026,7 +3026,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_utxo::user\_action {{label : 'task::enable_utxo::user_action', tag : 'API-v2'}} @@ -12587,7 +12587,7 @@ Possible "In progress" Cases: } ``` -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} diff --git a/data-for-gpts/komodo-defi-framework-content.txt b/data-for-gpts/komodo-defi-framework-content.txt index 45e894a94..65f39d3db 100644 --- a/data-for-gpts/komodo-defi-framework-content.txt +++ b/data-for-gpts/komodo-defi-framework-content.txt @@ -3486,8 +3486,8 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods: | | [delete\_wallet](/komodo-defi-framework/api/v20/wallet/delete_wallet/#delete-wallet) | | | | [disable](/komodo-defi-framework/api/v20/streaming/disable/#disable) | | | [disable\_coin](/komodo-defi-framework/api/legacy/disable_coin/#disable-coin) | | | -| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) | | | -| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) | | | +| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) | | | +| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) | | | | | [enable\_bch\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_bch_with_tokens/#enable-bch-with-tokens) | | | | [enable\_erc20](/komodo-defi-framework/api/v20/coin_activation/enable_erc20/#enable-erc20) | | | | [enable\_eth\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_eth_with_tokens/#enable-eth-with-tokens) | | @@ -8213,7 +8213,7 @@ export const description = The `my_tx_history` method returns the blockchain transactions involving the Komodo DeFi Framework API node's coin address. -The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) call. +The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) call. This method is deprecated and is incompatible with coins activated in HD mode. Use the [v2 my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/) method instead. @@ -13860,7 +13860,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_bch::user\_action {{label : 'task::enable_bch::user_action', tag : 'API-v2'}} @@ -14266,7 +14266,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_eth::user\_action {{label : 'task::enable_eth::user_action', tag : 'API-v2'}} @@ -15268,7 +15268,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_utxo::user\_action {{label : 'task::enable_utxo::user_action', tag : 'API-v2'}} @@ -24829,7 +24829,7 @@ Possible "In progress" Cases: } ``` -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} diff --git a/filepathSlugs.json b/filepathSlugs.json index bd26d584d..c8335b41d 100644 --- a/filepathSlugs.json +++ b/filepathSlugs.json @@ -2526,15 +2526,13 @@ "error-types", "not-sufficient-balance", "response-not-sufficient-balance-error", - "zero-balance-to-withdraw-max", "amount-too-low", "invalid-address", "invalid-fee-policy", "response-invalid-fee-policy-error-attempt-to-use-eth-gas-for-utxo-coin", "response-invalid-fee-policy-error-attempt-to-use-utxo-fixed-or-utxo-per-kbyte-for-eth-coin", "accrued-rewards", - "accrued-variant", - "not-accrued-reason-variant", + "not-accrued-reason", "enabled-account-id", "new-account" ], @@ -2630,7 +2628,7 @@ "coin-activation", "native-mode-activation", "lite-mode-activation", - "electrum-method", + "electrum", "arguments", "response", "examples", @@ -2641,7 +2639,7 @@ "qtum-qrc-20-coin-activation", "response-success-3", "error-responses", - "enable-method", + "enable", "arguments-2", "response-2", "examples-2", @@ -3011,8 +3009,10 @@ ], "src/pages/komodo-defi-framework/api/legacy/stop/index.mdx": [ "stop", + "stop-2", "arguments", - "response" + "response", + "examples" ], "src/pages/komodo-defi-framework/api/legacy/trade_preimage/index.mdx": [ "trade-preimage", @@ -3365,7 +3365,6 @@ "error-types", "not-sufficient-balance", "response-not-sufficient-balance-error", - "zero-balance-to-withdraw-max", "amount-too-low", "invalid-address", "invalid-fee-policy", @@ -3531,7 +3530,7 @@ "response-6" ], "src/pages/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/index.mdx": [ - "clear-nft-database", + "clear-nft-db", "request-parameters", "example-to-clear-binance-smart-chain-and-polygon-nft-data", "example-to-clear-all-nft-data", @@ -3827,185 +3826,277 @@ ], "src/pages/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/index.mdx": [ "add-node-to-version-stat", - "arguments", + "add-node-to-version-stat-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-success", - "response-error-peer-id-already-in-database", - "response-error-name-already-in-database", - "response-error-invalid-peer-id" + "error-types", + "error-responses", + "database-error-unique-constraint-peer-id", + "database-error-unique-constraint-name", + "peer-id-parse-error" ], "src/pages/komodo-defi-framework/api/v20/utils/change_mnemonic_password/index.mdx": [ "change-mnemonic-password", - "arguments", + "change-mnemonic-password-2", + "request-parameters", + "response-parameters", "examples", "command", "response-success", - "response-error-wrong-password" + "error-types", + "error-responses", + "wallets-storage-error-wrong-password" ], "src/pages/komodo-defi-framework/api/v20/utils/get_current_mtp/index.mdx": [ "get-current-mtp", - "arguments", - "response", + "get-current-mtp-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-success" ], "src/pages/komodo-defi-framework/api/v20/utils/get_enabled_coins/index.mdx": [ "get-enabled-coins", - "parameters", - "response", + "get-enabled-coins-2", + "request-parameters", + "response-parameters", "examples", - "command", - "response-2" + "response" ], "src/pages/komodo-defi-framework/api/v20/utils/get_mnemonic/index.mdx": [ "get-mnemonic", - "arguments", - "response", - "examples", - "for-encrypted-output", + "get-mnemonic-2", + "request-parameters", + "response-parameters", + "example-encrypted-output", "response-success", - "for-plain-text-output", + "example-plain-text-output", "response-success-2" ], "src/pages/komodo-defi-framework/api/v20/utils/get_public_key/index.mdx": [ "get-public-key", - "arguments", - "response", + "get-public-key-2", + "request-parameters", + "response-parameters", "examples", "command", "response-success" ], "src/pages/komodo-defi-framework/api/v20/utils/get_public_key_hash/index.mdx": [ "get-public-key-hash", - "arguments", - "response", + "get-public-key-hash-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-success" ], + "src/pages/komodo-defi-framework/api/v20/utils/get_shared_db_id/index.mdx": [ + "get-shared-database-id", + "get-shared-db-id", + "request-parameters", + "response-parameters", + "examples", + "error-types" + ], "src/pages/komodo-defi-framework/api/v20/utils/get_token_info/index.mdx": [ "get-token-info", - "arguments", - "response", + "get-token-info-2", + "request-parameters", + "response-parameters", "examples", - "get-token-info-on-avalanche", "response-success", + "error-types", "error-responses", - "invalid-request-protocol-parent-coin-not-active" + "no-such-coin" ], "src/pages/komodo-defi-framework/api/v20/utils/index.mdx": [ - "v2-utility-methods" + "utility-methods-overview", + "utils" ], "src/pages/komodo-defi-framework/api/v20/utils/message_signing/index.mdx": [ - "signing-and-verifying-messages" + "message-signing-and-verification-overview", + "message-signing", + "example-coin-config" ], "src/pages/komodo-defi-framework/api/v20/utils/message_signing/sign_message/index.mdx": [ "sign-message", - "arguments", - "response", - "command", + "sign-message-2", + "request-parameters", + "response-parameters", + "examples", + "basic-usage", "response-success", - "command-hd-wallet-with-derivation-path", + "hd-wallet-with-derivation-path", "response-hd-success", - "command-hd-wallet-with-account-and-address-id", + "hd-wallet-with-account-and-address-id", "response-hd-success-2", "error-types", + "error-responses", "prefix-not-found", "internal-error" ], "src/pages/komodo-defi-framework/api/v20/utils/message_signing/verify_message/index.mdx": [ "verify-message", - "arguments", - "response", - "command", + "verify-message-2", + "request-parameters", + "response-parameters", + "examples", "response-valid", "response-not-valid", "error-types", + "error-responses", "prefix-not-found", "internal-error", "signature-decoding-error" ], "src/pages/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/index.mdx": [ "peer-connection-healthcheck", - "arguments", - "response", + "peer-connection-healthcheck-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-peer-found", "response-peer-not-found" ], "src/pages/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/index.mdx": [ "remove-node-from-version-stat", - "arguments", + "remove-node-from-version-stat-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-success" ], + "src/pages/komodo-defi-framework/api/v20/utils/send_asked_data/index.mdx": [ + "send-asked-data", + "send-asked-data-2", + "request-parameters", + "response-parameters", + "example", + "error-types" + ], "src/pages/komodo-defi-framework/api/v20/utils/start_version_stat_collection/index.mdx": [ "start-version-stat-collection", - "arguments", + "start-version-stat-collection-2", + "request-parameters", + "response-parameters", "examples", "command", "response-success", - "response-error-invalid-peer-id-unable-to-parse" + "error-types", + "error-responses", + "database-error" ], "src/pages/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/index.mdx": [ "stop-version-stat-collection", - "arguments", - "response", + "stop-version-stat-collection-2", + "request-parameters", + "response-parameters", + "examples", + "response-success", + "error-types", + "error-responses", + "not-running" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/index.mdx": [ + "cancel-meta-mask-connection-task", + "task-connect-metamask-cancel", + "request-parameters", + "response-parameters", + "cancel-meta-mask-connection-task-2", + "response-success", + "response-task-already-finished" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/index.mdx": [ + "connect-meta-mask-task-overview", + "task-connect-metamask" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/index.mdx": [ + "initialise-meta-mask-connection-task", + "task-connect-metamask-init", + "request-parameters", + "response-parameters", "examples", - "command", "response-success", - "response-error-stats-collection-not-running" + "error-types" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/index.mdx": [ + "meta-mask-connection-task-status", + "task-connect-metamask-status", + "request-parameters", + "response-parameters", + "examples", + "response-in-progress", + "response-ready-successful", + "error-types" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/index.mdx": [ + "cancel-trezor-initialization-task", + "task-init-trezor-cancel", + "request-parameters", + "response-parameters", + "examples", + "response-ready-successful", + "response-error-task-already-finished" ], "src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/index.mdx": [ - "trezor-initialisation", + "trezor-initialization-overview", + "trezor-initialisation" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/init/index.mdx": [ + "komodo-de-fi-framework-method-task-init-trezor-init", "task-init-trezor-init", - "arguments", - "response", + "request-parameters", + "response-parameters", "examples", "command-without-device-pubkey", "command-with-device-pubkey", - "response-success", + "response-success" + ], + "src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/status/index.mdx": [ + "komodo-de-fi-framework-method-task-init-trezor-status", "task-init-trezor-status", - "arguments-2", - "response-2", - "examples-2", + "request-parameters", + "response-parameters", + "examples", "command", "response-in-progress", "response-ready-successful", "error-responses-by-error-type", - "task-init-trezor-cancel", - "arguments-3", - "response-3", - "examples-3", - "command-2", - "response-ready-successful-2", - "response-error-task-already-finished", - "task-init-trezor-user-action", - "arguments-4", - "response-4", - "examples-4", - "command-for-trezor-pin", - "command-for-trezor-passphrase", - "response-success-2", "details-for-hw-error-error-type", "found-unexpected-device", "found-multiple-devices", "no-trezor-device-available" ], - "src/pages/komodo-defi-framework/api/v20/utils/telegram_alerts/index.mdx": [ - "telegram-alerts-for-market-maker-bot" + "src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/index.mdx": [ + "komodo-de-fi-framework-method-task-init-trezor-user-action", + "task-init-trezor-user-action", + "request-parameters", + "response-parameters", + "examples", + "command-for-trezor-pin", + "command-for-trezor-passphrase", + "response-success" + ], + "src/pages/komodo-defi-framework/api/v20/utils/trezor_connection_status/index.mdx": [ + "trezor-connection-status", + "trezor-connection-status-2", + "request-parameters", + "response-parameters", + "example", + "error-types" ], "src/pages/komodo-defi-framework/api/v20/utils/update_version_stat_collection/index.mdx": [ "update-version-stat-collection", - "arguments", + "update-version-stat-collection-2", + "request-parameters", + "response-parameters", "examples", - "command", "response-success", - "response-error-stats-collection-not-running" + "error-types", + "error-responses", + "not-running" ], "src/pages/komodo-defi-framework/api/v20/wallet/delete_wallet/index.mdx": [ "delete-wallet", @@ -4569,6 +4660,10 @@ "build-komodo-de-fi-framework", "mac-os-3" ], + "src/pages/komodo-defi-framework/setup/telegram-alerts/index.mdx": [ + "telegram-alerts-for-bot-trading", + "overview" + ], "src/pages/komodo-defi-framework/tutorials/additional-information/index.mdx": [ "additional-notes", "a-back-end-for-front-end-implementations", diff --git a/postman/collections/komodo_defi.postman_collection.json b/postman/collections/komodo_defi.postman_collection.json index f3a2a79f5..21a1f51ff 100644 --- a/postman/collections/komodo_defi.postman_collection.json +++ b/postman/collections/komodo_defi.postman_collection.json @@ -14473,7 +14473,7 @@ "body": "{\n \"mmrpc\": \"2.0\",\n \"error\": \"Wallets storage error: Internal error: `wallet_name` cannot be None!\",\n \"error_path\": \"lp_wallet.mnemonics_storage\",\n \"error_trace\": \"lp_wallet:489] mnemonics_storage:48]\",\n \"error_type\": \"WalletsStorageError\",\n \"error_data\": \"Internal error: `wallet_name` cannot be None!\",\n \"id\": null\n}" }, { - "name": "Error: Wallet name not found (plaintext)", + "name": "Error: Wallet name not found in plaintext", "originalRequest": { "method": "POST", "header": [ @@ -16908,7 +16908,7 @@ "body": "{\n \"mmrpc\": \"2.0\",\n \"result\": {\n \"format\": \"encrypted\",\n \"encrypted_mnemonic_data\": {\n \"encryption_algorithm\": \"AES256CBC\",\n \"key_derivation_details\": {\n \"Argon2\": {\n \"params\": {\n \"algorithm\": \"Argon2id\",\n \"version\": \"0x13\",\n \"m_cost\": 65536,\n \"t_cost\": 2,\n \"p_cost\": 1\n },\n \"salt_aes\": \"CqkfcntVxFJNXqOKPHaG8w\",\n \"salt_hmac\": \"i63qgwjc+3oWMuHWC2XSJA\"\n }\n },\n \"iv\": \"mNjmbZLJqgLzulKFBDBuPA==\",\n \"ciphertext\": \"tP2vF0hRhllW00pGvYiKysBI0vl3acLj+aoocBViTTByXCpjpkLuaMWqe0Vs02cb1wvgPsVqZkE4MPg4sCQxbd18iS7Er6+BbVY3HQ2LSig=\",\n \"tag\": \"TwWXhIFQl1TSdR4cJpbkK2oNXd9zIEhJmO6pML1uc2E=\"\n }\n },\n \"id\": null\n}" }, { - "name": "get_mnemonic (plaintext)", + "name": "get_mnemonic in plaintext", "originalRequest": { "method": "POST", "header": [ diff --git a/src/data/sidebar.json b/src/data/sidebar.json index a50784977..be312af6d 100644 --- a/src/data/sidebar.json +++ b/src/data/sidebar.json @@ -107,6 +107,10 @@ { "title": "Configuring Komodo DeFi Framework API", "href": "/komodo-defi-framework/setup/configure-mm2-json/" + }, + { + "title": "Telegram Alerts", + "href": "/komodo-defi-framework/setup/telegram-alerts/" } ] }, @@ -455,10 +459,6 @@ { "title": "stop_simple_market_maker_bot", "href": "/komodo-defi-framework/api/v20/swaps_and_orders/stop_simple_market_maker_bot/" - }, - { - "title": "telegram_alerts", - "href": "/komodo-defi-framework/api/v20/utils/telegram_alerts/" } ] }, @@ -736,9 +736,57 @@ "title": "peer_connection_healthcheck", "href": "/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/" }, + { + "title": "get_shared_db_id", + "href": "/komodo-defi-framework/api/v20/utils/get_shared_db_id/" + }, + { + "title": "send_asked_data", + "href": "/komodo-defi-framework/api/v20/utils/send_asked_data/" + }, + { + "title": "trezor_connection_status", + "href": "/komodo-defi-framework/api/v20/utils/trezor_connection_status/" + }, { "title": "Trezor Initialisation", "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/" + }, + { + "title": "Task: Init Trezor", + "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/" + }, + { + "title": "task::init_trezor::cancel", + "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/" + }, + { + "title": "task::init_trezor::init", + "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/init/" + }, + { + "title": "task::init_trezor::status", + "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/status/" + }, + { + "title": "task::init_trezor::user_action", + "href": "/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/" + }, + { + "title": "Task: Connect MetaMask", + "href": "/komodo-defi-framework/api/v20/utils/task_connect_metamask/" + }, + { + "title": "task::connect_metamask::init", + "href": "/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/" + }, + { + "title": "task::connect_metamask::status", + "href": "/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/" + }, + { + "title": "task::connect_metamask::cancel", + "href": "/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/" } ] } diff --git a/src/data/tables/v2/utils.json b/src/data/tables/v2/utils.json new file mode 100644 index 000000000..ead26b627 --- /dev/null +++ b/src/data/tables/v2/utils.json @@ -0,0 +1,1043 @@ +{ + "AddNodeToVersionStatRequest": { + "data": [ + { + "parameter": "name", + "type": "string", + "required": true, + "description": "The name assigned to the node" + }, + { + "parameter": "address", + "type": "string", + "required": true, + "description": "The IP address of the node" + }, + { + "parameter": "peer_id", + "type": "string", + "required": true, + "description": "The node's unique Peer ID" + } + ] + }, + "AddNodeToVersionStatResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "The outcome of the request." + } + ] + }, + "AddNodeToVersionStatErrors": { + "data": [ + { + "parameter": "DatabaseError", + "type": "string", + "required": false, + "description": "Database constraint error occurred." + }, + { + "parameter": "PeerIdParseError", + "type": "string", + "required": false, + "description": "The provided peer ID format is invalid." + } + ] + }, + "ChangeMnemonicPasswordRequest": { + "data": [ + { + "parameter": "current_password", + "type": "string", + "required": true, + "description": "the active mnemonic password for your wallet" + }, + { + "parameter": "new_password", + "type": "string", + "required": true, + "description": "the new password to use for encrypting your active mnemonic password" + } + ] + }, + "ChangeMnemonicPasswordResponse": { + "data": [ + { + "parameter": "result", + "type": "null", + "required": true, + "description": "Returns null on successful password change." + } + ] + }, + "ChangeMnemonicPasswordErrors": { + "data": [ + { + "parameter": "WalletsStorageError", + "type": "string", + "required": false, + "description": "Error decrypting or accessing wallet storage." + } + ] + }, + "GetCurrentMtpRequest": { + "data": [ + { + "parameter": "coin", + "type": "string", + "required": true, + "default": "-", + "description": "A compatible (UTXO) coin's ticker" + }, + { + "parameter": "id", + "type": "integer", + "required": false, + "default": "null", + "description": "Optional. Identifies a request to allow matching it with a response. Defaults to `null`" + } + ] + }, + "GetCurrentMtpResponse": { + "data": [ + { + "parameter": "mtp", + "type": "integer", + "required": true, + "description": "Unix timestamp" + }, + { + "parameter": "id", + "type": "integer", + "required": true, + "description": "Identifies a response to allow matching it with a request. Defaults to `null` if `id` not provided in request" + } + ] + }, + "GetEnabledCoinsRequest": { + "data": [ + { + "parameter": "*None*", + "type": "*N/A*", + "required": false, + "description": "*This method has no parameters.*" + } + ] + }, + "GetEnabledCoinsResponse": { + "data": [ + { + "parameter": "coins", + "type": "array of objects", + "required": true, + "description": "A list of key value pairs for activated tickers" + }, + { + "parameter": "coins.ticker", + "type": "string", + "required": true, + "description": "The ticker of an activated coin" + } + ] + }, + "GetMnemonicRequest": { + "data": [ + { + "parameter": "format", + "type": "string", + "required": false, + "default": "encrypted", + "description": "Either `encrypted` or `plaintext`. Defaults to `encrypted`." + }, + { + "parameter": "password", + "type": "string", + "required": false, + "default": "-", + "description": "The password to decrypt your stored mnemonic phrase. Only required if `plaintext` format is requested." + } + ] + }, + "GetMnemonicResponse": { + "data": [ + { + "parameter": "format", + "type": "string", + "required": true, + "description": "Same as the input `format` parameter." + }, + { + "parameter": "mnemonic", + "type": "string", + "required": false, + "description": "For `plaintext` requests, the decrypted mnemonic seed phrase." + }, + { + "parameter": "encrypted_mnemonic_data", + "type": "object", + "required": false, + "description": "For `encrypted` requests, the encrypted format and ciphertext for the mnemonic seed phrase." + } + ] + }, + "GetPublicKeyRequest": { + "data": [ + { + "parameter": "*None*", + "type": "*N/A*", + "required": false, + "description": "*This method has no parameters.*" + } + ] + }, + "GetPublicKeyResponse": { + "data": [ + { + "parameter": "public_key", + "type": "string", + "required": true, + "description": "User's pubkey" + } + ] + }, + "GetPublicKeyHashRequest": { + "data": [ + { + "parameter": "*None*", + "type": "*N/A*", + "required": false, + "description": "*This method has no parameters.*" + } + ] + }, + "GetPublicKeyHashResponse": { + "data": [ + { + "parameter": "public_key_hash", + "type": "string", + "required": true, + "description": "User's RIPEMD-160 public key hash" + } + ] + }, + "GetSharedDbIdRequest": { + "data": [ + { + "parameter": "*None*", + "type": "*N/A*", + "required": false, + "description": "*This method has no parameters.*" + } + ] + }, + "GetSharedDbIdResponse": { + "data": [ + { + "parameter": "shared_db_id", + "type": "string", + "required": true, + "description": "42-hex-char (H160) identifier with 0x prefix used for the node's DB directory." + } + ] + }, + "GetSharedDbIdErrors": { + "data": [ + { + "parameter": "Internal", + "type": "string", + "required": false, + "description": "Unhandled internal error (rare)." + } + ] + }, + "GetTokenInfoRequest": { + "data": [ + { + "parameter": "protocol", + "type": "object", + "required": true, + "description": "A standard [TokenProtocol](/komodo-defi-framework/api/common_structures/nfts/#token-protocol) object." + } + ] + }, + "GetTokenInfoResponse": { + "data": [ + { + "parameter": "type", + "type": "string", + "required": true, + "description": "Token type—e.g., `PLG20` for tokens on the Polygon network." + }, + { + "parameter": "info.symbol", + "type": "string", + "required": true, + "description": "The ticker of the token linked to the contract address and network requested." + }, + { + "parameter": "info.decimals", + "type": "integer", + "required": true, + "description": "Defines the number of digits after the decimal point that should be used to display the orderbook amounts, balance, and the value of inputs to be used in the case of order creation or a `withdraw` transaction. The default value used for a UTXO type coin (Bitcoin protocol) is `8`, and the default value used for an ERC20 token is `18`. It is **very important** for this value to be set correctly. For example, if this value was set as `9` for BTC, a command to withdraw `1 BTC` tries to withdraw `10^9` satoshis of Bitcoin, i.e., `10 BTC`." + } + ] + }, + "GetTokenInfoErrors": { + "data": [ + { + "parameter": "NoSuchCoin", + "type": "string", + "required": false, + "description": "The specified platform coin was not found or is not activated yet." + } + ] + }, + "PeerConnectionHealthcheckRequest": { + "data": [ + { + "parameter": "peer_address", + "type": "string", + "required": true, + "description": "The peer address to check for connectivity" + } + ] + }, + "PeerConnectionHealthcheckResponse": { + "data": [ + { + "parameter": "result", + "type": "boolean", + "required": true, + "description": "True if peer found connected to network" + } + ] + }, + "RemoveNodeFromVersionStatRequest": { + "data": [ + { + "parameter": "name", + "type": "string", + "required": true, + "description": "The name assigned to the node" + } + ] + }, + "RemoveNodeFromVersionStatResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "The outcome of the request." + } + ] + }, + "SendAskedDataRequest": { + "data": [ + { + "parameter": "data_id", + "type": "integer", + "required": true, + "description": "Identifier supplied by the original `DataNeeded` event." + }, + { + "parameter": "data", + "type": "object", + "required": true, + "description": "Arbitrary JSON value satisfying the original request." + } + ] + }, + "SendAskedDataResponse": { + "data": [ + { + "parameter": "result", + "type": "boolean", + "required": true, + "description": "`true` on success." + } + ] + }, + "SendAskedDataErrors": { + "data": [ + { + "parameter": "NotFound", + "type": "integer", + "required": false, + "description": "No awaiting `ask_for_data` with the specified `data_id`." + }, + { + "parameter": "Internal", + "type": "string", + "required": false, + "description": "Internal error while delivering data (rare)." + } + ] + }, + "StartVersionStatCollectionRequest": { + "data": [ + { + "parameter": "interval", + "type": "integer", + "required": true, + "description": "polling rate (in seconds) to check node versions" + } + ] + }, + "StartVersionStatCollectionResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "The outcome of the request." + } + ] + }, + "StartVersionStatCollectionErrors": { + "data": [ + { + "parameter": "DatabaseError", + "type": "string", + "required": false, + "description": "Database constraint error occurred." + } + ] + }, + "StopVersionStatCollectionRequest": { + "data": [ + { + "parameter": "*None*", + "type": "*N/A*", + "required": false, + "description": "*This method has no parameters.*" + } + ] + }, + "StopVersionStatCollectionResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "`success` or error" + } + ] + }, + "StopVersionStatCollectionErrors": { + "data": [ + { + "parameter": "NotRunning", + "type": "string", + "required": false, + "description": "Version stat collection is not currently running" + } + ] + }, + "TaskConnectMetamaskCancelRequest": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "description": "The identifying number returned when the task was first initiated." + } + ] + }, + "TaskConnectMetamaskCancelResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": false, + "description": "Returns `success` on success, otherwise the standard error fields below are populated." + }, + { + "parameter": "error", + "type": "string", + "required": false, + "description": "Description of the error." + }, + { + "parameter": "error_path", + "type": "string", + "required": false, + "description": "Used for debugging. A reference to the function in code base which returned the error." + }, + { + "parameter": "error_trace", + "type": "string", + "required": false, + "description": "Used for debugging. A trace of lines of code which led to the returned error." + }, + { + "parameter": "error_type", + "type": "string", + "required": false, + "description": "An enumerated error identifier to indicate the category of error." + }, + { + "parameter": "error_data", + "type": "string", + "required": false, + "description": "Additional context for the error type." + } + ] + }, + "TaskConnectMetamaskInitRequest": { + "data": [ + { + "parameter": "project", + "type": "string", + "required": true, + "description": "A short, human-readable identifier for the DApp or integration requesting the context." + } + ] + }, + "TaskConnectMetamaskInitResponse": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "description": "An identifying number that is used to query task status or to cancel it" + } + ] + }, + "TaskConnectMetamaskInitErrors": { + "data": [ + { + "parameter": "MetamaskInitializingAlready", + "type": "string", + "required": false, + "description": "A MetaMask initialisation task is already in progress." + }, + { + "parameter": "EthProviderNotFound", + "type": "string", + "required": false, + "description": "No MetaMask provider detected in the browser / environment." + }, + { + "parameter": "UnexpectedAccountSelected", + "type": "string", + "required": false, + "description": "A different ETH account is currently selected in MetaMask." + }, + { + "parameter": "UserCancelled", + "type": "string", + "required": false, + "description": "The user rejected the signature/request in MetaMask." + }, + { + "parameter": "Timeout", + "type": "string", + "required": false, + "description": "MetaMask did not respond within the expected time-out window." + }, + { + "parameter": "InternalError", + "type": "string", + "required": false, + "description": "The request failed due to a Komodo DeFi Framework API internal error." + } + ] + }, + "TaskConnectMetamaskStatusRequest": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "default": "-", + "description": "The `task_id` returned by the *init* call." + }, + { + "parameter": "forget_if_finished", + "type": "boolean", + "required": false, + "default": "true", + "description": "If `false`, the final (completed) response is returned on every call." + } + ] + }, + "TaskConnectMetamaskStatusResponse": { + "data": [ + { + "parameter": "status", + "type": "string", + "required": true, + "description": "A short indication of how the connection process is progressing (`Initializing`, `SigningLoginMetadata`, `Ok`, or `Error`)." + }, + { + "parameter": "details", + "type": "object", + "required": true, + "description": "Extra data whose structure depends on the current `status`. See examples below. In the successful case it contains `eth_address`." + } + ] + }, + "TaskConnectMetamaskStatusErrors": { + "data": [ + { + "parameter": "MetamaskCtxNotInitialized", + "type": "string", + "required": false, + "description": "The MetaMask context was not yet created (call *init* first)." + }, + { + "parameter": "EthProviderNotFound", + "type": "string", + "required": false, + "description": "No MetaMask provider detected." + }, + { + "parameter": "UserCancelled", + "type": "string", + "required": false, + "description": "The user rejected the MetaMask signature / request." + }, + { + "parameter": "Timeout", + "type": "string", + "required": false, + "description": "MetaMask did not respond within the expected time-out window." + }, + { + "parameter": "InternalError", + "type": "string", + "required": false, + "description": "The request failed due to an internal error in the Komodo DeFi Framework API." + } + ] + }, + "TaskInitTrezorCancelRequest": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "description": "The identifying number returned when initiating the initialisation process." + } + ] + }, + "TaskInitTrezorCancelResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": false, + "description": "Returns with value `success` when successful, otherwise returns the error values below" + }, + { + "parameter": "error", + "type": "string", + "required": false, + "description": "Description of the error" + }, + { + "parameter": "error_path", + "type": "string", + "required": false, + "description": "Used for debugging. A reference to the function in code base which returned the error" + }, + { + "parameter": "error_trace", + "type": "string", + "required": false, + "description": "Used for debugging. A trace of lines of code which led to the returned error" + }, + { + "parameter": "error_type", + "type": "string", + "required": false, + "description": "An enumerated error identifier to indicate the category of error" + }, + { + "parameter": "error_data", + "type": "string", + "required": false, + "description": "Additonal context for the error type" + } + ] + }, + "TaskInitTrezorInitRequest": { + "data": [ + { + "parameter": "device_pubkey", + "type": "string", + "required": false, + "description": "If known, you can specify the device pubkey. If not known, this will be part of the [task::init_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/) response which you can save for future use" + } + ] + }, + "TaskInitTrezorInitResponse": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "description": "An identifying number which is used to query task status." + } + ] + }, + "TaskInitTrezorStatusRequest": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "default": "-", + "description": "The identifying number returned when initiating the initialisation process." + }, + { + "parameter": "forget_if_finished", + "type": "boolean", + "required": false, + "default": "true", + "description": "If `false`, will return final response for completed tasks." + } + ] + }, + "TaskInitTrezorStatusResponse": { + "data": [ + { + "parameter": "status", + "type": "string", + "required": true, + "description": "A short indication of how the requested process is progressing." + }, + { + "parameter": "details", + "type": "object", + "required": true, + "description": "Depending on the state of process progress, this will contain different information as detailed in the items below." + }, + { + "parameter": "details.type", + "type": "string", + "required": true, + "description": "Type of hardware wallet device (e.g. `Trezor`)" + }, + { + "parameter": "details.model", + "type": "string", + "required": true, + "description": "The model of the hardware wallet device (e.g. `One` or `T`)" + }, + { + "parameter": "details.device_name", + "type": "string", + "required": true, + "description": "The name of the device as defined by user in Trezor Suite or another wallet application." + }, + { + "parameter": "details.device_id", + "type": "string (hex)", + "required": true, + "description": "A unique identifier of the device, set during manufacturing." + }, + { + "parameter": "details.device_pubkey", + "type": "string (hex)", + "required": true, + "description": "The hardware wallet device's pubkey. If included in the `task::init_trezor::init` request, it will be the same as input. If not, it should be stored for future use." + } + ] + }, + "TaskInitTrezorUserActionRequest": { + "data": [ + { + "parameter": "task_id", + "type": "integer", + "required": true, + "description": "The identifying number returned when initiating the initialisation process." + }, + { + "parameter": "user_action", + "type": "object", + "required": true, + "description": "Object containing the params below" + }, + { + "parameter": "user_action.action_type", + "type": "string", + "required": true, + "description": "Either `TrezorPin` or `TrezorPassphrase`, depending on which is requested by responses from related methods returning `\"status\": \"UserActionRequired\"`" + }, + { + "parameter": "user_action.pin", + "type": "string (number)", + "required": false, + "description": "When the Trezor device is displaying a grid of numbers for PIN entry, this param will contain your Trezor pin, as mapped through your keyboard numpad. See the image below for more information." + }, + { + "parameter": "user_action.passphrase", + "type": "string", + "required": false, + "description": "The [passphrase](https://trezor.io/learn/a/passphrases-and-hidden-wallets) functions like an extra word added to your recovery seed, and it used to access hidden wallets. To access the default wallet, input an empty string here." + } + ] + }, + "TaskInitTrezorUserActionResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "The outcome of the request." + } + ] + }, + "TrezorConnectionStatusRequest": { + "data": [ + { + "parameter": "device_pubkey", + "type": "string", + "required": false, + "description": "(Optional) Expected public key of the Trezor device. If specified and a *different* device is connected, an error is returned." + } + ] + }, + "TrezorConnectionStatusResponse": { + "data": [ + { + "parameter": "status", + "type": "string", + "required": true, + "description": "One of: `Connected`, `Disconnected`, `Busy`." + } + ] + }, + "TrezorConnectionStatusErrors": { + "data": [ + { + "parameter": "TrezorNotInitialized", + "type": "string", + "required": false, + "description": "A Trezor device has not been initialized on this node." + }, + { + "parameter": "FoundUnexpectedDevice", + "type": "string", + "required": false, + "description": "A connected device does not match the supplied `device_pubkey`." + }, + { + "parameter": "Internal", + "type": "string", + "required": false, + "description": "Unhandled internal error." + } + ] + }, + "UpdateVersionStatCollectionRequest": { + "data": [ + { + "parameter": "interval", + "type": "integer", + "required": true, + "description": "Polling rate (in seconds) to query node versions" + } + ] + }, + "UpdateVersionStatCollectionResponse": { + "data": [ + { + "parameter": "result", + "type": "string", + "required": true, + "description": "The outcome of the request." + } + ] + }, + "UpdateVersionStatCollectionErrors": { + "data": [ + { + "parameter": "NotRunning", + "type": "string", + "required": false, + "description": "Version stat collection is not currently running" + } + ] + }, + "SignMessageRequest": { + "data": [ + { + "parameter": "coin", + "type": "string", + "required": true, + "default": "-", + "description": "The coin to sign a message with." + }, + { + "parameter": "message", + "type": "string", + "required": true, + "default": "-", + "description": "The message you want to sign." + }, + { + "parameter": "address", + "type": "string", + "required": false, + "default": "0", + "description": "HD wallets only. A standard [AddressPath](/komodo-defi-framework/api/common_structures/wallet/#address-path) object. The path to the address for signing the message. If not provided, the `account_id`, `chain`, and `address_id` will default to `0`." + } + ] + }, + "SignMessageResponse": { + "data": [ + { + "parameter": "signature", + "type": "string", + "required": true, + "description": "The signature generated for the message." + } + ] + }, + "SignMessageErrors": { + "data": [ + { + "parameter": "PrefixNotFound", + "type": "string", + "required": false, + "description": "`sign_message_prefix` is not set in coin config file" + }, + { + "parameter": "CoinIsNotFound", + "type": "string", + "required": false, + "description": "Specified coin is not found" + }, + { + "parameter": "SigningError", + "type": "string", + "required": false, + "description": "Error attempting to sign message" + }, + { + "parameter": "InvalidRequest", + "type": "string", + "required": false, + "description": "Message signing is not supported by the given coin type" + }, + { + "parameter": "InternalError", + "type": "string", + "required": false, + "description": "An internal error occurred during the signing process" + } + ] + }, + "VerifyMessageRequest": { + "data": [ + { + "parameter": "address", + "type": "string", + "required": true, + "description": "The address used to sign the message." + }, + { + "parameter": "coin", + "type": "string", + "required": true, + "description": "The coin to verify the message with." + }, + { + "parameter": "message", + "type": "string", + "required": true, + "description": "The message input via the `sign_message` method." + }, + { + "parameter": "signature", + "type": "string", + "required": true, + "description": "The signature generated for the message." + } + ] + }, + "VerifyMessageResponse": { + "data": [ + { + "parameter": "is_valid", + "type": "boolean", + "required": true, + "description": "`true` if the message signature is valid; `false` if it is not." + } + ] + }, + "VerifyMessageErrors": { + "data": [ + { + "parameter": "PrefixNotFound", + "type": "string", + "required": false, + "description": "`sign_message_prefix` is not set in coin config" + }, + { + "parameter": "CoinIsNotFound", + "type": "string", + "required": false, + "description": "Specified coin is not found" + }, + { + "parameter": "InvalidRequest", + "type": "string", + "required": false, + "description": "Message verification is not supported by the given coin type" + }, + { + "parameter": "InternalError", + "type": "string", + "required": false, + "description": "An internal error occurred during the verification process" + }, + { + "parameter": "SignatureDecodingError", + "type": "string", + "required": false, + "description": "Given signature could not be decoded" + }, + { + "parameter": "AddressDecodingError", + "type": "string", + "required": false, + "description": "Given address could not be decoded" + } + ] + }, + "TelegramAlertsConfig": { + "data": [ + { + "parameter": "api_key", + "type": "string", + "required": true, + "description": "A Telegram bot API token" + }, + { + "parameter": "chat_registry.default", + "type": "string", + "required": true, + "description": "A Telegram Chat ID" + }, + { + "parameter": "chat_registry.maker_bot", + "type": "string", + "required": true, + "description": "A Telegram Chat ID" + }, + { + "parameter": "chat_registry.swap_events", + "type": "string", + "required": true, + "description": "A Telegram Chat ID" + } + ] + } +} \ No newline at end of file diff --git a/src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx index 88911d04c..6fa53d6de 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi SDK Common Structures: Activation"; export const description = "The Komodo DeFi SDK uses a variety of activation methods, depending on the type of coin."; import CompactTable from '@/components/mdx/CompactTable'; - # Activation Common Structures ## activation\_common\_structures {{label : 'activation_common_structures', tag : 'structures'}} diff --git a/src/pages/komodo-defi-framework/api/common_structures/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/index.mdx index c155d7733..a172ec6c2 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi Framework Method: Common Structures"; export const description = "Starting with version beta-2.1.3434, the Komodo DeFi SDK supports the standardized protocol format called mmrpc 2.0."; import CompactTable from '@/components/mdx/CompactTable'; - # Common Structures ## common-structures {{label : 'common_structures', tag : 'overview'}} diff --git a/src/pages/komodo-defi-framework/api/common_structures/lightning/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/lightning/index.mdx index ddb4b6b3e..4bef5ff35 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/lightning/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/lightning/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi Framework Method: Lightning Common Structures" export const description = "Lightning Network common structures for Komodo DeFi Framework API."; import CompactTable from '@/components/mdx/CompactTable'; - # Lightning Common Structures ## lightning-common-structures {{label : 'lightning_common_structures', tag : 'structures'}} @@ -54,6 +53,7 @@ It is used for estimating the transaction fee rate (`feerate`) for different tra ### LightningClosedChannelsFilter + Response may change to be more consistent in future. [https://github.com/KomodoPlatform/komodo-docs-mdx/pull/31#discussion\\\_r1206446309](https://github.com/KomodoPlatform/komodo-docs-mdx/pull/31#discussion\\_r1206446309) diff --git a/src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx index 2c582900f..55cac5b18 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi SDK Common Structures: Non-Fungible Tokens"; export const description = "Starting with version beta-2.1.3434, the Komodo DeFi SDK supports the standardized protocol format called mmrpc 2.0."; import CompactTable from '@/components/mdx/CompactTable'; - # NFT Common Structures ## nfts-common-structures {{label : 'nfts_common_structures', tag : 'structures'}} diff --git a/src/pages/komodo-defi-framework/api/common_structures/orders/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/orders/index.mdx index 0ccf74424..873eaa28d 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/orders/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/orders/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi SDK Common Structures: Orders"; export const description = "Each order on the Komodo Defi oderbook can be queried to view full details of each order for a pair, or the best orders for a ticker."; import CompactTable from '@/components/mdx/CompactTable'; - # Order Common Structures ## orders\_common\_structures {{label : 'orders_common_structures', tag : 'structures'}} @@ -117,6 +116,7 @@ import CompactTable from '@/components/mdx/CompactTable'; + ### OrderDataV2 @@ -124,6 +124,7 @@ import CompactTable from '@/components/mdx/CompactTable'; + ### OrderStatusData @@ -205,6 +206,7 @@ import CompactTable from '@/components/mdx/CompactTable'; + ### OrderDataV2 @@ -212,6 +214,7 @@ import CompactTable from '@/components/mdx/CompactTable'; + ## OrderSummaryData diff --git a/src/pages/komodo-defi-framework/api/common_structures/swaps/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/swaps/index.mdx index ed7ca81bb..decfe0efa 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/swaps/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/swaps/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi SDK Common Structures: Swaps"; export const description = "Each active or completed trade from the Komodo DeFi SDK includes an unique identifier (UUID), a summary of the trade and detailed information relating to each swap event."; import CompactTable from '@/components/mdx/CompactTable'; - # Swap Common Structures ## swaps\_common\_structures {{label : 'swaps_common_structures', tag : 'structures'}} diff --git a/src/pages/komodo-defi-framework/api/common_structures/swaps/maker_events/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/swaps/maker_events/index.mdx index 818dec0bc..49e9021ac 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/swaps/maker_events/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/swaps/maker_events/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo Defi SDK Swaps: Maker Events"; export const description = "A description of events and outcomes for each step of an atomic swap from the maker's perspective."; import CompactTable from '@/components/mdx/CompactTable'; - # Maker Events ## maker\_events {{label : 'maker_events', tag : 'structures'}} @@ -188,6 +187,7 @@ Click on the Events below to view thier structure: Maker starts waiting for taker to send his payment after this event occurs. + ```json { @@ -206,6 +206,7 @@ Click on the Events below to view thier structure: When this event occurs, maker starts waiting for **maker payment lock time expiration** to issue a refund. + ```json TODO: Example TBA @@ -219,6 +220,7 @@ Click on the Events below to view thier structure: When this event occurs maker starts waiting for **maker payment lock time expiration** to issue a refund. + ```json { @@ -237,6 +239,7 @@ Click on the Events below to view thier structure: Maker starts waiting for taker payment confirmation after this event occurs. + ```json { @@ -262,6 +265,7 @@ Click on the Events below to view thier structure: When this event occurs maker starts waiting for **maker payment lock time expiration** to issue a refund. + ```json { @@ -280,6 +284,7 @@ Click on the Events below to view thier structure: When this event occurs maker starts waiting for **maker payment lock time expiration** to issue a refund. + ```json TODO: Example TBA @@ -301,6 +306,7 @@ Click on the Events below to view thier structure: When this event occurs maker starts waiting for **maker payment lock time expiration** to issue a refund. + ```json { @@ -316,6 +322,7 @@ Click on the Events below to view thier structure: Maker starts waiting for **taker payment spend** confirmation after this event occurs. + ```json { @@ -344,6 +351,7 @@ Click on the Events below to view thier structure: Maker attempts to refund the maker payment. + ```json TODO: Example TBA @@ -363,6 +371,7 @@ Click on the Events below to view thier structure: The `MakerPaymentWaitRefundStarted` event indicates that maker started waiting for lock time expiration to refund the payment. + ```json { @@ -378,6 +387,7 @@ Click on the Events below to view thier structure: The swap finishes immediately when this event occurs. + ```json TODO: Example TBA @@ -391,6 +401,7 @@ Click on the Events below to view thier structure: The swap finishes immediately when this event occurs. + ```json TODO: Example TBA diff --git a/src/pages/komodo-defi-framework/api/common_structures/swaps/taker_events/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/swaps/taker_events/index.mdx index 407d6a27b..7a26d29bd 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/swaps/taker_events/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/swaps/taker_events/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo Defi SDK Swaps: Taker Events"; export const description = "A description of events and outcomes for each step of an atomic swap from the taker's perspective."; import CompactTable from '@/components/mdx/CompactTable'; - # Taker Events ## taker\_events {{label : 'taker_events', tag : 'structures'}} @@ -60,6 +59,7 @@ Click on an Event below to view its structure: The swap goes to negotiation stage after this event occurs. + ```json { @@ -112,6 +112,7 @@ The `StartFailed` event indicates that some of the pre-checks did not pass, and The swap finishes immediately when this event occurs. + ```json { @@ -133,6 +134,7 @@ The `Negotiated` event indicates that taker has received and validated swap nego Taker generates taker fee transaction after this event occurs. + ```json { @@ -155,6 +157,7 @@ The `NegotiateFailed` event indicates that maker negotiation data was not receiv The swap finishes immediately when this event occurs. + ```json { @@ -173,6 +176,7 @@ The `TakerFeeSent` event indicates that taker has broadcast the dex fee transact Taker starts waiting for maker payment after this event occurs. + ```json { @@ -192,6 +196,7 @@ The `TakerFeeSendFailed` event indicates that the taker dex fee transaction fail The swap finishes immediately when this event occurs. + ```json { @@ -228,6 +233,7 @@ The `MakerPaymentValidateFailed` event indicates that taker was not able to rece The swap finishes immediately when this event occurs. + ```json { @@ -249,6 +255,7 @@ The `MakerPaymentReceived` event indicates that taker received the maker payment Taker starts waiting for transaction confirmation after this event occurs. + ```json { @@ -274,6 +281,7 @@ The `MakerPaymentWaitConfirmFailed` event indicates that the maker payment trans Taker swap finishes immediately when this event occurs. + ```json { @@ -305,6 +313,7 @@ The `TakerPaymentSent` event indicates that taker broadcast taker payment transa Taker starts waiting for maker to spend this transaction. + ```json { @@ -324,6 +333,7 @@ The `TakerPaymentTransactionFailed` event indicates that taker failed to broadca The swap finishes immediately when this event occurs. + ```json { @@ -345,6 +355,7 @@ The `TakerPaymentWaitConfirmFailed` event indicates that the taker payment trans When this event occurs taker starts waiting for taker payment lock time expiration to issue a refund. + ```json { @@ -366,6 +377,7 @@ The `TakerPaymentDataSendFailed` event indicates that taker was not able to send When this event occurs taker starts waiting for taker payment lock time expiration to issue a refund. + ```json { @@ -387,6 +399,7 @@ The `TakerPaymentSpent` event indicates that maker spent taker payment and taker When this event occurs taker extracts the secret from the transaction and attempts to spend maker payment. + ```json { @@ -409,6 +422,7 @@ The `TakerPaymentWaitForSpendFailed` event indicates that maker did not spend ta When this event occurs taker attempts to refund the payment. + ```json { @@ -449,6 +463,7 @@ The `MakerPaymentSpent` event indicates that taker spent maker payment. The swap finishes immediately when this event occurs. + ```json { @@ -466,6 +481,7 @@ The swap finishes immediately when this event occurs. The `MakerPaymentSpendConfirmed` event indicates that the broadcasted tx for taker spending maker payment was not reverted. + ```json { @@ -483,6 +499,7 @@ The `MakerPaymentSpendConfirmed` event indicates that the broadcasted tx for tak The `MakerPaymentSpendConfirmFailed` event indicates that the broadcasted tx for taker spending maker payment was not reverted. + ```json { @@ -504,6 +521,7 @@ The `MakerPaymentSpentByWatcher` event indicates that the maker payment has been The swap finishes immediately when this event occurs. + ```json { @@ -521,6 +539,7 @@ The swap finishes immediately when this event occurs. `TakerPaymentWaitRefundStarted` event indicates that taker started waiting for lock time expiration to refund the payment. + ```json { @@ -556,6 +575,7 @@ The `TakerPaymentRefundedByWatcher` is fired if the watcher refunded the taker p It will be shown in the swap status when the taker runs the defi framework again after being offline (if the watcher refunded the swap during the time the taker was offline). + ```json { @@ -578,7 +598,6 @@ The swap finishes immediately when this event occurs. - ```json { @@ -600,6 +619,7 @@ The `TakerPaymentRefunded` event indicates that taker broadcast the taker paymen The swap finishes immediately when this event occurs. + ```json { diff --git a/src/pages/komodo-defi-framework/api/common_structures/wallet/index.mdx b/src/pages/komodo-defi-framework/api/common_structures/wallet/index.mdx index 9be76fca3..ad3a3de66 100644 --- a/src/pages/komodo-defi-framework/api/common_structures/wallet/index.mdx +++ b/src/pages/komodo-defi-framework/api/common_structures/wallet/index.mdx @@ -2,7 +2,6 @@ export const title = "Komodo DeFi SDK Common Structures: Wallet Operations"; export const description = "Starting with version beta-2.1.3434, the Komodo DeFi SDK supports the standardized protocol format called mmrpc 2.0."; import CompactTable from '@/components/mdx/CompactTable'; - # Wallet Common Structures ## wallet\_common\_structures {{label : 'wallet_common_structures', tag : 'structures'}} @@ -512,6 +511,7 @@ The `HdKeysInfo` object includes the following items for individual address info The `IguanaKeysInfo` object includes the following items for private key information in Iguana mode: + #### UTXO Coin Example (KMD) @@ -565,6 +565,7 @@ The `IguanaKeysInfo` object includes the following items for private key informa The `available` balance is not sufficient to transfer the specified amount. + #### Response (NotSufficientBalance error) ```json @@ -583,22 +584,24 @@ The `available` balance is not sufficient to transfer the specified amount. } ``` - #### AmountTooLow The specified amount is too low. Required at least `threshold`. + #### InvalidAddress The specified `to` address is not valid. + #### InvalidFeePolicy The specified `fee` is not valid. + #### Response (InvalidFeePolicy error - attempt to use EthGas for UTXO coin) ```json @@ -638,6 +641,7 @@ Used in [kmd\_rewards\_info](/komodo-defi-framework/api/legacy/kmd_rewards_info/ Used in [kmd\_rewards\_info](/komodo-defi-framework/api/legacy/kmd_rewards_info/) + Example with accrued rewards: diff --git a/src/pages/komodo-defi-framework/api/index.mdx b/src/pages/komodo-defi-framework/api/index.mdx index 4138a1743..05d0532cf 100644 --- a/src/pages/komodo-defi-framework/api/index.mdx +++ b/src/pages/komodo-defi-framework/api/index.mdx @@ -10,182 +10,194 @@ To test the methods in v2.0 (Dev), you will need to [build the Komodo DeFi Frame Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods: -| Legacy | v2.0 (release) | v2.0 (dev) | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | | [1inch\_v6\_0\_classic\_swap\_create](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/#1inch-v6-0-classic-swap-create) | -| | | [1inch\_v6\_0\_classic\_swap\_liquidity\_sources](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_liquidity_sources/#1inch-v6-0-classic-swap-liquidity-sources) | -| | | [1inch\_v6\_0\_classic\_swap\_quote](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_quote/#1inch-v6-0-classic-swap-quote) | -| | | [1inch\_v6\_0\_classic\_swap\_tokens](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_tokens/#1inch-v6-0-classic-swap-tokens) | -| [active\_swaps](/komodo-defi-framework/api/legacy/active_swaps/#active-swaps) | [active\_swaps](/komodo-defi-framework/api/v20/swaps_and_orders/active_swaps/#active-swaps) | | -| | [add\_node\_to\_version\_stat](/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/#add-node-to-version-stat) | | -| [all\_swaps\_uuids\_by\_filter](/komodo-defi-framework/api/legacy/all_swaps_uuids_by_filter/#all-swaps-uuids-by-filter) | | | -| | | [approve\_token](/komodo-defi-framework/api/v20-dev/approve_token/#approve-token) | -| | [balance\_enable](/komodo-defi-framework/api/v20/streaming/balance_enable/#balance-enable) | | -| [ban\_pubkey](/komodo-defi-framework/api/legacy/ban_pubkey/#ban-pubkey) | | | -| [best\_orders](/komodo-defi-framework/api/legacy/best_orders/#best-orders) | [best\_orders](/komodo-defi-framework/api/v20/swaps_and_orders/best_orders/#best-orders) | | -| [buy](/komodo-defi-framework/api/legacy/buy/#buy) | | | -| [cancel\_all\_orders](/komodo-defi-framework/api/legacy/cancel_all_orders/#cancel-all-orders) | | | -| [cancel\_order](/komodo-defi-framework/api/legacy/cancel_order/#cancel-order) | | | -| | [change\_mnemonic\_password](/komodo-defi-framework/api/v20/utils/change_mnemonic_password/#change-mnemonic-password) | | -| | [clear\_nft\_db](/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/#clear-nft-database) | | -| | [close\_channel](/komodo-defi-framework/api/v20/lightning/channels/#close-channel) | | -| [coins\_needed\_for\_kick\_start](/komodo-defi-framework/api/legacy/coins_needed_for_kick_start/#coins-needed-for-kick-start) | | | -| [convert\_utxo\_address](/komodo-defi-framework/api/legacy/convert_utxo_address/#convert-utxo-address) | | | -| [convertaddress](/komodo-defi-framework/api/legacy/convertaddress/#convertaddress) | | | -| | [delete\_wallet](/komodo-defi-framework/api/v20/wallet/delete_wallet/#delete-wallet) | | -| | [disable](/komodo-defi-framework/api/v20/streaming/disable/#disable) | | -| [disable\_coin](/komodo-defi-framework/api/legacy/disable_coin/#disable-coin) | | | -| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) | | | -| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) | | | -| | [enable\_bch\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_bch_with_tokens/#enable-bch-with-tokens) | | -| | [enable\_erc20](/komodo-defi-framework/api/v20/coin_activation/enable_erc20/#enable-erc20) | | -| | [enable\_eth\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_eth_with_tokens/#enable-eth-with-tokens) | | -| | [enable\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/enable_nft/#enable-nft) | | -| | [enable\_tendermint\_token](/komodo-defi-framework/api/v20/coin_activation/enable_tendermint_token/#enable-tendermint-token) | | -| | [enable\_tendermint\_with\_assets](/komodo-defi-framework/api/v20/coin_activation/enable_tendermint_with_assets/#enable-tendermint-with-assets) | | -| | [experimental::staking::claim\_rewards](/komodo-defi-framework/api/v20/wallet/staking/claim_rewards/#claim-rewards) | | -| | [experimental::staking::delegate](/komodo-defi-framework/api/v20/wallet/staking/delegate/#delegate) | | -| | [experimental::staking::delegations](/komodo-defi-framework/api/v20/wallet/staking/delegations/#delegations) | | -| | [experimental::staking::query::delegations](/komodo-defi-framework/api/v20/wallet/staking/delegations/#delegations) | | -| | [experimental::staking::query::ongoing\_undelegations](/komodo-defi-framework/api/v20/wallet/staking/ongoing_delegations/#ongoing-undelegations) | | -| | [experimental::staking::query::validators](/komodo-defi-framework/api/v20/wallet/staking/validators/#validators) | | -| | [experimental::staking::undelegate](/komodo-defi-framework/api/v20/wallet/staking/undelegate/#undelegate) | | -| | [fee\_estimator\_enable](/komodo-defi-framework/api/v20/streaming/fee_estimator/#fee-estimator-enable) | | -| | [get\_channel\_details](/komodo-defi-framework/api/v20/lightning/channels/#get-channel-details) | | -| | [get\_claimable\_balances](/komodo-defi-framework/api/v20/lightning/channels/#get-claimable-balances) | | -| | [get\_current\_mtp](/komodo-defi-framework/api/v20/utils/get_current_mtp/#get-current-mtp) | | -| [get\_directly\_connected\_peers](/komodo-defi-framework/api/legacy/get_directly_connected_peers/#get-directly-connected-peers) | | | -| [get\_enabled\_coins](/komodo-defi-framework/api/legacy/get_enabled_coins/#get-enabled-coins) | [get\_enabled\_coins](/komodo-defi-framework/api/v20/utils/get_enabled_coins/#get-enabled-coins) | | -| | [get\_eth\_estimated\_fee\_per\_gas](/komodo-defi-framework/api/v20/wallet/fee_management/get_eth_estimated_fee_per_gas/#get-eth-estimated-fee-per-gas) | | -| [get\_gossip\_mesh](/komodo-defi-framework/api/legacy/get_gossip_mesh/#get-gossip-mesh) | | | -| [get\_gossip\_peer\_topics](/komodo-defi-framework/api/legacy/get_gossip_peer_topics/#get-gossip-peer-topics) | | | -| [get\_gossip\_topic\_peers](/komodo-defi-framework/api/legacy/get_gossip_topic_peers/#get-gossip-topic-peers) | | | -| | [get\_locked\_amount](/komodo-defi-framework/api/v20/swaps_and_orders/get_locked_amount/#get-locked-amount) | | -| | [get\_mnemonic](/komodo-defi-framework/api/v20/utils/get_mnemonic/#get-mnemonic) | | -| [get\_my\_peer\_id](/komodo-defi-framework/api/legacy/get_my_peer_id/#get-my-peer-id) | | | -| | [get\_nft\_list](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_list/#get-a-list-of-nfts) | | -| | [get\_nft\_metadata](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_metadata/#get-nft-metadata) | | -| | [get\_nft\_transfers](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_transfers/#get-a-list-of-nft-transfers) | | -| | [get\_private\_keys](/komodo-defi-framework/api/v20/wallet/get_private_keys/#get-private-keys) | | -| | [get\_public\_key](/komodo-defi-framework/api/v20/utils/get_public_key/#get-public-key) | | -| | [get\_public\_key\_hash](/komodo-defi-framework/api/v20/utils/get_public_key_hash/#get-public-key-hash) | | -| | [get\_raw\_transaction](/komodo-defi-framework/api/v20/wallet/tx/get_raw_transaction/#get-raw-transaction) | | -| [get\_relay\_mesh](/komodo-defi-framework/api/legacy/get_relay_mesh/#get-relay-mesh) | | | -| | [get\_swap\_transaction\_fee\_policy](/komodo-defi-framework/api/v20/wallet/fee_management/get_swap_transaction_fee_policy/#get-swap-transaction-fee-policy) | | -| | | [get\_token\_allowance](/komodo-defi-framework/api/v20-dev/get_token_allowance/#get-token-allowance) | -| | [get\_token\_info](/komodo-defi-framework/api/v20/utils/get_token_info/#get-token-info) | | -| [get\_trade\_fee](/komodo-defi-framework/api/legacy/get_trade_fee/#get-trade-fee) | | | -| | [get\_wallet\_names](/komodo-defi-framework/api/v20/wallet/get_wallet_names/#get-wallet-names) | | -| | [heartbeat\_enable](/komodo-defi-framework/api/v20/streaming/heartbeat_enable/#heartbeat-enable) | | -| [import\_swaps](/komodo-defi-framework/api/legacy/import_swaps/#import-swaps) | | | -| [kmd\_rewards\_info](/komodo-defi-framework/api/legacy/kmd_rewards_info/#kmd-rewards-info) | | | -| | [lightning::nodes::add\_trusted\_node](/komodo-defi-framework/api/v20/lightning/nodes/#add-trusted-node) | | -| | [lightning::nodes::connect\_to\_node](/komodo-defi-framework/api/v20/lightning/nodes/#connect-to-node) | | -| | [lightning::nodes::list\_trusted\_nodes](/komodo-defi-framework/api/v20/lightning/nodes/#list-trusted-nodes) | | -| | [lightning::nodes::remove\_trusted\_node](/komodo-defi-framework/api/v20/lightning/nodes/#remove-trusted-node) | | -| | [lightning::payments::generate\_invoice](/komodo-defi-framework/api/v20/lightning/payments/#generate-invoice) | | -| | [lightning::payments::get\_payment\_details](/komodo-defi-framework/api/v20/lightning/payments/#get-payment-details) | | -| | [lightning::payments::list\_payments\_by\_filter](/komodo-defi-framework/api/v20/lightning/payments/#list-payments-by-filter) | | -| | [lightning::payments::send\_payment](/komodo-defi-framework/api/v20/lightning/payments/#send-payment) | | -| [list\_banned\_pubkeys](/komodo-defi-framework/api/legacy/list_banned_pubkeys/#list-banned-pubkeys) | | | -| | [list\_closed\_channels\_by\_filter](/komodo-defi-framework/api/v20/lightning/channels/#list-closed-channels-by-filter) | | -| | [list\_open\_channels\_by\_filter](/komodo-defi-framework/api/v20/lightning/channels/#list-open-channels-by-filter) | | -| | [max\_maker\_vol](/komodo-defi-framework/api/v20/swaps_and_orders/max_maker_vol/#max-maker-vol) | | -| [max\_taker\_vol](/komodo-defi-framework/api/legacy/max_taker_vol/#max-taker-vol) | | | -| [metrics](/komodo-defi-framework/api/legacy/metrics/#metrics) | | | -| [min\_trading\_vol](/komodo-defi-framework/api/legacy/min_trading_vol/#min-trading-vol) | | | -| [my\_balance](/komodo-defi-framework/api/legacy/my_balance/#my-balance) | | | -| [my\_orders](/komodo-defi-framework/api/legacy/my_orders/#my-orders) | | | -| [my\_recent\_swaps](/komodo-defi-framework/api/legacy/my_recent_swaps/#my-recent-swaps) | [my\_recent\_swaps](/komodo-defi-framework/api/v20/swaps_and_orders/my_recent_swaps/#my-recent-swaps) | | -| [my\_swap\_status](/komodo-defi-framework/api/legacy/my_swap_status/#my-swap-status) | | | -| [my\_tx\_history](/komodo-defi-framework/api/legacy/my_tx_history/#my-tx-history) | [my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/#my-tx-history) | | -| | [network\_enable](/komodo-defi-framework/api/v20/streaming/network_enable/#network-enable) | | -| | [open\_channel](/komodo-defi-framework/api/v20/lightning/channels/#open-channel) | | -| [order\_status](/komodo-defi-framework/api/legacy/order_status/#order-status) | | | -| | [order\_status\_enable](/komodo-defi-framework/api/v20/streaming/order_status_enable/#order-status-enable) | | -| [orderbook](/komodo-defi-framework/api/legacy/orderbook/#orderbook) | [orderbook](/komodo-defi-framework/api/v20/swaps_and_orders/orderbook/#orderbook) | | -| [orderbook\_depth](/komodo-defi-framework/api/legacy/orderbook_depth/#orderbook-depth) | | | -| | [orderbook\_enable](/komodo-defi-framework/api/v20/streaming/orderbook_enable/#orderbook-enable) | | -| [orders\_history\_by\_filter](/komodo-defi-framework/api/legacy/orders_history_by_filter/#orders-history-by-filter) | | | -| | [peer\_connection\_healthcheck](/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/#peer-connection-healthcheck) | | -| [recover\_funds\_of\_swap](/komodo-defi-framework/api/legacy/recover_funds_of_swap/#recover-funds-of-swap) | | | -| | [recreate\_swap\_data](/komodo-defi-framework/api/v20/swaps_and_orders/recreate_swap_data/#recreate-swap-data) | | -| | [refresh\_nft\_metadata](/komodo-defi-framework/api/v20/non_fungible_tokens/refresh_nft_metadata/#refresh-nft-metadata) | | -| | [remove\_node\_from\_version\_stat](/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/#remove-node-from-version-stat) | | -| [sell](/komodo-defi-framework/api/legacy/sell/#sell) | | | -| [send\_raw\_transaction](/komodo-defi-framework/api/legacy/send_raw_transaction/#send-raw-transaction) | | | -| [set\_required\_confirmations](/komodo-defi-framework/api/legacy/set_required_confirmations/#set-required-confirmations) | | | -| [set\_requires\_notarization](/komodo-defi-framework/api/legacy/set_requires_notarization/#set-requires-notarization) | | | -| | [set\_swap\_transaction\_fee\_policy](/komodo-defi-framework/api/v20/wallet/fee_management/set_swap_transaction_fee_policy/#set-swap-transaction-fee-policy) | | -| [setprice](/komodo-defi-framework/api/legacy/setprice/#setprice) | | | -| [show\_priv\_key](/komodo-defi-framework/api/legacy/show_priv_key/#show-priv-key) | | | -| | [sign\_message](/komodo-defi-framework/api/v20/utils/message_signing/sign_message/#sign-message) | | -| | [sign\_raw\_transaction](/komodo-defi-framework/api/v20/wallet/tx/sign_raw_transaction/#sign-raw-transaction) | | -| | [start\_simple\_market\_maker\_bot](/komodo-defi-framework/api/v20/swaps_and_orders/start_simple_market_maker_bot/#start-simple-market-maker-bot) | | -| | [start\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/start_version_stat_collection/#start-version-stat-collection) | | -| | [stop\_simple\_market\_maker\_bot](/komodo-defi-framework/api/v20/swaps_and_orders/stop_simple_market_maker_bot/#stop-simple-market-maker-bot) | | -| | [stop\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/#stop-version-stat-collection) | | -| | [swap\_status\_enable](/komodo-defi-framework/api/v20/streaming/swap_status_enable/#swap-status-enable) | | -| | [task::account\_balance::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance-cancel) | | -| | [task::account\_balance::init](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance-init) | | -| | [task::account\_balance::status](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance-status) | | -| | [task::create\_new\_account::init](/komodo-defi-framework/api/v20/wallet/task_managed/create_new_account/#task-create-new-account-init) | | -| | [task::create\_new\_account::status](/komodo-defi-framework/api/v20/wallet/task_managed/create_new_account/#task-create-new-account-status) | | -| | [task::enable\_bch::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-enable-bch-cancel) | | -| | [task::enable\_bch::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-enable-bch-init) | | -| | [task::enable\_bch::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-enable-bch-status) | | -| | [task::enable\_bch::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-enable-bch-user-action) | | -| | [task::enable\_eth::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-enable-eth-cancel) | | -| | [task::enable\_eth::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-enable-eth-init) | | -| | [task::enable\_eth::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-enable-eth-status) | | -| | [task::enable\_eth::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-enable-eth-user-action) | | -| | [task::enable\_lightning::cancel](/komodo-defi-framework/api/v20/lightning/activation/#cancel-initialization) | | -| | [task::enable\_lightning::init](/komodo-defi-framework/api/v20/lightning/activation/#initialize-lightning) | | -| | [task::enable\_lightning::status](/komodo-defi-framework/api/v20/lightning/activation/#initialization-status) | | -| | [task::enable\_qtum::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-enable-qtum-cancel) | | -| | [task::enable\_qtum::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-enable-qtum-init) | | -| | [task::enable\_qtum::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-enable-qtum-status) | | -| | [task::enable\_qtum::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-enable-qtum-user-action) | | -| | [task::enable\_tendermint::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-enable-tendermint-cancel) | | -| | [task::enable\_tendermint::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-enable-tendermint-init) | | -| | [task::enable\_tendermint::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-enable-tendermint-status) | | -| | [task::enable\_tendermint::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-enable-tendermint-user-action) | | -| | [task::enable\_utxo::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-enable-utxo-cancel) | | -| | [task::enable\_utxo::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-enable-utxo-init) | | -| | [task::enable\_utxo::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-enable-utxo-status) | | -| | [task::enable\_utxo::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-enable-utxo-user-action) | | -| | [task::enable\_z\_coin::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-enable-z-coin-cancel) | | -| | [task::enable\_z\_coin::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-enable-z-coin-init) | | -| | [task::enable\_z\_coin::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-enable-z-coin-status) | | -| | [task::enable\_z\_coin::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-enable-z-coin-user-action) | | -| | [task::get\_new\_address::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address-cancel) | | -| | [task::get\_new\_address::init](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address-init) | | -| | [task::get\_new\_address::status](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address-status) | | -| | [task::get\_new\_address::user\_action](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address-user-action) | | -| | [task::init\_trezor::cancel](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-cancel) | | -| | [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-init) | | -| | [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-status) | | -| | [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-user-action) | | -| | [task::scan\_for\_new\_addresses::init](/komodo-defi-framework/api/v20/wallet/task_managed/scan_for_new_addresses/#task-scan-for-new-addresses-init) | | -| | [task::scan\_for\_new\_addresses::status](/komodo-defi-framework/api/v20/wallet/task_managed/scan_for_new_addresses/#task-scan-for-new-addresses-status) | | -| | [task::withdraw::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#task-withdraw-cancel) | | -| | [task::withdraw::init](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#task-withdraw-init) | | -| | [task::withdraw::status](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#task-withdraw-status) | | -| [trade\_preimage](/komodo-defi-framework/api/legacy/trade_preimage/#trade-preimage) | [trade\_preimage](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/#trade-preimage) | | -| | [tx\_history\_enable](/komodo-defi-framework/api/v20/streaming/tx_history_enable/#tx-history-enable) | | -| [unban\_pubkeys](/komodo-defi-framework/api/legacy/unban_pubkeys/#unban-pubkeys) | | | -| | [update\_channel](/komodo-defi-framework/api/v20/lightning/channels/#update-channel) | | -| [update\_maker\_order](/komodo-defi-framework/api/legacy/update_maker_order/#update-maker-order) | | | -| | [update\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/update_nft/#update-nft) | | -| | [update\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/update_version_stat_collection/#update-version-stat-collection) | | -| [validateaddress](/komodo-defi-framework/api/legacy/validateaddress/#validateaddress) | | | -| | [verify\_message](/komodo-defi-framework/api/v20/utils/message_signing/verify_message/#verify-message) | | -| [version](/komodo-defi-framework/api/legacy/version/#version) | | | -| | | [wc\_delete\_session](/komodo-defi-framework/api/v20-dev/wc_delete_session/#wc-delete-session) | -| | | [wc\_get\_session](/komodo-defi-framework/api/v20-dev/wc_get_session/#wc-get-session) | -| | | [wc\_get\_sessions](/komodo-defi-framework/api/v20-dev/wc_get_sessions/#wc-get-sessions) | -| | | [wc\_new\_connection](/komodo-defi-framework/api/v20-dev/wc_new_connection/#wc-new-connection) | -| | | [wc\_ping\_session](/komodo-defi-framework/api/v20-dev/wc_ping_session/#wc-ping-session) | -| [withdraw](/komodo-defi-framework/api/legacy/withdraw/#withdraw) | [withdraw](/komodo-defi-framework/api/v20/wallet/tx/withdraw/#withdraw) | | -| | [withdraw\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/withdraw_nft/#withdraw-nfts) | | -| | [z\_coin\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/zhtlc_tx_history/#zhtlc-coin-transaction-history) | | +| Legacy | v2.0 (release) | v2.0 (dev) | +| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [](/komodo-defi-framework/api/legacy/recover_funds_of_swap/#recover-funds-of-swap) | [](/komodo-defi-framework/api/v20/utils/start_version_stat_collection/#start-version-stat-collection) | [](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_quote/#1inch-v6-0-classic-swap-quote) | +| | | [1inch\_v6\_0\_classic\_swap\_create](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/#1inch-v6-0-classic-swap-create) | +| | | [1inch\_v6\_0\_classic\_swap\_liquidity\_sources](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_liquidity_sources/#1inch-v6-0-classic-swap-liquidity-sources) | +| | | [1inch\_v6\_0\_classic\_swap\_quote](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_quote/#1inch-v6-0-classic-swap-quote) | +| | | [1inch\_v6\_0\_classic\_swap\_tokens](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_tokens/#1inch-v6-0-classic-swap-tokens) | +| [active\_swaps](/komodo-defi-framework/api/legacy/active_swaps/#active-swaps) | [active\_swaps](/komodo-defi-framework/api/v20/swaps_and_orders/active_swaps/#active-swaps) | | +| | [add\_node\_to\_version\_stat](/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/#add-node-to-version-stat) | | +| [all\_swaps\_uuids\_by\_filter](/komodo-defi-framework/api/legacy/all_swaps_uuids_by_filter/#all-swaps-uuids-by-filter) | | | +| | | [approve\_token](/komodo-defi-framework/api/v20-dev/approve_token/#approve-token) | +| | [balance\_enable](/komodo-defi-framework/api/v20/streaming/balance_enable/#balance-enable) | | +| [ban\_pubkey](/komodo-defi-framework/api/legacy/ban_pubkey/#ban-pubkey) | | | +| [best\_orders](/komodo-defi-framework/api/legacy/best_orders/#best-orders) | [best\_orders](/komodo-defi-framework/api/v20/swaps_and_orders/best_orders/#best-orders) | | +| [buy](/komodo-defi-framework/api/legacy/buy/#buy) | | | +| [cancel\_all\_orders](/komodo-defi-framework/api/legacy/cancel_all_orders/#cancel-all-orders) | | | +| [cancel\_order](/komodo-defi-framework/api/legacy/cancel_order/#cancel-order) | | | +| | [change\_mnemonic\_password](/komodo-defi-framework/api/v20/utils/change_mnemonic_password/#change-mnemonic-password) | | +| | [clear\_nft\_db](/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/#clear-nft-db) | | +| | [close\_channel](/komodo-defi-framework/api/v20/lightning/channels/#close-channel) | | +| [coins\_needed\_for\_kick\_start](/komodo-defi-framework/api/legacy/coins_needed_for_kick_start/#coins-needed-for-kick-start) | | | +| [convert\_utxo\_address](/komodo-defi-framework/api/legacy/convert_utxo_address/#convert-utxo-address) | | | +| [convertaddress](/komodo-defi-framework/api/legacy/convertaddress/#convertaddress) | | | +| | [delete\_wallet](/komodo-defi-framework/api/v20/wallet/delete_wallet/#delete-wallet) | | +| | [disable](/komodo-defi-framework/api/v20/streaming/disable/#disable) | | +| [disable\_coin](/komodo-defi-framework/api/legacy/disable_coin/#disable-coin) | | | +| [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) | | | +| [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) | | | +| | [enable\_bch\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_bch_with_tokens/#enable-bch-with-tokens) | | +| | [enable\_erc20](/komodo-defi-framework/api/v20/coin_activation/enable_erc20/#enable-erc20) | | +| | [enable\_eth\_with\_tokens](/komodo-defi-framework/api/v20/coin_activation/enable_eth_with_tokens/#enable-eth-with-tokens) | | +| | [enable\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/enable_nft/#enable-nft) | | +| | [enable\_tendermint\_token](/komodo-defi-framework/api/v20/coin_activation/enable_tendermint_token/#enable-tendermint-token) | | +| | [enable\_tendermint\_with\_assets](/komodo-defi-framework/api/v20/coin_activation/enable_tendermint_with_assets/#enable-tendermint-with-assets) | | +| | [experimental::staking::claim\_rewards](/komodo-defi-framework/api/v20/wallet/staking/claim_rewards/#claim-rewards) | | +| | [experimental::staking::delegate](/komodo-defi-framework/api/v20/wallet/staking/delegate/#delegate) | | +| | [experimental::staking::delegations](/komodo-defi-framework/api/v20/wallet/staking/delegations/#delegations) | | +| | [experimental::staking::query::delegations](/komodo-defi-framework/api/v20/wallet/staking/delegations/#delegations) | | +| | [experimental::staking::query::ongoing\_undelegations](/komodo-defi-framework/api/v20/wallet/staking/ongoing_delegations/#ongoing-undelegations) | | +| | [experimental::staking::query::validators](/komodo-defi-framework/api/v20/wallet/staking/validators/#validators) | | +| | [experimental::staking::undelegate](/komodo-defi-framework/api/v20/wallet/staking/undelegate/#undelegate) | | +| | [fee\_estimator\_enable](/komodo-defi-framework/api/v20/streaming/fee_estimator/#fee-estimator-enable) | | +| | [get\_channel\_details](/komodo-defi-framework/api/v20/lightning/channels/#get-channel-details) | | +| | [get\_claimable\_balances](/komodo-defi-framework/api/v20/lightning/channels/#get-claimable-balances) | | +| | [get\_current\_mtp](/komodo-defi-framework/api/v20/utils/get_current_mtp/#get-current-mtp) | | +| [get\_directly\_connected\_peers](/komodo-defi-framework/api/legacy/get_directly_connected_peers/#get-directly-connected-peers) | | | +| [get\_enabled\_coins](/komodo-defi-framework/api/legacy/get_enabled_coins/#get-enabled-coins) | [get\_enabled\_coins](/komodo-defi-framework/api/v20/utils/get_enabled_coins/#get-enabled-coins) | | +| | [get\_eth\_estimated\_fee\_per\_gas](/komodo-defi-framework/api/v20/wallet/fee_management/get_eth_estimated_fee_per_gas/#get-eth-estimated-fee-per-gas) | | +| [get\_gossip\_mesh](/komodo-defi-framework/api/legacy/get_gossip_mesh/#get-gossip-mesh) | | | +| [get\_gossip\_peer\_topics](/komodo-defi-framework/api/legacy/get_gossip_peer_topics/#get-gossip-peer-topics) | | | +| [get\_gossip\_topic\_peers](/komodo-defi-framework/api/legacy/get_gossip_topic_peers/#get-gossip-topic-peers) | | | +| | [get\_locked\_amount](/komodo-defi-framework/api/v20/swaps_and_orders/get_locked_amount/#get-locked-amount) | | +| | [get\_mnemonic](/komodo-defi-framework/api/v20/utils/get_mnemonic/#get-mnemonic) | | +| [get\_my\_peer\_id](/komodo-defi-framework/api/legacy/get_my_peer_id/#get-my-peer-id) | | | +| | [get\_nft\_list](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_list/#get-a-list-of-nfts) | | +| | [get\_nft\_metadata](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_metadata/#get-nft-metadata) | | +| | [get\_nft\_transfers](/komodo-defi-framework/api/v20/non_fungible_tokens/get_nft_transfers/#get-a-list-of-nft-transfers) | | +| | [get\_private\_keys](/komodo-defi-framework/api/v20/wallet/get_private_keys/#get-private-keys) | | +| | [get\_public\_key](/komodo-defi-framework/api/v20/utils/get_public_key/#get-public-key) | | +| | [get\_public\_key\_hash](/komodo-defi-framework/api/v20/utils/get_public_key_hash/#get-public-key-hash) | | +| | [get\_raw\_transaction](/komodo-defi-framework/api/v20/wallet/tx/get_raw_transaction/#get-raw-transaction) | | +| [get\_relay\_mesh](/komodo-defi-framework/api/legacy/get_relay_mesh/#get-relay-mesh) | | | +| | [get\_shared\_db\_id](/komodo-defi-framework/api/v20/utils/get_shared_db_id/#get-shared-db-id) | | +| | [get\_swap\_transaction\_fee\_policy](/komodo-defi-framework/api/v20/wallet/fee_management/get_swap_transaction_fee_policy/#get-swap-transaction-fee-policy) | | +| | | [get\_token\_allowance](/komodo-defi-framework/api/v20-dev/get_token_allowance/#get-token-allowance) | +| | [get\_token\_info](/komodo-defi-framework/api/v20/utils/get_token_info/#get-token-info) | | +| [get\_trade\_fee](/komodo-defi-framework/api/legacy/get_trade_fee/#get-trade-fee) | | | +| | [get\_wallet\_names](/komodo-defi-framework/api/v20/wallet/get_wallet_names/#get-wallet-names) | | +| | [heartbeat\_enable](/komodo-defi-framework/api/v20/streaming/heartbeat_enable/#heartbeat-enable) | | +| [import\_swaps](/komodo-defi-framework/api/legacy/import_swaps/#import-swaps) | | | +| [kmd\_rewards\_info](/komodo-defi-framework/api/legacy/kmd_rewards_info/#kmd-rewards-info) | | | +| | [lightning](/komodo-defi-framework/api/v20/lightning/channels/#lightning-network-channels) | | +| | [lightning::nodes::add\_trusted\_node](/komodo-defi-framework/api/v20/lightning/nodes/#lightning-network-nodes) | | +| | [lightning::nodes::connect\_to\_node](/komodo-defi-framework/api/v20/lightning/nodes/#lightning-network-nodes) | | +| | [lightning::nodes::list\_trusted\_nodes](/komodo-defi-framework/api/v20/lightning/nodes/#lightning-network-nodes) | | +| | [lightning::nodes::remove\_trusted\_node](/komodo-defi-framework/api/v20/lightning/nodes/#lightning-network-nodes) | | +| | [lightning::payments::generate\_invoice](/komodo-defi-framework/api/v20/lightning/payments/#lightning-network-payments) | | +| | [lightning::payments::get\_payment\_details](/komodo-defi-framework/api/v20/lightning/payments/#lightning-network-payments) | | +| | [lightning::payments::list\_payments\_by\_filter](/komodo-defi-framework/api/v20/lightning/payments/#lightning-network-payments) | | +| | [lightning::payments::send\_payment](/komodo-defi-framework/api/v20/lightning/payments/#lightning-network-payments) | | +| [list\_banned\_pubkeys](/komodo-defi-framework/api/legacy/list_banned_pubkeys/#list-banned-pubkeys) | | | +| | [list\_closed\_channels\_by\_filter](/komodo-defi-framework/api/v20/lightning/channels/#list-closed-channels-by-filter) | | +| | [list\_open\_channels\_by\_filter](/komodo-defi-framework/api/v20/lightning/channels/#list-open-channels-by-filter) | | +| | [max\_maker\_vol](/komodo-defi-framework/api/v20/swaps_and_orders/max_maker_vol/#max-maker-vol) | | +| [max\_taker\_vol](/komodo-defi-framework/api/legacy/max_taker_vol/#max-taker-vol) | | | +| | [message\_signing](/komodo-defi-framework/api/v20/utils/message_signing/#message-signing) | | +| [metrics](/komodo-defi-framework/api/legacy/metrics/#metrics) | | | +| [min\_trading\_vol](/komodo-defi-framework/api/legacy/min_trading_vol/#min-trading-vol) | | | +| [my\_balance](/komodo-defi-framework/api/legacy/my_balance/#my-balance) | | | +| [my\_orders](/komodo-defi-framework/api/legacy/my_orders/#my-orders) | | | +| [my\_recent\_swaps](/komodo-defi-framework/api/legacy/my_recent_swaps/#my-recent-swaps) | [my\_recent\_swaps](/komodo-defi-framework/api/v20/swaps_and_orders/my_recent_swaps/#my-recent-swaps) | | +| [my\_swap\_status](/komodo-defi-framework/api/legacy/my_swap_status/#my-swap-status) | | | +| [my\_tx\_history](/komodo-defi-framework/api/legacy/my_tx_history/#my-tx-history) | [my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/#my-tx-history) | | +| | [network\_enable](/komodo-defi-framework/api/v20/streaming/network_enable/#network-enable) | | +| | [open\_channel](/komodo-defi-framework/api/v20/lightning/channels/#open-channel) | | +| [order\_status](/komodo-defi-framework/api/legacy/order_status/#order-status) | | | +| | [order\_status\_enable](/komodo-defi-framework/api/v20/streaming/order_status_enable/#order-status-enable) | | +| [orderbook](/komodo-defi-framework/api/legacy/orderbook/#orderbook) | [orderbook](/komodo-defi-framework/api/v20/swaps_and_orders/orderbook/#orderbook) | | +| [orderbook\_depth](/komodo-defi-framework/api/legacy/orderbook_depth/#orderbook-depth) | | | +| | [orderbook\_enable](/komodo-defi-framework/api/v20/streaming/orderbook_enable/#orderbook-enable) | | +| [orders\_history\_by\_filter](/komodo-defi-framework/api/legacy/orders_history_by_filter/#orders-history-by-filter) | | | +| | [peer\_connection\_healthcheck](/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/#peer-connection-healthcheck) | | +| [recover\_funds\_of\_swap](/komodo-defi-framework/api/legacy/recover_funds_of_swap/#recover-funds-of-swap) | | | +| | [recreate\_swap\_data](/komodo-defi-framework/api/v20/swaps_and_orders/recreate_swap_data/#recreate-swap-data) | | +| | [refresh\_nft\_metadata](/komodo-defi-framework/api/v20/non_fungible_tokens/refresh_nft_metadata/#refresh-nft-metadata) | | +| | [remove\_node\_from\_version\_stat](/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/#remove-node-from-version-stat) | | +| [sell](/komodo-defi-framework/api/legacy/sell/#sell) | | | +| | [send\_asked\_data](/komodo-defi-framework/api/v20/utils/send_asked_data/#send-asked-data) | | +| [send\_raw\_transaction](/komodo-defi-framework/api/legacy/send_raw_transaction/#send-raw-transaction) | | | +| [set\_required\_confirmations](/komodo-defi-framework/api/legacy/set_required_confirmations/#set-required-confirmations) | | | +| [set\_requires\_notarization](/komodo-defi-framework/api/legacy/set_requires_notarization/#set-requires-notarization) | | | +| | [set\_swap\_transaction\_fee\_policy](/komodo-defi-framework/api/v20/wallet/fee_management/set_swap_transaction_fee_policy/#set-swap-transaction-fee-policy) | | +| [setprice](/komodo-defi-framework/api/legacy/setprice/#setprice) | | | +| [show\_priv\_key](/komodo-defi-framework/api/legacy/show_priv_key/#show-priv-key) | | | +| | [sign\_message](/komodo-defi-framework/api/v20/utils/message_signing/sign_message/#sign-message) | | +| | [sign\_raw\_transaction](/komodo-defi-framework/api/v20/wallet/tx/sign_raw_transaction/#sign-raw-transaction) | | +| | [start\_simple\_market\_maker\_bot](/komodo-defi-framework/api/v20/swaps_and_orders/start_simple_market_maker_bot/#start-simple-market-maker-bot) | | +| | [start\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/start_version_stat_collection/#start-version-stat-collection) | | +| [stop](/komodo-defi-framework/api/legacy/stop/#stop) | | | +| | [stop\_simple\_market\_maker\_bot](/komodo-defi-framework/api/v20/swaps_and_orders/stop_simple_market_maker_bot/#stop-simple-market-maker-bot) | | +| | [stop\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/#stop-version-stat-collection) | | +| | [swap\_status\_enable](/komodo-defi-framework/api/v20/streaming/swap_status_enable/#swap-status-enable) | | +| | [task](/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/#meta-mask-connection-task-status) | | +| | [task::account\_balance::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance) | | +| | [task::account\_balance::init](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance) | | +| | [task::account\_balance::status](/komodo-defi-framework/api/v20/wallet/task_managed/account_balance/#task-account-balance) | | +| | [task::connect\_metamask::cancel](/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/#cancel-meta-mask-connection-task) | | +| | [task::connect\_metamask::init](/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/#initialise-meta-mask-connection-task) | | +| | [task::connect\_metamask::status](/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/#meta-mask-connection-task-status) | | +| | [task::create\_new\_account::init](/komodo-defi-framework/api/v20/wallet/task_managed/create_new_account/#task-create-new-account) | | +| | [task::create\_new\_account::status](/komodo-defi-framework/api/v20/wallet/task_managed/create_new_account/#task-create-new-account) | | +| | [task::enable\_bch::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-bch-slp-activation) | | +| | [task::enable\_bch::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-bch-slp-activation) | | +| | [task::enable\_bch::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-bch-slp-activation) | | +| | [task::enable\_bch::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/#task-bch-slp-activation) | | +| | [task::enable\_eth::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-eth-evm-activation) | | +| | [task::enable\_eth::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-eth-evm-activation) | | +| | [task::enable\_eth::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-eth-evm-activation) | | +| | [task::enable\_eth::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/#task-eth-evm-activation) | | +| | [task::enable\_lightning::cancel](/komodo-defi-framework/api/v20/lightning/activation/#lightning-network-initialization-tasks) | | +| | [task::enable\_lightning::init](/komodo-defi-framework/api/v20/lightning/activation/#lightning-network-initialization-tasks) | | +| | [task::enable\_lightning::status](/komodo-defi-framework/api/v20/lightning/activation/#lightning-network-initialization-tasks) | | +| | [task::enable\_qtum::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-qtum-activation) | | +| | [task::enable\_qtum::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-qtum-activation) | | +| | [task::enable\_qtum::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-qtum-activation) | | +| | [task::enable\_qtum::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_qtum/#task-qtum-activation) | | +| | [task::enable\_tendermint::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-tendermint-activation) | | +| | [task::enable\_tendermint::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-tendermint-activation) | | +| | [task::enable\_tendermint::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-tendermint-activation) | | +| | [task::enable\_tendermint::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_tendermint/#task-tendermint-activation) | | +| | [task::enable\_utxo::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-utxo-activation) | | +| | [task::enable\_utxo::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-utxo-activation) | | +| | [task::enable\_utxo::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-utxo-activation) | | +| | [task::enable\_utxo::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/#task-utxo-activation) | | +| | [task::enable\_z\_coin::cancel](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-z-coin-activation) | | +| | [task::enable\_z\_coin::init](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-z-coin-activation) | | +| | [task::enable\_z\_coin::status](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-z-coin-activation) | | +| | [task::enable\_z\_coin::user\_action](/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_z_coin/#task-z-coin-activation) | | +| | [task::get\_new\_address::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address) | | +| | [task::get\_new\_address::init](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address) | | +| | [task::get\_new\_address::status](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address) | | +| | [task::get\_new\_address::user\_action](/komodo-defi-framework/api/v20/wallet/task_managed/get_new_address/#task-get-new-address) | | +| | [task::init\_trezor::cancel](/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/#cancel-trezor-initialization-task) | | +| | [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/init/#komodo-de-fi-framework-method-task-init-trezor-init) | | +| | [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#komodo-de-fi-framework-method-task-init-trezor-status) | | +| | [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/#komodo-de-fi-framework-method-task-init-trezor-user-action) | | +| | [task::scan\_for\_new\_addresses::init](/komodo-defi-framework/api/v20/wallet/task_managed/scan_for_new_addresses/#task-scan-for-new-addresses) | | +| | [task::scan\_for\_new\_addresses::status](/komodo-defi-framework/api/v20/wallet/task_managed/scan_for_new_addresses/#task-scan-for-new-addresses) | | +| | [task::withdraw::cancel](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#withdraw-tasks) | | +| | [task::withdraw::init](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#withdraw-tasks) | | +| | [task::withdraw::status](/komodo-defi-framework/api/v20/wallet/task_managed/withdraw/#withdraw-tasks) | | +| [trade\_preimage](/komodo-defi-framework/api/legacy/trade_preimage/#trade-preimage) | [trade\_preimage](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/#trade-preimage) | | +| | [trezor\_connection\_status](/komodo-defi-framework/api/v20/utils/trezor_connection_status/#trezor-connection-status) | | +| | [trezor\_initialisation](/komodo-defi-framework/api/v20/utils/task_init_trezor/#trezor-initialisation) | | +| | [tx\_history\_enable](/komodo-defi-framework/api/v20/streaming/tx_history_enable/#tx-history-enable) | | +| [unban\_pubkeys](/komodo-defi-framework/api/legacy/unban_pubkeys/#unban-pubkeys) | | | +| | [update\_channel](/komodo-defi-framework/api/v20/lightning/channels/#update-channel) | | +| [update\_maker\_order](/komodo-defi-framework/api/legacy/update_maker_order/#update-maker-order) | | | +| | [update\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/update_nft/#update-nft) | | +| | [update\_version\_stat\_collection](/komodo-defi-framework/api/v20/utils/update_version_stat_collection/#update-version-stat-collection) | | +| [validateaddress](/komodo-defi-framework/api/legacy/validateaddress/#validateaddress) | | | +| | [verify\_message](/komodo-defi-framework/api/v20/utils/message_signing/verify_message/#verify-message) | | +| [version](/komodo-defi-framework/api/legacy/version/#version) | | | +| | | [wc\_delete\_session](/komodo-defi-framework/api/v20-dev/wc_delete_session/#wc-delete-session) | +| | | [wc\_get\_session](/komodo-defi-framework/api/v20-dev/wc_get_session/#wc-get-session) | +| | | [wc\_get\_sessions](/komodo-defi-framework/api/v20-dev/wc_get_sessions/#wc-get-sessions) | +| | | [wc\_new\_connection](/komodo-defi-framework/api/v20-dev/wc_new_connection/#wc-new-connection) | +| | | [wc\_ping\_session](/komodo-defi-framework/api/v20-dev/wc_ping_session/#wc-ping-session) | +| [withdraw](/komodo-defi-framework/api/legacy/withdraw/#withdraw) | [withdraw](/komodo-defi-framework/api/v20/wallet/tx/withdraw/#withdraw) | | +| | [withdraw\_nft](/komodo-defi-framework/api/v20/non_fungible_tokens/withdraw_nft/#withdraw-nfts) | | +| | [z\_coin\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/zhtlc_tx_history/#zhtlc-coin-transaction-history) | | diff --git a/src/pages/komodo-defi-framework/api/legacy/coin_activation/index.mdx b/src/pages/komodo-defi-framework/api/legacy/coin_activation/index.mdx index 6893ebd8a..c035d362d 100644 --- a/src/pages/komodo-defi-framework/api/legacy/coin_activation/index.mdx +++ b/src/pages/komodo-defi-framework/api/legacy/coin_activation/index.mdx @@ -55,7 +55,7 @@ Komodo DeFi Framework is a true cross chain, cross protocol Decentralized Exchan * [Moonriver (MOVR)](https://moonbeam.network/networks/moonriver/) & [MVR20 tokens](https://moonriver.moonscan.io/tokens) * And more! -## Electrum Method +## Electrum Electrum mode is only available for UTXO based coins and QTUM/QRC20 tokens. @@ -257,7 +257,7 @@ If max\_connected is \< min\_connected, you will see the following error: } ``` -## Enable Method +## Enable #### Arguments diff --git a/src/pages/komodo-defi-framework/api/legacy/kmd_rewards_info/index.mdx b/src/pages/komodo-defi-framework/api/legacy/kmd_rewards_info/index.mdx index fe9f3a7c2..ce2a3779b 100644 --- a/src/pages/komodo-defi-framework/api/legacy/kmd_rewards_info/index.mdx +++ b/src/pages/komodo-defi-framework/api/legacy/kmd_rewards_info/index.mdx @@ -19,17 +19,17 @@ The `kmd_rewards_info` method returns information about the active user rewards #### Response -| Structure | Type | Description | -| ----------------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| result | array of objects | the rewards info; each element corresponds to an unspent output and contains detailed information about the active user rewards corresponding to it | -| tx\_hash | string | the hash of the transaction | -| height | number (integer, optional) | the height of the block in which the transaction was included (empty if the tx is not mined yet) | -| output\_index | number (integer) | the zero-based index of the output in the transaction’s list of outputs | -| amount | string (numeric) | the transaction output’s value | -| locktime | number (integer) | the transaction output's locktime | -| accrued\_rewards | object | either a [NotAccruedReason](/komodo-defi-framework/api/common_structures/wallet/#not-accrued-reason/) or [Accrued](/komodo-defi-framework/api/common_structures/wallet/#accrued/) object, showing the amount of acrued rewards, or the reason why rewards are not accrued. | -| accrue\_start\_at | number (integer, optional) | the rewards start to accrue at this time for the given transaction (empty if the rewards will never accrue to it) | -| accrue\_stop\_at | number (integer, optional) | the rewards stop to accrue at this time for the given transaction (empty if the tx is not mined yet or if rewards will never accrue to it) | +| Structure | Type | Description | +| ----------------- | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| result | array of objects | the rewards info; each element corresponds to an unspent output and contains detailed information about the active user rewards corresponding to it | +| tx\_hash | string | the hash of the transaction | +| height | number (integer, optional) | the height of the block in which the transaction was included (empty if the tx is not mined yet) | +| output\_index | number (integer) | the zero-based index of the output in the transaction’s list of outputs | +| amount | string (numeric) | the transaction output’s value | +| locktime | number (integer) | the transaction output's locktime | +| accrued\_rewards | object | either a [NotAccruedReason](/komodo-defi-framework/api/common_structures/wallet/#not-accrued-reason) or [AccruedRewards](/komodo-defi-framework/api/common_structures/wallet/#accrued-rewards) object, showing the amount of accrued rewards, or the reason why rewards are not accrued. | +| accrue\_start\_at | number (integer, optional) | the rewards start to accrue at this time for the given transaction (empty if the rewards will never accrue to it) | +| accrue\_stop\_at | number (integer, optional) | the rewards stop to accrue at this time for the given transaction (empty if the tx is not mined yet or if rewards will never accrue to it) | Where the `accrued_rewards` has either diff --git a/src/pages/komodo-defi-framework/api/legacy/my_tx_history/index.mdx b/src/pages/komodo-defi-framework/api/legacy/my_tx_history/index.mdx index 3cf52dab1..64e28bd34 100644 --- a/src/pages/komodo-defi-framework/api/legacy/my_tx_history/index.mdx +++ b/src/pages/komodo-defi-framework/api/legacy/my_tx_history/index.mdx @@ -8,7 +8,7 @@ export const description = The `my_tx_history` method returns the blockchain transactions involving the Komodo DeFi Framework API node's coin address. -The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable-method) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) call. +The coin that is used must have `tx_history` set to true in its [enable](/komodo-defi-framework/api/legacy/coin_activation/#enable) or [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) call. This method is deprecated and is incompatible with coins activated in HD mode. Use the [v2 my\_tx\_history](/komodo-defi-framework/api/v20/wallet/tx/my_tx_history/) method instead. diff --git a/src/pages/komodo-defi-framework/api/legacy/stop/index.mdx b/src/pages/komodo-defi-framework/api/legacy/stop/index.mdx index 94fced89b..06f9d14de 100644 --- a/src/pages/komodo-defi-framework/api/legacy/stop/index.mdx +++ b/src/pages/komodo-defi-framework/api/legacy/stop/index.mdx @@ -3,18 +3,29 @@ export const description = "The stop method stops the Komodo DeFi Framework API # stop -**stop()** +## stop {{label : 'stop', tag : 'API-v1`'}} The `stop` method stops the Komodo DeFi Framework API software. -## Arguments +### Arguments | Structure | Type | Description | | --------- | ---- | ----------- | | (none) | | | -## Response +### Response | Structure | Type | Description | | --------- | ---- | ----------- | | (none) | | | + +#### 📌 Examples + + + ```json + { + "method": "stop", + "userpass": "RPC_UserP@SSW0RD" + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/index.mdx b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/index.mdx index eb565d252..5b2d329f5 100644 --- a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_bch/index.mdx @@ -261,7 +261,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_bch::user\_action {{label : 'task::enable_bch::user_action', tag : 'API-v2'}} diff --git a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/index.mdx b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/index.mdx index f73f48947..ed721ae93 100644 --- a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_eth/index.mdx @@ -295,7 +295,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_eth::user\_action {{label : 'task::enable_eth::user_action', tag : 'API-v2'}} diff --git a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/index.mdx b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/index.mdx index 6044baae6..9fd068fc9 100644 --- a/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/coin_activation/task_managed/enable_utxo/index.mdx @@ -245,7 +245,7 @@ Possible Error Cases: * `TaskTimedOut` - Timed out waiting for coin activation, connecting to the device trezor or for user to confirm pubkey) * `CoinCreationError` - Error during activation. E.g. incorrect or inactive electrum servers. -* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. +* `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. ## task::enable\_utxo::user\_action {{label : 'task::enable_utxo::user_action', tag : 'API-v2'}} diff --git a/src/pages/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/index.mdx b/src/pages/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/index.mdx index 083d8fd39..d3fa57e17 100644 --- a/src/pages/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/non_fungible_tokens/clear_nft_db/index.mdx @@ -2,7 +2,7 @@ export const title = "Komodo DeFi Framework Method: Non Fungible Tokens"; export const description = "This document describes the clear_nft_db method Komodo DeFi Framework provides to clear NFT data from your local database"; -# Clear NFT Database {{label : 'clear_nft_db', tag : 'API-v2'}} +# Clear NFT DB {{label : 'clear_nft_db', tag : 'API-v2'}} This method will clear the NFT database data stored in the local database for selected (or all) networks. diff --git a/src/pages/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/index.mdx index b811ccf05..1051ad180 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/index.mdx @@ -1,28 +1,30 @@ export const title = "Komodo DeFi Framework Method: Add Node to Version Stat"; -export const description = "The add_node_to_version_stat method adds a Node's name, IP address and PeerID to a local database to track which version of KDF it is running."; +export const description = "The add_node_to_version_stat method adds a Node's name, IP address, and PeerID to a local database to track which version of KDF it is running."; +import CompactTable from '@/components/mdx/CompactTable'; -# add\_node\_to\_version\_stat +# Add Node to Version Stat -The `add_node_to_version_stat` method adds a Node's name, IP address and PeerID to a local database to track which version of KDF it is running. The name parameter is an arbitrary identifying string, such as "seed\_alpha" or "dragonhound\_DEV". The address parameter is the node's IP address or domain names. The Peer ID can be found in the KDF log file after a connection has been initiated, and looks like the below: +## add\_node\_to\_version\_stat {{label : 'add_node_to_version_stat', tag : 'API-v2'}} -`07 09:33:58, atomicdex_behaviour:610] INFO Local peer id: PeerId("12D3KooWReXsTVCKGAna1tzrD1jaUttTSs17ULFuvvzoGD9bqmmA") -` +The `add_node_to_version_stat` method adds a node's name, IP address, and PeerID to a local database to track which version of KDF it is running. The `name` parameter is an arbitrary identifying string, such as `seed_alpha` or `dragonhound_DEV`. The `address` parameter is the node's IP address or domain name. The Peer ID can be found in the KDF log file after a connection has been initiated, and looks like the below: -Note: To allow collection of version stats, added nodes must open ports 42845 (tcp) and 42855 (ws). +`07 09:33:58, atomicdex_behaviour:610] INFO Local peer id: PeerId("12D3KooWReXsTVCKGAna1tzrD1jaUttTSs17ULFuvvzoGD9bqmmA")` -## Arguments + + To allow collection of version stats, added nodes must open ports 42845 (tcp) and 42855 (ws). + -| Structure | Type | Description | -| --------- | ------ | ----------------------------- | -| name | string | the name assigned to the node | -| address | string | the IP address of the node | -| peer\_id | string | the node's unique Peer ID | +### Request Parameters -#### 📌 Examples + + +### Response Parameters + + -#### Command +#### 📌 Examples - + ```json { "mmrpc": "2.0", @@ -37,59 +39,67 @@ Note: To allow collection of version stats, added nodes must open ports 42845 (t ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": "success", - "id": null + "mmrpc": "2.0", + "result": "success", + "id": null } ``` + - #### Response (error - peer id already in database) +### Error Types + + + + + #### ⚠️ Error Responses + + ##### DatabaseError (Unique Constraint - Peer ID) ```json { - "mmrpc": "2.0", - "error": "Database error: UNIQUE constraint failed: nodes.peer_id", - "error_path": "lp_stats", - "error_trace": "lp_stats:124]", - "error_type": "DatabaseError", - "error_data": "UNIQUE constraint failed: nodes.peer_id", - "id": null + "mmrpc": "2.0", + "error": "Database error: UNIQUE constraint failed: nodes.peer_id", + "error_path": "lp_stats", + "error_trace": "lp_stats:124]", + "error_type": "DatabaseError", + "error_data": "UNIQUE constraint failed: nodes.peer_id", + "id": null } ``` - #### Response (error - name already in database) + ##### DatabaseError (Unique Constraint - Name) ```json { - "mmrpc": "2.0", - "error": "Database error: UNIQUE constraint failed: nodes.name", - "error_path": "lp_stats", - "error_trace": "lp_stats:124]", - "error_type": "DatabaseError", - "error_data": "UNIQUE constraint failed: nodes.name", - "id": null + "mmrpc": "2.0", + "error": "Database error: UNIQUE constraint failed: nodes.name", + "error_path": "lp_stats", + "error_trace": "lp_stats:124]", + "error_type": "DatabaseError", + "error_data": "UNIQUE constraint failed: nodes.name", + "id": null } ``` - #### Response (error - invalid Peer ID) + ##### PeerIdParseError ```json { - "mmrpc": "2.0", - "error": "Error on parse peer id 12D3RsaaWRmXsJsCKGAD5FJSsd7CSbbdrsd: decoding multihash failed", - "error_path": "lp_stats", - "error_trace": "lp_stats:121]", - "error_type": "PeerIdParseError", - "error_data": [ - "12D3RsaaWRmXsJsCKGAD5FJSsd7CSbbdrsd", - "decoding multihash failed" - ], - "id": null + "mmrpc": "2.0", + "error": "Error on parse peer id 12D3RsaaWRmXsJsCKGAD5FJSsd7CSbbdrsd: decoding multihash failed", + "error_path": "lp_stats", + "error_trace": "lp_stats:121]", + "error_type": "PeerIdParseError", + "error_data": [ + "12D3RsaaWRmXsJsCKGAD5FJSsd7CSbbdrsd", + "decoding multihash failed" + ], + "id": null } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/change_mnemonic_password/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/change_mnemonic_password/index.mdx index b4149150f..261822ecf 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/change_mnemonic_password/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/change_mnemonic_password/index.mdx @@ -1,7 +1,10 @@ export const title = "Komodo DeFi Framework Method: Change Mnemonic Password"; export const description = "The change_mnemonic_password method allows a user to update the password used to encrypt a mnemonic phrase in their local database."; +import CompactTable from '@/components/mdx/CompactTable'; -# change\_mnemonic\_password +# Change Mnemonic Password + +## change\_mnemonic\_password {{label : 'change_mnemonic_password', tag : 'API-v2'}} The `change_mnemonic_password` method allows a user to update the password used to encrypt a mnemonic phrase in their local database. @@ -10,18 +13,19 @@ The `change_mnemonic_password` method allows a user to update the password used This will need to be updated manually, otherise you will see a log error `Error initializing wallet: Error generating or decrypting mnemonic: Error decrypting mnemonic: HMAC error: MAC tag mismatch` on next launch. -## Arguments +### Request Parameters + + -| Structure | Type | Description | -| ----------------- | ------ | -------------------------------------------------------------------- | -| current\_password | string | the active mnemonic password for your wallet | -| new\_password | string | the new password to use for encrypting your active mnemonic password | +### Response Parameters + + #### 📌 Examples #### Command - + ```json { "mmrpc": "2.0", @@ -35,7 +39,7 @@ The `change_mnemonic_password` method allows a user to update the password used ``` - + #### Response (success) ```json @@ -45,8 +49,16 @@ The `change_mnemonic_password` method allows a user to update the password used "id": null } ``` + + +### Error Types + + + + + #### ⚠️ Error Responses - #### Response (error - wrong password) + ##### WalletsStorageError (Wrong Password) ```json { diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_current_mtp/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_current_mtp/index.mdx index 5466dcce3..1971f1b66 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_current_mtp/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_current_mtp/index.mdx @@ -1,29 +1,24 @@ export const title = "Komodo DeFi Framework Method: Get Current MTP"; export const description = "The get_current_mtp method returns the Median Time Past (MTP) from electrum servers for UTXO coins."; +import CompactTable from '@/components/mdx/CompactTable'; -# get\_current\_mtp +# Get Current MTP + +## get\_current\_mtp {{label : 'get_current_mtp', tag : 'API-v2'}} The `get_current_mtp` method returns the Median Time Past (MTP) from electrum servers for UTXO coins. This information is useful for debugging, specifically in cases where an electrum server has been misconfigured. -## Arguments +### Request Parameters -| Parameter | Type | Description | -| --------- | ------- | --------------------------------------------------------------------------------------- | -| coin | string | A compatible (UTXO) coin's ticker | -| id | integer | Optional. Identifies a request to allow matching it with a response. Defaults to `null` | + -#### Response +### Response Parameters -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------------------------------------------------------------------- | -| mtp | integer | Unix timestamp | -| id | integer | Identifies a response to allow matching it with a request. Defaults to `null` if `id` not provided in request | + #### 📌 Examples -#### Command - - + ```json { "method": "get_current_mtp", @@ -37,16 +32,16 @@ The `get_current_mtp` method returns the Median Time Past (MTP) from electrum se ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": { - "mtp": 1658746383 - }, - "id": 42 + "mmrpc": "2.0", + "result": { + "mtp": 1658746383 + }, + "id": 42 } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_enabled_coins/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_enabled_coins/index.mdx index b748e900e..cddd7afcc 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_enabled_coins/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_enabled_coins/index.mdx @@ -1,33 +1,28 @@ export const title = "Komodo DeFi Framework Method: Get Enabled Coins"; export const description = "The get_enabled_coins method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node."; +import CompactTable from '@/components/mdx/CompactTable'; -# get\_enabled\_coins +# Get Enabled Coins + +## get\_enabled\_coins {{label : 'get_enabled_coins', tag : 'API-v2'}} The `get_enabled_coins` method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node. -## Parameters +### Request Parameters -| Structure | Type | Description | -| --------- | ---- | ----------- | -| (none) | | | + -#### Response +### Response Parameters -| Structure | Type | Description | -| ------------ | ---------------- | ----------------------------------------------- | -| coins | array of objects | A list of key value pairs for activated tickers | -| coins.ticker | string | the ticker of an activated coin | + - The \[get\_enabled\_coins v2.0] method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly. - If you need to get the addresses for coins and have not set `enable_hd` in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/), use the [v1 method](/komodo-defi-framework/api/legacy/get_enabled_coins/#get-enabled-coins). + The \[get\_enabled\_coins v2.0] method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly. If you need to get the addresses for coins and have not set `enable_hd` in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/), use the [v1 method](/komodo-defi-framework/api/legacy/get_enabled_coins/#get-enabled-coins). #### 📌 Examples -#### Command - - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -39,47 +34,27 @@ The `get_enabled_coins` method returns data of coins that are currently enabled ``` - + #### Response ```json { - "mmrpc": "2.0", - "result": { - "coins": [ - { - "ticker": "ETH" - }, - { - "ticker": "PGX-PLG20" - }, - { - "ticker": "ATOM-IBC_IRIS" - }, - { - "ticker": "NFT_ETH" - }, - { - "ticker": "KMD" - }, - { - "ticker": "IRIS" - }, - { - "ticker": "AAVE-PLG20" - }, - { - "ticker": "MINDS-ERC20" - }, - { - "ticker": "NFT_MATIC" - }, - { - "ticker": "MATIC" - } - ] - }, - "id": 0 + "mmrpc": "2.0", + "result": { + "coins": [ + { "ticker": "ETH" }, + { "ticker": "PGX-PLG20" }, + { "ticker": "ATOM-IBC_IRIS" }, + { "ticker": "NFT_ETH" }, + { "ticker": "KMD" }, + { "ticker": "IRIS" }, + { "ticker": "AAVE-PLG20" }, + { "ticker": "MINDS-ERC20" }, + { "ticker": "NFT_MATIC" }, + { "ticker": "MATIC" } + ] + }, + "id": 0 } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_mnemonic/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_mnemonic/index.mdx index 338d68ea4..f8902361f 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_mnemonic/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_mnemonic/index.mdx @@ -1,30 +1,24 @@ export const title = "Komodo DeFi Framework Method: Get Mnemonic"; export const description = "The get_mnemonic method returns the user's mnemonic seed phrase, in encrypted or plain text format."; +import CompactTable from '@/components/mdx/CompactTable'; -# get\_mnemonic +# Get Mnemonic -"The get\_mnemonic method returns the user's mnemonic seed phrase, in encrypted or plain text format." +## get\_mnemonic {{label : 'get_mnemonic', tag : 'API-v2'}} -## Arguments +The `get_mnemonic` method returns the user's mnemonic seed phrase, in encrypted or plain text format. -| Structure | Type | Description | -| --------- | ------ | ------------------------------------------------------------------------------------------------------ | -| format | string | Either `encrypted` or `plaintext`. Defaults to `encrypted`. | -| password | string | The password to decrypt your stored mnemonic phrase. Only required if `plaintext` format is requested. | +### Request Parameters -#### Response + -| Structure | Type | Description | -| ------------------------- | ------ | ------------------------------------------------------------------------------------------ | -| format | string | Same as the input `format` parameter. | -| mnemonic | string | For `plaintext` requests, the decrypted mnemonic seed phrase | -| encrypted\_mnemonic\_data | object | For `encrpyted` requests, the encrypted format and ciphertext for the mnemonic seed phrase | +### Response Parameters -#### 📌 Examples + -#### For encrypted output +#### 📌 Example (encrypted output) - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -43,37 +37,37 @@ export const description = "The get_mnemonic method returns the user's mnemonic ```json { - "mmrpc": "2.0", - "result": { - "format": "encrypted", - "encrypted_mnemonic_data": { - "encryption_algorithm": "AES256CBC", - "key_derivation_details": { - "Argon2": { - "params": { - "algorithm": "Argon2id", - "version": "0x13", - "m_cost": 65536, - "t_cost": 2, - "p_cost": 1 - }, - "salt_aes": "CqkfcntVxFJNXqOKPHaG8w", - "salt_hmac": "i63qgwjc+3oWMuHWC2XSJA" - } - }, - "iv": "mNjmbZLJqgLzulKFBDBuPA==", - "ciphertext": "tP2vF0hRhllW00pGvYiKysBI0vl3acLj+aoocBViTTByXCpjpkLuaMWqe0Vs02cb1wvgPsVqZkE4MPg4sCQxbd18iS7Er6+BbVY3HQ2LSig=", - "tag": "TwWXhIFQl1TSdR4cJpbkK2oNXd9zIEhJmO6pML1uc2E=" - } - }, - "id": null + "mmrpc": "2.0", + "result": { + "format": "encrypted", + "encrypted_mnemonic_data": { + "encryption_algorithm": "AES256CBC", + "key_derivation_details": { + "Argon2": { + "params": { + "algorithm": "Argon2id", + "version": "0x13", + "m_cost": 65536, + "t_cost": 2, + "p_cost": 1 + }, + "salt_aes": "CqkfcntVxFJNXqOKPHaG8w", + "salt_hmac": "i63qgwjc+3oWMuHWC2XSJA" + } + }, + "iv": "mNjmbZLJqgLzulKFBDBuPA==", + "ciphertext": "tP2vF0hRhllW00pGvYiKysBI0vl3acLj+aoocBViTTByXCpjpkLuaMWqe0Vs02cb1wvgPsVqZkE4MPg4sCQxbd18iS7Er6+BbVY3HQ2LSig=", + "tag": "TwWXhIFQl1TSdR4cJpbkK2oNXd9zIEhJmO6pML1uc2E=" + } + }, + "id": null } ``` -#### For plain text output +#### 📌 Example (plain text output) - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -93,12 +87,12 @@ export const description = "The get_mnemonic method returns the user's mnemonic ```json { - "mmrpc": "2.0", - "result": { - "format": "plaintext", - "mnemonic": "unique spy ugly child cup sad capital invest essay lunch doctor know" - }, - "id": null + "mmrpc": "2.0", + "result": { + "format": "plaintext", + "mnemonic": "unique spy ugly child cup sad capital invest essay lunch doctor know" + }, + "id": null } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_public_key/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_public_key/index.mdx index 3a0812eff..80f60b88b 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_public_key/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_public_key/index.mdx @@ -1,27 +1,26 @@ export const title = "Komodo DeFi Framework Method: Get Public Key"; export const description = "The get_public_key method returns the compressed secp256k1 pubkey corresponding to the user's seed phrase."; +import CompactTable from '@/components/mdx/CompactTable'; -# get\_public\_key +# Get Public Key + +## get\_public\_key {{label : 'get_public_key', tag : 'API-v2'}} The `get_public_key` method returns the compressed secp256k1 pubkey corresponding to the user's seed phrase. -## Arguments +### Request Parameters -| Structure | Type | Description | -| --------- | ---- | ----------- | -| (none) | | | + -#### Response +### Response Parameters -| Structure | Type | Description | -| ----------- | ------ | ------------- | -| public\_key | string | User's pubkey | + #### 📌 Examples #### Command - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -33,7 +32,7 @@ The `get_public_key` method returns the compressed secp256k1 pubkey correspondin ``` - + #### Response (success) ```json diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_public_key_hash/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_public_key_hash/index.mdx index 28e8568d8..1a71b1a61 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_public_key_hash/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_public_key_hash/index.mdx @@ -1,27 +1,27 @@ export const title = "Komodo DeFi Framework Method: Get Public Key Hash"; export const description = "The get_public_key_hash method returns the RIPEMD-160 hash version of your public key."; -# get\_public\_key\_hash +# Get Public Key Hash -The `get_public_key_hash` method returns the [RIPEMD-160](https://en.bitcoin.it/wiki/RIPEMD-160) hash version of your public key +## get\_public\_key\_hash {{label : 'get_public_key_hash', tag : 'API-v2'}} -## Arguments +The `get_public_key_hash` method returns the [RIPEMD-160](https://en.bitcoin.it/wiki/RIPEMD-160) hash version of your public key. -| Structure | Type | Description | -| --------- | ---- | ----------- | -| (none) | | | +### Request Parameters -#### Response +| Parameter | Type | Required | Description | +| :-------- | :---- | :------: | :------------------------------- | +| *None* | *N/A* | | *This method has no parameters.* | -| Structure | Type | Description | +### Response Parameters + +| Parameter | Type | Description | | ----------------- | ------ | --------------------------------- | | public\_key\_hash | string | User's RIPEMD-160 public key hash | #### 📌 Examples -#### Command - - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -33,16 +33,16 @@ The `get_public_key_hash` method returns the [RIPEMD-160](https://en.bitcoin.it/ ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": { - "public_key_hash": "05aab5342166f8594baf17a7d9bef5d567443327" - }, - "id": 0 + "mmrpc": "2.0", + "result": { + "public_key_hash": "05aab5342166f8594baf17a7d9bef5d567443327" + }, + "id": 0 } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_shared_db_id/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_shared_db_id/index.mdx new file mode 100644 index 000000000..1bd0e6b06 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_shared_db_id/index.mdx @@ -0,0 +1,48 @@ +export const title = "Komodo DeFi Framework Method: Get Shared Database ID"; +export const description = + "Return the deterministic identifier used as the root directory name for this node's SQLite databases."; +import CompactTable from '@/components/mdx/CompactTable'; + +# Get Shared Database ID + +## get\_shared\_db\_id {{label : 'get_shared_db_id', tag : 'API-v2'}} + +The `get_shared_db_id` method returns a 20-byte identifier (H160) derived from the node's seed phrase.\ +It is used as the root folder name for **all** SQLite databases on the host. • The value is **identical for all HD accounts derived from the same seed** and **different** for separate seeds. + +### Request Parameters + + + +### Response Parameters + + + +### 📌 Examples + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "get_shared_db_id", + "id": 0 + } + ``` + + + + ```json + { + "mmrpc": "2.0", + "result": { + "shared_db_id": "0x3ca9c5b85e5f3af62f3ae3903f1e2d8d9d7e2c12" + }, + "id": 0 + } + ``` + + +### Error Types + + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/get_token_info/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/get_token_info/index.mdx index 880a01581..1722239ac 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/get_token_info/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/get_token_info/index.mdx @@ -1,36 +1,26 @@ export const title = "Komodo DeFi Framework Method: Get Token Info"; export const description = "The `get_token_info` method returns the ticker and decimals values (required for activation) given a platform and contract as input."; +import CompactTable from '@/components/mdx/CompactTable'; -# get\_token\_info +# Get Token Info -The `get_token_info` method returns the ticker and decimals values (required for activation) given a platform and contract as input. -The platform parent coin (e.g. ETH, AVAX, MATIC etc) must be activated before using this method. After requesting the token info, you will be able to activate the custom token. +## get\_token\_info {{label : 'get_token_info', tag : 'API-v2'}} + +The `get_token_info` method returns the ticker and decimals values (required for activation) given a platform and contract as input. The platform parent coin (e.g., ETH, AVAX, MATIC, etc.) must be activated before using this method. After requesting the token info, you will be able to activate the custom token. - Custom tokens will be `wallet_only` - i.e. you can send and recieve tokens, but will not be able to do atomic swaps. - To apply for a formal listing of the custom token, please [review the requirements](/komodo-defi-framework/tutorials/listing-a-new-coin/) in our "coins" github repository, and get in our with our team on the [KomodoPlatform Discord](https://komodoplatform.com/discord). + Custom tokens will be `wallet_only`—i.e., you can send and receive tokens, but will not be able to do atomic swaps. To apply for a formal listing of the custom token, please [review the requirements](/komodo-defi-framework/tutorials/listing-a-new-coin/) in our "coins" GitHub repository, and get in touch with our team on the [KomodoPlatform Discord](https://komodoplatform.com/discord). -## Arguments - -| Structure | Type | Description | -| ----------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| protocol.type | string | Token type - e.g `ERC20` for tokens on the Ethereum network | -| protocol.protocol\_data | object | Required for tokens only. | -| protocol.protocol\_data.platform | string | The parent coin of the token's platform - e.g `MATIC` for PLG20 tokens | -| protocol.protocol\_data.contract\_address | string | **Must be mixed case** The identifying hex string for the token's contract. Can be found on sites like [EthScan](https://etherscan.io/), [BscScan](https://bscscan.com/) & [PolygonScan](https://polygonscan.com/) | +### Request Parameters -### Response + -| Structure | Type | Description | -| ------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| type | string | Token type - e.g `PLG20` for tokens on the Polygon network | -| info.symbol | string | The ticker of the token linked to the contract address and network requested | -| info.decimals | integer | Defines the number of digits after the decimal point that should be used to display the orderbook amounts, balance, and the value of inputs to be used in the case of order creation or a `withdraw` transaction. The default value used for a UTXO type coin (Bitcoin Protocol) is `8` and the default value used for a ERC20 Token is `18`. It is **very important** for this value to be set correctly. For example, if this value was set as `9` for BTC, a command to withdraw `1 BTC` tries to withdraw `10^9` satoshis of Bitcoin, i.e., `10 BTC` | +### Response Parameters -### 📌 Examples + -#### Get Token Info on Avalanche +#### 📌 Examples ```json @@ -51,38 +41,44 @@ The platform parent coin (e.g. ETH, AVAX, MATIC etc) must be activated before us ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": { - "type": "ERC20", - "info": { - "symbol": "PNIC", - "decimals": 18 - } - }, - "id": null + "mmrpc": "2.0", + "result": { + "type": "ERC20", + "info": { + "symbol": "PNIC", + "decimals": 18 + } + }, + "id": null } ``` -### Error Responses +### Error Types -#### InvalidRequest: Protocol parent coin not active + -```json -{ - "mmrpc": "2.0", - "error": "No such coin AVAX", - "error_path": "tokens.lp_coins", - "error_trace": "tokens:68] lp_coins:4744]", - "error_type": "NoSuchCoin", - "error_data": { - "coin": "AVAX" - }, - "id": null -} -``` + + #### ⚠️ Error Responses + + ##### NoSuchCoin + + ```json + { + "mmrpc": "2.0", + "error": "No such coin AVAX", + "error_path": "tokens.lp_coins", + "error_trace": "tokens:68] lp_coins:4744]", + "error_type": "NoSuchCoin", + "error_data": { + "coin": "AVAX" + }, + "id": null + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/index.mdx index ec77e64d2..4137a3314 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/index.mdx @@ -1,9 +1,20 @@ -export const title = "Komodo DeFi Framework Method: v2 Utilities"; -export const description = - "This section includes utility methods for the Komodo DeFi Framework."; +export const title = "Komodo DeFi Framework Method Overview: Utility Methods"; +export const description = "This document provides an overview of all utility methods available in the Komodo DeFi Framework."; -# v2 Utility Methods +# Utility Methods Overview -* [get\_current\_mtp](/komodo-defi-framework/api/v20/utils/get_current_mtp/) -* [get\_token\_info](/komodo-defi-framework/api/v20/utils/get_token_info/) -* [peer\_connection\_healthcheck](/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/) +## utils {{label : 'utils', tag : 'overview'}} + +* [Get Current MTP](/komodo-defi-framework/api/v20/utils/get_current_mtp/) +* [Get Token Info](/komodo-defi-framework/api/v20/utils/get_token_info/) +* [Peer Connection Healthcheck](/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/) +* [Add Node to Version Stat](/komodo-defi-framework/api/v20/utils/add_node_to_version_stat/) +* [Change Mnemonic Password](/komodo-defi-framework/api/v20/utils/change_mnemonic_password/) +* [Get Enabled Coins](/komodo-defi-framework/api/v20/utils/get_enabled_coins/) +* [Get Mnemonic](/komodo-defi-framework/api/v20/utils/get_mnemonic/) +* [Get Public Key](/komodo-defi-framework/api/v20/utils/get_public_key/) +* [Get Public Key Hash](/komodo-defi-framework/api/v20/utils/get_public_key_hash/) +* [Remove Node from Version Stat](/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/) +* [Start Version Stat Collection](/komodo-defi-framework/api/v20/utils/start_version_stat_collection/) +* [Stop Version Stat Collection](/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/) +* [Update Version Stat Collection](/komodo-defi-framework/api/v20/utils/update_version_stat_collection/) diff --git a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/index.mdx index bd508d6a6..b089fbd5f 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/index.mdx @@ -1,32 +1,35 @@ -export const title = "Komodo DeFi Framework Method: Signing and Verifying Messages"; -export const description = "The methods in this section allow you to sign and verify messages for all coins supported by Komodo DeFi Framework."; +export const title = "Komodo DeFi Framework Method Overview: Message Signing and Verification"; +export const description = "This document provides an overview of message signing and verification methods available in the Komodo DeFi Framework."; -# Signing\_and\_Verifying\_Messages +# Message Signing and Verification Overview -Cryptographically signed messages are a useful feature which can be used to [prove ownership of an address](https://www.coindesk.com/policy/2020/05/25/craig-wright-called-fraud-in-message-signed-with-bitcoin-addresses-he-claims-to-own/). +## message\_signing {{label : 'message_signing', tag : 'overview'}} + +* [Sign Message](/komodo-defi-framework/api/v20/utils/message_signing/sign_message/) +* [Verify Message](/komodo-defi-framework/api/v20/utils/message_signing/verify_message/) + +Cryptographically signed messages are a useful feature that can be used to [prove ownership of an address](https://www.coindesk.com/policy/2020/05/25/craig-wright-called-fraud-in-message-signed-with-bitcoin-addresses-he-claims-to-own/). If your [`coins`](https://github.com/KomodoPlatform/coins) file contains the correct [`sign_message_prefix`](https://bitcoin.stackexchange.com/questions/77324/how-are-bitcoin-signed-messages-generated/77325#77325) parameter value for a coin, you can sign messages with the [Komodo DeFi Framework API](https://github.com/KomodoPlatform/komodo-defi-framework). -For signing with a HD wallet, the [`coins`](https://github.com/KomodoPlatform/coins) file must also contain the coin's [derivation path](https://www.blockplate.com/blogs/blockplate/what-is-a-derivation-path) prefix. +For signing with an HD wallet, the [`coins`](https://github.com/KomodoPlatform/coins) file must also contain the coin's [derivation path](https://www.blockplate.com/blogs/blockplate/what-is-a-derivation-path) prefix. + +#### Example coin config ```json - { +{ "coin": "DGB", "name": "digibyte", "fname": "DigiByte", "protocol": { - "type": "UTXO" + "type": "UTXO" }, ... "sign_message_prefix": "DigiByte Signed Message:\n", "derivation_path": "m/44'/20'", "trezor_coin": "DigiByte", "links": { - "github": "https://github.com/digibyte/digibyte", - "homepage": "https://digibyte.io" + "github": "https://github.com/digibyte/digibyte", + "homepage": "https://digibyte.io" } - } +} ``` - -See the individual methods for signing and Verifying below: - - diff --git a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/sign_message/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/sign_message/index.mdx index 941e70e79..6d255c4f3 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/sign_message/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/sign_message/index.mdx @@ -1,27 +1,26 @@ export const title = "Komodo DeFi Framework Method: Sign Message"; export const description = "The method in this document allows you to sign messages for all coins supported by Komodo DeFi Framework."; +import CompactTable from '@/components/mdx/CompactTable'; # Sign Message -The `sign_message` method allows one to prove ownership of a specific wallet address. A unique digital signature is provided for the message being signed. This signature, along with the original message and the wallet address, can then be verified, confirming that the message originated from the owner of the address and has not been altered. +## sign\_message {{label : 'sign_message', tag : 'API-v2'}} -## Arguments +The `sign_message` method allows you to prove ownership of a specific wallet address. A unique digital signature is provided for the message being signed. This signature, along with the original message and the wallet address, can then be verified, confirming that the message originated from the owner of the address and has not been altered. -| Structure | Type | Description | -| --------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| coin | string | The coin to sign a message with | -| message | string | The message you want to sign | -| address | string | Optional, HD wallets only. A standard [AddressPath](/komodo-defi-framework/api/common_structures/wallet/#address-path) object. The path to the address for signing the message. If not provided, the `account_id`, `chain` and `address_id` will default to `0`. | +### Request Parameters -## Response + -| Structure | Type | Description | -| --------- | ------ | --------------------------------------- | -| signature | string | The signature generated for the message | +### Response Parameters -## Command + - +#### 📌 Examples + +##### Basic Usage + + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -36,23 +35,23 @@ The `sign_message` method allows one to prove ownership of a specific wallet add ``` - + ### Response (success) ```json { - "mmrpc": "2.0", - "result": { - "signature": "H43eTmJxBKEPiHkrCe/8NsRidkKCIkXDxLyp30Ez/RwoApGdg89Hlvj9mTMSPGp8om5297zvdL8EVx3IdIe2swY=" - }, - "id": 0 + "mmrpc": "2.0", + "result": { + "signature": "H43eTmJxBKEPiHkrCe/8NsRidkKCIkXDxLyp30Ez/RwoApGdg89Hlvj9mTMSPGp8om5297zvdL8EVx3IdIe2swY=" + }, + "id": 0 } ``` -## Command (HD wallet with derivation path) +##### HD Wallet with Derivation Path - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -70,7 +69,7 @@ The `sign_message` method allows one to prove ownership of a specific wallet add ``` - + ### Response (HD, success) ```json @@ -84,9 +83,9 @@ The `sign_message` method allows one to prove ownership of a specific wallet add ``` -## Command (HD wallet with account and address id) +##### HD Wallet with Account and Address ID - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -106,7 +105,7 @@ The `sign_message` method allows one to prove ownership of a specific wallet add ``` - + ### Response (HD, success) ```json @@ -120,23 +119,21 @@ The `sign_message` method allows one to prove ownership of a specific wallet add ``` - - For HD wallets, if the `address` parameter is not provided, the root derivation path will be used, for example `m/84'/2'/0'/0/0`. + + For HD wallets, if the `address` parameter is not provided, the root derivation path will be used, for example, `m/84'/2'/0'/0/0`. The two examples above point to the same address. The derivation path follows the format `m/44'/COIN_ID'/ACCOUNT_ID'/CHAIN/ADDRESS_ID` (or `m/84'/COIN_ID'/ACCOUNT_ID'/CHAIN/ADDRESS_ID` for segwit coins). - The `account_id` and `address_id` are the indices of the account and address in the wallet, starting from 0. - The `chain` is either `External` or `Internal`, and expressed as an integer with `External` being 0 and `Internal` being 1. + The `account_id` and `address_id` are the indices of the account and address in the wallet, starting from `0`. + The `chain` is either `External` or `Internal`, and is expressed as an integer with `External` being `0` and `Internal` being `1`. -## ⚠ Error types +### Error Types -**PrefixNotFound:** sign\_message\_prefix is not set in coin config file -**CoinIsNotFound:** Specified coin is not found -**SigningError:** Error attempting to sign message -**InvalidRequest:** Message signing is not supported by the given coin type -**InternalError:** An internal error occured during the signing process + - ### PrefixNotFound + #### ⚠️ Error Responses + + ##### PrefixNotFound ```json { @@ -149,7 +146,7 @@ The `sign_message` method allows one to prove ownership of a specific wallet add } ``` - ### InternalError + ##### InternalError ```json { diff --git a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/verify_message/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/verify_message/index.mdx index 42c0d4d4a..1f620db0d 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/message_signing/verify_message/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/message_signing/verify_message/index.mdx @@ -1,28 +1,24 @@ export const title = "Komodo DeFi Framework Method: Verify Message"; export const description = "The method in this document allows you to verify messages for all coins supported by Komodo DeFi Framework."; +import CompactTable from '@/components/mdx/CompactTable'; # Verify Message -The `verify_Message` method allows one to confirm the authenticity of a signed message. By using the original message, the wallet's address, and the signature, the verification process can confirm that the message was created by the owner and that it has not been altered. +## verify\_message {{label : 'verify_message', tag : 'API-v2'}} -## Arguments +The `verify_message` method allows you to confirm the authenticity of a signed message. By using the original message, the wallet's address, and the signature, the verification process can confirm that the message was created by the owner and that it has not been altered. -| Structure | Type | Description | -| --------- | ------ | ---------------------------------------------------- | -| coin | string | The coin to sign a message with | -| message | string | The message input via the `sign_message` method sign | -| signature | string | The signature generated for the message | -| address | string | The address used to sign the message | +### Request Parameters -## Response + -| Structure | Type | Description | -| --------- | ------- | ----------------------------------------------------------- | -| is\_valid | boolean | `true` is message signature is valid; `false` if it is not. | +### Response Parameters -## Command + - +#### 📌 Examples + + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -39,16 +35,16 @@ The `verify_Message` method allows one to confirm the authenticity of a signed m ``` - + ### Response (valid) ```json { - "mmrpc": "2.0", - "result": { - "is_valid": true - }, - "id": 0 + "mmrpc": "2.0", + "result": { + "is_valid": true + }, + "id": 0 } ``` @@ -56,26 +52,23 @@ The `verify_Message` method allows one to confirm the authenticity of a signed m ```json { - "mmrpc": "2.0", - "result": { - "is_valid": false - }, - "id": 0 + "mmrpc": "2.0", + "result": { + "is_valid": false + }, + "id": 0 } ``` -## ⚠ Error types +### Error Types -**PrefixNotFound:** sign\_message\_prefix is not set in coin config -**CoinIsNotFound:** Specified coin is not found -**InvalidRequest:** Message verification is not supported by the given coin type -**InternalError:** An internal error occured during the verification process -**SignatureDecodingError:** Given signature could not be decoded -**AddressDecodingError:** Given address could not be decoded + - ### PrefixNotFound + #### ⚠️ Error Responses + + ##### PrefixNotFound ```json { @@ -88,7 +81,7 @@ The `verify_Message` method allows one to confirm the authenticity of a signed m } ``` - ### InternalError + ##### InternalError ```json { @@ -102,7 +95,7 @@ The `verify_Message` method allows one to confirm the authenticity of a signed m } ``` - ### SignatureDecodingError + ##### SignatureDecodingError ```json { diff --git a/src/pages/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/index.mdx index 13d64f417..7681d5430 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/peer_connection_healthcheck/index.mdx @@ -1,27 +1,27 @@ export const title = "Komodo DeFi Framework Method: Peer Connection Healthcheck"; export const description = "The peer_connection_healthcheck method checks if a peer is connected to the KDF network."; -# peer\_connection\_healthcheck +# Peer Connection Healthcheck + +## peer\_connection\_healthcheck {{label : 'peer_connection_healthcheck', tag : 'API-v2'}} The `peer_connection_healthcheck` method checks if a peer is connected to the KDF network using the [currently configured](/komodo-defi-framework/setup/configure-mm2-json/) `netid`. -## Arguments +### Request Parameters -| Structure | Type | Description | -| --------- | ---- | ----------- | -| (none) | | | +| Parameter | Type | Required | Description | +| ------------- | ------ | :------: | ------------------------------------------ | +| peer\_address | string | ✓ | The peer address to check for connectivity | -#### Response +### Response Parameters -| Structure | Type | Description | +| Parameter | Type | Description | | --------- | ------- | --------------------------------------- | | result | boolean | True if peer found connected to network | #### 📌 Examples -#### Command - - + ```json { "userpass": "RPC_UserP@SSW0RD", @@ -34,7 +34,7 @@ The `peer_connection_healthcheck` method checks if a peer is connected to the KD ``` - + #### Response (peer found) ```json diff --git a/src/pages/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/index.mdx index 0bb3fa152..05ba2658a 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/remove_node_from_version_stat/index.mdx @@ -1,21 +1,27 @@ export const title = "Komodo DeFi Framework Method: Remove Node from Version Stat"; -export const description = "The remove_node_from_version_stat method removes a Node from the local database that tracks which version of KDF it is running."; +export const description = "Removes a node from the local version stat database in Komodo DeFi Framework."; -# remove\_node\_from\_version\_stat +# Remove Node from Version Stat -The `remove_node_from_version_stat` method removes a Node (by name) from the local database which tracks which version of KDF it is running. The name parameter is an arbitrary identifying string, such as "seed\_alpha" or "dragonhound\_DEV". +## remove\_node\_from\_version\_stat {{label : 'remove_node_from_version_stat', tag : 'API-v2'}} -## Arguments +The `remove_node_from_version_stat` method removes a node (by name) from the local database which tracks which version of KDF it is running. The `name` parameter is an arbitrary identifying string, such as `seed_alpha` or `dragonhound_DEV`. -| Structure | Type | Description | -| --------- | ------ | ----------------------------- | -| name | string | the name assigned to the node | +### Request Parameters -#### 📌 Examples +| Parameter | Type | Required | Description | +| --------- | ------ | :------: | ----------------------------- | +| name | string | ✓ | The name assigned to the node | + +### Response Parameters -#### Command +| Parameter | Type | Description | +| --------- | ------ | --------------------------- | +| result | string | The outcome of the request. | - +#### 📌 Examples + + ```json { "mmrpc": "2.0", @@ -28,14 +34,14 @@ The `remove_node_from_version_stat` method removes a Node (by name) from the loc ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": "success", - "id": null + "mmrpc": "2.0", + "result": "success", + "id": null } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/send_asked_data/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/send_asked_data/index.mdx new file mode 100644 index 000000000..a877fc5df --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/send_asked_data/index.mdx @@ -0,0 +1,63 @@ +export const title = "Komodo DeFi Framework Method: Send Asked Data"; +export const description = "Provide data asynchronously to another component that previously issued a data request via the internal event bus."; + +# Send Asked Data + +## send\_asked\_data {{label : 'send_asked_data', tag : 'API-v2'}} + +The `send_asked_data` method is a **utility** RPC used mainly by front-end or plugin components to reply to an earlier `ask_for_data` request emitted by the node.\ +When another part of the system (for example, a GUI) needs some data, it calls `ask_for_data` which broadcasts an internal **DataNeeded** event with a `data_id`.\ +Your component then gathers the requested information and posts it back via `send_asked_data`. + + + This RPC is part of the low-level event-bus mechanism and is **not** used in typical wallet or swap flows. It requires the `data_id` received from a `DataNeeded` event. + + +### Request Parameters + +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | ------------------------------------------------------- | +| data\_id | integer | ✓ | Identifier supplied by the original `DataNeeded` event. | +| data | object | ✓ | Arbitrary JSON value satisfying the original request. | + +### Response Parameters + +| Parameter | Type | Description | +| --------- | ------- | ------------------ | +| result | boolean | `true` on success. | + +### 📌 Example + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "send_asked_data", + "id": 0, + "params": { + "data_id": 42, + "data": { + "name": "Komodo" + } + } + } + ``` + + + + ```json + { + "mmrpc": "2.0", + "result": true, + "id": 0 + } + ``` + + +### Error Types + +| Parameter | Type | Description | +| --------- | ------- | -------------------------------------------------------- | +| NotFound | integer | No awaiting `ask_for_data` with the specified `data_id`. | +| Internal | string | Internal error while delivering data (rare). | diff --git a/src/pages/komodo-defi-framework/api/v20/utils/start_version_stat_collection/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/start_version_stat_collection/index.mdx index 693e5a259..942840cc5 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/start_version_stat_collection/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/start_version_stat_collection/index.mdx @@ -1,21 +1,29 @@ export const title = "Komodo DeFi Framework Method: Start Version Stat Collection"; export const description = "The start_version_stat_collection method initiates storing version statistics for nodes previously registered via the add_node_to_version_stat method."; -# start\_version\_stat\_collection +# Start Version Stat Collection + +## start\_version\_stat\_collection {{label : 'start_version_stat_collection', tag : 'API-v2'}} The `start_version_stat_collection` method initiates storing version statistics for nodes previously registered via the `add_node_to_version_stat` method. -## Arguments +### Request Parameters + +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | ------------------------------------------------ | +| interval | integer | ✓ | polling rate (in seconds) to check node versions | -| Structure | Type | Description | -| --------- | ------- | ------------------------------------------------ | -| interval | integer | polling rate (in seconds) to check node versions | +### Response Parameters + +| Parameter | Type | Description | +| --------- | ------ | --------------------------- | +| result | string | The outcome of the request. | #### 📌 Examples #### Command - + ```json { "mmrpc": "2.0", @@ -28,7 +36,7 @@ The `start_version_stat_collection` method initiates storing version statistics ``` - + #### Response (success) ```json @@ -38,8 +46,18 @@ The `start_version_stat_collection` method initiates storing version statistics "id": null } ``` + + +### Error Types + +| Parameter | Type | Description | +| ------------- | ------ | ----------------------------------- | +| DatabaseError | string | Database constraint error occurred. | + + + #### ⚠️ Error Responses - #### Response (error - invalid peer id unable to parse) + ##### DatabaseError ```json { diff --git a/src/pages/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/index.mdx index 31f0af0ab..a1a89dfbe 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/stop_version_stat_collection/index.mdx @@ -1,27 +1,27 @@ export const title = "Komodo DeFi Framework Method: Stop Version Stat Collection"; export const description = "The stop_version_stat_collection method stops the collection of version stats at the end of the current loop interval."; -# stop\_version\_stat\_collection +# Stop Version Stat Collection + +## stop\_version\_stat\_collection {{label : 'stop_version_stat_collection', tag : 'API-v2'}} The `stop_version_stat_collection` method stops the collection of version stats at the end of the current loop interval. -#### Arguments +### Request Parameters -| Structure | Type | Description | -| --------- | ---- | ----------- | -| (none) | | | +| Parameter | Type | Required | Description | +| :-------- | :---- | :------: | :------------------------------- | +| *None* | *N/A* | | *This method has no parameters.* | -#### Response +### Response Parameters -| Structure | Type | Description | -| --------- | ------ | ---------------- | -| result | string | success or error | +| Parameter | Type | Description | +| --------- | ------ | ------------------ | +| result | string | `success` or error | #### 📌 Examples -#### Command - - + ```json { "mmrpc": "2.0", @@ -32,29 +32,37 @@ The `stop_version_stat_collection` method stops the collection of version stats ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": "success", - "id": null + "mmrpc": "2.0", + "result": "success", + "id": null } ``` - - #### Response (error - stats collection not running) +### Error Types + +| Parameter | Type | Description | +| ---------- | ------ | ------------------------------------------------ | +| NotRunning | string | Version stat collection is not currently running | + + + #### ⚠️ Error Responses + + ##### NotRunning ```json { - "mmrpc": "2.0", - "error": "start_version_stat_collection is not running", - "error_path": "lp_stats", - "error_trace": "lp_stats:395]", - "error_type": "NotRunning", - "id": null + "mmrpc": "2.0", + "error": "start_version_stat_collection is not running", + "error_path": "lp_stats", + "error_trace": "lp_stats:395]", + "error_type": "NotRunning", + "id": null } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/index.mdx new file mode 100644 index 000000000..104b0b9c5 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/index.mdx @@ -0,0 +1,67 @@ +export const title = "Komodo DeFi Framework Method: Cancel MetaMask Connection Task"; +export const description = "Cancel a running MetaMask connection task in the Komodo DeFi Framework API."; + +# Cancel MetaMask Connection Task + +## task::connect\_metamask::cancel {{label : 'task::connect_metamask::cancel', tag : 'API-v2'}} + +Use `task::connect_metamask::cancel` to abort the MetaMask initialisation task. + +### Request Parameters + +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | ------------------------------------------------------------------ | +| task\_id | integer | ✓ | The identifying number returned when the task was first initiated. | + +### Response Parameters + +| Parameter | Type | Description | +| ------------ | ------ | -------------------------------------------------------------------------------------- | +| result | string | Returns `success` on success, otherwise the standard error fields below are populated. | +| error | string | Description of the error. | +| error\_path | string | Used for debugging. A reference to the function in code base which returned the error. | +| error\_trace | string | Used for debugging. A trace of lines of code which led to the returned error. | +| error\_type | string | An enumerated error identifier to indicate the category of error. | +| error\_data | string | Additional context for the error type. | + +#### 📌 Cancel MetaMask Connection Task + + + ```json + { + "mmrpc": "2.0", + "method": "task::connect_metamask::cancel", + "params": { + "task_id": 42 + }, + "id": 1, + "userpass": "RPC_UserP@SSW0RD" + } + ``` + + + + #### Response (success) + + ```json + { + "mmrpc": "2.0", + "result": "success", + "id": 1 + } + ``` + + #### Response (task already finished) + + ```json + { + "mmrpc": "2.0", + "error": "Task is finished already", + "error_path": "init_metamask.manager", + "error_trace": "init_metamask:215] manager:104]", + "error_type": "TaskFinished", + "error_data": 42, + "id": 1 + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/index.mdx new file mode 100644 index 000000000..8fe2ff7cb --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/index.mdx @@ -0,0 +1,12 @@ +export const title = "Komodo DeFi Framework Method Overview: Connect MetaMask Task"; +export const description = "Overview of the task-managed flow for establishing a MetaMask context with the Komodo DeFi Framework."; + +# Connect MetaMask Task Overview + +## task::connect\_metamask {{label : 'task::connect_metamask', tag : 'overview'}} + +This section provides an overview of the task-managed flow used to initialise a MetaMask context and bind it to a Komodo DeFi Framework node. Each action in the flow is documented on its own dedicated page: + +* [Init MetaMask Connection](/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/) +* [MetaMask Connection Status](/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/) +* [Cancel MetaMask Connection](/komodo-defi-framework/api/v20/utils/task_connect_metamask/cancel/) diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/index.mdx new file mode 100644 index 000000000..b64efd900 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/init/index.mdx @@ -0,0 +1,51 @@ +export const title = "Komodo DeFi Framework Method: Initialise MetaMask Connection Task"; +export const description = "Begin a task-managed process that initialises and authenticates MetaMask with the Komodo DeFi Framework node."; +import CompactTable from '@/components/mdx/CompactTable'; + +# Initialise MetaMask Connection Task + +## task::connect\_metamask::init {{label : 'task::connect_metamask::init', tag : 'API-v2'}} + +Use this method to begin a task-managed process that establishes a MetaMask context. The method returns a `task_id` that can be polled using `task::connect_metamask::status`. + +### Request Parameters + + + +### Response Parameters + + + +#### 📌 Examples + + + ```json + { + "mmrpc": "2.0", + "method": "task::connect_metamask::init", + "params": { + "project": "my_kdf_app" + }, + "id": 1, + "userpass": "RPC_UserP@SSW0RD" + } + ``` + + + + #### Response (success) + + ```json + { + "mmrpc": "2.0", + "result": { + "task_id": 42 + }, + "id": 1 + } + ``` + + +### Error Types + + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/index.mdx new file mode 100644 index 000000000..27aa5716f --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_connect_metamask/status/index.mdx @@ -0,0 +1,77 @@ +export const title = "Komodo DeFi Framework Method: MetaMask Connection Task: Status"; +export const description = "Query the status of a running MetaMask connection task."; +import CompactTable from '@/components/mdx/CompactTable'; + +# MetaMask Connection Task: Status + +## task::connect\_metamask::status {{label : 'task::connect_metamask::status', tag : 'API-v2'}} + +After calling `task::connect_metamask::init`, use this method to poll for progress, gather additional details, or fetch the final result once the MetaMask context is ready. + +### Request Parameters + + + +### Response Parameters + + + +Possible in-progress `status` values: + +* `Initializing` – Preparing the MetaMask context. +* `SigningLoginMetadata` – Waiting for the user to sign the login metadata inside MetaMask. + +When the task completes successfully, `status` will be `Ok` and `details` will hold the resulting Ethereum address. + +#### 📌 Examples + + + ```json + { + "mmrpc": "2.0", + "method": "task::connect_metamask::status", + "params": { + "task_id": 42, + "forget_if_finished": false + }, + "id": 1, + "userpass": "RPC_UserP@SSW0RD" + } + ``` + + + + #### Response (in progress) + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "InProgress", + "details": "Initializing" + }, + "id": 1 + } + ``` + + + + #### Response (ready, successful) + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "Ok", + "details": { + "eth_address": "0x7b6E7C4555c5F6f5Fc4d0fAA940bAe50cC3C7d29" + } + }, + "id": 1 + } + ``` + + +### Error Types + + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/index.mdx new file mode 100644 index 000000000..aa1e69989 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/index.mdx @@ -0,0 +1,66 @@ +export const title = "Komodo DeFi Framework Method: Cancel Trezor Initialization Task"; +export const description = "Cancel the Trezor initialisation task in the Komodo DeFi Framework API."; + +# Cancel Trezor Initialization Task + +## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} + +Use the `task::init_trezor::cancel` method to cancel the initialisation task. + +### Request Parameters + +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | --------------------------------------------------------------------------- | +| task\_id | integer | ✓ | The identifying number returned when initiating the initialisation process. | + +### Response Parameters + +| Parameter | Type | Description | +| ------------ | ------ | -------------------------------------------------------------------------------------- | +| result | string | Returns with value `success` when successful, otherwise returns the error values below | +| error | string | Description of the error | +| error\_path | string | Used for debugging. A reference to the function in code base which returned the error | +| error\_trace | string | Used for debugging. A trace of lines of code which led to the returned error | +| error\_type | string | An enumerated error identifier to indicate the category of error | +| error\_data | string | Additonal context for the error type | + +#### 📌 Examples + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::cancel", + "params": { + "task_id": 0 + } + } + ``` + + + + #### Response (ready, successful) + + ```json + { + "mmrpc": "2.0", + "result": "success", + "id": null + } + ``` + + #### Response (error, task already finished) + + ```json + { + "mmrpc": "2.0", + "error": "Task is finished already", + "error_path": "init_hw.manager", + "error_trace": "init_hw:209] manager:104]", + "error_type": "TaskFinished", + "error_data": 0, + "id": null + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/index.mdx index e1749852d..cd55bf7cf 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/index.mdx @@ -1,471 +1,11 @@ -export const title = "Komodo DeFi Framework: Trezor Initialisation"; -export const description = "Prepare your Trezor device for use in the Komodo DeFi Framework API, and authenticate using your PIN or phrase."; +export const title = "Komodo DeFi Framework Method Overview: Trezor Initialization"; +export const description = "This document provides an overview of Trezor initialization methods available in the Komodo DeFi Framework."; -import trezorpin from "@/public/images/docs/api-images/trezor_pin.png"; +# Trezor Initialization Overview -# Trezor Initialisation +## trezor\_initialisation {{label : 'trezor_initialisation', tag : 'overview'}} -The methods below prepare your Trezor device for use within the Komodo DeFi Framework API. Once completed, you can authenticate using your PIN or phrase with [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-user-action). - - - Methods with a `task::` prefix will be linked to a numeric - `task_id` value which can be used to query the status or outcome of a task. - - -## task::init\_trezor::init {{label : 'task::init_trezor::init', tag : 'API-v2'}} - -Before using this method, launch the Komodo DeFi Framework API, and plug in your Trezor. - -#### Arguments - -| Parameter | Type | Description | -| -------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| device\_pubkey | string | Optional. If known, you can specify the device pubkey. If not known, this will be part of the [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-status) response which you can save for future use | - -#### Response - -| Parameter | Type | Description | -| --------- | ------- | --------------------------------------------------------- | -| task\_id | integer | An identifying number which is used to query task status. | - -#### 📌 Examples - -#### Command (without device\_pubkey) - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::init", - "params": {} - } - ``` - - -#### Command (with device\_pubkey) - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::init", - "params": { - "device_pubkey": "066deb87b0d0500ec2e9b85f5314870b03a53517" - } - } - ``` - - - - #### Response (success) - - ```json - { - "mmrpc": "2.0", - "result": { - "task_id": 0 - }, - "id": null - } - ``` - - -## task::init\_trezor::status {{label : 'task::init_trezor::status', tag : 'API-v2'}} - -After running the `task::init_trezor::init` method, we can query the status of device initialisation to check its progress. - -#### Arguments - -| Parameter | Type | Description | -| -------------------- | ------- | ----------------------------------------------------------------------------------------- | -| task\_id | integer | The identifying number returned when initiating the initialisation process. | -| forget\_if\_finished | boolean | If `false`, will return final response for completed tasks. Optional, defaults to `true`. | - -#### Response - -| Parameter | Type | Description | -| ---------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| status | string | A short indication of how the requested process is progressing. | -| details | object | Depending on the state of process progress, this will contain different information as detailed in the items below. | -| details.type | string | Type of hardware wallet device (e.g. `Trezor`) | -| details.model | string | The model of the hardware wallet device (e.g. `One` or `T`) | -| details.device\_name | string | The name of the device as defned by user in Trezor Suite or another wallet application. | -| details.device\_id | string (hex) | An unique identifier of the device, set during manufacturing. | -| details.device\_pubkey | string (hex) | The hardware wallet device's pubkey. If included in the `task::init_trezor::init` request, it wll be the same as input. If not, it should be stored for future use. | - -#### 📌 Examples - -#### Command - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::status", - "params": { - "task_id": 0, - "forget_if_finished": false - } - } - ``` - - - - #### Response (in progress) - - Possible "In progress" Cases: - - * `Initializing` - This is the normal task state. It does not require any action from the user. - - * `WaitingForTrezorToConnect` - The Komodo DeFi Framework API is waiting for the user to plugin a Trezor device. - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "InProgress", - "details": "WaitingForTrezorToConnect" - }, - "id": null - } - ``` - - * `FollowHwDeviceInstructions` - The Komodo DeFi Framework API is waiting for the user to follow instructions displayed on the device (e.g. clicking a button to confirm). - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "InProgress", - "details": "FollowHwDeviceInstructions" - }, - "id": null - } - ``` - - * `UserActionRequired` - This will either be `EnterTrezorPin` or `EnterTrezorPassphrase`. Refer to the [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-user-action) section for more information. - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "UserActionRequired", - "details": "EnterTrezorPin" - }, - "id": null - } - ``` - - #### Response (ready, successful) - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "Ok", - "details": { - "result": { - "type": "Trezor", - "model": "One", - "device_name": "Fitzchivalry Farseer", - "device_id": "A1CCF11243A795A84111955E", - "device_pubkey": "066deb87b0d0500ec2e9b85f5314870b03a53517" - } - } - }, - "id": null - } - ``` - - #### Error Responses (by `error_type`) - - : - - * `HwContextInitializingAlready` - Returned if user calls `task::init_trezor::init` before the previous `task::init_trezor::init` task has been completed. - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "Hardware Wallet context is initializing already", - "error_path": "init_hw.crypto_ctx", - "error_trace": "init_hw:151] crypto_ctx:235]", - "error_type": "HwContextInitializingAlready" - } - }, - "id": null - } - ``` - - * `Timeout` - Task timed out while trying to connect to a device. - - ```json - { - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "RPC timed out 300s", - "error_path": "init_hw.crypto_ctx.hw_client", - "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_client:156]", - "error_type": "Timeout", - "error_data": { - "secs": 300, - "nanos": 0 - } - } - }, - "id": null - } - ``` - - * `NoSuchTask` - Something went wrong or `task::init_trezor::init` was not called. Refer to the [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-init) section for more information. - - ```json - { - "mmrpc": "2.0", - "error": "No such task '0'", - "error_path": "init_hw", - "error_trace": "init_hw:184]", - "error_type": "NoSuchTask", - "error_data": 0, - "id": null - } - ``` - - * `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/#details-for-hw-error-error-type) for more info. - - -## task::init\_trezor::cancel {{label : 'task::init_trezor::cancel', tag : 'API-v2'}} - -Use the `task::init_trezor::cancel` method to cancel the initialisation task. - -#### Arguments - -| Parameter | Type | Description | -| --------- | ------- | --------------------------------------------------------------------------- | -| task\_id | integer | The identifying number returned when initiating the initialisation process. | - -#### Response - -| Parameter | Type | Description | -| ------------ | ------ | -------------------------------------------------------------------------------------- | -| result | string | Returns with value `success` when successful, otherwise returns the error values below | -| error | string | Description of the error | -| error\_path | string | Used for debugging. A reference to the function in code base which returned the error | -| error\_trace | string | Used for debugging. A trace of lines of code which led to the returned error | -| error\_type | string | An enumerated error identifier to indicate the category of error | -| error\_data | string | Additonal context for the error type | - -#### 📌 Examples - -#### Command - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::cancel", - "params": { - "task_id": 0 - } - } - ``` - - - - #### Response (ready, successful) - - ```json - { - "mmrpc": "2.0", - "result": "success", - "id": null - } - ``` - - #### Response (error, task already finished) - - ```json - { - "mmrpc": "2.0", - "error": "Task is finished already", - "error_path": "init_hw.manager", - "error_trace": "init_hw:209] manager:104]", - "error_type": "TaskFinished", - "error_data": 0, - "id": null - } - ``` - - -## task::init\_trezor::user\_action {{label : 'task::init_trezor::user_action', tag : 'API-v2'}} - -When you see the pin grid on your device, or it asks for a passphrase word, use this method. - -#### Arguments - -| Parameter | Type | Description | -| ------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| task\_id | integer | The identifying number returned when initiating the initialisation process. | -| user\_action | object | Object containing the params below | -| user\_action.action\_type | string | Either `TrezorPin` or `TrezorPassphrase`, depending on which is requested by responses from related methods returning `"status": "UserActionRequired"` | -| user\_action.pin | string (number) | When the Trezor device is displaying a grid of numbers for PIN entry, this param will contain your Trezor pin, as mapped through your keyboard numpad. See the image below for more information. | -| user\_action.passphrase | string | The [passphrase](https://trezor.io/learn/a/passphrases-and-hidden-wallets) functions like an extra word added to your recovery seed, and it used to access hidden wallets. To access the default wallet, input an empty string here. | - - - -#### Response - -| Parameter | Type | Description | -| --------- | ------ | --------------------------- | -| result | string | The outcome of the request. | - - - Even an incorrect PIN will return `success`. This doesn't mean the PIN was accepted, just that it was communicated without errors. If the PIN was incorrect, you will see an error like below in the next response for a method that requires authentication. - - -```json -{ - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "Error on platform coin KMD creation: Hardware Wallet context is not initialized", - "error_path": "lib.init_utxo_standard_activation.utxo_coin_builder", - "error_trace": "lib:103] init_utxo_standard_activation:79] utxo_coin_builder:317]", - "error_type": "CoinCreationError", - "error_data": { - "ticker": "KMD", - "error": "Hardware Wallet context is not initialized" - } - } - }, - "id": null -} -``` - -#### 📌 Examples - -#### Command (for TrezorPin) - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::user_action", - "params": { - "task_id": 0, - "user_action": { - "action_type": "TrezorPin", - "pin": "862743" - } - } - } - ``` - - -#### Command (for TrezorPassphrase) - - - ```json - { - "userpass": "RPC_UserP@SSW0RD", - "mmrpc": "2.0", - "method": "task::init_trezor::user_action", - "params": { - "task_id": 0, - "user_action": { - "action_type": "TrezorPassphrase", - "passphrase": "breakfast" - } - } - } - ``` - - - - #### Response (success) - - ```json - { - "mmrpc": "2.0", - "result": "success", - "id": null - } - ``` - - -## Details for `HwError` error type - -When requesting the status of a task, if an `error_type` of `HwError` is returned, the GUI / User should check the details in `error_data` field to know which action is required (as detailed below). - -### FoundUnexpectedDevice - -The connected Trezor device has a different pubkey value than what was specified in the `device_pubkey` parameter - -```json -{ - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "Found unexpected device. Please re-initialize Hardware wallet", - "error_path": "lib.common_impl.coin_balance.utxo_common.hd_pubkey.hw_ctx", - "error_trace": "lib:93] common_impl:46] coin_balance:304] utxo_common:163] hd_pubkey:176] hw_ctx:149]", - "error_type": "HwError", - "error_data": "FoundUnexpectedDevice" - } - }, - "id": null -} -``` - -### FoundMultipleDevices - -Multiple Trezor devices are plugged in. Remove the additional devices, and keep the one you want to use plugged in. - -```json -{ - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "Found multiple devices. Please unplug unused devices", - "error_path": "init_hw.crypto_ctx.hw_client", - "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_client:152] hw_client:126]", - "error_type": "HwError", - "error_data": "FoundMultipleDevices" - } - }, - "id": null -} -``` - -### NoTrezorDeviceAvailable - -No Trezor device detected by the Komodo DeFi Framework API. Make sure it is plugged in, or try a different USB cable / port. - -```json -{ - "mmrpc": "2.0", - "result": { - "status": "Error", - "details": { - "error": "No Trezor device available", - "error_path": "init_hw.crypto_ctx.hw_ctx.response.usb.libusb", - "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_ctx:120] response:136] usb:46] libusb:195]", - "error_type": "HwError", - "error_data": "NoTrezorDeviceAvailable" - } - }, - "id": null -} -``` +* [Cancel Trezor Initialization](/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/) +* [Init Trezor](/komodo-defi-framework/api/v20/utils/task_init_trezor/init/) +* [Status of Trezor Initialization](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/) +* [User Action for Trezor](/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/) diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/init/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/init/index.mdx new file mode 100644 index 000000000..0471eb651 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/init/index.mdx @@ -0,0 +1,64 @@ +export const title = "task::init_trezor::init"; +export const description = "Initialise your Trezor device for use in the Komodo DeFi Framework API."; + +# Komodo DeFi Framework Method: task::init\_trezor::init + +## task::init\_trezor::init {{label : 'task::init_trezor::init', tag : 'API-v2'}} + +Before using this method, launch the Komodo DeFi Framework API, and plug in your Trezor. + +### Request Parameters + +| Parameter | Type | Required | Description | +| -------------- | ------ | :------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| device\_pubkey | string | ✗ | If known, you can specify the device pubkey. If not known, this will be part of the [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/) response which you can save for future use | + +### Response Parameters + +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | --------------------------------------------------------- | +| task\_id | integer | ✓ | An identifying number which is used to query task status. | + +#### 📌 Examples + +#### Command (without device\_pubkey) + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::init", + "params": {} + } + ``` + + +#### Command (with device\_pubkey) + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::init", + "params": { + "device_pubkey": "066deb87b0d0500ec2e9b85f5314870b03a53517" + } + } + ``` + + + + #### Response (success) + + ```json + { + "mmrpc": "2.0", + "result": { + "task_id": 0 + }, + "id": null + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/status/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/status/index.mdx new file mode 100644 index 000000000..af976309a --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/status/index.mdx @@ -0,0 +1,238 @@ +export const title = "task::init_trezor::status"; +export const description = "Query the status of Trezor device initialisation in the Komodo DeFi Framework API."; + +# Komodo DeFi Framework Method: task::init\_trezor::status + +## task::init\_trezor::status {{label : 'task::init_trezor::status', tag : 'API-v2'}} + +After running the `task::init_trezor::init` method, you can query the status of device initialisation to check its progress. + +### Request Parameters + +| Parameter | Type | Required | Default | Description | +| -------------------- | ------- | :------: | :-----: | --------------------------------------------------------------------------- | +| task\_id | integer | ✓ | `-` | The identifying number returned when initiating the initialisation process. | +| forget\_if\_finished | boolean | ✗ | `true` | If `false`, will return final response for completed tasks. | + +### Response Parameters + +| Parameter | Type | Required | Description | +| ---------------------- | ------------ | :------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| status | string | ✓ | A short indication of how the requested process is progressing. | +| details | object | ✓ | Depending on the state of process progress, this will contain different information as detailed in the items below. | +| details.type | string | ✓ | Type of hardware wallet device (e.g. `Trezor`) | +| details.model | string | ✓ | The model of the hardware wallet device (e.g. `One` or `T`) | +| details.device\_name | string | ✓ | The name of the device as defined by user in Trezor Suite or another wallet application. | +| details.device\_id | string (hex) | ✓ | A unique identifier of the device, set during manufacturing. | +| details.device\_pubkey | string (hex) | ✓ | The hardware wallet device's pubkey. If included in the `task::init_trezor::init` request, it will be the same as input. If not, it should be stored for future use. | + +#### 📌 Examples + +#### Command + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::status", + "params": { + "task_id": 0, + "forget_if_finished": false + } + } + ``` + + + + #### Response (in progress) + + Possible "In progress" Cases: + + * `Initializing` - This is the normal task state. It does not require any action from the user. + + * `WaitingForTrezorToConnect` - The Komodo DeFi Framework API is waiting for the user to plugin a Trezor device. + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "InProgress", + "details": "WaitingForTrezorToConnect" + }, + "id": null + } + ``` + + * `FollowHwDeviceInstructions` - The Komodo DeFi Framework API is waiting for the user to follow instructions displayed on the device (e.g. clicking a button to confirm). + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "InProgress", + "details": "FollowHwDeviceInstructions" + }, + "id": null + } + ``` + + * `UserActionRequired` - This will either be `EnterTrezorPin` or `EnterTrezorPassphrase`. Refer to the [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/) section for more information. + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "UserActionRequired", + "details": "EnterTrezorPin" + }, + "id": null + } + ``` + + #### Response (ready, successful) + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "Ok", + "details": { + "result": { + "type": "Trezor", + "model": "One", + "device_name": "Fitzchivalry Farseer", + "device_id": "A1CCF11243A795A84111955E", + "device_pubkey": "066deb87b0d0500ec2e9b85f5314870b03a53517" + } + } + }, + "id": null + } + ``` + + #### Error Responses (by `error_type`) + + * `HwContextInitializingAlready` - Returned if user calls `task::init_trezor::init` before the previous `task::init_trezor::init` task has been completed. + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "Hardware Wallet context is initializing already", + "error_path": "init_hw.crypto_ctx", + "error_trace": "init_hw:151] crypto_ctx:235]", + "error_type": "HwContextInitializingAlready" + } + }, + "id": null + } + ``` + + * `Timeout` - Task timed out while trying to connect to a device. + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "RPC timed out 300s", + "error_path": "init_hw.crypto_ctx.hw_client", + "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_client:156]", + "error_type": "Timeout", + "error_data": { + "secs": 300, + "nanos": 0 + } + } + }, + "id": null + } + ``` + + * `NoSuchTask` - Something went wrong or `task::init_trezor::init` was not called. Refer to the [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/init/) section for more information. + + ```json + { + "mmrpc": "2.0", + "error": "No such task '0'", + "error_path": "init_hw", + "error_trace": "init_hw:184]", + "error_type": "NoSuchTask", + "error_data": 0, + "id": null + } + ``` + + * `HwError` - **This is the most important error type.** Unlike other error types, `HwError` requires the GUI / User to check the details in `error_data` field to know which action is required. View the [HwError error type details](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#details-for-hw-error-error-type) for more info. + + +## Details for `HwError` error type + +When requesting the status of a task, if an `error_type` of `HwError` is returned, the GUI / User should check the details in `error_data` field to know which action is required (as detailed below). + +### FoundUnexpectedDevice + +The connected Trezor device has a different pubkey value than what was specified in the `device_pubkey` parameter + +```json +{ + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "Found unexpected device. Please re-initialize Hardware wallet", + "error_path": "lib.common_impl.coin_balance.utxo_common.hd_pubkey.hw_ctx", + "error_trace": "lib:93] common_impl:46] coin_balance:304] utxo_common:163] hd_pubkey:176] hw_ctx:149]", + "error_type": "HwError", + "error_data": "FoundUnexpectedDevice" + } + }, + "id": null +} +``` + +### FoundMultipleDevices + +Multiple Trezor devices are plugged in. Remove the additional devices, and keep the one you want to use plugged in. + +```json +{ + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "Found multiple devices. Please unplug unused devices", + "error_path": "init_hw.crypto_ctx.hw_client", + "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_client:152] hw_client:126]", + "error_type": "HwError", + "error_data": "FoundMultipleDevices" + } + }, + "id": null +} +``` + +### NoTrezorDeviceAvailable + +No Trezor device detected by the Komodo DeFi Framework API. Make sure it is plugged in, or try a different USB cable / port. + +```json +{ + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "No Trezor device available", + "error_path": "init_hw.crypto_ctx.hw_ctx.response.usb.libusb", + "error_trace": "init_hw:151] crypto_ctx:248] crypto_ctx:354] hw_ctx:120] response:136] usb:46] libusb:195]", + "error_type": "HwError", + "error_data": "NoTrezorDeviceAvailable" + } + }, + "id": null +} +``` diff --git a/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/index.mdx new file mode 100644 index 000000000..4b1464626 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/index.mdx @@ -0,0 +1,104 @@ +export const title = "task::init_trezor::user_action"; +export const description = "Send user action (PIN or passphrase) to the Trezor device during initialisation in the Komodo DeFi Framework API."; + +import trezorpin from "@/public/images/docs/api-images/trezor_pin.png"; + +# Komodo DeFi Framework Method: task::init\_trezor::user\_action + +## task::init\_trezor::user\_action {{label : 'task::init_trezor::user_action', tag : 'API-v2'}} + +When you see the pin grid on your device, or it asks for a passphrase word, use this method. + +### Request Parameters + +| Parameter | Type | Required | Description | +| ------------------------- | --------------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| task\_id | integer | ✓ | The identifying number returned when initiating the initialisation process. | +| user\_action | object | ✓ | Object containing the params below | +| user\_action.action\_type | string | ✓ | Either `TrezorPin` or `TrezorPassphrase`, depending on which is requested by responses from related methods returning `"status": "UserActionRequired"` | +| user\_action.pin | string (number) | ✗ | When the Trezor device is displaying a grid of numbers for PIN entry, this param will contain your Trezor pin, as mapped through your keyboard numpad. See the image below for more information. | +| user\_action.passphrase | string | ✗ | The [passphrase](https://trezor.io/learn/a/passphrases-and-hidden-wallets) functions like an extra word added to your recovery seed, and it used to access hidden wallets. To access the default wallet, input an empty string here. | + + + +### Response Parameters + +| Parameter | Type | Required | Description | +| --------- | ------ | :------: | --------------------------- | +| result | string | ✓ | The outcome of the request. | + + + Even an incorrect PIN will return `success`. This doesn't mean the PIN was accepted, just that it was communicated without errors. If the PIN was incorrect, you will see an error like below in the next response for a method that requires authentication. + + +```json +{ + "mmrpc": "2.0", + "result": { + "status": "Error", + "details": { + "error": "Error on platform coin KMD creation: Hardware Wallet context is not initialized", + "error_path": "lib.init_utxo_standard_activation.utxo_coin_builder", + "error_trace": "lib:103] init_utxo_standard_activation:79] utxo_coin_builder:317]", + "error_type": "CoinCreationError", + "error_data": { + "ticker": "KMD", + "error": "Hardware Wallet context is not initialized" + } + } + }, + "id": null +} +``` + +#### 📌 Examples + +#### Command (for TrezorPin) + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::user_action", + "params": { + "task_id": 0, + "user_action": { + "action_type": "TrezorPin", + "pin": "862743" + } + } + } + ``` + + +#### Command (for TrezorPassphrase) + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "task::init_trezor::user_action", + "params": { + "task_id": 0, + "user_action": { + "action_type": "TrezorPassphrase", + "passphrase": "breakfast" + } + } + } + ``` + + + + #### Response (success) + + ```json + { + "mmrpc": "2.0", + "result": "success", + "id": null + } + ``` + diff --git a/src/pages/komodo-defi-framework/api/v20/utils/trezor_connection_status/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/trezor_connection_status/index.mdx new file mode 100644 index 000000000..78c567a87 --- /dev/null +++ b/src/pages/komodo-defi-framework/api/v20/utils/trezor_connection_status/index.mdx @@ -0,0 +1,53 @@ +export const title = "Komodo DeFi Framework Method: Trezor Connection Status"; +export const description = "Check whether a Trezor device linked to the node is currently connected and ready for use."; + +# Trezor Connection Status + +## trezor\_connection\_status {{label : 'trezor_connection_status', tag : 'API-v2'}} + +The `trezor_connection_status` method reports the real-time connection state of a **Trezor hardware wallet** that was previously initialized (see [`task::init_trezor::*`](/komodo-defi-framework/api/v20/utils/task_init_trezor/)). + +### Request Parameters + +| Parameter | Type | Required | Description | +| -------------- | ------ | :------: | ------------------------------------------------------------------------------------------------------------------------------ | +| device\_pubkey | string | ✗ | (Optional) Expected public key of the Trezor device. If specified and a *different* device is connected, an error is returned. | + +### Response Parameters + +| Parameter | Type | Description | +| --------- | ------ | -------------------------------------------- | +| status | string | One of: `Connected`, `Disconnected`, `Busy`. | + +### 📌 Example + + + ```json + { + "userpass": "RPC_UserP@SSW0RD", + "mmrpc": "2.0", + "method": "trezor_connection_status", + "id": 0 + } + ``` + + + + ```json + { + "mmrpc": "2.0", + "result": { + "status": "Connected" + }, + "id": 0 + } + ``` + + +### Error Types + +| Parameter | Type | Description | +| --------------------- | ------ | --------------------------------------------------------------- | +| TrezorNotInitialized | string | A Trezor device has not been initialized on this node. | +| FoundUnexpectedDevice | string | A connected device does not match the supplied `device_pubkey`. | +| Internal | string | Unhandled internal error. | diff --git a/src/pages/komodo-defi-framework/api/v20/utils/update_version_stat_collection/index.mdx b/src/pages/komodo-defi-framework/api/v20/utils/update_version_stat_collection/index.mdx index 45dc9daad..4bcb2035e 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/update_version_stat_collection/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/utils/update_version_stat_collection/index.mdx @@ -1,21 +1,27 @@ export const title = "Komodo DeFi Framework Method: Update Version Stat Collection"; export const description = "The update_version_stat_collection method updates the polling interval for version stats collection."; -# update\_version\_stat\_collection +# Update Version Stat Collection + +## update\_version\_stat\_collection {{label : 'update_version_stat_collection', tag : 'API-v2'}} The `update_version_stat_collection` method updates the polling interval for version stats collection. Note: the new interval will take effect after the current interval loop has completed. -## Arguments +### Request Parameters -| Structure | Type | Description | -| --------- | ------- | ------------------------------------------------ | -| interval | integer | polling rate (in seconds) to query node versions | +| Parameter | Type | Required | Description | +| --------- | ------- | :------: | ------------------------------------------------ | +| interval | integer | ✓ | Polling rate (in seconds) to query node versions | -#### 📌 Examples +### Response Parameters -#### Command +| Parameter | Type | Description | +| --------- | ------ | --------------------------- | +| result | string | The outcome of the request. | - +#### 📌 Examples + + ```json { "mmrpc": "2.0", @@ -28,29 +34,37 @@ The `update_version_stat_collection` method updates the polling interval for ver ``` - + #### Response (success) ```json { - "mmrpc": "2.0", - "result": "success", - "id": null + "mmrpc": "2.0", + "result": "success", + "id": null } ``` - - #### Response (error - stats collection not running) +### Error Types + +| Parameter | Type | Description | +| ---------- | ------ | ------------------------------------------------ | +| NotRunning | string | Version stat collection is not currently running | + + + #### ⚠️ Error Responses + + ##### NotRunning ```json { - "mmrpc": "2.0", - "error": "start_version_stat_collection is not running", - "error_path": "lp_stats", - "error_trace": "lp_stats:374]", - "error_type": "NotRunning", - "id": null + "mmrpc": "2.0", + "error": "start_version_stat_collection is not running", + "error_path": "lp_stats", + "error_trace": "lp_stats:374]", + "error_type": "NotRunning", + "id": null } ``` diff --git a/src/pages/komodo-defi-framework/api/v20/wallet/delete_wallet/index.mdx b/src/pages/komodo-defi-framework/api/v20/wallet/delete_wallet/index.mdx index 70e3f2940..8982e072c 100644 --- a/src/pages/komodo-defi-framework/api/v20/wallet/delete_wallet/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/wallet/delete_wallet/index.mdx @@ -12,6 +12,7 @@ Securely deletes a wallet. The wallet must not be the currently active wallet. T ### Request Parameters + ### Response Parameters The response for a successful request is `null`. @@ -49,6 +50,7 @@ The response for a successful request is `null`. ### Error Types + #### Error Response (Wallet Not Found) diff --git a/src/pages/komodo-defi-framework/api/v20/wallet/task_managed/index.mdx b/src/pages/komodo-defi-framework/api/v20/wallet/task_managed/index.mdx index 0cfc1764b..0c945efa9 100644 --- a/src/pages/komodo-defi-framework/api/v20/wallet/task_managed/index.mdx +++ b/src/pages/komodo-defi-framework/api/v20/wallet/task_managed/index.mdx @@ -28,10 +28,10 @@ In some cases, the methods used to interact with HD wallets are the same as thos ## Initialisation and authentication (Hardware wallets only): -* Initialise connection with your Trezor with [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-init) -* Check the status of the connecton with [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-status) -* Cancel authentication process with [task::init\_trezor::cancel](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-cancel) -* Authenticate using PIN or phrase with [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/#task-init-trezor-user-action) +* Initialise connection with your Trezor with [task::init\_trezor::init](/komodo-defi-framework/api/v20/utils/task_init_trezor/init/#task-init-trezor-init) +* Check the status of the connecton with [task::init\_trezor::status](/komodo-defi-framework/api/v20/utils/task_init_trezor/status/#task-init-trezor-status) +* Cancel authentication process with [task::init\_trezor::cancel](/komodo-defi-framework/api/v20/utils/task_init_trezor/cancel/#task-init-trezor-cancel) +* Authenticate using PIN or phrase with [task::init\_trezor::user\_action](/komodo-defi-framework/api/v20/utils/task_init_trezor/user_action/#task-init-trezor-user-action) These methods (and others with a `task::` prefix) will be linked to a numeric diff --git a/src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx b/src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx index 3ba2a1ca0..a738e1c13 100644 --- a/src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx +++ b/src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx @@ -26,7 +26,7 @@ When running the Komodo DeFi API via commandline with the `kdf` binary, some bas | i\_am\_seed | boolean | Optional, defaults to `false`. Runs Komodo DeFi Framework API as a seed node mode (acting as a relay for Komodo DeFi Framework API clients). Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. On alternative testing or private networks, at least one seed node is required to relay information to other Komodo DeFi Framework API clients using the same netID. | | is\_bootstrap\_node | boolean | Optional, defaults to `false`. If `true`, and `i_am_seed` is also true, KDF will act as a bootstrap node for the network. | | is\_watcher | boolean | Optional, defaults to `false`. If `true`, KDF will operate as a watcher seed nodes which may (in some cases) complete the final steps of a swap when a party goes offline. | -| message\_service\_cfg | object | Optional. This data is used to configure [Telegram](https://telegram.org/) messenger alerts for swap events when running using the [makerbot functionality](/komodo-defi-framework/api/v20/swaps_and_orders/start_simple_market_maker_bot/). For more information check out the [telegram alerts guide](/komodo-defi-framework/api/v20/utils/telegram_alerts/) | +| message\_service\_cfg | object | Optional. This data is used to configure [Telegram](https://telegram.org/) messenger alerts for swap events when running using the [makerbot functionality](/komodo-defi-framework/api/v20/swaps_and_orders/start_simple_market_maker_bot/). For more information check out the [telegram alerts guide](/komodo-defi-framework/setup/telegram-alerts/) | | metrics | integer | Optional, defaults to `300`. The interval in seconds which metrics are logged. Set to `0` to disable metrics. | | myipaddr | string | Optional. IP address to bind to for P2P networking. | | netid | integer | Nework ID number, telling the Komodo DeFi Framework which network to join. 8762 is the current main network, though alternative netids can be used for testing or "private" trades as long as seed nodes exist to support it. | diff --git a/src/pages/komodo-defi-framework/api/v20/utils/telegram_alerts/index.mdx b/src/pages/komodo-defi-framework/setup/telegram-alerts/index.mdx similarity index 53% rename from src/pages/komodo-defi-framework/api/v20/utils/telegram_alerts/index.mdx rename to src/pages/komodo-defi-framework/setup/telegram-alerts/index.mdx index ed3983104..617208591 100644 --- a/src/pages/komodo-defi-framework/api/v20/utils/telegram_alerts/index.mdx +++ b/src/pages/komodo-defi-framework/setup/telegram-alerts/index.mdx @@ -1,11 +1,14 @@ -export const title = "Komodo DeFi Framework Method: Telegram Alerts for MM Bot"; +export const title = "Komodo DeFi Framework Method: Telegram Alerts for Bot Trading"; export const description = "The Komodo DeFi Framework API Market Maker bot can be configured to send status update alerts via Telegram."; +import CompactTable from '@/components/mdx/CompactTable'; -# Telegram Alerts for Market Maker Bot +# Telegram Alerts for Bot Trading -The Komodo DeFi Framework API Market Maker bot can be configured to send status update alerts via [Telegram!](https://telegram.org/) +## Overview {{label : 'telegram_alerts', tag : 'overview'}} -To set this up, you can add some additional parameters to your MM2.json as shown in the example below +The Komodo DeFi Framework API Market Maker bot can be configured to send status update alerts via [Telegram](https://telegram.org/). + +To set this up, you can add some additional parameters to your MM2.json as shown in the example below: ```json { @@ -29,15 +32,10 @@ To set this up, you can add some additional parameters to your MM2.json as shown The extra fields required are: -| Parameter | Type | Description | -| --------------------------- | ------ | ------------------------ | -| api\_key | string | A Telegram bot API token | -| chat\_registry.default | string | A Telegram Chat ID | -| chat\_registry.maker\_bot | string | A Telegram Chat ID | -| chat\_registry.swap\_events | string | A Telegram Chat ID | + -You can use the same Telegram chat ID for all three `chat_registry` subfields, or sent your alerts to a different chat ID if you want to separate the alerts by type. +You can use the same Telegram chat ID for all three `chat_registry` subfields, or send your alerts to a different chat ID if you want to separate the alerts by type. -To get a Telegram bot API token, you need to [have chat with the BotFather](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659) +To get a Telegram bot API token, you need to [have a chat with the BotFather](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659). -To get a Telegram chat ID, check out [this guide](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659) +To get a Telegram chat ID, check out [this guide](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659). diff --git a/src/pages/qa/recover-komodo-mobile-wallet-swap-on-desktop/index.mdx b/src/pages/qa/recover-komodo-mobile-wallet-swap-on-desktop/index.mdx index bdf1a8b11..8cd09c560 100644 --- a/src/pages/qa/recover-komodo-mobile-wallet-swap-on-desktop/index.mdx +++ b/src/pages/qa/recover-komodo-mobile-wallet-swap-on-desktop/index.mdx @@ -31,7 +31,7 @@ curl --url "http://127.0.0.1:7783" --data "{\"method\":\"stop\",\"userpass\":\"$ stdbuf -oL nohup ./kdf ``` -* Enable the coins involved in the swap using the [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum-method) command +* Enable the coins involved in the swap using the [electrum](/komodo-defi-framework/api/legacy/coin_activation/#electrum) command ```bash curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"electrum\",\"coin\":\"RICK\",\"servers\":[{\"url\":\"electrum1.cipig.net:10017\"},{\"url\":\"electrum2.cipig.net:10017\"},{\"url\":\"electrum3.cipig.net:10017\"}]}" diff --git a/utils/_allMdxFileContentTree.json b/utils/_allMdxFileContentTree.json index 940a52e78..a50c0ec52 100644 --- a/utils/_allMdxFileContentTree.json +++ b/utils/_allMdxFileContentTree.json @@ -1 +1 @@ -{"antara/api/assets":[{"text":"Assets","tagName":"h1","path":"antara/api/assets","closestElementReference":"assets"},{"text":"Introduction","tagName":"h2","path":"antara/api/assets","closestElementReference":"introduction"},{"text":"The Assets Module provides basic distributed exchange (DEX) functionality for trading tokens created using the Tokens module.","tagName":"p","path":"antara/api/assets","closestElementReference":"introduction"},{"text":"tokens","tagName":"code","path":"antara/api/assets","closestElementReference":"introduction"},{"text":"Tokens","tagName":"a","path":"antara/api/assets","closestElementReference":"introduction"},{"text":"The Asset Module allows anyone to buy or sell tokens using the Smart Chain's coins.","tagName":"p","path":"antara/api/assets","closestElementReference":"introduction"},{"text":"Assets Module Flow","tagName":"h4","path":"antara/api/assets","closestElementReference":"assets-module-flow"},{"text":"Seller's Perspective","tagName":"h5","path":"antara/api/assets","closestElementReference":"sellers-perspective"},{"text":"A token owner places a new \"ask\" request with the tokenask method specifying the amount of tokens they want to sell and the price. The assets module then creates a new token ask order and the specified amount of tokens is locked in the module's global address","tagName":"li","path":"antara/api/assets","closestElementReference":"sellers-perspective"},{"text":"To fulfill the ask, a buyer executes the tokenfillask method. The purchased token amount moves from the global address to the buyer's token Antara Address. At the same time, the required amount of coins move from the buyer's address to the seller's address. This process can be repeated so long as tokens remain in the ask order","tagName":"li","path":"antara/api/assets","closestElementReference":"sellers-perspective"},{"text":"At any time, the creator of an order can cancel it via the tokencancelask method. The remaining tokens will return to their token Antara Address","tagName":"li","path":"antara/api/assets","closestElementReference":"sellers-perspective"},{"text":"Buyer's Perspective","tagName":"h5","path":"antara/api/assets","closestElementReference":"buyers-perspective"},{"text":"A buyer places a new bid using the tokenbid method. The bid specifies the amount of tokens and the price. The Assets Module creates a new token bid order and the specified amount of coins is locked in the module's global address.","tagName":"li","path":"antara/api/assets","closestElementReference":"buyers-perspective"},{"text":"A willing seller executes the tokenfillbid method. The token amount sold moves from the seller's token Antara Address to the buyer's token Antara Address. At the same time, the locked coins move from the global address to the seller's address. This process can be repeated so long as tokens remain in the bid order","tagName":"li","path":"antara/api/assets","closestElementReference":"buyers-perspective"},{"text":"At any time, the creator of an order can cancel it via the tokencancelbid method. The remaining coins will return to their token Antara Address","tagName":"li","path":"antara/api/assets","closestElementReference":"buyers-perspective"},{"text":"To retrieve a current list of all active orders, use the tokenorders or mytokenorders methods.","tagName":"p","path":"antara/api/assets","closestElementReference":"buyers-perspective"},{"text":"assetsaddress","tagName":"h2","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"assetsaddress (pubkey)","tagName":"p","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"assetsaddress (pubkey)","tagName":"strong","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"The assetsaddress method returns information about a asset address according to a specific pubkey . If no pubkey is provided, the pubkey used to launch the daemon is the default.","tagName":"p","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"assetsaddress","tagName":"code","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/assets","closestElementReference":"assetsaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD assetsaddress 028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD assetsaddress 028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"Response:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"AssetsCCAddress\": \"RGKRjeTBw4LYFotSDLT6RWzMHbhXri6BG6\",\n \"AssetsCCBalance\": 0.0,\n \"AssetsNormalAddress\": \"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\",\n \"AssetsNormalBalance\": 0.0,\n \"AssetsCCTokensAddress\": \"RTWtxY7GTBZ3zL8jfzyWWz1fveF3KXKBF8\",\n \"PubkeyCCaddress(Assets)\": \"RG6mr23tQ9nUhmi5GEnYqjfkqZt9x2MRXz\",\n \"PubkeyCCbalance(Assets)\": 0.0,\n \"myCCAddress(Assets)\": \"RRG3LuYLg5fYcLggBW3hpFPq3U8u98XYqf\",\n \"myCCbalance(Assets)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"AssetsCCAddress\": \"RGKRjeTBw4LYFotSDLT6RWzMHbhXri6BG6\",\n \"AssetsCCBalance\": 0.0,\n \"AssetsNormalAddress\": \"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\",\n \"AssetsNormalBalance\": 0.0,\n \"AssetsCCTokensAddress\": \"RTWtxY7GTBZ3zL8jfzyWWz1fveF3KXKBF8\",\n \"PubkeyCCaddress(Assets)\": \"RG6mr23tQ9nUhmi5GEnYqjfkqZt9x2MRXz\",\n \"PubkeyCCbalance(Assets)\": 0.0,\n \"myCCAddress(Assets)\": \"RRG3LuYLg5fYcLggBW3hpFPq3U8u98XYqf\",\n \"myCCbalance(Assets)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"assetsaddress\", \"params\":[\"028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"assetsaddress\", \"params\":[\"028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"AssetsCCAddress\": \"RGKRjeTBw4LYFotSDLT6RWzMHbhXri6BG6\",\n \"AssetsCCBalance\": 0.0,\n \"AssetsNormalAddress\": \"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\",\n \"AssetsNormalBalance\": 0.0,\n \"AssetsCCTokensAddress\": \"RTWtxY7GTBZ3zL8jfzyWWz1fveF3KXKBF8\",\n \"PubkeyCCaddress(Assets)\": \"RG6mr23tQ9nUhmi5GEnYqjfkqZt9x2MRXz\",\n \"PubkeyCCbalance(Assets)\": 0.0,\n \"myCCAddress(Assets)\": \"RRG3LuYLg5fYcLggBW3hpFPq3U8u98XYqf\",\n \"myCCbalance(Assets)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"AssetsCCAddress\": \"RGKRjeTBw4LYFotSDLT6RWzMHbhXri6BG6\",\n \"AssetsCCBalance\": 0.0,\n \"AssetsNormalAddress\": \"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\",\n \"AssetsNormalBalance\": 0.0,\n \"AssetsCCTokensAddress\": \"RTWtxY7GTBZ3zL8jfzyWWz1fveF3KXKBF8\",\n \"PubkeyCCaddress(Assets)\": \"RG6mr23tQ9nUhmi5GEnYqjfkqZt9x2MRXz\",\n \"PubkeyCCbalance(Assets)\": 0.0,\n \"myCCAddress(Assets)\": \"RRG3LuYLg5fYcLggBW3hpFPq3U8u98XYqf\",\n \"myCCbalance(Assets)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples"},{"text":"tokenask","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"tokenask numtokens tokenid price","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"tokenask numtokens tokenid price","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"The tokenask method posts a public ask order.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"tokenask","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/assets","closestElementReference":"tokenask"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"Step 1:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenask 1000 c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 1\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenask 1000 c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 1\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenask\", \"params\":[\"1000\" ,\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenask\", \"params\":[\"1000\" ,\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"Step 2: Use sendrawtransaction to broadcast the order","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"8d5bb0ae5cc8406b8b12fff04437c748495f4f8852ae124e6a137bc130d3be64\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"8d5bb0ae5cc8406b8b12fff04437c748495f4f8852ae124e6a137bc130d3be64\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000248403cd63777a2086206592c096ddfa1d4ba2647673b330610968eace2cf7b540200000049483045022100bde9eaf43a43fe252530bcf346be3e336e86f0171b817977d38d6ebd4bb0756e0220735f3292ef012fd56f7476700f5649b23aacf2387f4fa5a537e1b6c6daa6c1d101ffffffff4f2016d356282fca9d8278aa04fbdbed98ac6af0bf7a479959c5bb91f95e8ef5020000007b4c79a276a072a26ba067a5658021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e278140fe6a2cd6fdb5a359d5d6eea9bcf34e5b7d8e2def612afe9c01af1129b006e68344d8f9905ea5f226cdb1556659df0c8741e8e3def1238761721b66718dabe92ca100af038001e3a10001ffffffff03e803000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc5087b00e000000002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce373c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b5900e876481700000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"8d5bb0ae5cc8406b8b12fff04437c748495f4f8852ae124e6a137bc130d3be64\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"8d5bb0ae5cc8406b8b12fff04437c748495f4f8852ae124e6a137bc130d3be64\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-2"},{"text":"tokenbid","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"tokenbid numtokens tokenid price","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"tokenbid numtokens tokenid price","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"The tokenbid method posts a public bid order.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"tokenbid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"To fill the order, the parent chain's coin must be used.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"The method returns a raw hex, which must be broadcast using sendrawtransaction to complete the command.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"The sendrawtransaction method then returns a txid , which is the identification method of the bid order, and should be saved for future use.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"txid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenbid"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbid 1000 c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 1\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbid 1000 c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 1\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbid\", \"params\":[\"1000\" ,\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbid\", \"params\":[\"1000\" ,\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"Use sendrawtransaction to publish order","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"5fc8c472bc0e5f994b5a9a3fda23af1a3e1cfd746b902d7216352732e6adba05\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"5fc8c472bc0e5f994b5a9a3fda23af1a3e1cfd746b902d7216352732e6adba05\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001484256677a6417030dd99716a47b8c9cb06fba6e57ff4617e9932a6cde2972830100000049483045022100fc1926401b27ba044bbf17c36f36030adae52a188594efc75fe42861ab0b997802205e729d6f5587e5a5296b5649a154ce1fe3c581078fac7ae4e2b4577978c05c8901ffffffff0300e8764817000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc10d262684a0300002321028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27ac00000000000000004f6a4c4ce362c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59e80300000000000021028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e2700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"5fc8c472bc0e5f994b5a9a3fda23af1a3e1cfd746b902d7216352732e6adba05\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"5fc8c472bc0e5f994b5a9a3fda23af1a3e1cfd746b902d7216352732e6adba05\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"The response is the transaction id.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-3"},{"text":"tokencancelask","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"tokencancelask tokenid asktxid","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"tokencancelask tokenid asktxid","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"The tokencancelask method cancels a specific ask / sell order that you created.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"tokencancelask","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"ask","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"sell","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/assets","closestElementReference":"tokencancelask"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Step 1: Issue the call and get your raw transaction HEX value","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencancelask 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e 7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencancelask 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e 7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencancelask\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencancelask\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Step 2: Broadcast using sendrawtransaction","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"The response is the transaction id.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Step 3 (optional): Decode the raw transaction (check if the values are sane)","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"size\": 434,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueSat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueSat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"size\": 434,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueSat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueSat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e4996[ALL]\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueZat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueZat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e4996[ALL]\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueZat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueZat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-4"},{"text":"tokencancelbid","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"tokencancelbid tokenid bidtxid","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"tokencancelbid tokenid bidtxid","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"The tokencancelbid method cancels a specific bid / buy order that you created.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"tokencancelbid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"bid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"buy","tagName":"code","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/assets","closestElementReference":"tokencancelbid"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Step 1: Issue the call and get your raw transaction HEX value","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencancelbid 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e 7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencancelbid 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e 7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencancelbid\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencancelbid\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Step 2: Send raw transaction / broadcast the HEX value from above","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"The response is the transaction id.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Step 3: Decode the raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"size\": 434,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueSat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueSat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"size\": 434,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueSat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueSat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000234c335a46dadea8e42420b0e284f5577cfbcb7764a8d5c3b61312b71c5b14d0800000000494830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001ffffffff030a00000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401ccf078724e18090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e4996[ALL]\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueZat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueZat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"txid\": \"21d152480275568e3f82a5049d8b30308e3739ebd98171e075a75fea504364cd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"084db1c5712b31613b5c8d4a76b7bccf77554f280e0b42428eeaad6da435c334\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e4996[ALL]\",\n \"hex\": \"4830450221009f365d429d03df66b34cad764368092498ebd7340587c558ea19c4248202317b0220531524ef076f9e5b26ec5aa38b3078c041f8d0603b85552177ef14d00b0e499601\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702814066f6a9d580da0ac901ada8c61922d93da005e92c9e419a44c1bcbf9ec8ad43790dfc8ca71b5c21b79a58aa173fb71e1ab0b82c590dc883359de60f743fabda16a100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0000001,\n \"valueZat\": 10,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 99999.9999,\n \"valueZat\": 9999999990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"hex\": \"6a22e3789217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-5"},{"text":"tokenfillask","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"tokenfillask tokenid asktxid fillamount","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"tokenfillask tokenid asktxid fillamount","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"The tokenfillask method fills an existing ask.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"tokenfillask","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"It returns a hex-encoded transaction which should then be broadcast using sendrawtransaction .","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenfillask"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"Step 1: Create the raw transaction","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenfillask 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62 50\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenfillask 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62 50\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenfillask\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62\" ,\"50\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenfillask\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62\" ,\"50\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"Step 2: Broadcast the hex using sendrawtransaction","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"The response is the transaction id.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"Step 3: Wait for the transaction to be confirmed","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-6"},{"text":"tokenfillbid","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"tokenfillbid tokenid bidtxid fillamount","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"tokenfillbid tokenid bidtxid fillamount","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"The tokenfillbid method fills an existing ask.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"tokenfillbid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"It returns a hex-encoded transaction which should then be broadcast using sendrawtransaction .","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenfillbid"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"Step 1: Create raw transaction","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenfillbid 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62 50\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenfillbid 9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62 50\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenfillbid\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62\" ,\"50\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenfillbid\", \"params\":[\"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\" ,\"d1b2676bb118d7bb8604dc5bb0a320a2ffb6f7ee118bfd20ed33be3fbd0b9b62\" ,\"50\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"Step 2: Broadcast the hex or sendrawtransaction","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000031a47a2fa94f27f7e98645a6827f9382991d76fcfd2d84b96065763d1cfed78fc02000000494830450221008be941e56b10fb51459f66288bb68936c55fd17ecbebd12b142f4575b0fe4bf702205f048ad69269ba81530230496fea42983aad88882b1ef7d08304e1230040fb0001ffffffff629b0bbd3fbe33ed20fd8b11eef7b6ffa220a3b05bdc0486bbd718b16b67b2d1000000007b4c79a276a072a26ba067a565802102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa27028140da534b773f52c77ebbd590330468ba49333acc0971da444de512b85d039f59f778c8bab7cb1be909b6473789b237966a0f137a9b24c93ebebe0d83ae34a6bd6fa100af038001e3a10001ffffffff2bf671abc3bdfb673c0103a3bd59282c1aee473c6ccc4b591cdb42dc469d68c4000000004847304402204fa686dfdc7c0b7d42e538751aee0534b54747df4f335fb4d3b0d1a86c68e96d02202083fa811dd4506ad83f6d58a420d31ff7ccbae84ea05399b616e3d6f373682401ffffffff050000000000000000302ea22c80201ab400e039122028345520ba041ac3e6ec81ad28d8415e78d760d55f41097dd58103120c008203000401cc3200000000000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc0065cd1d00000000232103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9efacf01710252d090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000004f6a4c4ce3539217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e00000000000000002103fcc4b37ee767a67b75503832764b559d764d71c13785482b73609159aa6ae9ef00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"b6ebeaafced887fd63deb9207e0484570d49abe8fe4fcbaa026666d4ea3f902e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"The response is the transaction id.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"Step 3: Wait for the transaction to be confirmed","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-7"},{"text":"tokenorders","tagName":"h2","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"tokenorders (tokenid)","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"tokenorders (tokenid)","tagName":"strong","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"The tokenorders method displays the public on-chain orderbook for a specific token.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"tokenorders","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"Information about the funcid property:","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"funcid","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"\n A lowercase b describes an bid offer. \n","tagName":"li","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"A lowercase b describes an bid offer.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"b","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"A lowercase b describes an bid offer.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"b","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"\n An uppercase B describes a bid fill. \n","tagName":"li","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"An uppercase B describes a bid fill.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"B","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"An uppercase B describes a bid fill.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"B","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"\n A lowercase s describes an ask offer. \n","tagName":"li","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"A lowercase s describes an ask offer.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"s","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"A lowercase s describes an ask offer.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"s","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"\n An uppercase S describes the ask fill. \n","tagName":"li","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"An uppercase S describes the ask fill.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"S","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"An uppercase S describes the ask fill.","tagName":"p","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"S","tagName":"code","path":"antara/api/assets","closestElementReference":"tokenorders"},{"text":"Arguments","tagName":"h3","path":"antara/api/assets","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/assets","closestElementReference":"response-8"},{"text":"📌 Examples:","tagName":"h4","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"Show all available orders","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenorders\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenorders\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"[\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"d4643ce47e9799681a4549468d47c85337367f0ef2733afe1d79c50175e6ae32\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"0909df82ade3193c9a630dd80947141f34489732e9a2f8346790304ebbdcc251\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"03e118fc442a223df4dd87add64f142e1bfd99baee94c8be26bc77ed809d50a4\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n }\n]\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"[\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"d4643ce47e9799681a4549468d47c85337367f0ef2733afe1d79c50175e6ae32\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"0909df82ade3193c9a630dd80947141f34489732e9a2f8346790304ebbdcc251\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"03e118fc442a223df4dd87add64f142e1bfd99baee94c8be26bc77ed809d50a4\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n }\n]\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenorders\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenorders\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"{\n \"result\": [\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"d4643ce47e9799681a4549468d47c85337367f0ef2733afe1d79c50175e6ae32\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"0909df82ade3193c9a630dd80947141f34489732e9a2f8346790304ebbdcc251\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"03e118fc442a223df4dd87add64f142e1bfd99baee94c8be26bc77ed809d50a4\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n }\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"{\n \"result\": [\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"d4643ce47e9799681a4549468d47c85337367f0ef2733afe1d79c50175e6ae32\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"0909df82ade3193c9a630dd80947141f34489732e9a2f8346790304ebbdcc251\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n },\n {\n \"funcid\": \"B\",\n \"txid\": \"03e118fc442a223df4dd87add64f142e1bfd99baee94c8be26bc77ed809d50a4\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"R9sDyKt2kW5uJaoZT6GF9e3WRbGioBuhoZ\",\n \"tokenid\": \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\"\n }\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"Show orders for specific token","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenorders c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenorders c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"[\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"9dabd8c01bb7d59455b64fe100617149c20cb4520d266183686aa4986fd3021d\",\n \"vout\": 0,\n \"amount\": 100,\n \"bidamount\": 100,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n }\n]\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"[\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"9dabd8c01bb7d59455b64fe100617149c20cb4520d266183686aa4986fd3021d\",\n \"vout\": 0,\n \"amount\": 100,\n \"bidamount\": 100,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n }\n]\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenorders\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenorders\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"{\n \"result\": [\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"9dabd8c01bb7d59455b64fe100617149c20cb4520d266183686aa4986fd3021d\",\n \"vout\": 0,\n \"amount\": 100,\n \"bidamount\": 100,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n }\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"{\n \"result\": [\n {\n \"funcid\": \"B\",\n \"txid\": \"b9d305e9b6a82e715efce9b6244cc15fef131baf1893a7eb45b199c23b3fb806\",\n \"vout\": 0,\n \"amount\": 0,\n \"bidamount\": 0,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"9dabd8c01bb7d59455b64fe100617149c20cb4520d266183686aa4986fd3021d\",\n \"vout\": 0,\n \"amount\": 100,\n \"bidamount\": 100,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"45b3f7874fc4a2699729a9792bc7679f6b5f11035a29ad9f661425b19534dd1d\",\n \"vout\": 0,\n \"amount\": 1000,\n \"bidamount\": 1000,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 1000,\n \"price\": 1\n },\n {\n \"funcid\": \"b\",\n \"txid\": \"a8d60a3ce429ccb885ad445e7a4534130a35d2424d1883c6513d0f4da2fe9a92\",\n \"vout\": 0,\n \"amount\": 150,\n \"bidamount\": 150,\n \"origaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"totalrequired\": 100,\n \"price\": 1.5\n }\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/assets","closestElementReference":"examples-8"},{"text":"mytokenorders","tagName":"h2","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"mytokenorders [evalcode]","tagName":"p","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"mytokenorders [evalcode]","tagName":"strong","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"The mytokenorders method displays the public on-chain orders created by the user's pubkey, which is set in -pubkey parameter of komodod.","tagName":"p","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"mytokenorders","tagName":"code","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"-pubkey","tagName":"code","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"The additional evalcode parameter allows the display of orders for non-fungible tokens bound to this evalcode.","tagName":"p","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"evalcode","tagName":"code","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"The response from this method is similar to the response from the tokenorders method.","tagName":"p","path":"antara/api/assets","closestElementReference":"mytokenorders"},{"text":"tokenorders","tagName":"code","path":"antara/api/assets","closestElementReference":"mytokenorders"}],"antara/api/channels":[{"text":"Channels","tagName":"h1","path":"antara/api/channels","closestElementReference":"channels"},{"text":"Introduction","tagName":"h2","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"The Channels Antara Module facilitates instant payments in a trustless environment.","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"When a payment is executed properly with channels , as soon as it enters the mempool the odds that the payment can be withdrawn or attacked decrease to almost zero. Many developers and users may find the Channels Module to be an advantageous method for creating a secure instant-payment network that can be used within their business environment.","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"channels","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"It supports both coins and tokens.","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"For testing Channels, build the Komodo daemon in test mode. Instead of using the command: ./zcutil/build.sh -j8 , use","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"./zcutil/build.sh -j8","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"export CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE'\n./zcutil/build.sh -j8\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"export CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE'\n./zcutil/build.sh -j8\n","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"This will reduce the number of confirmations needed for channelsopen and channelsclose transactions from 100 to 2 for non-notarized chains.","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"channelsopen","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"channelsclose","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"100","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"2","tagName":"code","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"DO NOT use a daemon created with the above parameter for actual use.","tagName":"p","path":"antara/api/channels","closestElementReference":"introduction"},{"text":"Channels Module Flow","tagName":"h4","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"Anyone can create a channel using channelsopen \n \n When creating the channel, the user indicates the number and size of their potential payment(s), and what their destination is \n \n","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelsopen","tagName":"a","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"\n When creating the channel, the user indicates the number and size of their potential payment(s), and what their destination is \n","tagName":"ul","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"When creating the channel, the user indicates the number and size of their potential payment(s), and what their destination is","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"When creating the channel, the user indicates the number and size of their potential payment(s), and what their destination is","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"Once the channel is notarized, at any time in the future the user can execute channelspayment to release a specific amount of their available payments \n \n As soon as the channelspayment result enters the mempool, the odds of withdrawing the txid from processing decrease to almost zero \n \n","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelspayment","tagName":"a","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"\n As soon as the channelspayment result enters the mempool, the odds of withdrawing the txid from processing decrease to almost zero \n","tagName":"ul","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"As soon as the channelspayment result enters the mempool, the odds of withdrawing the txid from processing decrease to almost zero","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelspayment","tagName":"code","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"As soon as the channelspayment result enters the mempool, the odds of withdrawing the txid from processing decrease to almost zero","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelspayment","tagName":"code","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"The creator of a channel may close the channel at any time using channelsclose \n \n This shows the receiver that this payment stream is permanently ended \n \n","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelsclose","tagName":"a","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"\n This shows the receiver that this payment stream is permanently ended \n","tagName":"ul","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"This shows the receiver that this payment stream is permanently ended","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"This shows the receiver that this payment stream is permanently ended","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"Once the channel's closure is notarized, the creator may withdraw remaining funds using channelsrefund","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelsrefund","tagName":"a","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"The channelsinfo method reveals public information for any or all available channels on an Smart Chain","tagName":"li","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelsinfo","tagName":"a","path":"antara/api/channels","closestElementReference":"channels-module-flow"},{"text":"channelsaddress","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"channelsaddress pubkey","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"channelsaddress pubkey","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"The channelsaddress method displays the various addresses and their balances for a specified pubkey.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"channelsaddress","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"Under normal circumstances, for the pubkey the user provides the destination address of the intended channel.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"The global addresses are not used in the Channels Antara module. For more information about unique Antara addresses, see this linked explanation.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"this linked explanation.","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsaddress 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsaddress 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"ChannelsCCAddress\": \"RQy3rwX8sP9oDm3c39vGKA6H315cgtPLfr\",\n \"ChannelsCCBalance\": 0.0,\n \"ChannelsNormalAddress\": \"RQUuT8zmkvDfXqECH4m3VD3SsHZAfnoh1v\",\n \"ChannelsNormalBalance\": 0.0,\n \"ChannelsCC1of2Address\": \"RSSfafKpi6b5TFmyGDh5aTXLJuyrMxQyjs\",\n \"ChannelsCC1of2TokensAddress\": \"RFgEqotRmMrhhEkEyUpxGDZD7DR1TncV8c\",\n \"PubkeyCCaddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"PubkeyCCbalance(Channels)\": 0.0,\n \"myCCAddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"myCCbalance(Channels)\": 0.0001,\n \"myaddress\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"mybalance\": 7781877.16591359\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"ChannelsCCAddress\": \"RQy3rwX8sP9oDm3c39vGKA6H315cgtPLfr\",\n \"ChannelsCCBalance\": 0.0,\n \"ChannelsNormalAddress\": \"RQUuT8zmkvDfXqECH4m3VD3SsHZAfnoh1v\",\n \"ChannelsNormalBalance\": 0.0,\n \"ChannelsCC1of2Address\": \"RSSfafKpi6b5TFmyGDh5aTXLJuyrMxQyjs\",\n \"ChannelsCC1of2TokensAddress\": \"RFgEqotRmMrhhEkEyUpxGDZD7DR1TncV8c\",\n \"PubkeyCCaddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"PubkeyCCbalance(Channels)\": 0.0,\n \"myCCAddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"myCCbalance(Channels)\": 0.0001,\n \"myaddress\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"mybalance\": 7781877.16591359\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsaddress\", \"params\":[\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsaddress\", \"params\":[\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"ChannelsCCAddress\": \"RQy3rwX8sP9oDm3c39vGKA6H315cgtPLfr\",\n \"ChannelsCCBalance\": 0.0,\n \"ChannelsNormalAddress\": \"RQUuT8zmkvDfXqECH4m3VD3SsHZAfnoh1v\",\n \"ChannelsNormalBalance\": 0.0,\n \"ChannelsCC1of2Address\": \"RSSfafKpi6b5TFmyGDh5aTXLJuyrMxQyjs\",\n \"ChannelsCC1of2TokensAddress\": \"RFgEqotRmMrhhEkEyUpxGDZD7DR1TncV8c\",\n \"PubkeyCCaddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"PubkeyCCbalance(Channels)\": 0.0,\n \"myCCAddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"myCCbalance(Channels)\": 0.0001,\n \"myaddress\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"mybalance\": 7782377.16591359\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"ChannelsCCAddress\": \"RQy3rwX8sP9oDm3c39vGKA6H315cgtPLfr\",\n \"ChannelsCCBalance\": 0.0,\n \"ChannelsNormalAddress\": \"RQUuT8zmkvDfXqECH4m3VD3SsHZAfnoh1v\",\n \"ChannelsNormalBalance\": 0.0,\n \"ChannelsCC1of2Address\": \"RSSfafKpi6b5TFmyGDh5aTXLJuyrMxQyjs\",\n \"ChannelsCC1of2TokensAddress\": \"RFgEqotRmMrhhEkEyUpxGDZD7DR1TncV8c\",\n \"PubkeyCCaddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"PubkeyCCbalance(Channels)\": 0.0,\n \"myCCAddress(Channels)\": \"RXWFiYQbj3HK7fCvkfGnWQHLkrywWBQ72D\",\n \"myCCbalance(Channels)\": 0.0001,\n \"myaddress\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"mybalance\": 7782377.16591359\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples"},{"text":"channelsclose","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channelsclose open_txid","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channelsclose open_txid","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"The channelsclose method marks a specific channel as closed, meaning that no additional payments will be added to the channel.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channelsclose","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"The owner of the channel may still execute channelspayment for any remaining payments in the channel, until all payments are used or withdrawn.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channel","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channelspayment","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"The sendrawtransaction method then returns a txid which is used in the channelsrefund method to reclaim funds.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"channelsrefund","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsclose"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"Step 1: Close a channel","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsclose 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsclose 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"Output from Step 1","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"Step 2: Broadcast the raw transaction using sendrawtransaction","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsclose\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsclose\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f890301d6737a2ff4c9c63b49d9fa4526943ba402b471d9a9220fe9230198ed87c6800000000048473044022024e46c6054be26df24f794495e30b758ddd7afe6e5d0cb277342f2a2e9e5471f02201d0fa1de9c7d04602ad196bcf09fd24db70f8993fe2ecb252d0cd2f06d6e0f9f01ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd100000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140ed5cd683ce4e8a6d03a064e9008a330c9a91deb2aafdfff41c8c95843fb0f05d34213c069bfe6f08e3a69c43019ca59d9c800ae45c2735c44b4b71d99fd461b5a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffad2f890f95746fe3b79642b645abf1c48437d174bf44fab2e0e87dff2e376bd1010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781400aeec3737f700487dd15331948fab80ea6b9c6b64af3c4be86733498f8bae83a657fbf274408d2929143ca8fe27988aa4195fb00e37a95d0e2d07a4298df309da100af038001eba10001ffffffff05808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cce0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb43d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000080969800000000000000000000000000000000000000000000000000000000000000000000000000000000002f0100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-2"},{"text":"channelsinfo","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"channelsinfo (open_tx_id)","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"channelsinfo (open_tx_id)","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"The channelsinfo method fetches info about channels that are relevant to the user, either as sender or receiver.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"channelsinfo","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"If no open_tx_id argument is included, the method returns a list of all channels available to this user.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"open_tx_id","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n }\n ]\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n }\n ]\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"Command (after a Payment is done):","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n },\n {\n \"Payment\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"Number of payments\": 21,\n \"Amount\": 210000000,\n \"Destination\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Secret\": \"570fd06eb542eb0dcb163c42467860194a0a998dfccee047724067f5aab7490e\",\n \"Payments left\": 979\n }\n ]\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n },\n {\n \"Payment\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"Number of payments\": 21,\n \"Amount\": 210000000,\n \"Destination\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Secret\": \"570fd06eb542eb0dcb163c42467860194a0a998dfccee047724067f5aab7490e\",\n \"Payments left\": 979\n }\n ]\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n },\n {\n \"Payment\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"Number of payments\": 21,\n \"Amount\": 210000000,\n \"Destination\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Secret\": \"570fd06eb542eb0dcb163c42467860194a0a998dfccee047724067f5aab7490e\",\n \"Payments left\": 979\n }\n ]\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 1000,\n \"Denomination (satoshi)\": \"10000000\",\n \"Amount (satoshi)\": \"10000000000\",\n \"Transactions\": [\n {\n \"Open\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\"\n },\n {\n \"Payment\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"Number of payments\": 21,\n \"Amount\": 210000000,\n \"Destination\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Secret\": \"570fd06eb542eb0dcb163c42467860194a0a998dfccee047724067f5aab7490e\",\n \"Payments left\": 979\n }\n ]\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"For the Tokens case:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo 77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsinfo 77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 99,\n \"Token id\": \"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\",\n \"Denomination (token satoshi)\": \"1\",\n \"Amount (token satoshi)\": \"99\",\n \"Transactions\": [\n {\n \"Open\": \"77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\"\n }\n ]\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"Channel CC address\": \"RVEZbEwMBQBdryswcWhtwWY5sYJTiEJ5SG\",\n \"Destination address\": \"RM9n6rts1CBKX4oXziLp1WBBgEUjKKWHb3\",\n \"Number of payments\": 99,\n \"Token id\": \"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\",\n \"Denomination (token satoshi)\": \"1\",\n \"Amount (token satoshi)\": \"99\",\n \"Transactions\": [\n {\n \"Open\": \"77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\"\n }\n ]\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-3"},{"text":"channelsopen","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"channelsopen destination_pubkey total_number_of_payments payment_size [tokenid]","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"channelsopen destination_pubkey total_number_of_payments payment_size [tokenid]","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"The channelsopen method opens a channel between two public keys (sender and receiver).","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"channelsopen","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"To open a channel that sends tokens, include the tokenid of the required token.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"tokenid","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"The sendrawtransaction method then returns a txid which is the unique identifying channels_tx_id .","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"channels_tx_id","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsopen"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Step 1: Create the raw hex","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsopen 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634 1000 10000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsopen 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634 1000 10000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsopen\", \"params\":[\"0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634\" ,\"1000\" ,\"10000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsopen\", \"params\":[\"0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634\" ,\"1000\" ,\"10000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"hex\": \"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"hex\": \"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Step 2: Broadcast the hex using sendrawtransaction","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000121a212c73e8a6265d2b1babfc3a9fcc74101e14742db394785f3604151b27ed80000000049483045022100bad26378f61b2cc6e482b63ca7d098b0dc0c060929794ba1ce5bb8d0cadf5b6502206021b228cf942a863591e9b897c40292b68aa55dc90d4cd66bf37db5a575cadd01ffffffff0500e40b5402000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401ccff16772860c30200232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634e803000080969800000000009704b3bd04d351e193cdc4dc500253acb9d6c6db6562edbe101699b24df725bc00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"For the Tokens case:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Step 1: Create the raw hex","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsopen 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634 99 1 916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsopen 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634 99 1 916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"0400008085202f8902068ffd7dd7dbf230c79ef08c97cff151ae371d6d638ed47791fc2bee9f31e40d00000000484730440220594cf8de63f2096410560ff81322ecb4f3c7f8edcc2b8716031417311b4d5af4022031f02f69a7834b4e7b72dabe78b5b3f3a576d2befa507a85a7212639e00a664901ffffffffed0124328a0e2a6d5a77d8d2951894e4741bc75522836c9a67ec9ce307696a91010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140b5333063661eb5013544e67282254a8f0abf6b7334c83bdde07eff054d53657876310286e17e81a9c8c26af8c744325a9268d3220cb9a80b1316cc0e1290aaa1a100af038001f2a10001ffffffff066300000000000000302ea22c8020f765a39dc65a1a5b9535633f65604f92d404de5ea156f3e660929f46db671ec781032214008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc0100000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401ccd06e0b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000fdfe006a4cfbf274916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed022102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb030552866341492eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634630000000100000000000000e613adac747c26e76f8db6ca9818032f3d678b1b7f608938516662d857b2980f000000003b0100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"0400008085202f8902068ffd7dd7dbf230c79ef08c97cff151ae371d6d638ed47791fc2bee9f31e40d00000000484730440220594cf8de63f2096410560ff81322ecb4f3c7f8edcc2b8716031417311b4d5af4022031f02f69a7834b4e7b72dabe78b5b3f3a576d2befa507a85a7212639e00a664901ffffffffed0124328a0e2a6d5a77d8d2951894e4741bc75522836c9a67ec9ce307696a91010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140b5333063661eb5013544e67282254a8f0abf6b7334c83bdde07eff054d53657876310286e17e81a9c8c26af8c744325a9268d3220cb9a80b1316cc0e1290aaa1a100af038001f2a10001ffffffff066300000000000000302ea22c8020f765a39dc65a1a5b9535633f65604f92d404de5ea156f3e660929f46db671ec781032214008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc0100000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401ccd06e0b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000fdfe006a4cfbf274916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed022102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb030552866341492eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634630000000100000000000000e613adac747c26e76f8db6ca9818032f3d678b1b7f608938516662d857b2980f000000003b0100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"Step 2: Broadcast the hex using sendrawtransaction","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902068ffd7dd7dbf230c79ef08c97cff151ae371d6d638ed47791fc2bee9f31e40d00000000484730440220594cf8de63f2096410560ff81322ecb4f3c7f8edcc2b8716031417311b4d5af4022031f02f69a7834b4e7b72dabe78b5b3f3a576d2befa507a85a7212639e00a664901ffffffffed0124328a0e2a6d5a77d8d2951894e4741bc75522836c9a67ec9ce307696a91010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140b5333063661eb5013544e67282254a8f0abf6b7334c83bdde07eff054d53657876310286e17e81a9c8c26af8c744325a9268d3220cb9a80b1316cc0e1290aaa1a100af038001f2a10001ffffffff066300000000000000302ea22c8020f765a39dc65a1a5b9535633f65604f92d404de5ea156f3e660929f46db671ec781032214008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc0100000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401ccd06e0b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000fdfe006a4cfbf274916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed022102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb030552866341492eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634630000000100000000000000e613adac747c26e76f8db6ca9818032f3d678b1b7f608938516662d857b2980f000000003b0100000000000000000000000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902068ffd7dd7dbf230c79ef08c97cff151ae371d6d638ed47791fc2bee9f31e40d00000000484730440220594cf8de63f2096410560ff81322ecb4f3c7f8edcc2b8716031417311b4d5af4022031f02f69a7834b4e7b72dabe78b5b3f3a576d2befa507a85a7212639e00a664901ffffffffed0124328a0e2a6d5a77d8d2951894e4741bc75522836c9a67ec9ce307696a91010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140b5333063661eb5013544e67282254a8f0abf6b7334c83bdde07eff054d53657876310286e17e81a9c8c26af8c744325a9268d3220cb9a80b1316cc0e1290aaa1a100af038001f2a10001ffffffff066300000000000000302ea22c8020f765a39dc65a1a5b9535633f65604f92d404de5ea156f3e660929f46db671ec781032214008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc0100000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401ccd06e0b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000fdfe006a4cfbf274916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed022102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb030552866341492eb4f00000000000000000000000000000000000000000000000000000000000000002102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634630000000100000000000000e613adac747c26e76f8db6ca9818032f3d678b1b7f608938516662d857b2980f000000003b0100000000000000000000000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"77925f6b05b1ecb299b1bb6c63b4451f73ff50ef494feda1293fb799238f2c4c\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-4"},{"text":"channelspayment","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"channelspayment open_tx_id payment_amount (secret)","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"channelspayment open_tx_id payment_amount (secret)","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"The channelspayment method sends a payment in a channel to the receiver.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"channelspayment","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"The method requires that the channel open_tx_id has either one notarization or 100 confirmations.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"open_tx_id","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"The owner of a channel reveals the password of a unique payment txid as a part of the payment. This password is intentionally visible to anyone watching the chain at the time of payment, although the password does not persist in the database.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"If the receiver is monitoring the chain at the time of payment and saves the password, and there is a chain reorganization that nullifies the payment, the receiver now has the password to resend the payment. This option is available so long as the channel remains open and the payment has not been refunded.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"The sendrawtransaction method then returns a txid which is the unique identifying channels_tx_id .","tagName":"p","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"txid","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"channels_tx_id","tagName":"code","path":"antara/api/channels","closestElementReference":"channelspayment"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelspayment 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0 210000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelspayment 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0 210000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelspayment\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\" ,\"210000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelspayment\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\" ,\"210000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"Step 2: Broadcast using sendrawtransaction","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000307f4bba340b8a8b45864613f0b608360a2df80a2ebc116ad0f1d8f9680bb85890000000049483045022100ffccb5b9ba7e2d2e0c3a0e8b4378d004932731c4116853df38ea3727b24bb2540220370d76eb59eb2b9de7087d96242b0c0d47598b4b8500bc586f04d312f0a693d101ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed0400000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140c32058837f4e2823c958462ea24115b88e8280c5c9e6ebdce2843cbafd0c9c624b1870da5cecd5b2743b41abfe24fbc98995eadcd76caf431aa0d9c55c6a2596a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffffd035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed04010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407348f4137b5d80fb5d849a6aa3822cefffbdb855eaa038640b04f89d5bd426f47b64a8459092c8d5aeda3ef1cad3732bd80c8206d271689af4efb788d5c3287ea100af038001eba10001ffffffff06808b874702000000302ea22c80205a8d5650f7e869c80fbe5b5e9b04d909f86800a579e21a26404799a98c47e0ff81031210008203000401cc1027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc8058840c0000000023210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb50d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d303000015000000000000000e49b7aaf567407247e0cefc8d990a4a19607846423c16cb0deb42b56ed00f5700000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"d16b372eff7de8e0b2fa44bf74d13784c4f1ab45b64296b7e36f74950f892fad\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"Check that the transaction is confirmed:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-5"},{"text":"channelsrefund","tagName":"h2","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"channelsrefund open_tx_id close_tx_id","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"channelsrefund open_tx_id close_tx_id","tagName":"strong","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"The channelsrefund method withdraws funds directly to the Antara address of the channel creator.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"channelsrefund","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"The method can only be executed after the channel close_tx_id has either one notarization or 100 confirmations.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"close_tx_id","tagName":"code","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/channels","closestElementReference":"channelsrefund"},{"text":"Arguments","tagName":"h3","path":"antara/api/channels","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/channels","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"Step 1: Command","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsrefund 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0 3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD channelsrefund 04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0 3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsrefund\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\" ,\"3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"channelsrefund\", \"params\":[\"04ed7f0d7c90036bad2822ea32564e38cc517f2ac86c8c53a031543e7d8235d0\" ,\"3f22afe66f0dd0e7d45ea1f89509f60673efa026c545118b309cdc03fa3bec98\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"Step 2: Broadcast the hex using sendrawtransaction","tagName":"p","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\n","tagName":"pre","path":"antara/api/channels","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8903040759ca1117f2514e2f4e67acd095720b0ad0beadf71882ae0b11b3b88f59280000000049483045022100f16f085e286641494fc0773f2bdbb426b78708ea0d441a37781a964b60e110100220744abdc3830999492b1f5b96ea8cde9f6318c9e040a4e65c3497364455ea3f5501ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000a74ca5a281a1a0819ca28194a067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756781407b41b291afeda4e533d22565b23542159af5079b1e1408da5b3f9188bed059e6751349e0d3d9b7b7e26aeadfb6b2fc839cc471b947d1b811325386f84abe3120a129a52780203a76ccf53a3f5978c2102ab5151f744308a5e4071ea7d7dba6d915b05b692d8f8103020000af038001eba10001ffffffff98ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f010000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475678140f0a00a6b0f008e01f88308245f7cd6001af33e7fe909a1d4b1eb54c3663620a34ed2c2d692075915ed02c4ac72e3341e6af2196016a72609f4ca3fcb4f842f13a100af038001eba10001ffffffff051027000000000000302ea22c8020928bb24f3e778e69a0fcec948892ddd7f2e33334a9e3ee602182056e648be0ec8103120c008203000401cc1027000000000000302ea22c8020fcfca0608f930c2b02e6b5a84a96815804f3ea22e7eab032b94ad5a377d281b18103120c008203000401cc808b874702000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ace0950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000956a4c92eb52d035827d3e5431a0538c6cc82a7f51cc384e5632ea2228ad6b03907c0d7fed042102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567210257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634d3030000809698000000000098ec3bfa03dc9c308b1145c526a0ef7306f60995f8a15ed4e7d00d6fe6af223f00000000330100000000000000000000000000\n","tagName":"code","path":"antara/api/channels","closestElementReference":"examples-6"}],"antara/api/custom":[{"text":"Custom CC (WIP)","tagName":"h1","path":"antara/api/custom","closestElementReference":"custom-cc-wip"},{"text":"This document is a work in progress (WIP)","tagName":"p","path":"antara/api/custom","closestElementReference":"custom-cc-wip"},{"text":"We are fortunate to have been gifted the ability to launch provable ecosystems to build upon. This tutorial begins with a quick foundation of core concepts then moving into how to make software with layer-1, on-chain consensus. The smart-UTXO system of Komodo's Crypto-Conditions. Consensus & Smart Contract customizations.","tagName":"p","path":"antara/api/custom","closestElementReference":"custom-cc-wip"},{"text":"Blockchain Core Concepts","tagName":"h2","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Public key cryptography is used when a private and public key pair are used for proving something.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Private Keys are stored in a wallet, not on the blockchain.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Private keys sign transactions.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Signatures on transaction are proven by the network using the corresponding public key to spend the claimed ownership of funds.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Transactions fill blocks, like an item on a shopping list fills a piece of paper.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Blocks are arranged in sequential order, forming a chain.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Each block contains agreed transactional information. The proof of the transactional detail and it's arrangement in the block is called consensus. Consensus is achieved by each participant relying on their own computation.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Coins & Tokens are used in transaction details to transfer value.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Nodes is the jargon term for computers that do the computations to maintain the network.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Maintaining the network is done by validating. OP_CODES are the instructions of the network that need validating.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Some nodes are heavily computational (miners), some are quiet and store a valuable private key within the wallet.","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"There's additional software to make this blockchain useful (for transfering value) & easier to use. Like the internet became useful for transfering information, blockchain technology enables software to create new ways of collaborating. Blockchain: Mobile Wallets, DEX, Explorers vs WWW: webserver, database, email & streaming protocols)","tagName":"li","path":"antara/api/custom","closestElementReference":"blockchain-core-concepts"},{"text":"Goal of our Antara Module","tagName":"h2","path":"antara/api/custom","closestElementReference":"goal-of-our-antara-module"},{"text":"This customcc loadable library example is simply something that requires to send 1 coin. It can't get much simpler.","tagName":"p","path":"antara/api/custom","closestElementReference":"goal-of-our-antara-module"},{"text":"customcc","tagName":"code","path":"antara/api/custom","closestElementReference":"goal-of-our-antara-module"},{"text":"Use jl777 branch","tagName":"h2","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"git clone https://github.com/jl777/komodo.git\ngit checkout jl777\ncd komodo/src/cc\ncode .\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"git clone https://github.com/jl777/komodo.git\ngit checkout jl777\ncd komodo/src/cc\ncode .\n","tagName":"code","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"Open the 3 files","tagName":"p","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"customcc.h src","tagName":"li","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"src","tagName":"a","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"customcc.cpp src","tagName":"li","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"src","tagName":"a","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"makecustom src","tagName":"li","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"src","tagName":"a","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"These are the three files we'll work on for learning how to apply custom consensus to a blockchain. For most 1st & 2nd generation blockchain projects, changing consensus is a bold undertaking. Komodo has turned it into a loadable module removing the risk of severe bugs - no other project offers this to a custom blockchain.","tagName":"p","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"These 3 files are not boilercode. It may look like boilercode but it's the gateway to much more powerful stuff. This is the pandoras box of dApps. Get ready to understand how to develop on a secure multi-chain distrbuted transactional system.","tagName":"p","path":"antara/api/custom","closestElementReference":"use-jl777-branch"},{"text":"customcc.h header file - definitions of functions and variables","tagName":"h2","path":"antara/api/custom","closestElementReference":"customcc-h-header-file-definitions-of-functions-and-variables"},{"text":"From the top, the comments provide a nice summary of what our custom cclib will do.","tagName":"p","path":"antara/api/custom","closestElementReference":"customcc-h-header-file-definitions-of-functions-and-variables"},{"text":"Name of our custom cclib","tagName":"h3","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"One is referenced externally ( MYCCLIBNAME ) at komodo start. The other internally ( MYCCNAME ) when programming for function name prefixes.","tagName":"p","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCLIBNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"std::string MYCCLIBNAME = (char *)\"customcc\";\n#define MYCCNAME \"custom\"\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"std::string MYCCLIBNAME = (char *)\"customcc\";\n#define MYCCNAME \"custom\"\n","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCLIBNAME This is the name of the loadable library module being created. Here it is \"customcc\". This is what is used on the command line to load your custom consensus when starting your custom blockchain .","tagName":"p","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCLIBNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"starting your custom blockchain","tagName":"a","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"komodod -ac_name=CUSTOM -ac_cc=1 -ac_cclib=customcc ...\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"komodod -ac_name=CUSTOM -ac_cc=1 -ac_cclib=customcc ...\n","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"The MYCCNAME is the prefix for RPC calls and standard consensus functions (e.g. validate ).\nThe naming convention used for building a custom consensus library follows:","tagName":"p","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"validate","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"MYCCNAME_FUNCTIONNAME","tagName":"li","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"For example custom_validate .","tagName":"p","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"custom_validate","tagName":"code","path":"antara/api/custom","closestElementReference":"name-of-our-custom-cclib"},{"text":"Declaration of constants","tagName":"h3","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"#define EVAL_CUSTOM (EVAL_FAUCET2+1)\n#define CUSTOM_TXFEE 10000\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"#define EVAL_CUSTOM (EVAL_FAUCET2+1)\n#define CUSTOM_TXFEE 10000\n","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"The EVAL_FAUCET2 is a constant (footnote: 1a & 1b) ( 0x10 or decimal 16). These EVAL_... constants are identifiers. They are used to route the validation code. The low-level bitcoin script in Komodo has a new op*code called OP_CHECKCRYPTOCONDITION . When any node on the network needs to validate this OP_CHECKCRYPTOCONDITION op_code, it looks up which EVAL*... code it is.","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL_FAUCET2","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"0x10","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL_...","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"OP_CHECKCRYPTOCONDITION","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"OP_CHECKCRYPTOCONDITION","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL*...","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"Custom consensus starts at EVAL_FAUCET2 and add +1 to it for your customcc library. Therefore, EVAL_CUSTOM is 0x11 = decimal 17.","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL_FAUCET2","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"+1","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL_CUSTOM","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"0x11","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"The CUSTOM_TXFEE is the default transaction fee for this type of transaction. The default txfee for this EVAL_... code consensus is 10000 assetoshis (0.0001).","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"CUSTOM_TXFEE","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"EVAL_...","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"10000","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-constants"},{"text":"Declarations of the RPC calls","tagName":"h3","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"This is the way 3rd party developers (e.g. front-end developers) and command-line users will interact with your custom crypto condition. For example commands like komodo-cli -ac_name=CUSTOM custom_func0 and komodo-cli -ac_name=CUSTOM custom_func1 .","tagName":"p","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"komodo-cli -ac_name=CUSTOM custom_func0","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"komodo-cli -ac_name=CUSTOM custom_func1","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"{ (char *)MYCCNAME, (char *)\"func0\", (char *)\"\", 1, 1, '0', EVAL_CUSTOM },\n{ (char *)MYCCNAME, (char *)\"func1\", (char *)\"\", 0, 0, '1', EVAL_CUSTOM },\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"{ (char *)MYCCNAME, (char *)\"func0\", (char *)\"\", 1, 1, '0', EVAL_CUSTOM },\n{ (char *)MYCCNAME, (char *)\"func1\", (char *)\"\", 0, 0, '1', EVAL_CUSTOM },\n","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"The declarations for the functions in customcc.cpp - func0 and func1","tagName":"p","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"MYCCNAME is declared previously as \"custom\"","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"func0 is the name of the first RPC call","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"func0","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"The can be replaced with your functions help text.","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"The 1,1,'0', EVAL_CUSTOM means: 1 mandatory parameter, maximum of 1 parameter, 0 is the function id for custom consensus EVAL_CUSTOM , in this case 0x11 (decimal 17)","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"1,1,'0', EVAL_CUSTOM","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"EVAL_CUSTOM","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"0x11","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"func1 is the name of the next RPC call","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"func1","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"The is the real help text this time. This RPC call func1 requires no arguments, like komodo-cli getinfo","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"func1","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"komodo-cli getinfo","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"The 0,0,'1', EVAL_CUSTOM mean: 0 mandatory parameters, maximum of 0 parameters, 1 is the function id for custom consensus EVAL_CUSTOM , in this case 0x11 (decimal 17)","tagName":"li","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"0,0,'1', EVAL_CUSTOM","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"EVAL_CUSTOM","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"0x11","tagName":"code","path":"antara/api/custom","closestElementReference":"declarations-of-the-rpc-calls"},{"text":"Declaration of functions","tagName":"h3","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"bool custom_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const CTransaction tx);\nUniValue custom_func0(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);\nUniValue custom_func1(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"bool custom_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const CTransaction tx);\nUniValue custom_func0(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);\nUniValue custom_func1(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);\n","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"These functions follow the naming convention of MYCCNAME with a _ . Validation is always required and named MYCCNAME + _validate . MYCCNAME is custom , therefore the validate function is called custom_validate . If MYCCNAME was defined as mylo , then my validate function would be called mylo_validate . Odds are you will name your first cclib after yourself or someone else just as loveable.","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"_","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"_validate","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"custom","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"custom_validate","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"mylo","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"mylo_validate","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"The validation code is the most important code - it is what makes blockchains sources of truth. Their truthiness relies on validation based on cryptographic principles.","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"Functions custom_func0 and custom_func1 follow the internal automatic module wiring of cclib. Again MYCCNAME + _ + RPCFUNCS declared earlier.","tagName":"p","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"custom_func0","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"custom_func1","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"_","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"RPCFUNCS","tagName":"code","path":"antara/api/custom","closestElementReference":"declaration-of-functions"},{"text":"Automatic wiring, custom RPC function dispatcher","tagName":"h3","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"The following code is part of the automatic wiring that allows a developer to use 3 files, the .h the .cpp and the makecustom makefile. Automatic wiring saves a developer from potentially introducing bugs in the consensus and by virtue of this saving, testers, users and organizations many hours of resources.","tagName":"p","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":".h","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":".cpp","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"makecustom","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"The custom dispatch is used for dispatching the RPC function declared earlier.","tagName":"p","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"#define CUSTOM_DISPATCH \\\nif ( cp->evalcode == EVAL_CUSTOM ) \\\n{ \\\n if ( strcmp(method,\"func0\") == 0 ) \\\n return(custom_func0(txfee,cp,params)); \\\n else if ( strcmp(method,\"func1\") == 0 ) \\\n return(custom_func1(txfee,cp,params)); \\\n else \\\n { \\\n result.push_back(Pair(\"result\",\"error\")); \\\n result.push_back(Pair(\"error\",\"invalid customcc method\")); \\\n result.push_back(Pair(\"method\",method)); \\\n return(result); \\\n } \\\n}\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"#define CUSTOM_DISPATCH \\\nif ( cp->evalcode == EVAL_CUSTOM ) \\\n{ \\\n if ( strcmp(method,\"func0\") == 0 ) \\\n return(custom_func0(txfee,cp,params)); \\\n else if ( strcmp(method,\"func1\") == 0 ) \\\n return(custom_func1(txfee,cp,params)); \\\n else \\\n { \\\n result.push_back(Pair(\"result\",\"error\")); \\\n result.push_back(Pair(\"error\",\"invalid customcc method\")); \\\n result.push_back(Pair(\"method\",method)); \\\n return(result); \\\n } \\\n}\n","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"The developer must then map the RPC names to the function/method. This mapping follows the same naming convention that has already been defined. Namely, MYCCNAME + _ + FUNCTIONNAME . If no match, then an error message returned and no harm done.","tagName":"p","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"MYCCNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"_","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"FUNCTIONNAME","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"e.g.","tagName":"p","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":" if ( strcmp(method,\"func0\") == 0 ) \\\n return(custom_func0(txfee,cp,params)); \\\n","tagName":"pre","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":" if ( strcmp(method,\"func0\") == 0 ) \\\n return(custom_func0(txfee,cp,params)); \\\n","tagName":"code","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"Finally, in the course of looking where to route the RPC request","tagName":"p","path":"antara/api/custom","closestElementReference":"automatic-wiring-custom-rpc-function-dispatcher"},{"text":"customcc.cpp file - implementation of functions","tagName":"h2","path":"antara/api/custom","closestElementReference":"customcc-cpp-file-implementation-of-functions"},{"text":"Ref: ^1a","tagName":"p","path":"antara/api/custom","closestElementReference":"customcc-cpp-file-implementation-of-functions"},{"text":"^1a","tagName":"a","path":"antara/api/custom","closestElementReference":"customcc-cpp-file-implementation-of-functions"},{"text":"Ref: ^1b","tagName":"p","path":"antara/api/custom","closestElementReference":"customcc-cpp-file-implementation-of-functions"},{"text":"^1b","tagName":"a","path":"antara/api/custom","closestElementReference":"customcc-cpp-file-implementation-of-functions"}],"antara/api/dice":[{"text":"Dice","tagName":"h1","path":"antara/api/dice","closestElementReference":"dice"},{"text":"Introduction","tagName":"h2","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"The Dice Antara Module allows for a decentralized dice game on a blockchain. The dice module is essentially a simple, but fully functional example of decentralized software.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"It is also useful as a demonstration to show how Antara-based modules can leverage provably random entropy to enable blockchain-enforced real-time gameplay.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"The Dice Module is a simple gambling game, where one node creates a \"house\" contract, with seed funds and other parameters, and other users place bets within the indicated parameters. Winners and losers are determined through blockchain technology. This technology includes on-chain, consensus based, provably random entropy that derives from the activity of both the \"house\" and the users.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"The \"house\" node should be running the dicestatus method at a regular frequency. This method resolves unfinished bets and generates new entropy utxos for the \"house\" contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dicestatus","tagName":"a","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"To create a \"house\" contract, use dicefund to initiate the contract, and then add several utxos to the fund with diceaddfunds.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dicefund","tagName":"a","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"diceaddfunds.","tagName":"a","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"Once the contract is created and funded, users can place a bet using dicebet.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dicebet.","tagName":"a","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"Anyone can execute a dicefinish RPC after the contract's time expires. This prevents the \"house\" node from cheating by going offline.","tagName":"p","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"dicefinish","tagName":"a","path":"antara/api/dice","closestElementReference":"introduction"},{"text":"diceaddfunds","tagName":"h2","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"diceaddfunds name fundingtxid amount","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"diceaddfunds name fundingtxid amount","tagName":"strong","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"The diceaddfunds method adds funds to the desired dice contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"diceaddfunds","tagName":"code","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"Only the owner of the dice contract is able to add funds.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/dice","closestElementReference":"diceaddfunds"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Step 1: Create a raw transaction hex value for adding funds","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceaddfunds MYDICECONTRACT ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7 10\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceaddfunds MYDICECONTRACT ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7 10\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceaddfunds\", \"params\":[\"MYDICECONTRACT\" ,\"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\" ,\"10\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceaddfunds\", \"params\":[\"MYDICECONTRACT\" ,\"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\" ,\"10\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Step 2: Send the raw transaction / broadcast the hex value","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Step 3: Decode the raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"txid\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"size\": 387,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"85c61b2e46c2fd686ca6b83da46e44df86cd42bcdb41b2b20ced053d15596b64\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\",\n \"hex\": \"483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99989.9999,\n \"valueSat\": 9998999990000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"txid\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"size\": 387,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"85c61b2e46c2fd686ca6b83da46e44df86cd42bcdb41b2b20ced053d15596b64\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\",\n \"hex\": \"483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99989.9999,\n \"valueSat\": 9998999990000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0100000001646b59153d05ed0cb2b241dbbc42cd86df446ea43db8a66c68fdc2462e1bc6850000000049483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501ffffffff0400ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1027000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacf0aed71218090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff29000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"txid\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"85c61b2e46c2fd686ca6b83da46e44df86cd42bcdb41b2b20ced053d15596b64\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b395[ALL]\",\n \"hex\": \"483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99989.9999,\n \"valueZat\": 9998999990000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"txid\": \"83370785623efc679de990b0d90bd45b375a0a53ce9e011259c31a8c747fd1ff\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"85c61b2e46c2fd686ca6b83da46e44df86cd42bcdb41b2b20ced053d15596b64\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b395[ALL]\",\n \"hex\": \"483045022100bdbf75970d7f708c4a5637d703b0a055e65a2eab0e71f6435604281d5981143d022008942029da09aa09bd0c9358b8169528e596968150e85d15c143c6961bf2b39501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99989.9999,\n \"valueZat\": 9998999990000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6454b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffcebd22d4e75f4939198938b49036f71c3a0e00d20ca05237147aaed0d85cd50ff290000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples"},{"text":"diceaddress","tagName":"h2","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"diceaddress (pubkey)","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"diceaddress (pubkey)","tagName":"strong","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"The diceaddress method takes either your pubkey or a pubkey that you provide and returns the smart-contract address for the dice smart contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"diceaddress","tagName":"code","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"diceaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"For the non-default pubkey.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceaddress 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceaddress 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"DiceCCAddress\": \"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\",\n \"DiceCCBalance\": 0.0,\n \"DiceNormalAddress\": \"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\",\n \"DiceNormalBalance\": 0.0,\n \"DiceCCTokensAddress\": \"RUjcZD5jMXjz5VVACKQ57Pcs4ATeHEmBgv\",\n \"PubkeyCCaddress(Dice)\": \"RNZBxcH9ntcB8cJMTtbWZJrjzJNQ4ADLkz\",\n \"PubkeyCCbalance(Dice)\": 0.0,\n \"myCCAddress(Dice)\": \"RMpKdiS2giMq57DMqHJRqtMEG8m7apqy7e\",\n \"myCCbalance(Dice)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"DiceCCAddress\": \"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\",\n \"DiceCCBalance\": 0.0,\n \"DiceNormalAddress\": \"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\",\n \"DiceNormalBalance\": 0.0,\n \"DiceCCTokensAddress\": \"RUjcZD5jMXjz5VVACKQ57Pcs4ATeHEmBgv\",\n \"PubkeyCCaddress(Dice)\": \"RNZBxcH9ntcB8cJMTtbWZJrjzJNQ4ADLkz\",\n \"PubkeyCCbalance(Dice)\": 0.0,\n \"myCCAddress(Dice)\": \"RMpKdiS2giMq57DMqHJRqtMEG8m7apqy7e\",\n \"myCCbalance(Dice)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceaddress\", \"params\":[\"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceaddress\", \"params\":[\"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"DiceCCAddress\": \"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\",\n \"DiceCCBalance\": 0.0,\n \"DiceNormalAddress\": \"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\",\n \"DiceNormalBalance\": 0.0,\n \"DiceCCTokensAddress\": \"RUjcZD5jMXjz5VVACKQ57Pcs4ATeHEmBgv\",\n \"PubkeyCCaddress(Dice)\": \"RNZBxcH9ntcB8cJMTtbWZJrjzJNQ4ADLkz\",\n \"PubkeyCCbalance(Dice)\": 0.0,\n \"myCCAddress(Dice)\": \"RMpKdiS2giMq57DMqHJRqtMEG8m7apqy7e\",\n \"myCCbalance(Dice)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"DiceCCAddress\": \"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\",\n \"DiceCCBalance\": 0.0,\n \"DiceNormalAddress\": \"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\",\n \"DiceNormalBalance\": 0.0,\n \"DiceCCTokensAddress\": \"RUjcZD5jMXjz5VVACKQ57Pcs4ATeHEmBgv\",\n \"PubkeyCCaddress(Dice)\": \"RNZBxcH9ntcB8cJMTtbWZJrjzJNQ4ADLkz\",\n \"PubkeyCCbalance(Dice)\": 0.0,\n \"myCCAddress(Dice)\": \"RMpKdiS2giMq57DMqHJRqtMEG8m7apqy7e\",\n \"myCCbalance(Dice)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-2"},{"text":"dicebet","tagName":"h2","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"dicebet name fundingtxid amount odds","tagName":"p","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"dicebet name fundingtxid amount odds","tagName":"strong","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"The dicebet method places a bet on the indicated dice contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"dicebet","tagName":"code","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/dice","closestElementReference":"dicebet"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Step 1: Set your parameters to create a raw transaction and get the hex value","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicebet KMDDice ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7 7 7\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicebet KMDDice ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7 7 7\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicebet\", \"params\":[\"KMDDice\" ,\"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\" ,\"7\" ,\"7\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicebet\", \"params\":[\"KMDDice\" ,\"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\" ,\"7\" ,\"7\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Step 2: Send/broadcast the raw transaction hex","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"size\": 721,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"03fd3f2af7ba397488ad59af3de2ef780df1ebc1ebd82b23daffc40a72b0c978\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\",\n \"hex\": \"483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\",\n \"hex\": \"473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 7.0,\n \"valueSat\": 700000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.00010007,\n \"valueSat\": 10007,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99975.99969993,\n \"valueSat\": 9997599969993,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"size\": 721,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"03fd3f2af7ba397488ad59af3de2ef780df1ebc1ebd82b23daffc40a72b0c978\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\",\n \"hex\": \"483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\",\n \"hex\": \"473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 7.0,\n \"valueSat\": 700000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.00010007,\n \"valueSat\": 10007,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99975.99969993,\n \"valueSat\": 9997599969993,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000378c9b0720ac4ffda232bd8ebc1ebf10d78efe23daf59ad887439baf72a3ffd03000000007b4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0200000049483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801ffffffff0b2261be0d143f42b833bcdf6e95582d4071f7d7d1d03eb1de0893eb7dc563ef0300000048473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101ffffffff0500ca9a3b00000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc0027b92900000000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc1727000000000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcacc91265bf17090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000006d6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e06589040067000000000000000000000000000000000000000000000000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"03fd3f2af7ba397488ad59af3de2ef780df1ebc1ebd82b23daffc40a72b0c978\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc8[ALL]\",\n \"hex\": \"483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e1[ALL]\",\n \"hex\": \"473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 7.0,\n \"valueZat\": 700000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.00010007,\n \"valueZat\": 10007,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99975.99969993,\n \"valueZat\": 9997599969993,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"694c309c86a928fde1919a86381f61670479c3ede85ea0574d08636cc406e798\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"03fd3f2af7ba397488ad59af3de2ef780df1ebc1ebd82b23daffc40a72b0c978\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e8140fe35ae062eb8239b1eec5407c71e27531f281dc369b55c3d3c235a87f6c10b3d4e7a029a6420e4fa076bd1d3da013287a17973fb6684bc487335ce176e7488d3a100af038001e6a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc8[ALL]\",\n \"hex\": \"483045022100f934f292e5ef9b3c605b83381abec1d99c7119d35a3833e40e65d788191ea51402207e925062602bb603f7109e3f36009563952741e666210195686de27b61515cc801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ef63c57deb9308deb13ed0d1d7f771402d58956edfbc33b8423f140dbe61220b\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e1[ALL]\",\n \"hex\": \"473044022020aa8c2d6dc9727ce32f34ae704eb374b7cf87f43250a2d10072fad266f6602e02201fce01ae5c550438f2a512ab13f4c40d411d7726f32046e989b9747af33fd4e101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 7.0,\n \"valueZat\": 700000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.00010007,\n \"valueZat\": 10007,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 99975.99969993,\n \"valueZat\": 9997599969993,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\": \"6a4c6ae6424b4d444469636500f74cae60f1901161cbe475ff00f1024bb3d64be778b714bfbeb75afa20fffceb6b2540dd22241ca6e72fe32c1cd1d2a9528140cad290f1599041e065890400670000000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-3"},{"text":"dicefinish","tagName":"h2","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"dicefinish name fundingtxid bettxid","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"dicefinish name fundingtxid bettxid","tagName":"strong","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"The dicefinish method rebroadcasts a bet that was previously broadcast.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"dicefinish","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"If the returned hex value is 0 the bet is finished.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"hex","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"0","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"If the returned hex value is not 0 , the hex value should be broadcast with sendrawtransaction. If the bet has not finished or is stuck, the hex will have a value.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"hex","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"0","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"hex","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"sendrawtransaction.","tagName":"a","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"hex","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefinish"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicefinish DICE3 4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicefinish DICE3 4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicefinish\", \"params\":[\"DICE3\" ,\"4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e\" ,\"d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicefinish\", \"params\":[\"DICE3\" ,\"4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e\" ,\"d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-4"},{"text":"dicefund","tagName":"h2","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"dicefund name funds minbet maxbet maxodds timeoutblocks","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"dicefund name funds minbet maxbet maxodds timeoutblocks","tagName":"strong","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"The dicefund method creates and funds a dice contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"dicefund","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"Ideally, the dice creator node should be online throughout the contract's life, to determine winning bid or losing bid .","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"winning bid","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"losing bid","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"If the dice creator node is offline after the timeoutblocks period completes, the system will automatically declare the bet's winner and payout winning funds.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"timeoutblocks","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"Typically, the creator should set the timeoutblocks property to a longer period. This prevents the house from losing funds if the house's node unexpectedly experiences downtime.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"timeoutblocks","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"The maxodds property must be between 1 and 9999.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"maxodds","tagName":"code","path":"antara/api/dice","closestElementReference":"dicefund"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Step 1: Create your customized Dice contract and get the hex value","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicefund KMDDice 777777 0.777 7.77 777 7\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicefund KMDDice 777777 0.777 7.77 777 7\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicefund\", \"params\":[\"KMDDice\" ,\"777777\" ,\"0.777\" ,\"7.77\" ,\"777\" ,\"7\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicefund\", \"params\":[\"KMDDice\" ,\"777777\" ,\"0.777\" ,\"7.77\" ,\"777\" ,\"7\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Step 2: Send raw transaction / Broadcast the hex value","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"txid\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"size\": 1342,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8849777c5eb4dd7c7d74d22714b522818f740a3fec1c666b9d03a2429fb79058\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\",\n \"hex\": \"47304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8124ae3a2d8d087158fb8901867b732b7834229012c688091abd4e1288bd905b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\",\n \"hex\": \"48304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5c7fdce89144f960e94a3c300fa5fcb39e3fac08f9a11494a60717c5fa06fb5b\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\",\n \"hex\": \"483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\",\n \"hex\": \"47304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"a10e1e5e86968a07c81c227fea8888f5bdfcddbe84fbbcb409ba336fee32515d\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\",\n \"hex\": \"483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"9207bdecdab610eefd641bd34946dd6d798931a32af50bee83d70cb2c06e625e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\",\n \"hex\": \"4830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"05d26eb9bb68ff594154a2a0da40812b430983de36cfeb6db00207dfd46cb55e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\",\n \"hex\": \"473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"44e226e19e7726f9511832d47c70e788b893bbbd2ab130cf320437b8f4573760\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\",\n \"hex\": \"4730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ae7b7330f13625f70c893f2dc1c33495fdd7163ba5147545286a6097dc7d3462\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\",\n \"hex\": \"47304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"c65edbed453308567c9843a1aad953703fb79a6d9f80430b1e9334d194696863\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\",\n \"hex\": \"473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 777777.0,\n \"valueSat\": 77777700000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e OP_CHECKSIG\",\n \"hex\": \"21039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\"]\n }\n },\n {\n \"value\": 23212.4993,\n \"valueSat\": 2321249930000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"hex\": \"6a2ae6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"txid\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"size\": 1342,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8849777c5eb4dd7c7d74d22714b522818f740a3fec1c666b9d03a2429fb79058\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\",\n \"hex\": \"47304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8124ae3a2d8d087158fb8901867b732b7834229012c688091abd4e1288bd905b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\",\n \"hex\": \"48304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5c7fdce89144f960e94a3c300fa5fcb39e3fac08f9a11494a60717c5fa06fb5b\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\",\n \"hex\": \"483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\",\n \"hex\": \"47304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"a10e1e5e86968a07c81c227fea8888f5bdfcddbe84fbbcb409ba336fee32515d\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\",\n \"hex\": \"483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"9207bdecdab610eefd641bd34946dd6d798931a32af50bee83d70cb2c06e625e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\",\n \"hex\": \"4830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"05d26eb9bb68ff594154a2a0da40812b430983de36cfeb6db00207dfd46cb55e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\",\n \"hex\": \"473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"44e226e19e7726f9511832d47c70e788b893bbbd2ab130cf320437b8f4573760\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\",\n \"hex\": \"4730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ae7b7330f13625f70c893f2dc1c33495fdd7163ba5147545286a6097dc7d3462\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\",\n \"hex\": \"47304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"c65edbed453308567c9843a1aad953703fb79a6d9f80430b1e9334d194696863\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\",\n \"hex\": \"473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 777777.0,\n \"valueSat\": 77777700000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e OP_CHECKSIG\",\n \"hex\": \"21039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\"]\n }\n },\n {\n \"value\": 23212.4993,\n \"valueSat\": 2321249930000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"hex\": \"6a2ae6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000a5890b79f42a2039d6b661cec3f0a748f8122b51427d2747d7cddb45e7c774988010000004847304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201ffffffff5b90bd88124ebd1a0988c612902234782b737b860189fb5871088d2d3aae2481020000004948304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01ffffffff5bfb06fac51707a69414a1f908ac3f9eb3fca50f303c4ae960f94491e8dc7f5c0100000049483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01ffffffff5ca636731b8c28889248a0b434e3124f19518b2c4b4bbefd80af303329ae9471020000004847304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01ffffffff5d5132ee6f33ba09b4bcfb84beddfcbdf58888ea7f221cc8078a96865e1e0ea10000000049483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001ffffffff5e626ec0b20cd783ee0bf52aa33189796ddd4649d31b64fdee10b6daecbd079200000000494830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801ffffffff5eb56cd4df0702b06debcf36de8309432b8140daa0a2544159ff68bbb96ed2050000000048473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101ffffffff603757f4b8370432cf30b12abdbb93b888e7707cd4321851f926779ee126e24402000000484730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01ffffffff62347ddc97606a28457514a53b16d7fd9534c3c12d3f890cf72536f130737bae020000004847304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01ffffffff63686994d134931e0b43809f6d9ab73f7053d9aaa143987c56083345eddb5ec60100000048473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01ffffffff0400112e08bd460000302ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc10270000000000002321039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac100b47751c020000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000000000002c6a2ae6464b4d444469636500a09ba104000000004014502e000000000903000000000000070000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"txid\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8849777c5eb4dd7c7d74d22714b522818f740a3fec1c666b9d03a2429fb79058\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b12[ALL]\",\n \"hex\": \"47304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8124ae3a2d8d087158fb8901867b732b7834229012c688091abd4e1288bd905b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a[ALL]\",\n \"hex\": \"48304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5c7fdce89144f960e94a3c300fa5fcb39e3fac08f9a11494a60717c5fa06fb5b\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd[ALL]\",\n \"hex\": \"483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb[ALL]\",\n \"hex\": \"47304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"a10e1e5e86968a07c81c227fea8888f5bdfcddbe84fbbcb409ba336fee32515d\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d0[ALL]\",\n \"hex\": \"483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"9207bdecdab610eefd641bd34946dd6d798931a32af50bee83d70cb2c06e625e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f8[ALL]\",\n \"hex\": \"4830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"05d26eb9bb68ff594154a2a0da40812b430983de36cfeb6db00207dfd46cb55e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c641[ALL]\",\n \"hex\": \"473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"44e226e19e7726f9511832d47c70e788b893bbbd2ab130cf320437b8f4573760\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b[ALL]\",\n \"hex\": \"4730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ae7b7330f13625f70c893f2dc1c33495fdd7163ba5147545286a6097dc7d3462\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea[ALL]\",\n \"hex\": \"47304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"c65edbed453308567c9843a1aad953703fb79a6d9f80430b1e9334d194696863\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab[ALL]\",\n \"hex\": \"473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 777777.0,\n \"valueZat\": 77777700000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e OP_CHECKSIG\",\n \"hex\": \"21039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\"]\n }\n },\n {\n \"value\": 23212.4993,\n \"valueZat\": 2321249930000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"hex\": \"6a2ae6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"txid\": \"ebfcff20fa5ab7bebf14b778e74bd6b34b02f100ff75e4cb611190f160ae4cf7\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8849777c5eb4dd7c7d74d22714b522818f740a3fec1c666b9d03a2429fb79058\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b12[ALL]\",\n \"hex\": \"47304402206544c1d0bb42da89d93e58526a28b3c80ef45dca516ecd11ee3fe7fc35a5261c02207f0b134ff5cdb840692a65eccd86fb2fc2a63afc6f1309a2ed9d054d1a076b1201\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8124ae3a2d8d087158fb8901867b732b7834229012c688091abd4e1288bd905b\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a[ALL]\",\n \"hex\": \"48304502210091972c641291022da6d49ab8d3790ccdbb0f563b385b89ac723fa688a6c84ee202207198c3d48ce1d9591fce6fb41192145c38f8312c7a78251f4231986070a3283a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5c7fdce89144f960e94a3c300fa5fcb39e3fac08f9a11494a60717c5fa06fb5b\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd[ALL]\",\n \"hex\": \"483045022100ea0b49d902f844ef280b8621cdc5a5365a779a04a159ba30e00bd0b3eaf284da02205aece19ee807ce11b0ed7b74175df29dd2be4560361174664571a6a596a894fd01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"7194ae293330af80fdbe4b4b2c8b51194f12e334b4a0489288288c1b7336a65c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb[ALL]\",\n \"hex\": \"47304402203eb318ae650753ab7cc2e9ea9b2cc2477add2fbd9e49e0ac1d7560f7e08ecbb002202d77d75ed2c1d3b53feda45c699374f74d1bf1065b46e3a24514dd072f2a9dcb01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"a10e1e5e86968a07c81c227fea8888f5bdfcddbe84fbbcb409ba336fee32515d\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d0[ALL]\",\n \"hex\": \"483045022100e3cc5062becc979fc347a9ccde6af8ebba39c0d88105c9a35c89876207fafb0202204f631d063911e4526958f6629a847cca832d845a86adcae248625fd45b03e7d001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"9207bdecdab610eefd641bd34946dd6d798931a32af50bee83d70cb2c06e625e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f8[ALL]\",\n \"hex\": \"4830450221009f3c17ccc73f28d9ba1d80c149890f56c6aafa576e152eb776082d12d54548eb022053f3b87eee04d9f5ef9f961d79433ec76b0f0e4a2288104212db01f6d2d7d1f801\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"05d26eb9bb68ff594154a2a0da40812b430983de36cfeb6db00207dfd46cb55e\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c641[ALL]\",\n \"hex\": \"473044022029bbf3fa5dea810d70ea9ef9b81b5ee72c3b3ec7d59faae4ca9658ed723ef683022060226d854ff44aebeba36bfda9e664185be0999ce7ee8b7b053f67642bd8c64101\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"44e226e19e7726f9511832d47c70e788b893bbbd2ab130cf320437b8f4573760\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b[ALL]\",\n \"hex\": \"4730440220717994adac8b009a0f110438cef1e226d6674494e774813fad044b340c38052002202852c11fcc5bb1f3aa39e3dbbf00aa0d2b808c1c0769fbd692201cf10e96644b01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"ae7b7330f13625f70c893f2dc1c33495fdd7163ba5147545286a6097dc7d3462\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea[ALL]\",\n \"hex\": \"47304402202dcf8a066fc56dae83f2259f902707aff7484251666c5b01a2e71e909fe859630220306a4149afce43dc343e103cdf4926ae9bf9f9a7a6eed9bf235efe04e619daea01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"c65edbed453308567c9843a1aad953703fb79a6d9f80430b1e9334d194696863\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab[ALL]\",\n \"hex\": \"473044022066b3aadd3f2545c953f7389a062831736eda6c01f9df20e56b107d87fa6bfe8d02204357d85e1ab484c779fac5eab5d01fd39f5caf1ecde499873de34ac5e204b7ab01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 777777.0,\n \"valueZat\": 77777700000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200095ece5eee67e1f313e7ba2d156c7617106cd52b75c93ed3fb110ff3fba6e998103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"REabWB7KjFN5C3LFMZ5odExHPenYzHLtVw\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94e OP_CHECKSIG\",\n \"hex\": \"21039d966927cfdadab3ee6c56da63c21f17ea753dde4b3dfd41487103e24b27e94eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RLEe8f7Eg3TDuXii9BmNiiiaVGraHUt25c\"]\n }\n },\n {\n \"value\": 23212.4993,\n \"valueZat\": 2321249930000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"hex\": \"6a2ae6464b4d444469636500a09ba104000000004014502e0000000009030000000000000700000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-5"},{"text":"diceinfo","tagName":"h2","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"diceinfo fundingtxid","tagName":"p","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"diceinfo fundingtxid","tagName":"strong","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"The diceinfo method looks up information about the specific dice contract referred by the relevant fundingtxid .","tagName":"p","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"diceinfo","tagName":"code","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"fundingtxid","tagName":"code","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"A fundingtxid is the txid of the transaction that created and funded the relevant contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"fundingtxid","tagName":"code","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"Use the dicelist method to discover a list of available fundingtxid hashes on the Smart Chain.","tagName":"p","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"dicelist","tagName":"a","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"fundingtxid","tagName":"code","path":"antara/api/dice","closestElementReference":"diceinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceinfo 0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD diceinfo 0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"fundingtxid\": \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\",\n \"name\": \"dice\",\n \"sbits\": 1701013860,\n \"minbet\": \"1.00000000\",\n \"maxbet\": \"100.00000000\",\n \"maxodds\": 10,\n \"timeoutblocks\": 5,\n \"funding\": \"1000.00000000\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"fundingtxid\": \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\",\n \"name\": \"dice\",\n \"sbits\": 1701013860,\n \"minbet\": \"1.00000000\",\n \"maxbet\": \"100.00000000\",\n \"maxodds\": 10,\n \"timeoutblocks\": 5,\n \"funding\": \"1000.00000000\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceinfo\", \"params\":[\"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"diceinfo\", \"params\":[\"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"fundingtxid\": \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\",\n \"name\": \"dice\",\n \"sbits\": 1701013860,\n \"minbet\": \"1.00000000\",\n \"maxbet\": \"100.00000000\",\n \"maxodds\": 10,\n \"timeoutblocks\": 5,\n \"funding\": \"1000.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"fundingtxid\": \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\",\n \"name\": \"dice\",\n \"sbits\": 1701013860,\n \"minbet\": \"1.00000000\",\n \"maxbet\": \"100.00000000\",\n \"maxodds\": 10,\n \"timeoutblocks\": 5,\n \"funding\": \"1000.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-6"},{"text":"dicelist","tagName":"h2","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"dicelist","tagName":"p","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"dicelist","tagName":"strong","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"The dicelist method displays the total list of fundingtxid 's of all dice contracts available on the Smart Chain.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"dicelist","tagName":"code","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"fundingtxid","tagName":"code","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"dice","tagName":"code","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"A fundingtxid is the txid of the transaction that created and funded the relevant contract.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"fundingtxid","tagName":"code","path":"antara/api/dice","closestElementReference":"dicelist"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicelist\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD dicelist\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"[\n \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"\n]\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"[\n \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"\n]\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicelist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicelist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"{\n \"result\": [\n \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"{\n \"result\": [\n \"0d6e82af9959caec14d7af42fd67db68a45bcd23c755457ebf192a52d62c599c\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-7"},{"text":"dicestatus","tagName":"h2","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"dicestatus name fundingtxid bettxid","tagName":"p","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"dicestatus name fundingtxid bettxid","tagName":"strong","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"The dicestatus method prints the status of a dicebet and returns whether the bettxid received a winning or losing result.","tagName":"p","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"dicestatus","tagName":"code","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"dicebet","tagName":"code","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"bettxid","tagName":"code","path":"antara/api/dice","closestElementReference":"dicestatus"},{"text":"Arguments","tagName":"h3","path":"antara/api/dice","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/dice","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=AT1 dicestatus DICE3 4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=AT1 dicestatus DICE3 4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"status\": \"loss\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"status\": \"loss\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicestatus\", \"params\":[\"DICE3\" ,\"4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e\" ,\"d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"dicestatus\", \"params\":[\"DICE3\" ,\"4132ca8e8d46df9f8a8cbe83c99794497e06bbd190bd71f4abcdedf84e90952e\" ,\"d54335073e549cd75a050fd4d6ba5939307cda7096ba0f3da779fb7d07e46343\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"status\": \"loss\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/dice","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"status\": \"loss\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/dice","closestElementReference":"examples-8"}],"antara/api/dilithium":[{"text":"Dilithium","tagName":"h1","path":"antara/api/dilithium","closestElementReference":"dilithium"},{"text":"Introduction","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"The Dilithium Antara Module facilitates quantum-resistant transactions on a Komodo Smart Chain. The module also allows users to create unique, human-readable handles. These handles can be thought of as an address.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"For example, a normal blockchain address may appear as follows.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPVMY\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"A Dilithium-based address, however, may appear much simpler, as follows.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"KomodoHaxor\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"KomodoHaxor\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"The handle acts much like an address, allowing only the owner of the associated private key to release funds.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"Users who are familiar with a Smart Chain's method of facilitating privacy transactions can associate the same underlying concepts with Dilithium. A Komodo Smart Chain's privacy transactions are facilitated by the pre-installed Zcash parameters.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"the pre-installed Zcash parameters.","tagName":"a","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"These parameters allow for more than one protocol to influence the outcome of a transaction. In the case of a Zcash-related privacy transaction, the transaction has both the underlying Bitcoin-based utxo protocol influencing the transaction, and the Zcash parameters. The latter is what grants the transaction privacy.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"utxo","tagName":"a","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"Similarly, a Dilithium-related transaction on a Smart Chain is influenced by both the Bitcoin-based utxo protocol, and the Dilithium protocol. Dilithium's added functionality is quantum resistance, whereas Zcash's added functionality is privacy.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"Dilithium has \"q addresses\" (handles) and \"q transactions.\"","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"Once again, this can be compared to the familiar \"z addresses\" and \"z transactions\" of a Zcash-related transaction on a Komodo Smart Chain.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"introduction"},{"text":"Dilithium Module Flow","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"Register a handle using the keypair and register methods","tagName":"li","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"keypair","tagName":"a","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"register","tagName":"a","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"To transfer funds from a t address into a q address, use the send method","tagName":"li","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"t","tagName":"code","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"q","tagName":"code","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"send","tagName":"a","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"To transfer funds from a q address to another q address, use the qsend method","tagName":"li","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"q","tagName":"code","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"q","tagName":"code","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"qsend","tagName":"a","path":"antara/api/dilithium","closestElementReference":"dilithium-module-flow"},{"text":"Tutorial Availability","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"tutorial-availability"},{"text":"The Dilithium Antara Module has an associated tutorial. This tutorial provides instructions on installation and usage.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"tutorial-availability"},{"text":"Link to Dilithium Module Tutorial","tagName":"p","path":"antara/api/dilithium","closestElementReference":"tutorial-availability"},{"text":"Link to Dilithium Module Tutorial","tagName":"a","path":"antara/api/dilithium","closestElementReference":"tutorial-availability"},{"text":"handleinfo","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"cclib handleinfo 19 '[\"handle\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"cclib handleinfo 19 '[\"handle\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"The handleinfo method displays information associated with the supplied handle .","tagName":"p","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"handleinfo","tagName":"code","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"Use this method to determine if any given handle is available for the user to claim.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"handleinfo"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response"},{"text":"When a handle is available","tagName":"h5","path":"antara/api/dilithium","closestElementReference":"when-a-handle-is-available"},{"text":"When a handle is already registered by the node executing the command","tagName":"h5","path":"antara/api/dilithium","closestElementReference":"when-a-handle-is-already-registered-by-the-node-executing-the-command"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples"},{"text":"When a handle is available","tagName":"h5","path":"antara/api/dilithium","closestElementReference":"when-a-handle-is-available-2"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 '[\"KomodoHaxor\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 '[\"KomodoHaxor\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-2"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"status\": \"available\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-2"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"status\": \"available\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-2"},{"text":"When a handle is already registered by the node executing the command","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"when-a-handle-is-already-registered-by-the-node-executing-the-command-2"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 '[\"AtomicWarrior\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 '[\"AtomicWarrior\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-2"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-3"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"AtomicWarrior\",\n \"destpubtxid\": \"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"pubkey\": \"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-3"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"AtomicWarrior\",\n \"destpubtxid\": \"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"pubkey\": \"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-3"},{"text":"keypair","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"cclib keypair 19 '[\"hexseed\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"cclib keypair 19 '[\"hexseed\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"The keypair method generates a Dilithium pubkey and privkey . This method requires a 256 bit seed in hex format (64 characters).","tagName":"p","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"keypair","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"pubkey","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"privkey","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"If no hexseed is provided, the module uses the user's pubkey seed for entropy and generates a new seed. From this new seed the module produces a Dilithium pubkey and privkey .","tagName":"p","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"hexseed","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"pubkey","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"privkey","tagName":"code","path":"antara/api/dilithium","closestElementReference":"keypair"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-2"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib keypair 19 '[\"rand\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib keypair 19 '[\"rand\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-3"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-5"},{"text":"{\n \"status\": \"using random high entropy seed\",\n \"seed\": \"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\",\n \"pubkey\": \"e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba\",\n \"privkey\": \"e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167473024331a811d2426afb3c14f1bbc131918c8f45f845f86b09e346e2bbccedda85ec3acd4d452874cb156f9cd7b87ac7bf5779f34084a2ddf702aef059122e05f3034e2e839c0a94a445e8664beefe5fd8225473cdcc4dd49af6560381b2794ea4c4a91d0da0619b06e4c86c9846a924950a4d11546682014b8febe829ad234f019cb8c454006384ce84bb6e092cb5800ca87509ab66e69565ad026247600268798d3332c08830095c250d0369e54464ac933945828d543c42a3d2618d115260919651dcb00184609c9c45f350422b91ae212241aba040955ca0016702038d84aa222c1a8d94abeada86e29495e8146deab4c31a2dd69665355aa8591c54b44a0ab4a619328cd4ea425252d744e33816cc0a77112a54a8462833d0ccc456348c4a22d432424aed924eca25f154a8b12c855d963868c4a9453a0cebbc68b563872e62217026695c8d0a682268e3b64d4ca0566b5a21f04a2c209d866d03dbab2a8a011cc1cda6a506b05855e3d4e508b6812259126d7680e0728ba09a5a0b5aa897c62d0d124210826b8da0a339b20808cfedb0b5e8a665929c86c182c046d97596b521cba216595b4b162c08a06c7ba6c134ec88b443344c18c084da681312d699204344a0b50e939810f1e01144434909bbd8438acc2804ccaa49d58ca152a63bce6e0a95e5a06000406726352e982047731582ab38b9c1628f4615982c56a43286ca8aeac490104f2cbc60e9c6c988d688a52a23ced204711111b142db2c3232965a7aacdb268e8ac8731a92149200b345b7f010a54bdb766c9dc13297cd206c6b03a1581de9b53590895b29ad985bcb16a10c3355805662d4a0d492934190f42a2facb092209a30a5ac0674cc7aa4028e5a68669e58ce2b6462c53c4349194c1590c9ea16341c1cc588d7861319db4b197a768b7868ddc0a4a94dc9baa8ada40c803d99315ad45907a1cd1c625edb50329369ad6c8b8ec4a1ebc86e6b16a1146a731ce1582e138b992237834baeca360a4017988b425832c49a4a9845a5a4506cab59aca33996c00a8880ca8cdcac35119089317ba929a4b48bcac61cd0dd2618314da1806880066d6558c625924305113173a29049916a7030d00db2c7115445930b51948ee4cdc536b3941754da68b1dedc289314b42241c9413339eca6506b34005c271a351a5794e451e8222045a35652e26ea91a236d94bac1e6010212881d67b1822b19984406649380500d2a1b5b2698528cb3426f806b57656ad5b11c2f4c306dcbaa1a028366350c986c260d61042085ab75ac35a7da662ca20073a04d6628291a3456d02c8dca40b94122016ca9c0859d47d95bbc1893b710828bd4cd067a532d4c66664c58d6248241d0de1658713222b61dce46c9a530a26e1280b481438b84ab6835dbb15c9b12a1e2789e07129dc556ac6d40a552d282380c9b99d5e2cc7444e1d61a40bb9dd2346e023bae14b3a029d2358a51743b4215b58cc884822ee8100266428b432b89da81b156956e222828c80db06530c1a8742d9551edc0d66beb20c48210338382b55c6bacb080b1232c856c84929566b36cc618d402193a15933074a09bd6516574db4e3ab8a3d5a58cf0b982d1761a5ed66d5719ebdbcadaf51a5dd8c490ee10e5308df9dbdf69c58221b98e70e538380499e4a4a64b05a47fd386edba7084fd6a391b6a6235e5d4ecf83a51174da3d60885f500a86fc053de04b7fde8a5060c2d44f766aceb2230842d55940904191215615f58b8b02c6df54bebfe9972d38df18dc25ff2eeb471f0a7eba3520d74c262224ec3d37279a820a28ccde7e1792ecf944fc9c6a2ecd5b86c591e6cf843f3531646209cbb147fd9bbb6a9488357463dcec9d0189c6e224f3bae117a824d0c6a6f7d4e38a051e7a77ec98d3a8238b8ff8d563131727472253400aa37476991400de1207f0cc89d1d9c65f7fb816bf9b4111e57f376f84e6ba8489886596ce6e4501bbb9502b53ab4d6150b3c48f27de4b4af37c986a043d4eb7bd5be503766df1a88f86dd27df577f3572130938ce34840a25ab76326dd71bb5fbf4f33c9cd6402ba21057c9d16909ca5fe90a6f052c57aa5675a3a7c03d29112299cd10bd9d0f097009ded149700de88ad798cd3309181acc3f70ace8ed3be1d8203903d3643b88c178ee8eb28c6a1fb890ae627924177c94ebdcbb76c8592087b44833fcd2a469d403a311230851092b5f1953a8e201c1bc35f218cf58b416373ce35ea39c3d8a3f226a6d0c37b68bd94a81acf16fb122514cfc7efbbe10b9cf569e1a7020f7f6f1dd523c1c1ac6c82e1f5dcba1b0f5556d49c13abd70e94a3aae42e7eac9122d4e3e2900851c03a441c01dff177563501f176b420ffbbcc16b303135177d42d962e4ace37986701c17e9240c4c8f8ae5d15fc2d04717f1d1f2e50538be1aeea264d0e143a9bbda92b4f414d38fc7d63680e1cb9f4c0ff478a7f338534bccb3c48db9364635d100aaad1bcf53ec24676f616e8a3f0e27caf5678d96449bb190ed820c1823e49578df791f904e2f9c6d62d857756fd68d6746b0433dd54659fc4b9c983d12e91c9b58f6f7856f39a5cbf1667270d23e3019e8ae6ea6feb9db6d9336115792a1192805985ddaec7b3f49e46bdbac9611c1cadfcec15b9cfe008c1206411d8ed924ce0fd0485ece48bf86613b9698f41348417a9e2e14b1a8711646b30ffd79b5ca421f17c8f7441d425c2226a409ad766c6554f2affdc872eb9c8c4bb85618b1d3916e422d3ddeedd350e0df4c64bdf16315cd9d485b0d3ceb9ebbfa15afcde35ee690ca3c92b909ce8ead619a6fb43f9260010b70ab92ba88748f7b2a7f8132207278016d3d0642cc6a90635b7da3ba2a611e37f714aa741d186d66b2e075d9a9b53f7aa58dfbbbd3269ed4d63c2b00bc87f4acc2bf04764ac75bc58fdd7dd97003d0bd34ed16d6267e0fc33dc116335a755ee89015b87f21fa7df8b5c978d43c2094a2336ce993844374b90c61b1e2ed3f373306bbf790c100e44ec97719e676892df68aa95f00b267913028c4f1ce11505d2073f2d8cb980a1802389e1cf410c79f4025a21f8d421f95469d4ffc8d96c46c1470a6801da08d6cc2237bb10c0fa818d9fb52e25d727a8e6963f4af39a08cda3dd8fb185443b9cc6d620837c7a2bbd1e41276bacd499e21d71a59581f5e8b96ed936724679e31e91bcd9c5d3714d459b0cfa98b78436c7c99bd196e03023887d3a259176488c4c70e2382ea14bee3f742ac3969e8f8065d01dfe57b0dd06c6bbb8e74b6df22eb37bd27cc8d3cb95b5fea41a2b2d6349e36ece215399fc9cccf5b9ca1905cdb318627a6c7b11ef48fd2ecc2f6bb0b3b1a379fb31af76c0807eb7118115f626194e732e3562cdea7018b252e3df10fc625658a46c0cc60b72109a93059e837fdb4336fb4bac889f44c7628dc8c24b0296f423e3a282f71255efc4b6551400961fc357b0064d7d93dd5edce70dd956243c5d3c8c0c49165ecfcc25549347d945d04cd613c0a82ee6bf44a73e7d90962b39676b46ee9a33e8617632210b195dd10fe7591e5018c772dabf8a705a8c86601cbb63c7db7a7f2d4498429293a69200cac555dff78db1015beef6e1c036ef445a031763cc86597762f77cec2f639a23eccc595276ffd33c50b0da2cbf8f7269530fe6b49f7fb21ae328ce164548dbffc924a0e473041820a12a17a75d5414b3126178eedfcf883f1af59f54315997f962caa2a4653f6a73625cebd62b625da5e0f0e95c7170f1d97eb369dea4f6c7f8cc8178cd167b4a37f235624a901ca458b20dde2e3f84d94c8047df3318801961dc6246dabfd8430bd12ec16e03243611fc23f27c953e4d07fcdf6ec0c1277e613fae3a8dba6a69a2805f11a904ab87e721303296a457f68db798db0af25bf48d64212354a707468379bec321d5ecec490f070cc7a1484764d040ce8447091b75a64d425db982d6b7f03913c0b6aa51496c10c99e4641ff0e2633d0050b3bff1a44ecc6aae2c4cd68051733947ef23afc631ba24a541e5a83e7b2cfd1c4a03bf2dbd5622ef6ed13948316eac730780f915caf436e92894098d8abd3678d43935d572a900f6d2e20c489d3673abfda56c770cebcee5e8e7bd99617d9417f3ce6930381eab20e2817243ecb87bbe2b40c8933a4d7e6bd8244820163ca9456e9cab18f26eef2d53bf74613c64ece1f1d52f4ffe8a615845ec3e015342140a5bc6130fa6f66e47002d23ddb434453e0195bfb836839f39c3fba9c44dce8471b78c27c904dbb87e32fa376dea011f1a4326d0cd3ffc60dc0943545a475702879fe2d4065a187986a6b46f9b4717ddafe8523d0919df6b8b58f35acf096c6f603e31b582494d54485ffb308240c38b60e664906772fdb1062375f40ba0416c82e00fed05389de2080c6e259c9544c0053895c9099bd02c5a6f4b359916e95459e99cbd183a611bf3d8e0889c9ed5005721a4b0f6c286b5508339f0cf366fab25abeddaf094d4a0be7efe2aa92cab1c86e61449d34acf1b8130b63e00ba232dff0e7e959f8e4b79a6a0d5fb09d327a8d15af1a30cd22d2b45bd5bb973f4ce1381ab480b6e9a01bdfe90836e627ce887c91897ff9cf709d7a233d88ed6116a4e8d8cffed1703f4c1a54f3ae24cdb27ebbad874037bea561d6b104aacf3c4854acb5429f351589d5c5d648dea86d7393829fdc59fafb963195f45d810f013ae108e95b50a81a98a22e44bfd60083b930914d33140fbaee8e52d779578eaa6698310d87e0e9b283cdf92fc0d235b159ef7aa53772fb954e54c1ebbec3ad058d6c1c69b2e48728a2e9349805e7c14762f07da8bb5c98923be0dcdc56959cb3c17c5def6a522c560e5b323f8ab261bee3041cff931f38c47cc6d711b2d9c4d94fd7530e4be6f2ce4b52a02f69d9bb63dd9116ee2bad5d1a5ed5b4c947f15dfc21b64ff154d41db91dd1e9ae21561e24445a9e63b725b98ffbf8822985adbf4f949e1db53375d4507e47cd2cd1b8d4d2321b0538c5ad0115ef31f7a67d5168155a76548acaf4fb9d8155c46089d81824750f06d5234d622ac1fe3bbf1421aa4e53c7d3b32a0444e05f8c135967f34c853fb6858883ec5dce51e547ae661f1f42bf5eeb2c5c95d9d393c7219aeed56bf0dfbc5e20b6b73b2307addbc32559312ada1173f9f1808249d6126288ab77e685497f73707f33c467f44ee9a4bdd16494a83c311548a5a4fc56e34c21b95876dca9aa17c0598f361802ed9942dd4c86884c93f5fd4aad237de7b3c4700f61d06a80ab1594bc50146dfbc6810391b00578f728e2ad3ef2d61fd774f1bb32711c5cb66d6a22f6c4adcf3a7158bc12b6ad75ac3d629d2bc67294b58645343443a15695d5d7d21256cce8\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-5"},{"text":"{\n \"status\": \"using random high entropy seed\",\n \"seed\": \"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\",\n \"pubkey\": \"e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba\",\n \"privkey\": \"e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167473024331a811d2426afb3c14f1bbc131918c8f45f845f86b09e346e2bbccedda85ec3acd4d452874cb156f9cd7b87ac7bf5779f34084a2ddf702aef059122e05f3034e2e839c0a94a445e8664beefe5fd8225473cdcc4dd49af6560381b2794ea4c4a91d0da0619b06e4c86c9846a924950a4d11546682014b8febe829ad234f019cb8c454006384ce84bb6e092cb5800ca87509ab66e69565ad026247600268798d3332c08830095c250d0369e54464ac933945828d543c42a3d2618d115260919651dcb00184609c9c45f350422b91ae212241aba040955ca0016702038d84aa222c1a8d94abeada86e29495e8146deab4c31a2dd69665355aa8591c54b44a0ab4a619328cd4ea425252d744e33816cc0a77112a54a8462833d0ccc456348c4a22d432424aed924eca25f154a8b12c855d963868c4a9453a0cebbc68b563872e62217026695c8d0a682268e3b64d4ca0566b5a21f04a2c209d866d03dbab2a8a011cc1cda6a506b05855e3d4e508b6812259126d7680e0728ba09a5a0b5aa897c62d0d124210826b8da0a339b20808cfedb0b5e8a665929c86c182c046d97596b521cba216595b4b162c08a06c7ba6c134ec88b443344c18c084da681312d699204344a0b50e939810f1e01144434909bbd8438acc2804ccaa49d58ca152a63bce6e0a95e5a06000406726352e982047731582ab38b9c1628f4615982c56a43286ca8aeac490104f2cbc60e9c6c988d688a52a23ced204711111b142db2c3232965a7aacdb268e8ac8731a92149200b345b7f010a54bdb766c9dc13297cd206c6b03a1581de9b53590895b29ad985bcb16a10c3355805662d4a0d492934190f42a2facb092209a30a5ac0674cc7aa4028e5a68669e58ce2b6462c53c4349194c1590c9ea16341c1cc588d7861319db4b197a768b7868ddc0a4a94dc9baa8ada40c803d99315ad45907a1cd1c625edb50329369ad6c8b8ec4a1ebc86e6b16a1146a731ce1582e138b992237834baeca360a4017988b425832c49a4a9845a5a4506cab59aca33996c00a8880ca8cdcac35119089317ba929a4b48bcac61cd0dd2618314da1806880066d6558c625924305113173a29049916a7030d00db2c7115445930b51948ee4cdc536b3941754da68b1dedc289314b42241c9413339eca6506b34005c271a351a5794e451e8222045a35652e26ea91a236d94bac1e6010212881d67b1822b19984406649380500d2a1b5b2698528cb3426f806b57656ad5b11c2f4c306dcbaa1a028366350c986c260d61042085ab75ac35a7da662ca20073a04d6628291a3456d02c8dca40b94122016ca9c0859d47d95bbc1893b710828bd4cd067a532d4c66664c58d6248241d0de1658713222b61dce46c9a530a26e1280b481438b84ab6835dbb15c9b12a1e2789e07129dc556ac6d40a552d282380c9b99d5e2cc7444e1d61a40bb9dd2346e023bae14b3a029d2358a51743b4215b58cc884822ee8100266428b432b89da81b156956e222828c80db06530c1a8742d9551edc0d66beb20c48210338382b55c6bacb080b1232c856c84929566b36cc618d402193a15933074a09bd6516574db4e3ab8a3d5a58cf0b982d1761a5ed66d5719ebdbcadaf51a5dd8c490ee10e5308df9dbdf69c58221b98e70e538380499e4a4a64b05a47fd386edba7084fd6a391b6a6235e5d4ecf83a51174da3d60885f500a86fc053de04b7fde8a5060c2d44f766aceb2230842d55940904191215615f58b8b02c6df54bebfe9972d38df18dc25ff2eeb471f0a7eba3520d74c262224ec3d37279a820a28ccde7e1792ecf944fc9c6a2ecd5b86c591e6cf843f3531646209cbb147fd9bbb6a9488357463dcec9d0189c6e224f3bae117a824d0c6a6f7d4e38a051e7a77ec98d3a8238b8ff8d563131727472253400aa37476991400de1207f0cc89d1d9c65f7fb816bf9b4111e57f376f84e6ba8489886596ce6e4501bbb9502b53ab4d6150b3c48f27de4b4af37c986a043d4eb7bd5be503766df1a88f86dd27df577f3572130938ce34840a25ab76326dd71bb5fbf4f33c9cd6402ba21057c9d16909ca5fe90a6f052c57aa5675a3a7c03d29112299cd10bd9d0f097009ded149700de88ad798cd3309181acc3f70ace8ed3be1d8203903d3643b88c178ee8eb28c6a1fb890ae627924177c94ebdcbb76c8592087b44833fcd2a469d403a311230851092b5f1953a8e201c1bc35f218cf58b416373ce35ea39c3d8a3f226a6d0c37b68bd94a81acf16fb122514cfc7efbbe10b9cf569e1a7020f7f6f1dd523c1c1ac6c82e1f5dcba1b0f5556d49c13abd70e94a3aae42e7eac9122d4e3e2900851c03a441c01dff177563501f176b420ffbbcc16b303135177d42d962e4ace37986701c17e9240c4c8f8ae5d15fc2d04717f1d1f2e50538be1aeea264d0e143a9bbda92b4f414d38fc7d63680e1cb9f4c0ff478a7f338534bccb3c48db9364635d100aaad1bcf53ec24676f616e8a3f0e27caf5678d96449bb190ed820c1823e49578df791f904e2f9c6d62d857756fd68d6746b0433dd54659fc4b9c983d12e91c9b58f6f7856f39a5cbf1667270d23e3019e8ae6ea6feb9db6d9336115792a1192805985ddaec7b3f49e46bdbac9611c1cadfcec15b9cfe008c1206411d8ed924ce0fd0485ece48bf86613b9698f41348417a9e2e14b1a8711646b30ffd79b5ca421f17c8f7441d425c2226a409ad766c6554f2affdc872eb9c8c4bb85618b1d3916e422d3ddeedd350e0df4c64bdf16315cd9d485b0d3ceb9ebbfa15afcde35ee690ca3c92b909ce8ead619a6fb43f9260010b70ab92ba88748f7b2a7f8132207278016d3d0642cc6a90635b7da3ba2a611e37f714aa741d186d66b2e075d9a9b53f7aa58dfbbbd3269ed4d63c2b00bc87f4acc2bf04764ac75bc58fdd7dd97003d0bd34ed16d6267e0fc33dc116335a755ee89015b87f21fa7df8b5c978d43c2094a2336ce993844374b90c61b1e2ed3f373306bbf790c100e44ec97719e676892df68aa95f00b267913028c4f1ce11505d2073f2d8cb980a1802389e1cf410c79f4025a21f8d421f95469d4ffc8d96c46c1470a6801da08d6cc2237bb10c0fa818d9fb52e25d727a8e6963f4af39a08cda3dd8fb185443b9cc6d620837c7a2bbd1e41276bacd499e21d71a59581f5e8b96ed936724679e31e91bcd9c5d3714d459b0cfa98b78436c7c99bd196e03023887d3a259176488c4c70e2382ea14bee3f742ac3969e8f8065d01dfe57b0dd06c6bbb8e74b6df22eb37bd27cc8d3cb95b5fea41a2b2d6349e36ece215399fc9cccf5b9ca1905cdb318627a6c7b11ef48fd2ecc2f6bb0b3b1a379fb31af76c0807eb7118115f626194e732e3562cdea7018b252e3df10fc625658a46c0cc60b72109a93059e837fdb4336fb4bac889f44c7628dc8c24b0296f423e3a282f71255efc4b6551400961fc357b0064d7d93dd5edce70dd956243c5d3c8c0c49165ecfcc25549347d945d04cd613c0a82ee6bf44a73e7d90962b39676b46ee9a33e8617632210b195dd10fe7591e5018c772dabf8a705a8c86601cbb63c7db7a7f2d4498429293a69200cac555dff78db1015beef6e1c036ef445a031763cc86597762f77cec2f639a23eccc595276ffd33c50b0da2cbf8f7269530fe6b49f7fb21ae328ce164548dbffc924a0e473041820a12a17a75d5414b3126178eedfcf883f1af59f54315997f962caa2a4653f6a73625cebd62b625da5e0f0e95c7170f1d97eb369dea4f6c7f8cc8178cd167b4a37f235624a901ca458b20dde2e3f84d94c8047df3318801961dc6246dabfd8430bd12ec16e03243611fc23f27c953e4d07fcdf6ec0c1277e613fae3a8dba6a69a2805f11a904ab87e721303296a457f68db798db0af25bf48d64212354a707468379bec321d5ecec490f070cc7a1484764d040ce8447091b75a64d425db982d6b7f03913c0b6aa51496c10c99e4641ff0e2633d0050b3bff1a44ecc6aae2c4cd68051733947ef23afc631ba24a541e5a83e7b2cfd1c4a03bf2dbd5622ef6ed13948316eac730780f915caf436e92894098d8abd3678d43935d572a900f6d2e20c489d3673abfda56c770cebcee5e8e7bd99617d9417f3ce6930381eab20e2817243ecb87bbe2b40c8933a4d7e6bd8244820163ca9456e9cab18f26eef2d53bf74613c64ece1f1d52f4ffe8a615845ec3e015342140a5bc6130fa6f66e47002d23ddb434453e0195bfb836839f39c3fba9c44dce8471b78c27c904dbb87e32fa376dea011f1a4326d0cd3ffc60dc0943545a475702879fe2d4065a187986a6b46f9b4717ddafe8523d0919df6b8b58f35acf096c6f603e31b582494d54485ffb308240c38b60e664906772fdb1062375f40ba0416c82e00fed05389de2080c6e259c9544c0053895c9099bd02c5a6f4b359916e95459e99cbd183a611bf3d8e0889c9ed5005721a4b0f6c286b5508339f0cf366fab25abeddaf094d4a0be7efe2aa92cab1c86e61449d34acf1b8130b63e00ba232dff0e7e959f8e4b79a6a0d5fb09d327a8d15af1a30cd22d2b45bd5bb973f4ce1381ab480b6e9a01bdfe90836e627ce887c91897ff9cf709d7a233d88ed6116a4e8d8cffed1703f4c1a54f3ae24cdb27ebbad874037bea561d6b104aacf3c4854acb5429f351589d5c5d648dea86d7393829fdc59fafb963195f45d810f013ae108e95b50a81a98a22e44bfd60083b930914d33140fbaee8e52d779578eaa6698310d87e0e9b283cdf92fc0d235b159ef7aa53772fb954e54c1ebbec3ad058d6c1c69b2e48728a2e9349805e7c14762f07da8bb5c98923be0dcdc56959cb3c17c5def6a522c560e5b323f8ab261bee3041cff931f38c47cc6d711b2d9c4d94fd7530e4be6f2ce4b52a02f69d9bb63dd9116ee2bad5d1a5ed5b4c947f15dfc21b64ff154d41db91dd1e9ae21561e24445a9e63b725b98ffbf8822985adbf4f949e1db53375d4507e47cd2cd1b8d4d2321b0538c5ad0115ef31f7a67d5168155a76548acaf4fb9d8155c46089d81824750f06d5234d622ac1fe3bbf1421aa4e53c7d3b32a0444e05f8c135967f34c853fb6858883ec5dce51e547ae661f1f42bf5eeb2c5c95d9d393c7219aeed56bf0dfbc5e20b6b73b2307addbc32559312ada1173f9f1808249d6126288ab77e685497f73707f33c467f44ee9a4bdd16494a83c311548a5a4fc56e34c21b95876dca9aa17c0598f361802ed9942dd4c86884c93f5fd4aad237de7b3c4700f61d06a80ab1594bc50146dfbc6810391b00578f728e2ad3ef2d61fd774f1bb32711c5cb66d6a22f6c4adcf3a7158bc12b6ad75ac3d629d2bc67294b58645343443a15695d5d7d21256cce8\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-5"},{"text":"Qsend","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"cclib Qsend 19 '[\"mypubtxid\", \"hexseed/'mypriv'\", \"destpubtxid1\", amount1, \"destpubtxid2\", amount2, ... ]","tagName":"p","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"cclib Qsend 19 '[\"mypubtxid\", \"hexseed/'mypriv'\", \"destpubtxid1\", amount1, \"destpubtxid2\", amount2, ... ]","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"The Qsend method sends coins from the handle on the node to any number of other handles , as refered by their pubtxids . This transaction uses Dilithium signing and is quantum resistant.\nMultiple pairs of \"destpubtxid\",amount can be appended to the array to specify multiple recipients.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"Qsend","tagName":"code","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"handles","tagName":"code","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"pubtxids","tagName":"code","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"\"destpubtxid\",amount","tagName":"code","path":"antara/api/dilithium","closestElementReference":"qsend"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-3"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,1,%22b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2%22,1.1,%2276a914b738b1730cfb58960b1dd1765c6d3276993959e188ac%22,1.2,%22a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087%22,1.3]\"\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,1,%22b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2%22,1.1,%2276a914b738b1730cfb58960b1dd1765c6d3276993959e188ac%22,1.2,%22a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087%22,1.3]\"\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-4"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-7"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-7"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-7"},{"text":"Broadcast the hex","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-8"},{"text":"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-8"},{"text":"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-8"},{"text":"register","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"cclib register 19 '[\"handle\", \"hexseed\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"cclib register 19 '[\"handle\", \"hexseed\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"The register method allows a user to register an arbitrary handle (such as an online anonymous username) to the pubkey the user used to launch the Smart Chain.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"register","tagName":"code","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"pubkey","tagName":"code","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"This method requires a valid seed , as provided from the keypair method.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"seed","tagName":"code","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"keypair","tagName":"a","path":"antara/api/dilithium","closestElementReference":"register"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-4"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib register 19 '[\"AtomicWarrior\",\"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib register 19 '[\"AtomicWarrior\",\"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-5"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-10"},{"text":"{\n \"handle\": \"AtomicWarrior\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"hex\": \"0400008085202f890c3ac9dfb08a10d3e47274ad9c1f3de2e59b4dc34b433ec7a171cc15880b67fed5000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a019652681408acebab227b096d42a78dddf98b4e834a164e5627e63d1223cceac25e6f8e41617c30ee7463ab48b1229b9ead2aed29b2472f265d5d347f4ab17b3c93f47d5c1a100af03800113a10001ffffffff05ddc1a108a5313bb185ded05ace4d8e29a2f4608f0c7ff7251d11595f3a445f000000004847304402200b10d4b69c39a3fbb15060908c82703e2bf5e573eb01c852fbc2ef531ebafd81022036e4faa9a8ed04ca8502da4c0c20ce6d3b25f82716d1c694557b56e98a26b95e01ffffffff07cd294b67f76a3745a00fb2ab20f6c329eb9f69bd5ef924773bec9caf95821a000000004847304402204a18f2084fd6ce364267bdc708d610028ba41c3155dc895db578c7739abb33950220656b8184a333f806923a29a24f9aca24a122e482d1c66cbab5d811790edb69e201ffffffff076950481295bc4ed92a1967107684288f9702951c302cbd1dcd769e51b42114000000004847304402206c294c39d279f44f7d36d72706a25b296d9fe4a5f8f675dd607cbdc5ba9b93b402201660a9d6d935355fe979b33c50b25b267125a9fc463abc5346355cb953e6e7c801ffffffff07386ff4ac0a46d343afc36786709ca93f08bcf1feb3562ea7baf3bd58cd7a2f000000004847304402207e66ea8cf31bcbbc156cc2d8b020a95440183ea3034dea20607b6a7ef28b9efc02206577bf339d49ecbf698cf434e6ad63f3ca41f83be446a3998d397f097b9d0e3f01ffffffff071395c451379d66ee21321e376721d67fe510287393499ebcf1a67683f3d611000000004847304402203ed2d7ebbe1165bfc02efec4f95905473d2fe4f0fafbe7d0fccac39d379958eb022008c385d3fe93f3a6e10ec4ce78b67f5a93f3df43c08be7534ca55036aef291d701ffffffff0682a878de10392b1807abf35589c9a3aea4137b12d61716be974934a9b116cd0000000049483045022100f6dd23ae75da9f0ba01927f32bbe03e90e16f0f216227400c58f331b3526619002202c522e7b622409ee1974f03022940daf7b0046523b1c69c03fc16b3a55c21f1d01ffffffff066f21010b80faee30bca88603439389aa2274e52ca8f4d288d6881997a1f06f000000004847304402201d98276f505fc969ecc1f5f4df2d71e371b9537f94e466ab6b35594b13afbf1d02202dca6c57312019400809d9bcc7fedccda65d02ca0fb492a72f98128ca4b95d1001ffffffff066e38c8bf4aa889d9dcc53aeec1a95d548400211280fe24d4c0e73de69309bb0000000049483045022100e8255e4b42d3084a66afd9984c7345cec47a15b509f49c4b04d4fafce5bfb77c02206152baa639a6393a4f86db5fd6739cfd096701a1617210aa7138dd8c752bd46701ffffffff06507713eb6ba1246886e7c8364b5c7aeece7251f85d0ba50190365651e161c7000000004847304402203a19e60986b7f45ba8dedaaefae62ab3d9052787c650d6bb5b1168a5afdeafb002201e9691b6093383af569463158d6dcfb6dd6649054c6a3aeaafa435d36b74dc0201ffffffff06195fcbe6c657da6cbfc69892ffb67470fbae568fa826169201aabdc2f2ad82000000004948304502210080952f9f65195b4f2122bba7e14c049a4253b5c356d548c550bb38f1317a31f002205b7c3743bfbab00ff100174edf1367aee599c6df02afde5c62680b68d1ecd64901ffffffff0612f70038d70cfff5a1bf02d39357d567aa0b02e98c97fd877399fbd0763dff0000000048473044022056104b269b860662025808532cc594a11de207be0b0121a247aa1c3abfa834cc02204486e95cb0d1b27a41e4b3af458c6181c0e6d2a97eb8fb32df313ce423e8f81601ffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc502198000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000fd19076a4d150713520d41746f6d696357617272696f72210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270afde006e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba00000000f55700000000000000000000000000\",\n \"txid\": \"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-10"},{"text":"{\n \"handle\": \"AtomicWarrior\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"hex\": \"0400008085202f890c3ac9dfb08a10d3e47274ad9c1f3de2e59b4dc34b433ec7a171cc15880b67fed5000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a019652681408acebab227b096d42a78dddf98b4e834a164e5627e63d1223cceac25e6f8e41617c30ee7463ab48b1229b9ead2aed29b2472f265d5d347f4ab17b3c93f47d5c1a100af03800113a10001ffffffff05ddc1a108a5313bb185ded05ace4d8e29a2f4608f0c7ff7251d11595f3a445f000000004847304402200b10d4b69c39a3fbb15060908c82703e2bf5e573eb01c852fbc2ef531ebafd81022036e4faa9a8ed04ca8502da4c0c20ce6d3b25f82716d1c694557b56e98a26b95e01ffffffff07cd294b67f76a3745a00fb2ab20f6c329eb9f69bd5ef924773bec9caf95821a000000004847304402204a18f2084fd6ce364267bdc708d610028ba41c3155dc895db578c7739abb33950220656b8184a333f806923a29a24f9aca24a122e482d1c66cbab5d811790edb69e201ffffffff076950481295bc4ed92a1967107684288f9702951c302cbd1dcd769e51b42114000000004847304402206c294c39d279f44f7d36d72706a25b296d9fe4a5f8f675dd607cbdc5ba9b93b402201660a9d6d935355fe979b33c50b25b267125a9fc463abc5346355cb953e6e7c801ffffffff07386ff4ac0a46d343afc36786709ca93f08bcf1feb3562ea7baf3bd58cd7a2f000000004847304402207e66ea8cf31bcbbc156cc2d8b020a95440183ea3034dea20607b6a7ef28b9efc02206577bf339d49ecbf698cf434e6ad63f3ca41f83be446a3998d397f097b9d0e3f01ffffffff071395c451379d66ee21321e376721d67fe510287393499ebcf1a67683f3d611000000004847304402203ed2d7ebbe1165bfc02efec4f95905473d2fe4f0fafbe7d0fccac39d379958eb022008c385d3fe93f3a6e10ec4ce78b67f5a93f3df43c08be7534ca55036aef291d701ffffffff0682a878de10392b1807abf35589c9a3aea4137b12d61716be974934a9b116cd0000000049483045022100f6dd23ae75da9f0ba01927f32bbe03e90e16f0f216227400c58f331b3526619002202c522e7b622409ee1974f03022940daf7b0046523b1c69c03fc16b3a55c21f1d01ffffffff066f21010b80faee30bca88603439389aa2274e52ca8f4d288d6881997a1f06f000000004847304402201d98276f505fc969ecc1f5f4df2d71e371b9537f94e466ab6b35594b13afbf1d02202dca6c57312019400809d9bcc7fedccda65d02ca0fb492a72f98128ca4b95d1001ffffffff066e38c8bf4aa889d9dcc53aeec1a95d548400211280fe24d4c0e73de69309bb0000000049483045022100e8255e4b42d3084a66afd9984c7345cec47a15b509f49c4b04d4fafce5bfb77c02206152baa639a6393a4f86db5fd6739cfd096701a1617210aa7138dd8c752bd46701ffffffff06507713eb6ba1246886e7c8364b5c7aeece7251f85d0ba50190365651e161c7000000004847304402203a19e60986b7f45ba8dedaaefae62ab3d9052787c650d6bb5b1168a5afdeafb002201e9691b6093383af569463158d6dcfb6dd6649054c6a3aeaafa435d36b74dc0201ffffffff06195fcbe6c657da6cbfc69892ffb67470fbae568fa826169201aabdc2f2ad82000000004948304502210080952f9f65195b4f2122bba7e14c049a4253b5c356d548c550bb38f1317a31f002205b7c3743bfbab00ff100174edf1367aee599c6df02afde5c62680b68d1ecd64901ffffffff0612f70038d70cfff5a1bf02d39357d567aa0b02e98c97fd877399fbd0763dff0000000048473044022056104b269b860662025808532cc594a11de207be0b0121a247aa1c3abfa834cc02204486e95cb0d1b27a41e4b3af458c6181c0e6d2a97eb8fb32df313ce423e8f81601ffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc502198000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000fd19076a4d150713520d41746f6d696357617272696f72210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270afde006e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba00000000f55700000000000000000000000000\",\n \"txid\": \"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-10"},{"text":"Broadcast the hex","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-2"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890c3ac9dfb08a10d3e47274ad9c1f3de2e59b4dc34b433ec7a171cc15880b67fed5000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a019652681408acebab227b096d42a78dddf98b4e834a164e5627e63d1223cceac25e6f8e41617c30ee7463ab48b1229b9ead2aed29b2472f265d5d347f4ab17b3c93f47d5c1a100af03800113a10001ffffffff05ddc1a108a5313bb185ded05ace4d8e29a2f4608f0c7ff7251d11595f3a445f000000004847304402200b10d4b69c39a3fbb15060908c82703e2bf5e573eb01c852fbc2ef531ebafd81022036e4faa9a8ed04ca8502da4c0c20ce6d3b25f82716d1c694557b56e98a26b95e01ffffffff07cd294b67f76a3745a00fb2ab20f6c329eb9f69bd5ef924773bec9caf95821a000000004847304402204a18f2084fd6ce364267bdc708d610028ba41c3155dc895db578c7739abb33950220656b8184a333f806923a29a24f9aca24a122e482d1c66cbab5d811790edb69e201ffffffff076950481295bc4ed92a1967107684288f9702951c302cbd1dcd769e51b42114000000004847304402206c294c39d279f44f7d36d72706a25b296d9fe4a5f8f675dd607cbdc5ba9b93b402201660a9d6d935355fe979b33c50b25b267125a9fc463abc5346355cb953e6e7c801ffffffff07386ff4ac0a46d343afc36786709ca93f08bcf1feb3562ea7baf3bd58cd7a2f000000004847304402207e66ea8cf31bcbbc156cc2d8b020a95440183ea3034dea20607b6a7ef28b9efc02206577bf339d49ecbf698cf434e6ad63f3ca41f83be446a3998d397f097b9d0e3f01ffffffff071395c451379d66ee21321e376721d67fe510287393499ebcf1a67683f3d611000000004847304402203ed2d7ebbe1165bfc02efec4f95905473d2fe4f0fafbe7d0fccac39d379958eb022008c385d3fe93f3a6e10ec4ce78b67f5a93f3df43c08be7534ca55036aef291d701ffffffff0682a878de10392b1807abf35589c9a3aea4137b12d61716be974934a9b116cd0000000049483045022100f6dd23ae75da9f0ba01927f32bbe03e90e16f0f216227400c58f331b3526619002202c522e7b622409ee1974f03022940daf7b0046523b1c69c03fc16b3a55c21f1d01ffffffff066f21010b80faee30bca88603439389aa2274e52ca8f4d288d6881997a1f06f000000004847304402201d98276f505fc969ecc1f5f4df2d71e371b9537f94e466ab6b35594b13afbf1d02202dca6c57312019400809d9bcc7fedccda65d02ca0fb492a72f98128ca4b95d1001ffffffff066e38c8bf4aa889d9dcc53aeec1a95d548400211280fe24d4c0e73de69309bb0000000049483045022100e8255e4b42d3084a66afd9984c7345cec47a15b509f49c4b04d4fafce5bfb77c02206152baa639a6393a4f86db5fd6739cfd096701a1617210aa7138dd8c752bd46701ffffffff06507713eb6ba1246886e7c8364b5c7aeece7251f85d0ba50190365651e161c7000000004847304402203a19e60986b7f45ba8dedaaefae62ab3d9052787c650d6bb5b1168a5afdeafb002201e9691b6093383af569463158d6dcfb6dd6649054c6a3aeaafa435d36b74dc0201ffffffff06195fcbe6c657da6cbfc69892ffb67470fbae568fa826169201aabdc2f2ad82000000004948304502210080952f9f65195b4f2122bba7e14c049a4253b5c356d548c550bb38f1317a31f002205b7c3743bfbab00ff100174edf1367aee599c6df02afde5c62680b68d1ecd64901ffffffff0612f70038d70cfff5a1bf02d39357d567aa0b02e98c97fd877399fbd0763dff0000000048473044022056104b269b860662025808532cc594a11de207be0b0121a247aa1c3abfa834cc02204486e95cb0d1b27a41e4b3af458c6181c0e6d2a97eb8fb32df313ce423e8f81601ffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc502198000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000fd19076a4d150713520d41746f6d696357617272696f72210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270afde006e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba00000000f55700000000000000000000000000\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-2"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890c3ac9dfb08a10d3e47274ad9c1f3de2e59b4dc34b433ec7a171cc15880b67fed5000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a019652681408acebab227b096d42a78dddf98b4e834a164e5627e63d1223cceac25e6f8e41617c30ee7463ab48b1229b9ead2aed29b2472f265d5d347f4ab17b3c93f47d5c1a100af03800113a10001ffffffff05ddc1a108a5313bb185ded05ace4d8e29a2f4608f0c7ff7251d11595f3a445f000000004847304402200b10d4b69c39a3fbb15060908c82703e2bf5e573eb01c852fbc2ef531ebafd81022036e4faa9a8ed04ca8502da4c0c20ce6d3b25f82716d1c694557b56e98a26b95e01ffffffff07cd294b67f76a3745a00fb2ab20f6c329eb9f69bd5ef924773bec9caf95821a000000004847304402204a18f2084fd6ce364267bdc708d610028ba41c3155dc895db578c7739abb33950220656b8184a333f806923a29a24f9aca24a122e482d1c66cbab5d811790edb69e201ffffffff076950481295bc4ed92a1967107684288f9702951c302cbd1dcd769e51b42114000000004847304402206c294c39d279f44f7d36d72706a25b296d9fe4a5f8f675dd607cbdc5ba9b93b402201660a9d6d935355fe979b33c50b25b267125a9fc463abc5346355cb953e6e7c801ffffffff07386ff4ac0a46d343afc36786709ca93f08bcf1feb3562ea7baf3bd58cd7a2f000000004847304402207e66ea8cf31bcbbc156cc2d8b020a95440183ea3034dea20607b6a7ef28b9efc02206577bf339d49ecbf698cf434e6ad63f3ca41f83be446a3998d397f097b9d0e3f01ffffffff071395c451379d66ee21321e376721d67fe510287393499ebcf1a67683f3d611000000004847304402203ed2d7ebbe1165bfc02efec4f95905473d2fe4f0fafbe7d0fccac39d379958eb022008c385d3fe93f3a6e10ec4ce78b67f5a93f3df43c08be7534ca55036aef291d701ffffffff0682a878de10392b1807abf35589c9a3aea4137b12d61716be974934a9b116cd0000000049483045022100f6dd23ae75da9f0ba01927f32bbe03e90e16f0f216227400c58f331b3526619002202c522e7b622409ee1974f03022940daf7b0046523b1c69c03fc16b3a55c21f1d01ffffffff066f21010b80faee30bca88603439389aa2274e52ca8f4d288d6881997a1f06f000000004847304402201d98276f505fc969ecc1f5f4df2d71e371b9537f94e466ab6b35594b13afbf1d02202dca6c57312019400809d9bcc7fedccda65d02ca0fb492a72f98128ca4b95d1001ffffffff066e38c8bf4aa889d9dcc53aeec1a95d548400211280fe24d4c0e73de69309bb0000000049483045022100e8255e4b42d3084a66afd9984c7345cec47a15b509f49c4b04d4fafce5bfb77c02206152baa639a6393a4f86db5fd6739cfd096701a1617210aa7138dd8c752bd46701ffffffff06507713eb6ba1246886e7c8364b5c7aeece7251f85d0ba50190365651e161c7000000004847304402203a19e60986b7f45ba8dedaaefae62ab3d9052787c650d6bb5b1168a5afdeafb002201e9691b6093383af569463158d6dcfb6dd6649054c6a3aeaafa435d36b74dc0201ffffffff06195fcbe6c657da6cbfc69892ffb67470fbae568fa826169201aabdc2f2ad82000000004948304502210080952f9f65195b4f2122bba7e14c049a4253b5c356d548c550bb38f1317a31f002205b7c3743bfbab00ff100174edf1367aee599c6df02afde5c62680b68d1ecd64901ffffffff0612f70038d70cfff5a1bf02d39357d567aa0b02e98c97fd877399fbd0763dff0000000048473044022056104b269b860662025808532cc594a11de207be0b0121a247aa1c3abfa834cc02204486e95cb0d1b27a41e4b3af458c6181c0e6d2a97eb8fb32df313ce423e8f81601ffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc502198000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000fd19076a4d150713520d41746f6d696357617272696f72210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270afde006e4f25d02a6aebaa196ef1ba40f9c8156ff691b5505c72c304f9bcb4c0506167447056dc7341b1431132d0099e8e0a7c134fdad28e6ef8a290c24652260502f43876c043b5bc48f8624c2c396ce1a10e2da59fb73d5523bbe830eabfa6271f33981c54b519c25cd6a76f8298d4f380c96c8dda1a95b45c672bce7c67afa1620cafb5650c1b48758256548b6513f4b8862aa2ca959d244a3955fe095cbf07458e6dec3f73d1afa9f4cf40213d3e7355499cc23f9cec63437a352751d2b95a0353e5ccf70eb2ec5b6d00bba3f12d8e5af3ee752612361e0eb474a3f7221175462e9c171bc6cf709aa5ab53a7683c24decd759f97503a2118f798da1eac081ab7c9e61fe8697746dbe1e798690c9ee600ee53eb336b714130404ed9c5f0d1407a007641b723e59c9bd5178cd42953d10b97d367fd75fa0cccdbe7daaee7b11698e667f1fec2a78d5b94a013efc2d9fce26ef7bcb44371e04854a0f039256fbbe0d472f89b572f5a252528d426a6642fb92d243092b35976b54ece95e0ac246491f6dd024a7ba6cc164fd5172e50c893ef974abe1929f286036cdaf7a5c0395bee9d8feab5b80c07cf4d0b88e4df10a08bd4187bcf82e34a5631a32fae96ec25f992e20b7987df6d0d70535dc247640c00a3b4baeca3a579fa91dad116f3fac11223be5848bd9f34edd0fa3528adde06896f1e363ded56ad6feee9b9bda41f32d4d1279d005e6eb7997bb73dd085154738d11ab800a3d0964c441cb2117d6859ce6908b0525161bec38ccfa3ad71f6005b5891facfc54a2a25b758f8067f754abe41fc769ecea5b83c0a91f4edf549760954276d4f3703c7c563c5a9003501ceed81f382903d581fcb1fd823a0a9caea81250005cee48e98676df2f0cea71fc2ef0decf3d3bdd7b0d5c8ef7f64a8b6fe160290b57c2724bbbb264ed2b6f48a585174c30afd51cd5bb43138d7f88853cb9919a697816c9d0ccdee186858eb48d76853abfdf1629a3a3d781786b55ca1d19413304341b3db4e2a390b410d8da35597d53be07149a1da27c1e0c439565f404259cfbf9a90511bca1f3bc2c7d9592c95eb83da99f848f551a402004e7a7af1896d05899da19e2a133ee50dce1eba96ffb626340cdf713cedf8579fd76d65f144f47065b4517b6be66cdf112029300ccdfda9158be86845195f5e7a50c90a7360e4470ec7b28700393d0d8685cc32c5f352de03f38efc2b6a379def182aae527ee18dd69c0e4cf1398b220e26dd052371a83db082f55318c0e0fc27568f5a6122484f889cb73d29c8da6f91a65035543088a87e68c2b8ce2f7c87a0613f89a04d372e19a1aaaa5309a032d01c20b8d56c819a85fa19f2ae1dbdf36c83b65fbdf76026cc91925ca06254759c0b6613e11a9cda6413e52695fb20cd61145d477d779a389e63eaeeefe6bcd1588e7b149cdb234616764f13b8e61e045d2ce9e53668aab202d7d941fb5d314fbb2c12d9baf71ccd2a43ae8745973626ac4d3c15b4d4df8a756bafaa6c56f3cddf78e3cc008c909ab31bf9716283d1c91688efba7ecc048218a5becee52cbb22fdd57f6907563106aae0ba8daded1050a3617d5962d108aece6b25309fbb63f739beba4dd5117c7d36ce5ea324c2fe98b27e9094acd8e9038e41ae5e7f5e7db705f1b297a341f3ba10f3a86942581d97825e97e0e43b0308cb3b283d303b5115c539cf4b51e0e963aff3270b696159fce3e3e7e5887a15e2c40c0fc308d037adcbde18e765915bd990039df9e78c5af9e5a7ab96bfc79680e2c6e937599893a737a8fb0910309cd75dac3b699a048274a987fa1b3d70d80a21eb23ba8191b508440ba5264998d46ba951df5a022226efcf8526e765cb88048675ab5bf3158bde9776f670b3e914c44c1ce5dfbb806a27b7155e8b3a12e728899b61781ddd1e7000ae120afd025675d50c491ffd7e97698feddfb1cff0b0d1cc428d2f0be466e58a081985d444777c4add2475fc80dfb4bba5e191b4bc6b631fad2d96a910254366b94fe45c116d08c8c01c0158073f9f5af721f08d772f95ac5a6d55b69c9adc3abc4e9d816cf4bdb86fec744fcf0817142079fb97c74335eda37b2bb4124c6ed91ef1b1c7285195a197d82dd755697c9136e49b652bfdbf7682558d8f70fa9adb9c4c5c0b32545fdf7313f6d68fe0a77c38c49b18ae79dc57aaba711e8ae3f8be3a007f84bf26b3f8967b95f4696d3a37598f69deab9e3d1e251d6a095280e1e3d1f873aa53942182dac1bf768a4c3bd8df15fa58589ca7e979dc5f6707729f064d1cc24bedbe3ad9404a1767918278677362a253a723223da676331c4cabe11afc441a365abdeb119fa5f6b66107efdd2546ada80014b382a62e90f360127279ffb54835b34ce886d2918160b05d9b4e91996467aacc6dcfffd56c13138c04e50b63693a3a6e3843b649ed2e18986aea35d35634343a7c50de1aeb8730f6276080549bf43a1ba00000000f55700000000000000000000000000\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-2"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-11"},{"text":"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-11"},{"text":"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-11"},{"text":"send","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"cclib send 19 '[\"handle\", \"pubtxid\", amount]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"cclib send 19 '[\"handle\", \"pubtxid\", amount]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"The send method sends the specified amount of coins to a handle associated with the pubtxid","tagName":"p","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"send","tagName":"code","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"pubtxid","tagName":"code","path":"antara/api/dilithium","closestElementReference":"send"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-12"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-5"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 19 '[\"AtomicWarrior\",\"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",1]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 19 '[\"AtomicWarrior\",\"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",1]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-6"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-13"},{"text":"{\n \"handle\": \"AtomicWarrior\",\n \"hex\": \"0400008085202f890b07d7463ac5b5ff1212587b75c8415a92a628e4dc211561b90ea5ac7b37af2935000000004847304402205055d1e1babbd1216613d6e57e23b7de86ebc6a4df935db181a10ad9b1e6d23302202d69603b098a0565df5ddf1cafe96cd0fd591fe47c4fa2701e77135ed3c797af01ffffffff0ac7f5fbcfa6fe533bb619d98cca38406b6b97e69d91090c2a1b9fc210163890000000004847304402201b4cf6a262534b5e1ddeca3e1289cb0d32e4a9f1349b557a998ea455c02a890d022008eed182ee47bff2d14af9d130704c4a38bc7bd683c38c9cee81142c208e112e01ffffffff0a43b879094d181d1d3746320f50edd11b931a32fb666ffac69b3fabf52e78e40000000048473044022067c0ca1d5166566b82c73217369ab19acbb53a01a8d7ff1636c5f77d735e5f7202201d542b4dbe7ea47a102f460f7930c183d9022fcfe35437b5f7898c154267e56a01ffffffff0a33490539d3829b5a7c2f6de716003a50ecd5228c79104517c718aa8de2ce8c0000000049483045022100c683d67b101ecc094c84607a3e10d9387aa47520a48e3f60d446fc9e8d85624b02203d520bb85d860858c947d7e138b7228ad810da47a6ce37cbb530f8811d24c0d301ffffffff0a3292a70b1a9fe7a3617abc9ba62da3d01bd0388b18dce657b795ee83a0b1390000000049483045022100f2cb8a23e21256dccfc778be883bd0a2961c5df5295cf66ec0ba6bfb8b4bc046022035c25c9b477946fe89c3ca5e26a045c441d13ec17e34864e16155ff9146be98e01ffffffff09be749efbfc980b15412a17871be7dbf521e13670bf1c8361c5a25e63daf69a000000004847304402200c5aa79cf8cb57c2907996b12671137ae8703e95b446ff16bcc719f64405a6ec02201e01bf4cf19899de0de7f171511e726618d9ea85534537d15b2ebfd74e2876c501ffffffff09970f055331edf5f93031a82fb909bb1aa6002eb557b4a6edbd858eb966febf0000000049483045022100a2fb27660fbdb3d5781e57a81cc3984cdf180855c6ef7335dd01d2ec35c709b5022069059395a6fa1bbb43ab2235f7f80c73bd3c8d29bc7fd50892c70cf15508a17001ffffffff093930519de533d4330040a695cc8646f61fa748542101b8d3d8345d4d35af700000000047463043021f3046d7bc0279e1c8fe114ccbdee8f15056371c66f0cef0beab44f6f522732f0220686b590b057847912c3e80eae4de68dc6a28c331917fd3671d1ee4aad31c785601ffffffff087d867b365921b9f063a2e58575b86fb52a6ad8d119edcc8714eba24e770a0100000000484730440220020d29a6f465428fd481b1ed11b4b9e2f086e2b6a19aa67c1002f5db65a92fa502205befab5889abb22d4e774633d6073f46827424325317d2813f3b64058fb544b001ffffffff08172d2236ac25430e3bdb64593fd2a440ceb32b007779f6f792f319d187a6570000000048473044022056060b04e790137ae7891d050063c2dda3be5ffbc7f1be30be8d9312949d47a702205634bca2147819b6b9a498762075d78636cd73d1fd263b380317ae1015c9b63601ffffffff0807d4a2de4712a21cf48b89f8667765506bd8a525265c836adbcc43c3fdb3b70000000049483045022100e45854defca9139c4f12ed2d4a8123758978ec9e8c685e580484dbfa72179858022019a354068e28c4807cecb95d85dc6a6b67b83657d8636108f28ba1eddf30037b01ffffffff0300e1f50500000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc706f98000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000246a2213782ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44ea00000000f55700000000000000000000000000\",\n \"txid\": \"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-13"},{"text":"{\n \"handle\": \"AtomicWarrior\",\n \"hex\": \"0400008085202f890b07d7463ac5b5ff1212587b75c8415a92a628e4dc211561b90ea5ac7b37af2935000000004847304402205055d1e1babbd1216613d6e57e23b7de86ebc6a4df935db181a10ad9b1e6d23302202d69603b098a0565df5ddf1cafe96cd0fd591fe47c4fa2701e77135ed3c797af01ffffffff0ac7f5fbcfa6fe533bb619d98cca38406b6b97e69d91090c2a1b9fc210163890000000004847304402201b4cf6a262534b5e1ddeca3e1289cb0d32e4a9f1349b557a998ea455c02a890d022008eed182ee47bff2d14af9d130704c4a38bc7bd683c38c9cee81142c208e112e01ffffffff0a43b879094d181d1d3746320f50edd11b931a32fb666ffac69b3fabf52e78e40000000048473044022067c0ca1d5166566b82c73217369ab19acbb53a01a8d7ff1636c5f77d735e5f7202201d542b4dbe7ea47a102f460f7930c183d9022fcfe35437b5f7898c154267e56a01ffffffff0a33490539d3829b5a7c2f6de716003a50ecd5228c79104517c718aa8de2ce8c0000000049483045022100c683d67b101ecc094c84607a3e10d9387aa47520a48e3f60d446fc9e8d85624b02203d520bb85d860858c947d7e138b7228ad810da47a6ce37cbb530f8811d24c0d301ffffffff0a3292a70b1a9fe7a3617abc9ba62da3d01bd0388b18dce657b795ee83a0b1390000000049483045022100f2cb8a23e21256dccfc778be883bd0a2961c5df5295cf66ec0ba6bfb8b4bc046022035c25c9b477946fe89c3ca5e26a045c441d13ec17e34864e16155ff9146be98e01ffffffff09be749efbfc980b15412a17871be7dbf521e13670bf1c8361c5a25e63daf69a000000004847304402200c5aa79cf8cb57c2907996b12671137ae8703e95b446ff16bcc719f64405a6ec02201e01bf4cf19899de0de7f171511e726618d9ea85534537d15b2ebfd74e2876c501ffffffff09970f055331edf5f93031a82fb909bb1aa6002eb557b4a6edbd858eb966febf0000000049483045022100a2fb27660fbdb3d5781e57a81cc3984cdf180855c6ef7335dd01d2ec35c709b5022069059395a6fa1bbb43ab2235f7f80c73bd3c8d29bc7fd50892c70cf15508a17001ffffffff093930519de533d4330040a695cc8646f61fa748542101b8d3d8345d4d35af700000000047463043021f3046d7bc0279e1c8fe114ccbdee8f15056371c66f0cef0beab44f6f522732f0220686b590b057847912c3e80eae4de68dc6a28c331917fd3671d1ee4aad31c785601ffffffff087d867b365921b9f063a2e58575b86fb52a6ad8d119edcc8714eba24e770a0100000000484730440220020d29a6f465428fd481b1ed11b4b9e2f086e2b6a19aa67c1002f5db65a92fa502205befab5889abb22d4e774633d6073f46827424325317d2813f3b64058fb544b001ffffffff08172d2236ac25430e3bdb64593fd2a440ceb32b007779f6f792f319d187a6570000000048473044022056060b04e790137ae7891d050063c2dda3be5ffbc7f1be30be8d9312949d47a702205634bca2147819b6b9a498762075d78636cd73d1fd263b380317ae1015c9b63601ffffffff0807d4a2de4712a21cf48b89f8667765506bd8a525265c836adbcc43c3fdb3b70000000049483045022100e45854defca9139c4f12ed2d4a8123758978ec9e8c685e580484dbfa72179858022019a354068e28c4807cecb95d85dc6a6b67b83657d8636108f28ba1eddf30037b01ffffffff0300e1f50500000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc706f98000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000246a2213782ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44ea00000000f55700000000000000000000000000\",\n \"txid\": \"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-13"},{"text":"Broadcast the hex","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-3"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890b07d7463ac5b5ff1212587b75c8415a92a628e4dc211561b90ea5ac7b37af2935000000004847304402205055d1e1babbd1216613d6e57e23b7de86ebc6a4df935db181a10ad9b1e6d23302202d69603b098a0565df5ddf1cafe96cd0fd591fe47c4fa2701e77135ed3c797af01ffffffff0ac7f5fbcfa6fe533bb619d98cca38406b6b97e69d91090c2a1b9fc210163890000000004847304402201b4cf6a262534b5e1ddeca3e1289cb0d32e4a9f1349b557a998ea455c02a890d022008eed182ee47bff2d14af9d130704c4a38bc7bd683c38c9cee81142c208e112e01ffffffff0a43b879094d181d1d3746320f50edd11b931a32fb666ffac69b3fabf52e78e40000000048473044022067c0ca1d5166566b82c73217369ab19acbb53a01a8d7ff1636c5f77d735e5f7202201d542b4dbe7ea47a102f460f7930c183d9022fcfe35437b5f7898c154267e56a01ffffffff0a33490539d3829b5a7c2f6de716003a50ecd5228c79104517c718aa8de2ce8c0000000049483045022100c683d67b101ecc094c84607a3e10d9387aa47520a48e3f60d446fc9e8d85624b02203d520bb85d860858c947d7e138b7228ad810da47a6ce37cbb530f8811d24c0d301ffffffff0a3292a70b1a9fe7a3617abc9ba62da3d01bd0388b18dce657b795ee83a0b1390000000049483045022100f2cb8a23e21256dccfc778be883bd0a2961c5df5295cf66ec0ba6bfb8b4bc046022035c25c9b477946fe89c3ca5e26a045c441d13ec17e34864e16155ff9146be98e01ffffffff09be749efbfc980b15412a17871be7dbf521e13670bf1c8361c5a25e63daf69a000000004847304402200c5aa79cf8cb57c2907996b12671137ae8703e95b446ff16bcc719f64405a6ec02201e01bf4cf19899de0de7f171511e726618d9ea85534537d15b2ebfd74e2876c501ffffffff09970f055331edf5f93031a82fb909bb1aa6002eb557b4a6edbd858eb966febf0000000049483045022100a2fb27660fbdb3d5781e57a81cc3984cdf180855c6ef7335dd01d2ec35c709b5022069059395a6fa1bbb43ab2235f7f80c73bd3c8d29bc7fd50892c70cf15508a17001ffffffff093930519de533d4330040a695cc8646f61fa748542101b8d3d8345d4d35af700000000047463043021f3046d7bc0279e1c8fe114ccbdee8f15056371c66f0cef0beab44f6f522732f0220686b590b057847912c3e80eae4de68dc6a28c331917fd3671d1ee4aad31c785601ffffffff087d867b365921b9f063a2e58575b86fb52a6ad8d119edcc8714eba24e770a0100000000484730440220020d29a6f465428fd481b1ed11b4b9e2f086e2b6a19aa67c1002f5db65a92fa502205befab5889abb22d4e774633d6073f46827424325317d2813f3b64058fb544b001ffffffff08172d2236ac25430e3bdb64593fd2a440ceb32b007779f6f792f319d187a6570000000048473044022056060b04e790137ae7891d050063c2dda3be5ffbc7f1be30be8d9312949d47a702205634bca2147819b6b9a498762075d78636cd73d1fd263b380317ae1015c9b63601ffffffff0807d4a2de4712a21cf48b89f8667765506bd8a525265c836adbcc43c3fdb3b70000000049483045022100e45854defca9139c4f12ed2d4a8123758978ec9e8c685e580484dbfa72179858022019a354068e28c4807cecb95d85dc6a6b67b83657d8636108f28ba1eddf30037b01ffffffff0300e1f50500000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc706f98000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000246a2213782ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44ea00000000f55700000000000000000000000000\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-3"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890b07d7463ac5b5ff1212587b75c8415a92a628e4dc211561b90ea5ac7b37af2935000000004847304402205055d1e1babbd1216613d6e57e23b7de86ebc6a4df935db181a10ad9b1e6d23302202d69603b098a0565df5ddf1cafe96cd0fd591fe47c4fa2701e77135ed3c797af01ffffffff0ac7f5fbcfa6fe533bb619d98cca38406b6b97e69d91090c2a1b9fc210163890000000004847304402201b4cf6a262534b5e1ddeca3e1289cb0d32e4a9f1349b557a998ea455c02a890d022008eed182ee47bff2d14af9d130704c4a38bc7bd683c38c9cee81142c208e112e01ffffffff0a43b879094d181d1d3746320f50edd11b931a32fb666ffac69b3fabf52e78e40000000048473044022067c0ca1d5166566b82c73217369ab19acbb53a01a8d7ff1636c5f77d735e5f7202201d542b4dbe7ea47a102f460f7930c183d9022fcfe35437b5f7898c154267e56a01ffffffff0a33490539d3829b5a7c2f6de716003a50ecd5228c79104517c718aa8de2ce8c0000000049483045022100c683d67b101ecc094c84607a3e10d9387aa47520a48e3f60d446fc9e8d85624b02203d520bb85d860858c947d7e138b7228ad810da47a6ce37cbb530f8811d24c0d301ffffffff0a3292a70b1a9fe7a3617abc9ba62da3d01bd0388b18dce657b795ee83a0b1390000000049483045022100f2cb8a23e21256dccfc778be883bd0a2961c5df5295cf66ec0ba6bfb8b4bc046022035c25c9b477946fe89c3ca5e26a045c441d13ec17e34864e16155ff9146be98e01ffffffff09be749efbfc980b15412a17871be7dbf521e13670bf1c8361c5a25e63daf69a000000004847304402200c5aa79cf8cb57c2907996b12671137ae8703e95b446ff16bcc719f64405a6ec02201e01bf4cf19899de0de7f171511e726618d9ea85534537d15b2ebfd74e2876c501ffffffff09970f055331edf5f93031a82fb909bb1aa6002eb557b4a6edbd858eb966febf0000000049483045022100a2fb27660fbdb3d5781e57a81cc3984cdf180855c6ef7335dd01d2ec35c709b5022069059395a6fa1bbb43ab2235f7f80c73bd3c8d29bc7fd50892c70cf15508a17001ffffffff093930519de533d4330040a695cc8646f61fa748542101b8d3d8345d4d35af700000000047463043021f3046d7bc0279e1c8fe114ccbdee8f15056371c66f0cef0beab44f6f522732f0220686b590b057847912c3e80eae4de68dc6a28c331917fd3671d1ee4aad31c785601ffffffff087d867b365921b9f063a2e58575b86fb52a6ad8d119edcc8714eba24e770a0100000000484730440220020d29a6f465428fd481b1ed11b4b9e2f086e2b6a19aa67c1002f5db65a92fa502205befab5889abb22d4e774633d6073f46827424325317d2813f3b64058fb544b001ffffffff08172d2236ac25430e3bdb64593fd2a440ceb32b007779f6f792f319d187a6570000000048473044022056060b04e790137ae7891d050063c2dda3be5ffbc7f1be30be8d9312949d47a702205634bca2147819b6b9a498762075d78636cd73d1fd263b380317ae1015c9b63601ffffffff0807d4a2de4712a21cf48b89f8667765506bd8a525265c836adbcc43c3fdb3b70000000049483045022100e45854defca9139c4f12ed2d4a8123758978ec9e8c685e580484dbfa72179858022019a354068e28c4807cecb95d85dc6a6b67b83657d8636108f28ba1eddf30037b01ffffffff0300e1f50500000000302ea22c8020749dd6534e79a31aeba03df3b0ea58632a0beffc3411b54b7cc0e714ae2dd61f8103120c008203000401cc706f98000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000246a2213782ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44ea00000000f55700000000000000000000000000\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-3"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-14"},{"text":"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-14"},{"text":"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-14"},{"text":"sign","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"cclib sign 19 '[\"msg\", \"hexseed\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"cclib sign 19 '[\"msg\", \"hexseed\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"The sign method signs a given 32 byte msg (message) in hex format using the supplied Dilithium hexseed .","tagName":"p","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"sign","tagName":"code","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"msg","tagName":"code","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"hexseed","tagName":"code","path":"antara/api/dilithium","closestElementReference":"sign"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-15"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-6"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib sign 19 '[\"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\"a70a8e7d2281beaf0762a11590fb566\nd7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib sign 19 '[\"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\"a70a8e7d2281beaf0762a11590fb566\nd7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-7"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-16"},{"text":"{\n \"msg32\": \"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"signature\": \"d89f666a168c6c704a80c63165a93edb1c8c4a23f1e47feb160122669fc081735a66f5c95d1ac524e6bc2e719114e13be356e8e890ba16358464c5498181e2cc6d9f49066588c11f89f89c5f09a3ca122990cbe576c85c81a283a1ef9d69e162dfb6547f5fc09265cac4cca94a30850ee5f6fd638e4d3a9f59576fa1ef6bf621a04f506aa7cbe76bfad672f107131948de8fdc2925e90268bf240de4aa1859a20b529432dedb5253490f0b45295e81e1541e9ffb2c8774b6822c45a038dee590fc9f2ab1826015d37c678d2b9a91349b7f2c78c43379af0ec5dc85206d192142ed14be09acb304d1b8531a3885a2bf48022600b911420ff99340899fe4f7e4c921f10a65948c145ac5f7c685e72bbb23a1ac4557b1a91b3191a5ec7f229254c740a03a4c296fc1249cf953bb9a17f0a1fe6a63b351b3ff8a2bfb0bb0c047564e01dcfa87c5616e1cf09578672c64269b5277cb82b8f054a058b8fed76159bfa82fdcd9b65662f63a1cad4ce74941ebf342760ce1511b435b9d4b77a3aa9c48964543e711a32a8d76de338647ba6f9d0c7582a517fe4f6bc2a25b976ba7214cf88b09857e365780d2c8d5fe158b53c02ffc5083eb83effbf41cc33051214d8b97d510ae4cf76cbc8c2e03c3f17ffed1cc2143d6f6154b9ed8bc7db97a06843ca1de096e4050a81e4bec673bd333380bc824bc80e9a1e6a4dae1846cd5738bca677365e6166ee87ba34b86ac74bcd322be3434fda5ef802a7714248f4854ce39f9c6f9a1249353dbef610b2616f6a083c3699bc7c8e5ca6865cc15fde196b2faa88e3e1126c818185bca2275762d9ec8ec440d0489c0725908c8fd104f99c8bf730bda01e31c202e43f186d09f11c0de4825c49f88ece9ffa23d462c502332210afa9af5110134c35b68718b0f117df6b45b9aa0466c95e95f81ed19794a2dc33cfd58ee4fcb4f824ffdc8e238a32317f2584db98e7bda9b2f661842b3924edaa441dea32b4e5357c3f8d424d48acf3d3f0964e69e64130b2d3c5ebc806135cc53fa8f1e1a04444ac5116177dd08e17c2c29cfa49971ec083cf8ebe424f3e84c4e5630c7b5053f9607a9b4df56195d8a07c3eee4bb265cd6fea253fb7af45855c712b83a0f5c01732fbf73ac8931edaccae71367956c5374f4d7c96c1ffcde9fc2d0d8fbc5eb4fc8d3829be53f1b2e537ac1ee659111438c2a6d11acb4f502594ae617685b1176aba19a79dc9d754b48db84cb6a83c9dbcc4ce0ed6b640d31bfed99df78f8a34521e0fde9bd14e168eeaf6cb4da6a29b48df655fba872312f9f876fcc8125b7b3768046e8f9d28f0c5526b9dc2b26887fe79e0b1e0b065055698ff27c68bb0dbdda057d0b5616cdcc89a8538ee1d030ca6ca6f6db71d0b1cd0f03cdc96c9cb3bb45689e923820d17f36d675a764402bf6b08fe7b3356f75fe51644ee577dc209760c6195afe71c7d8e32fdedd2a035ddf29561252ea92e4f7e674eb0c6a679f1fe4d1a63e3423f3e36e60ce93ec12a4e88bd2546b25d8c702990a55fdc37d1d5bfc1fdb029851464ebecadef443f03eb126bf48a06f43afac89278e9e8b100295137139b7d37706c36d0a3687181cf10ede3a4e2cbcc478831dbbd99eee03f9bcff02a2f1887a9ee85f932d3e22eb43d4541ef48528a921814e1d203086507df78f84bc119afc2febf445660c73e88739d53be3762ae3c6800413cb2d963239b4ce1b0a2634e938df33d20f8e056d56047adca62876c5db389a71a9f11376c39295c69ebf09dd0a30d4d5d91971b6ff60e5a0d755863ba813a0fd8f8a7baab677a455f930308499bbc86c36ceadf1b9c37e6118fae9ce015d5851db272799bf75da81545d57b6a2d36358e1f4f5fdc00e9121a9d531ce52c89a64b24705daa0a8dad8707dc5e11ac6565fd763758b530f7a890cfb1dd7561d94c6df9681bf528252f4c99beb5fdcb2cca134b50ffe69d2160df4bd3c7ec51da9c189c8743f19624c9ec69dfd52bce1a8da90fef8d5294c2f477489bbfc23be3a65d0a797485d0235c40b56fc2aab90fcff1da0a3b065a439cde62d895b1111f33c7ecbb96991908757ff47b053bdb8afca97e5f2acabbc8c37f35185b25ac2c43b8c30aafca78c371ee0c1e0dd7132e603309b702b8de2f185f527fd6b74855599f70353cc3befc3654b557761027cc867dfa1632bb3ad94a5458296588333991d2e16a296450de5e4a0599af4f79a011b02c657ff045a8a95572ce069f3362f82fe7558ad76e1272f45badb32900c1cc47643f5476f9dafbf0f6d5a50da8d2405cea4777e1e1b293a766f448ef6ef94fd185ceeb341e369ff2ec9dfe37a18978557ea22336eee6e57a21614e457a46ef2711f112f925ad111d08c88bb05b0bd9d9f8fe9a53250c562b5f18a2534118a2221b91b1420b801d48115c99f91285483cf5d7a7bd23af0bea1dfc034b6941b9b2dc6181614cfb7328c3f4894485c1dd59b11e646498e3957911d87e3a0e1d602046527b7de329acf1ea0f5a8e9b5112d174004454a11b1e594c1f7f14bc1bb51047042b5d99b8b4e9bd0aa47502dd00557585dd36d19a93c48a935434f59b8aacdef2fadbddd5bba5c55f864e01c7648a16f6c7f35b9d1c08aaaa53e42c2200be756dbeb2ebfb8222f0dffad6683f640c7dab52d1c3d501b7c72628aba1bfd4ee089325e4972e62f8313487864737ad29714417af7357c8ac967a4dc0e8fb3ed55d94dd9094529f6f71a4f6afbc65556e556251b988e751deb1a4a898fa4af1ce50db0173709bf8265259862676ae3ba2a399994b36474ef3b44b18321bdadbbede76bf7e5313e0e197587f7e674edf402a01136fb0d366d5c9e9d6ab804fa73b630585346e6d271cf012b2891ebd85f308c5f97b179c18ee6f4ad6b10e33e9a7e2142b21a06afd5b65b773b1d0a5dc9f879d40ab264069689db4644c3d631bd8efab0c9721525e31d25dcd1af9c71dfa9a5da7cbc84811ec97e63f1f3b3c3f443bb6e59f6c1a115bd336cf2d485b53fafc84f8018c4a2ee1b9319a9b2d7a1e06b8862bc4ba82313d74a9fceabe2eab540fdb1434edb0339df7217b2125ab2bb9079fd1859877ef11e16fdcf7bbb9654be4f829760f51f439e05baa0c283b7576adfd43329cc044416b45cb3078646bcbc69bcb5dd23f3e0ae5a695fe3ac96b0a934696445bc395fb12c5b8d1e4d256c1a61aa79397a6453dc4adf11d79320f0294ad2e95e3ace72f616be3b02b40953b24e3d724baca91d2dc435c22e527df93cd48d65fa3e63f4cf355d97a4ddf2ee87ce09f919846df7a16c13584ad0dd10002e6f166121392eb7c8f081edefa703b73882f61b0f77946e16b4625b6f814df9e7392274387406a05d8fe7c58e664745813a65ce16133e55d49ebfdac252da5682f1a41d51ac38ae579e643098a4ae5172be6fbf9f6c51c124eabb90a28978825f3ed67f53bcdd4f81247121369c5974343ac939c4384088a35ba2473d8e81ad6834f7bdb949b92a21ba258f7b246966d4343e7ea44e4b6f9909cf112a1f25362fe8c684b010f875e994fb87b65aef8ff59b2df4703261a57cbaba9962915d50ae7405c89163a093a21c782a62fa524d4921078f896d61aecca2128a9ce0c3f481cc0cdb16b3666239383e7e180890819297c60a93b2f5841cf665eb5266394a10e6d0afc4f600938826fd13858e88e19b319876168de379162c578b25c4c87f46b47c005ebc79073e4770a46e9ccc5009b19d4a84d68bd68a7bac9fe0bd6a51ebae9ee6e6a7cd082802f0a53c7cdb4a4f3b2d7b15a9fc23bfdc10c88c185938916c0f70ba40dc26e80d86602051de0faa3503841b3ff12ec2cd0ac1bd9d86e2f098ad1246a93d63619d482634bea69a1c883a7b9e35b91fe67b35a02837750f363616a4ed572e8d6dd8595abe0bf1571ad6ebd5b16df8bad53b1d6bdb1e391702c91abf0e8feb3499fddd040e06c46647cecfbef85505b0670f1184878e3ee15bd3d93546a028917ef445a8fc1c26319b00c0b0e41e74e00447a6c5cfd63bfa09d3d68c3ecae03d2335662ee2e79dc907a4f5f91b5650d29020c99b3be715d225a9d8a21cf5394235bf035209052b76f815cebc0afa5993f8eb6ff944a3ce56ec14bd3e3ad84f1bfe05073c3d970082a852efd037537ba299fea304cc6e6c61cfa08e013df36501937f6cbd84cc7057ec8a471ea2e4931287db6c62d923f4c902382cc7ee4f9d49ae9857f59d67bfc58c277e44b1ea3f9582864733d1b898ba98108478dc003012b4010bca9e8ece18e3180b11cb8a31e293951e07ebfba7e770faea8b2f674eb535375f2254a3e20f1e2da32631a4752295ece3b072d21c1fba4d33a3415c9578c1c2052e34d5fabbf957ef2352e0c4e8885461841a3d47436738cc5c53e2c043a424f30458d1ed9d6b6b30cf6a7eda861b540ac25164e00f220496c46f93b3fa7fb7ea8a843ef3b3cde50882422bd9414f858f603c108f2c3c157c0c9eb41c185a27fcdb149e210a1e252a4647496e7477acb5b6c0dbe4fafbff1a26576162a0cef1f502071b1d333650666a91939aa8b0d9eef2fb08101319246d7e9ca8b4b9bac5d0d7f1fa0f25283540516169876285abbfd4e2ff0d141a566a7f8688969ed5d8ef00000000000000000000000000000000000000000000000000000000131c2e3f4f5c0526a000cc00420628b002b0002ced051021a0029004103b8840111402048000ae8f26f33c9de7075175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"sighash\": \"d75fc97edbb645e4aeb1605da41208e57159c6e7\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-16"},{"text":"{\n \"msg32\": \"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"skaddr\": \"SS5MD2wTc96MqPPeSviWc6pk9MTg8xT137\",\n \"signature\": \"d89f666a168c6c704a80c63165a93edb1c8c4a23f1e47feb160122669fc081735a66f5c95d1ac524e6bc2e719114e13be356e8e890ba16358464c5498181e2cc6d9f49066588c11f89f89c5f09a3ca122990cbe576c85c81a283a1ef9d69e162dfb6547f5fc09265cac4cca94a30850ee5f6fd638e4d3a9f59576fa1ef6bf621a04f506aa7cbe76bfad672f107131948de8fdc2925e90268bf240de4aa1859a20b529432dedb5253490f0b45295e81e1541e9ffb2c8774b6822c45a038dee590fc9f2ab1826015d37c678d2b9a91349b7f2c78c43379af0ec5dc85206d192142ed14be09acb304d1b8531a3885a2bf48022600b911420ff99340899fe4f7e4c921f10a65948c145ac5f7c685e72bbb23a1ac4557b1a91b3191a5ec7f229254c740a03a4c296fc1249cf953bb9a17f0a1fe6a63b351b3ff8a2bfb0bb0c047564e01dcfa87c5616e1cf09578672c64269b5277cb82b8f054a058b8fed76159bfa82fdcd9b65662f63a1cad4ce74941ebf342760ce1511b435b9d4b77a3aa9c48964543e711a32a8d76de338647ba6f9d0c7582a517fe4f6bc2a25b976ba7214cf88b09857e365780d2c8d5fe158b53c02ffc5083eb83effbf41cc33051214d8b97d510ae4cf76cbc8c2e03c3f17ffed1cc2143d6f6154b9ed8bc7db97a06843ca1de096e4050a81e4bec673bd333380bc824bc80e9a1e6a4dae1846cd5738bca677365e6166ee87ba34b86ac74bcd322be3434fda5ef802a7714248f4854ce39f9c6f9a1249353dbef610b2616f6a083c3699bc7c8e5ca6865cc15fde196b2faa88e3e1126c818185bca2275762d9ec8ec440d0489c0725908c8fd104f99c8bf730bda01e31c202e43f186d09f11c0de4825c49f88ece9ffa23d462c502332210afa9af5110134c35b68718b0f117df6b45b9aa0466c95e95f81ed19794a2dc33cfd58ee4fcb4f824ffdc8e238a32317f2584db98e7bda9b2f661842b3924edaa441dea32b4e5357c3f8d424d48acf3d3f0964e69e64130b2d3c5ebc806135cc53fa8f1e1a04444ac5116177dd08e17c2c29cfa49971ec083cf8ebe424f3e84c4e5630c7b5053f9607a9b4df56195d8a07c3eee4bb265cd6fea253fb7af45855c712b83a0f5c01732fbf73ac8931edaccae71367956c5374f4d7c96c1ffcde9fc2d0d8fbc5eb4fc8d3829be53f1b2e537ac1ee659111438c2a6d11acb4f502594ae617685b1176aba19a79dc9d754b48db84cb6a83c9dbcc4ce0ed6b640d31bfed99df78f8a34521e0fde9bd14e168eeaf6cb4da6a29b48df655fba872312f9f876fcc8125b7b3768046e8f9d28f0c5526b9dc2b26887fe79e0b1e0b065055698ff27c68bb0dbdda057d0b5616cdcc89a8538ee1d030ca6ca6f6db71d0b1cd0f03cdc96c9cb3bb45689e923820d17f36d675a764402bf6b08fe7b3356f75fe51644ee577dc209760c6195afe71c7d8e32fdedd2a035ddf29561252ea92e4f7e674eb0c6a679f1fe4d1a63e3423f3e36e60ce93ec12a4e88bd2546b25d8c702990a55fdc37d1d5bfc1fdb029851464ebecadef443f03eb126bf48a06f43afac89278e9e8b100295137139b7d37706c36d0a3687181cf10ede3a4e2cbcc478831dbbd99eee03f9bcff02a2f1887a9ee85f932d3e22eb43d4541ef48528a921814e1d203086507df78f84bc119afc2febf445660c73e88739d53be3762ae3c6800413cb2d963239b4ce1b0a2634e938df33d20f8e056d56047adca62876c5db389a71a9f11376c39295c69ebf09dd0a30d4d5d91971b6ff60e5a0d755863ba813a0fd8f8a7baab677a455f930308499bbc86c36ceadf1b9c37e6118fae9ce015d5851db272799bf75da81545d57b6a2d36358e1f4f5fdc00e9121a9d531ce52c89a64b24705daa0a8dad8707dc5e11ac6565fd763758b530f7a890cfb1dd7561d94c6df9681bf528252f4c99beb5fdcb2cca134b50ffe69d2160df4bd3c7ec51da9c189c8743f19624c9ec69dfd52bce1a8da90fef8d5294c2f477489bbfc23be3a65d0a797485d0235c40b56fc2aab90fcff1da0a3b065a439cde62d895b1111f33c7ecbb96991908757ff47b053bdb8afca97e5f2acabbc8c37f35185b25ac2c43b8c30aafca78c371ee0c1e0dd7132e603309b702b8de2f185f527fd6b74855599f70353cc3befc3654b557761027cc867dfa1632bb3ad94a5458296588333991d2e16a296450de5e4a0599af4f79a011b02c657ff045a8a95572ce069f3362f82fe7558ad76e1272f45badb32900c1cc47643f5476f9dafbf0f6d5a50da8d2405cea4777e1e1b293a766f448ef6ef94fd185ceeb341e369ff2ec9dfe37a18978557ea22336eee6e57a21614e457a46ef2711f112f925ad111d08c88bb05b0bd9d9f8fe9a53250c562b5f18a2534118a2221b91b1420b801d48115c99f91285483cf5d7a7bd23af0bea1dfc034b6941b9b2dc6181614cfb7328c3f4894485c1dd59b11e646498e3957911d87e3a0e1d602046527b7de329acf1ea0f5a8e9b5112d174004454a11b1e594c1f7f14bc1bb51047042b5d99b8b4e9bd0aa47502dd00557585dd36d19a93c48a935434f59b8aacdef2fadbddd5bba5c55f864e01c7648a16f6c7f35b9d1c08aaaa53e42c2200be756dbeb2ebfb8222f0dffad6683f640c7dab52d1c3d501b7c72628aba1bfd4ee089325e4972e62f8313487864737ad29714417af7357c8ac967a4dc0e8fb3ed55d94dd9094529f6f71a4f6afbc65556e556251b988e751deb1a4a898fa4af1ce50db0173709bf8265259862676ae3ba2a399994b36474ef3b44b18321bdadbbede76bf7e5313e0e197587f7e674edf402a01136fb0d366d5c9e9d6ab804fa73b630585346e6d271cf012b2891ebd85f308c5f97b179c18ee6f4ad6b10e33e9a7e2142b21a06afd5b65b773b1d0a5dc9f879d40ab264069689db4644c3d631bd8efab0c9721525e31d25dcd1af9c71dfa9a5da7cbc84811ec97e63f1f3b3c3f443bb6e59f6c1a115bd336cf2d485b53fafc84f8018c4a2ee1b9319a9b2d7a1e06b8862bc4ba82313d74a9fceabe2eab540fdb1434edb0339df7217b2125ab2bb9079fd1859877ef11e16fdcf7bbb9654be4f829760f51f439e05baa0c283b7576adfd43329cc044416b45cb3078646bcbc69bcb5dd23f3e0ae5a695fe3ac96b0a934696445bc395fb12c5b8d1e4d256c1a61aa79397a6453dc4adf11d79320f0294ad2e95e3ace72f616be3b02b40953b24e3d724baca91d2dc435c22e527df93cd48d65fa3e63f4cf355d97a4ddf2ee87ce09f919846df7a16c13584ad0dd10002e6f166121392eb7c8f081edefa703b73882f61b0f77946e16b4625b6f814df9e7392274387406a05d8fe7c58e664745813a65ce16133e55d49ebfdac252da5682f1a41d51ac38ae579e643098a4ae5172be6fbf9f6c51c124eabb90a28978825f3ed67f53bcdd4f81247121369c5974343ac939c4384088a35ba2473d8e81ad6834f7bdb949b92a21ba258f7b246966d4343e7ea44e4b6f9909cf112a1f25362fe8c684b010f875e994fb87b65aef8ff59b2df4703261a57cbaba9962915d50ae7405c89163a093a21c782a62fa524d4921078f896d61aecca2128a9ce0c3f481cc0cdb16b3666239383e7e180890819297c60a93b2f5841cf665eb5266394a10e6d0afc4f600938826fd13858e88e19b319876168de379162c578b25c4c87f46b47c005ebc79073e4770a46e9ccc5009b19d4a84d68bd68a7bac9fe0bd6a51ebae9ee6e6a7cd082802f0a53c7cdb4a4f3b2d7b15a9fc23bfdc10c88c185938916c0f70ba40dc26e80d86602051de0faa3503841b3ff12ec2cd0ac1bd9d86e2f098ad1246a93d63619d482634bea69a1c883a7b9e35b91fe67b35a02837750f363616a4ed572e8d6dd8595abe0bf1571ad6ebd5b16df8bad53b1d6bdb1e391702c91abf0e8feb3499fddd040e06c46647cecfbef85505b0670f1184878e3ee15bd3d93546a028917ef445a8fc1c26319b00c0b0e41e74e00447a6c5cfd63bfa09d3d68c3ecae03d2335662ee2e79dc907a4f5f91b5650d29020c99b3be715d225a9d8a21cf5394235bf035209052b76f815cebc0afa5993f8eb6ff944a3ce56ec14bd3e3ad84f1bfe05073c3d970082a852efd037537ba299fea304cc6e6c61cfa08e013df36501937f6cbd84cc7057ec8a471ea2e4931287db6c62d923f4c902382cc7ee4f9d49ae9857f59d67bfc58c277e44b1ea3f9582864733d1b898ba98108478dc003012b4010bca9e8ece18e3180b11cb8a31e293951e07ebfba7e770faea8b2f674eb535375f2254a3e20f1e2da32631a4752295ece3b072d21c1fba4d33a3415c9578c1c2052e34d5fabbf957ef2352e0c4e8885461841a3d47436738cc5c53e2c043a424f30458d1ed9d6b6b30cf6a7eda861b540ac25164e00f220496c46f93b3fa7fb7ea8a843ef3b3cde50882422bd9414f858f603c108f2c3c157c0c9eb41c185a27fcdb149e210a1e252a4647496e7477acb5b6c0dbe4fafbff1a26576162a0cef1f502071b1d333650666a91939aa8b0d9eef2fb08101319246d7e9ca8b4b9bac5d0d7f1fa0f25283540516169876285abbfd4e2ff0d141a566a7f8688969ed5d8ef00000000000000000000000000000000000000000000000000000000131c2e3f4f5c0526a000cc00420628b002b0002ced051021a0029004103b8840111402048000ae8f26f33c9de7075175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"sighash\": \"d75fc97edbb645e4aeb1605da41208e57159c6e7\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-16"},{"text":"spend","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"cclib spend 19 '[\"sendtxid\", \"scriptPubKey\", \"hexseed\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"cclib spend 19 '[\"sendtxid\", \"scriptPubKey\", \"hexseed\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"The spend method spends the coins recieved in the transaction of id sendtxid to a scriptPubkey using the supplied seed.","tagName":"p","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"spend","tagName":"code","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"sendtxid","tagName":"code","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"scriptPubkey","tagName":"a","path":"antara/api/dilithium","closestElementReference":"spend"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-17"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-7"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-8"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 19 '[\"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\",\"21029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac\",\"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-8"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 19 '[\"18e3a7c746e8eb7a7e1835e54e46ef6f227fb41c7142bf0304b453c0034b31fb\",\"21029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac\",\"a70a8e7d2281beaf0762a11590fb566d7af32325ae4252609149de37658e2eb5\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-8"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-18"},{"text":"{\n \"hex\": \"0400008085202f8901fb314b03c053b40403bf42711cb47f226fef464ee535187e7aebe846c7a7e318000000007b4c79a276a072a26ba067a56580210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a81409082aa1e061a82c0fd261b98af3a394cea7d269ac4656882335356cd315e426a128eccbbea03b6cfafe2349a193ccc587c08f6e2cdec8d71ce5ad8dbdd60f0bba100af03800113a10001ffffffff02f0b9f505000000002321029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac0000000000000000fd6f0d6a4d6b0d13792ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44eafd460d7e7405e78304eb2eb0e65a6e5cea9c82009db2977b7796f053d1ae5751ce9a12df055271025697ab447b5aacec5cd324f1b603407f71e711d7f88bc96915b91b5a8177d683f9b035c6a44aa2ae0a1b4be468c7875b4953139c8480ec5e6e5681e86edb715fd351cc2e4074f1d2905bb181d0072bf3effe370e891303485eb998c642e2b4182d527a06e18e1dc3d695f3278b571964ec59371fb17e6cbdf51c73983d8ea17c567c000b9229416a15dd4a812498840c77df30a0b68560afe1d97ba9b11610f0653f367c62245221d038d68eba0b4d9ed76f05b54e5a628c1ed79b29efe42e19f1956d1d660f45d53a3a9fe2a28692a212298a474ed94429c4760a2cc7db794632cb088de11082c1b6dc3db667329dc6988f1a74104bdf8db9805c98fbac074c187e62903305a4be8aa56ee5642123938493e0592ef288088e3124d0c6f621fa2bbc75812bd462fb5ba083d7e945cbf873c00e2b27b97493af56b83430dbaa5ca91be559ab062b7eccca238dbd756a5b8d4782800cd8ae6d511d2cf83234fa47af57fcd198a95c0ab120cbf448ba80ff2b517d28813e97019a055f62bea952c28d6f0f4f413af1bc34bdb07b01c4ed56447f45a89ef6d8c241926f9a35458ada85037455bced29d22e5e4ca0794155f291fcf96462ff3511df5887c2930134698d3bf8eba86640a07515078c543ae0e2c27e4c39d51da85c3d0bf27989100e112b36ab27c92a0c747c72a5ecad465c2084bc0f84d9782a6bbc07c28e0758d343e5f9f58bf21fc7b9c0c4e4eedeca95418a3d08df03b45505e6926df5742051f5aed11dce0932971e61e219e099438ae07cbb74b9d4372430473661eb2740d6198e7c1dcdc2adcbffb10e7a0320a5c41914201a350bdc69faf68f3ccc81904313672497c2d73aa80d2b0cece6d7687f482aee558d4e1b8f10875c419ad9b43711163c5de99598b9f214f29b0e413dd7dad0082aeae8526339b76bc051bc487c6872bc48f92108a053aad48101352439845c0207914ce503ad8f3bb34ee741ce89283f87e3b63fe1bfccd3ed0fde43224169b852877d6600cbb8d5abbc0c97bb0661439f42f2b35aaa88490aeabff7f783412f192fdb7d8857e20ec773a852dbeca61b9a94af50499e2159ca57caf68d87abd2519a8271187e8ed4cb47dc836a96fc230e99238e4839516f19e132356b31c35a14be7e4a05e3c4965bbe06dc0478768370b755816f727fc567141c53a704377f8f819574c114394665e7864a2fe2287f06bac869548a8a074435df870d9b5b903184efa7b27d57cbaa173efdd687317d0efbc9d33807f2f30ad0169b23a6e7624785ffd036db3abebff5fb9e83c6bcb126f59e8afcc3ece4f394051317e5886209270a591a49ce5a9eee6d57fd71e8ddacb3217cd8e9516c5087a58a2aac9b3244ccede7f8de1ed036d54721e0ed1d4c64173856bb7b9cb29885d94b251e0b81b9c7402dabebd18aac425df134dde8caa698267b293deff4df5d57081ef4a05985af681a0b92e3711157e4e9b39657c76098d6ff7723c7798dfb3ab717e301305aa224beac01a4108848d930f7d745cf985598832141b23ed65c27944e6b1a0a6af68696d31df5e14be28c0da6eef05170fc57c8ca54ac3bf6d0485ed8c56c3d50bfde244ab41bf6567a0da6375d3ccb2e9084e73be94f38afda17e843d8c23e703a7f8b14b52b7e7ff7c793b9ac6ee263265025813b1d0a69b762bddce2fbae197c3e2888abe307418b57b5ac0f2f62b1ae9dca2ff58e11440abf3bb952d1c40556dea5e4cae13982a8f79fe0664aff78328141f1e5ae3eb38b76c8906c540cf02d78ff411df6d433689f7ab3f76cddf0479c201dddb80681d9d0df66a33f9f110d71d93198b9e344a4661d48ae106e7372c578d408559f088a921956be384ce6aaa7e83ca90d6343b099fbc19fa8a7219018bca05cebb38c774cc24e0ac37f736ba1ccdf7b4f6d789cd2a945270bffdce7ddbb0e55512cb08853bd91244569662919d4973601fb21f37c3fc097e14679bb6cdeab7e81745993e630d9bbf75a871e45fb122543991447cd460b95c04fdf8aadf88bd4a1de392391a80fc8984090ba64e9f567fe471099fa887d5ec72f2fd192d88e2c12f3ee51b5e7ad7c06cfbd1becc5c94513a37c863e0c8678073777bd88bba225f4aed3b63cceab77e137c947b87573c29f925f1cb29ddb8bb478111d01b245c950a67637920187c1e2fff3b3ecec1444d9c8311d45e481e0093d54518285f9245c9f55a268e0249181a7986c4c48920a805cffe53ae9df7b894c9fc354c18f5e5cc2630129fd2a761cc93318cea211e934b3e5e74517210569a99578720b35746f25e7a7b8577afc93b5090624d8c337b9013a5050c15fb797a160ed00afc7367999170f6d81ffff30bb7487089a0323dc6702d94c023f2c0154b9308edfa61aca8df3df665f1f39e17c4ec109a68113487e70fac8701207656709bb154cb50301690d9521d06a49f5bff9e8f6e3789640bfd40bbbbec24d4d6842b31a5af7622e827b40e541959f034d491065b2c918d0852c5bd147cce268fb6368a2a08b993344a9bc6d9b74241a3d0cd49a350b6ab7b11d8bb81cfd8a2b51dd3847328b07086f4acb28fc8c04dce254882bb3aa538defd288510d4ae5bdc21f24a6e5efc34da8306bc2c44249930433fc80b0087c23d1f0d0978d2af4a53210ef652588b8400c79098b9eb0d72a0a0e48691037fa84cc2d168a4f964041cf5c41500a0841c988bf5448025c5603ae71fa0e6ce30015c7cc6b5a2d68a38b5e6b94d2b51c2c59c3f4a5718419a0964b42f50ef7e87646a4277bf7d74722a46baa01e24fa2d5fef6cf88df6754615cddb7c360f3adaa1f0652d0164e71c2579ba98e41c99e09d752c086db28b35bb5a5969863cce2011b66cf2f9dd90767d4fb75b9a41e8a71f00b296e99e70f77b718e18b16f2abf9f80da69f6e8bf976c8dc853ce71b38794f5aea7177fcd92dec08613070c29bc25bfb2e7b0759627b57df705e19e1d9c913ce29283078e50beea2f13b4647890e1e9efb2b4464fec741ee582c1f3ddaac2a80cea1bd1445505da5e47ca3791cd28221cf95fe0157d8639a35fdf6bde533220c86087d4a3d2ae07565901cc3334cb553ce1c46cb265ba8d96a43ac0899d73caa1ac336179ee4a4de37e098d5172bcddea4711549817ea9a03fcc59072692493ca9e8bff63be80bcb7866fe0e30716e2993b556850e5584fc2a31ae6df849f287015804c4d77411f26d6027f6217f490690d42c63fe593320fb1bf42d9a6fc5c43b686241f321b14eb7712f67be9adb0fcb494c0a595886c6a5bd53cdc40dd2fe457b7f2b2d08e24a610bd77912a90eaf3556728c88c6fc5096d6f990ee76ecf25d7c2057233256aca0a87558e6c8c9177cd3c72cb79f00c9114dddd8387509a3d42c2d9432b36a4f194ec6de793e0ff0d298a819a9c49c2f2dd18ad6bc2ebd307da5c8accc1fadc7fb5af63ddaa9ddd87141b2dc48999adc9dd2de3f3fc03b64c5e411716d6d7777405e844897f5e004602521824e01f20b55cd22a0efea4e6527a4a83e3bfe51d2f9f9955856d1dc1f9ba908d395cdfa09c913d6af648e7b003c2ae7fdd8ca071bd3178d4125b127e30c397916ddc26253cf99b1f92d416df36eef8a6a3390ef1dfae0094472eebe902e83548b3632688f069bf9df56a3487aa8f40c0fd977d1d5f9a8e5b7c5d9d622a511b1729648921a940f47ba5624018f0c2d2ffd432be4a35fda337ff1c07988585b00bb2d0c4777e8592ee4cb13824e0df605b3a133e3f2b3aa7cfb80caff54abfd960d75815d7b168ab546135041f6216790536cd3622877c7145f71a37e3b4f545c8e2b7a7511c926f922d277b1d79b964d9ded9251f2d4ed331b553a775e03986b7913693d226e4d3103132ff373459703f579def3fabb5ba75db75a46e6daecd1929448aa8c8754146f917ceabf1544edb8e6591d52deb5a76fe70a97fcdaa40f6cb1f5b3909b7722d6c5c80be5246398a7b7fea634676cd566b7902cc41ff420972db2e5b3ec32fdb7c5e3bbed55528dcd8dd95b5776fef3cdb0f47f891f7b845b39fb17d5a36ab486e76a15546869ffb91e7fa8b1524597751ef6dcd1a10d2be2c46a7116d5c77dd7a70116299aa0814a7094f9f998f47ac913ea33c3b0b8cb4daf28a056ee46ec2d5c70ee2ae28f0435d929dcd8351b06e0a977eca513d36de77428cff3ac5caeb2a8a1d839821fb15f8b5ecc3d8264030a3f1d83abd82eaa4d1166c6f898b756e5219e49f45ef1a6568357cac25d01cbddeb7d7657ec026d7de1c2110533f8a71d188e2f69b7845edc83b5c06532514c15dad6d93f682420ab48307413f3d620a97812a79b6cfdf570062c4707c9c5ccdaf38d638ffcbbdae3beb134fa621db08a58e90835496015f3fb0cf703987926a6e11a720d6d8e007942db9832053c6c99277ef30b5ed2e5283dae6856585cae24f4f9d7dd5d12161c38565d63898ccacde4044352577b828797a3a4a5b3b8d3d4dcdfeef0ff083544838babb6ced70d10151d2451616785a0b9dbe6eefc13204c4f7a848e9ca5cfd0d7dbe736393f619cc0cacde400000000000000000000000000000000000000000000000000000000000000000000000000000000000c202938464f24a12050276312810a8b40180800084828a083a202408000121311408308420055225fa43850a109000000000000000000000000000000000000000000000000000000000000000000000000f55700000000000000000000000000\",\n \"txid\": \"b8ab2925fc4bd183299dcd06a5c460a3ac81a817e7ff3af049a8fd029a076bf2\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-18"},{"text":"{\n \"hex\": \"0400008085202f8901fb314b03c053b40403bf42711cb47f226fef464ee535187e7aebe846c7a7e318000000007b4c79a276a072a26ba067a56580210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a81409082aa1e061a82c0fd261b98af3a394cea7d269ac4656882335356cd315e426a128eccbbea03b6cfafe2349a193ccc587c08f6e2cdec8d71ce5ad8dbdd60f0bba100af03800113a10001ffffffff02f0b9f505000000002321029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac0000000000000000fd6f0d6a4d6b0d13792ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44eafd460d7e7405e78304eb2eb0e65a6e5cea9c82009db2977b7796f053d1ae5751ce9a12df055271025697ab447b5aacec5cd324f1b603407f71e711d7f88bc96915b91b5a8177d683f9b035c6a44aa2ae0a1b4be468c7875b4953139c8480ec5e6e5681e86edb715fd351cc2e4074f1d2905bb181d0072bf3effe370e891303485eb998c642e2b4182d527a06e18e1dc3d695f3278b571964ec59371fb17e6cbdf51c73983d8ea17c567c000b9229416a15dd4a812498840c77df30a0b68560afe1d97ba9b11610f0653f367c62245221d038d68eba0b4d9ed76f05b54e5a628c1ed79b29efe42e19f1956d1d660f45d53a3a9fe2a28692a212298a474ed94429c4760a2cc7db794632cb088de11082c1b6dc3db667329dc6988f1a74104bdf8db9805c98fbac074c187e62903305a4be8aa56ee5642123938493e0592ef288088e3124d0c6f621fa2bbc75812bd462fb5ba083d7e945cbf873c00e2b27b97493af56b83430dbaa5ca91be559ab062b7eccca238dbd756a5b8d4782800cd8ae6d511d2cf83234fa47af57fcd198a95c0ab120cbf448ba80ff2b517d28813e97019a055f62bea952c28d6f0f4f413af1bc34bdb07b01c4ed56447f45a89ef6d8c241926f9a35458ada85037455bced29d22e5e4ca0794155f291fcf96462ff3511df5887c2930134698d3bf8eba86640a07515078c543ae0e2c27e4c39d51da85c3d0bf27989100e112b36ab27c92a0c747c72a5ecad465c2084bc0f84d9782a6bbc07c28e0758d343e5f9f58bf21fc7b9c0c4e4eedeca95418a3d08df03b45505e6926df5742051f5aed11dce0932971e61e219e099438ae07cbb74b9d4372430473661eb2740d6198e7c1dcdc2adcbffb10e7a0320a5c41914201a350bdc69faf68f3ccc81904313672497c2d73aa80d2b0cece6d7687f482aee558d4e1b8f10875c419ad9b43711163c5de99598b9f214f29b0e413dd7dad0082aeae8526339b76bc051bc487c6872bc48f92108a053aad48101352439845c0207914ce503ad8f3bb34ee741ce89283f87e3b63fe1bfccd3ed0fde43224169b852877d6600cbb8d5abbc0c97bb0661439f42f2b35aaa88490aeabff7f783412f192fdb7d8857e20ec773a852dbeca61b9a94af50499e2159ca57caf68d87abd2519a8271187e8ed4cb47dc836a96fc230e99238e4839516f19e132356b31c35a14be7e4a05e3c4965bbe06dc0478768370b755816f727fc567141c53a704377f8f819574c114394665e7864a2fe2287f06bac869548a8a074435df870d9b5b903184efa7b27d57cbaa173efdd687317d0efbc9d33807f2f30ad0169b23a6e7624785ffd036db3abebff5fb9e83c6bcb126f59e8afcc3ece4f394051317e5886209270a591a49ce5a9eee6d57fd71e8ddacb3217cd8e9516c5087a58a2aac9b3244ccede7f8de1ed036d54721e0ed1d4c64173856bb7b9cb29885d94b251e0b81b9c7402dabebd18aac425df134dde8caa698267b293deff4df5d57081ef4a05985af681a0b92e3711157e4e9b39657c76098d6ff7723c7798dfb3ab717e301305aa224beac01a4108848d930f7d745cf985598832141b23ed65c27944e6b1a0a6af68696d31df5e14be28c0da6eef05170fc57c8ca54ac3bf6d0485ed8c56c3d50bfde244ab41bf6567a0da6375d3ccb2e9084e73be94f38afda17e843d8c23e703a7f8b14b52b7e7ff7c793b9ac6ee263265025813b1d0a69b762bddce2fbae197c3e2888abe307418b57b5ac0f2f62b1ae9dca2ff58e11440abf3bb952d1c40556dea5e4cae13982a8f79fe0664aff78328141f1e5ae3eb38b76c8906c540cf02d78ff411df6d433689f7ab3f76cddf0479c201dddb80681d9d0df66a33f9f110d71d93198b9e344a4661d48ae106e7372c578d408559f088a921956be384ce6aaa7e83ca90d6343b099fbc19fa8a7219018bca05cebb38c774cc24e0ac37f736ba1ccdf7b4f6d789cd2a945270bffdce7ddbb0e55512cb08853bd91244569662919d4973601fb21f37c3fc097e14679bb6cdeab7e81745993e630d9bbf75a871e45fb122543991447cd460b95c04fdf8aadf88bd4a1de392391a80fc8984090ba64e9f567fe471099fa887d5ec72f2fd192d88e2c12f3ee51b5e7ad7c06cfbd1becc5c94513a37c863e0c8678073777bd88bba225f4aed3b63cceab77e137c947b87573c29f925f1cb29ddb8bb478111d01b245c950a67637920187c1e2fff3b3ecec1444d9c8311d45e481e0093d54518285f9245c9f55a268e0249181a7986c4c48920a805cffe53ae9df7b894c9fc354c18f5e5cc2630129fd2a761cc93318cea211e934b3e5e74517210569a99578720b35746f25e7a7b8577afc93b5090624d8c337b9013a5050c15fb797a160ed00afc7367999170f6d81ffff30bb7487089a0323dc6702d94c023f2c0154b9308edfa61aca8df3df665f1f39e17c4ec109a68113487e70fac8701207656709bb154cb50301690d9521d06a49f5bff9e8f6e3789640bfd40bbbbec24d4d6842b31a5af7622e827b40e541959f034d491065b2c918d0852c5bd147cce268fb6368a2a08b993344a9bc6d9b74241a3d0cd49a350b6ab7b11d8bb81cfd8a2b51dd3847328b07086f4acb28fc8c04dce254882bb3aa538defd288510d4ae5bdc21f24a6e5efc34da8306bc2c44249930433fc80b0087c23d1f0d0978d2af4a53210ef652588b8400c79098b9eb0d72a0a0e48691037fa84cc2d168a4f964041cf5c41500a0841c988bf5448025c5603ae71fa0e6ce30015c7cc6b5a2d68a38b5e6b94d2b51c2c59c3f4a5718419a0964b42f50ef7e87646a4277bf7d74722a46baa01e24fa2d5fef6cf88df6754615cddb7c360f3adaa1f0652d0164e71c2579ba98e41c99e09d752c086db28b35bb5a5969863cce2011b66cf2f9dd90767d4fb75b9a41e8a71f00b296e99e70f77b718e18b16f2abf9f80da69f6e8bf976c8dc853ce71b38794f5aea7177fcd92dec08613070c29bc25bfb2e7b0759627b57df705e19e1d9c913ce29283078e50beea2f13b4647890e1e9efb2b4464fec741ee582c1f3ddaac2a80cea1bd1445505da5e47ca3791cd28221cf95fe0157d8639a35fdf6bde533220c86087d4a3d2ae07565901cc3334cb553ce1c46cb265ba8d96a43ac0899d73caa1ac336179ee4a4de37e098d5172bcddea4711549817ea9a03fcc59072692493ca9e8bff63be80bcb7866fe0e30716e2993b556850e5584fc2a31ae6df849f287015804c4d77411f26d6027f6217f490690d42c63fe593320fb1bf42d9a6fc5c43b686241f321b14eb7712f67be9adb0fcb494c0a595886c6a5bd53cdc40dd2fe457b7f2b2d08e24a610bd77912a90eaf3556728c88c6fc5096d6f990ee76ecf25d7c2057233256aca0a87558e6c8c9177cd3c72cb79f00c9114dddd8387509a3d42c2d9432b36a4f194ec6de793e0ff0d298a819a9c49c2f2dd18ad6bc2ebd307da5c8accc1fadc7fb5af63ddaa9ddd87141b2dc48999adc9dd2de3f3fc03b64c5e411716d6d7777405e844897f5e004602521824e01f20b55cd22a0efea4e6527a4a83e3bfe51d2f9f9955856d1dc1f9ba908d395cdfa09c913d6af648e7b003c2ae7fdd8ca071bd3178d4125b127e30c397916ddc26253cf99b1f92d416df36eef8a6a3390ef1dfae0094472eebe902e83548b3632688f069bf9df56a3487aa8f40c0fd977d1d5f9a8e5b7c5d9d622a511b1729648921a940f47ba5624018f0c2d2ffd432be4a35fda337ff1c07988585b00bb2d0c4777e8592ee4cb13824e0df605b3a133e3f2b3aa7cfb80caff54abfd960d75815d7b168ab546135041f6216790536cd3622877c7145f71a37e3b4f545c8e2b7a7511c926f922d277b1d79b964d9ded9251f2d4ed331b553a775e03986b7913693d226e4d3103132ff373459703f579def3fabb5ba75db75a46e6daecd1929448aa8c8754146f917ceabf1544edb8e6591d52deb5a76fe70a97fcdaa40f6cb1f5b3909b7722d6c5c80be5246398a7b7fea634676cd566b7902cc41ff420972db2e5b3ec32fdb7c5e3bbed55528dcd8dd95b5776fef3cdb0f47f891f7b845b39fb17d5a36ab486e76a15546869ffb91e7fa8b1524597751ef6dcd1a10d2be2c46a7116d5c77dd7a70116299aa0814a7094f9f998f47ac913ea33c3b0b8cb4daf28a056ee46ec2d5c70ee2ae28f0435d929dcd8351b06e0a977eca513d36de77428cff3ac5caeb2a8a1d839821fb15f8b5ecc3d8264030a3f1d83abd82eaa4d1166c6f898b756e5219e49f45ef1a6568357cac25d01cbddeb7d7657ec026d7de1c2110533f8a71d188e2f69b7845edc83b5c06532514c15dad6d93f682420ab48307413f3d620a97812a79b6cfdf570062c4707c9c5ccdaf38d638ffcbbdae3beb134fa621db08a58e90835496015f3fb0cf703987926a6e11a720d6d8e007942db9832053c6c99277ef30b5ed2e5283dae6856585cae24f4f9d7dd5d12161c38565d63898ccacde4044352577b828797a3a4a5b3b8d3d4dcdfeef0ff083544838babb6ced70d10151d2451616785a0b9dbe6eefc13204c4f7a848e9ca5cfd0d7dbe736393f619cc0cacde400000000000000000000000000000000000000000000000000000000000000000000000000000000000c202938464f24a12050276312810a8b40180800084828a083a202408000121311408308420055225fa43850a109000000000000000000000000000000000000000000000000000000000000000000000000f55700000000000000000000000000\",\n \"txid\": \"b8ab2925fc4bd183299dcd06a5c460a3ac81a817e7ff3af049a8fd029a076bf2\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-18"},{"text":"Broadcast the hex","tagName":"h5","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-4"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f8901fb314b03c053b40403bf42711cb47f226fef464ee535187e7aebe846c7a7e318000000007b4c79a276a072a26ba067a56580210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a81409082aa1e061a82c0fd261b98af3a394cea7d269ac4656882335356cd315e426a128eccbbea03b6cfafe2349a193ccc587c08f6e2cdec8d71ce5ad8dbdd60f0bba100af03800113a10001ffffffff02f0b9f505000000002321029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac0000000000000000fd6f0d6a4d6b0d13792ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44eafd460d7e7405e78304eb2eb0e65a6e5cea9c82009db2977b7796f053d1ae5751ce9a12df055271025697ab447b5aacec5cd324f1b603407f71e711d7f88bc96915b91b5a8177d683f9b035c6a44aa2ae0a1b4be468c7875b4953139c8480ec5e6e5681e86edb715fd351cc2e4074f1d2905bb181d0072bf3effe370e891303485eb998c642e2b4182d527a06e18e1dc3d695f3278b571964ec59371fb17e6cbdf51c73983d8ea17c567c000b9229416a15dd4a812498840c77df30a0b68560afe1d97ba9b11610f0653f367c62245221d038d68eba0b4d9ed76f05b54e5a628c1ed79b29efe42e19f1956d1d660f45d53a3a9fe2a28692a212298a474ed94429c4760a2cc7db794632cb088de11082c1b6dc3db667329dc6988f1a74104bdf8db9805c98fbac074c187e62903305a4be8aa56ee5642123938493e0592ef288088e3124d0c6f621fa2bbc75812bd462fb5ba083d7e945cbf873c00e2b27b97493af56b83430dbaa5ca91be559ab062b7eccca238dbd756a5b8d4782800cd8ae6d511d2cf83234fa47af57fcd198a95c0ab120cbf448ba80ff2b517d28813e97019a055f62bea952c28d6f0f4f413af1bc34bdb07b01c4ed56447f45a89ef6d8c241926f9a35458ada85037455bced29d22e5e4ca0794155f291fcf96462ff3511df5887c2930134698d3bf8eba86640a07515078c543ae0e2c27e4c39d51da85c3d0bf27989100e112b36ab27c92a0c747c72a5ecad465c2084bc0f84d9782a6bbc07c28e0758d343e5f9f58bf21fc7b9c0c4e4eedeca95418a3d08df03b45505e6926df5742051f5aed11dce0932971e61e219e099438ae07cbb74b9d4372430473661eb2740d6198e7c1dcdc2adcbffb10e7a0320a5c41914201a350bdc69faf68f3ccc81904313672497c2d73aa80d2b0cece6d7687f482aee558d4e1b8f10875c419ad9b43711163c5de99598b9f214f29b0e413dd7dad0082aeae8526339b76bc051bc487c6872bc48f92108a053aad48101352439845c0207914ce503ad8f3bb34ee741ce89283f87e3b63fe1bfccd3ed0fde43224169b852877d6600cbb8d5abbc0c97bb0661439f42f2b35aaa88490aeabff7f783412f192fdb7d8857e20ec773a852dbeca61b9a94af50499e2159ca57caf68d87abd2519a8271187e8ed4cb47dc836a96fc230e99238e4839516f19e132356b31c35a14be7e4a05e3c4965bbe06dc0478768370b755816f727fc567141c53a704377f8f819574c114394665e7864a2fe2287f06bac869548a8a074435df870d9b5b903184efa7b27d57cbaa173efdd687317d0efbc9d33807f2f30ad0169b23a6e7624785ffd036db3abebff5fb9e83c6bcb126f59e8afcc3ece4f394051317e5886209270a591a49ce5a9eee6d57fd71e8ddacb3217cd8e9516c5087a58a2aac9b3244ccede7f8de1ed036d54721e0ed1d4c64173856bb7b9cb29885d94b251e0b81b9c7402dabebd18aac425df134dde8caa698267b293deff4df5d57081ef4a05985af681a0b92e3711157e4e9b39657c76098d6ff7723c7798dfb3ab717e301305aa224beac01a4108848d930f7d745cf985598832141b23ed65c27944e6b1a0a6af68696d31df5e14be28c0da6eef05170fc57c8ca54ac3bf6d0485ed8c56c3d50bfde244ab41bf6567a0da6375d3ccb2e9084e73be94f38afda17e843d8c23e703a7f8b14b52b7e7ff7c793b9ac6ee263265025813b1d0a69b762bddce2fbae197c3e2888abe307418b57b5ac0f2f62b1ae9dca2ff58e11440abf3bb952d1c40556dea5e4cae13982a8f79fe0664aff78328141f1e5ae3eb38b76c8906c540cf02d78ff411df6d433689f7ab3f76cddf0479c201dddb80681d9d0df66a33f9f110d71d93198b9e344a4661d48ae106e7372c578d408559f088a921956be384ce6aaa7e83ca90d6343b099fbc19fa8a7219018bca05cebb38c774cc24e0ac37f736ba1ccdf7b4f6d789cd2a945270bffdce7ddbb0e55512cb08853bd91244569662919d4973601fb21f37c3fc097e14679bb6cdeab7e81745993e630d9bbf75a871e45fb122543991447cd460b95c04fdf8aadf88bd4a1de392391a80fc8984090ba64e9f567fe471099fa887d5ec72f2fd192d88e2c12f3ee51b5e7ad7c06cfbd1becc5c94513a37c863e0c8678073777bd88bba225f4aed3b63cceab77e137c947b87573c29f925f1cb29ddb8bb478111d01b245c950a67637920187c1e2fff3b3ecec1444d9c8311d45e481e0093d54518285f9245c9f55a268e0249181a7986c4c48920a805cffe53ae9df7b894c9fc354c18f5e5cc2630129fd2a761cc93318cea211e934b3e5e74517210569a99578720b35746f25e7a7b8577afc93b5090624d8c337b9013a5050c15fb797a160ed00afc7367999170f6d81ffff30bb7487089a0323dc6702d94c023f2c0154b9308edfa61aca8df3df665f1f39e17c4ec109a68113487e70fac8701207656709bb154cb50301690d9521d06a49f5bff9e8f6e3789640bfd40bbbbec24d4d6842b31a5af7622e827b40e541959f034d491065b2c918d0852c5bd147cce268fb6368a2a08b993344a9bc6d9b74241a3d0cd49a350b6ab7b11d8bb81cfd8a2b51dd3847328b07086f4acb28fc8c04dce254882bb3aa538defd288510d4ae5bdc21f24a6e5efc34da8306bc2c44249930433fc80b0087c23d1f0d0978d2af4a53210ef652588b8400c79098b9eb0d72a0a0e48691037fa84cc2d168a4f964041cf5c41500a0841c988bf5448025c5603ae71fa0e6ce30015c7cc6b5a2d68a38b5e6b94d2b51c2c59c3f4a5718419a0964b42f50ef7e87646a4277bf7d74722a46baa01e24fa2d5fef6cf88df6754615cddb7c360f3adaa1f0652d0164e71c2579ba98e41c99e09d752c086db28b35bb5a5969863cce2011b66cf2f9dd90767d4fb75b9a41e8a71f00b296e99e70f77b718e18b16f2abf9f80da69f6e8bf976c8dc853ce71b38794f5aea7177fcd92dec08613070c29bc25bfb2e7b0759627b57df705e19e1d9c913ce29283078e50beea2f13b4647890e1e9efb2b4464fec741ee582c1f3ddaac2a80cea1bd1445505da5e47ca3791cd28221cf95fe0157d8639a35fdf6bde533220c86087d4a3d2ae07565901cc3334cb553ce1c46cb265ba8d96a43ac0899d73caa1ac336179ee4a4de37e098d5172bcddea4711549817ea9a03fcc59072692493ca9e8bff63be80bcb7866fe0e30716e2993b556850e5584fc2a31ae6df849f287015804c4d77411f26d6027f6217f490690d42c63fe593320fb1bf42d9a6fc5c43b686241f321b14eb7712f67be9adb0fcb494c0a595886c6a5bd53cdc40dd2fe457b7f2b2d08e24a610bd77912a90eaf3556728c88c6fc5096d6f990ee76ecf25d7c2057233256aca0a87558e6c8c9177cd3c72cb79f00c9114dddd8387509a3d42c2d9432b36a4f194ec6de793e0ff0d298a819a9c49c2f2dd18ad6bc2ebd307da5c8accc1fadc7fb5af63ddaa9ddd87141b2dc48999adc9dd2de3f3fc03b64c5e411716d6d7777405e844897f5e004602521824e01f20b55cd22a0efea4e6527a4a83e3bfe51d2f9f9955856d1dc1f9ba908d395cdfa09c913d6af648e7b003c2ae7fdd8ca071bd3178d4125b127e30c397916ddc26253cf99b1f92d416df36eef8a6a3390ef1dfae0094472eebe902e83548b3632688f069bf9df56a3487aa8f40c0fd977d1d5f9a8e5b7c5d9d622a511b1729648921a940f47ba5624018f0c2d2ffd432be4a35fda337ff1c07988585b00bb2d0c4777e8592ee4cb13824e0df605b3a133e3f2b3aa7cfb80caff54abfd960d75815d7b168ab546135041f6216790536cd3622877c7145f71a37e3b4f545c8e2b7a7511c926f922d277b1d79b964d9ded9251f2d4ed331b553a775e03986b7913693d226e4d3103132ff373459703f579def3fabb5ba75db75a46e6daecd1929448aa8c8754146f917ceabf1544edb8e6591d52deb5a76fe70a97fcdaa40f6cb1f5b3909b7722d6c5c80be5246398a7b7fea634676cd566b7902cc41ff420972db2e5b3ec32fdb7c5e3bbed55528dcd8dd95b5776fef3cdb0f47f891f7b845b39fb17d5a36ab486e76a15546869ffb91e7fa8b1524597751ef6dcd1a10d2be2c46a7116d5c77dd7a70116299aa0814a7094f9f998f47ac913ea33c3b0b8cb4daf28a056ee46ec2d5c70ee2ae28f0435d929dcd8351b06e0a977eca513d36de77428cff3ac5caeb2a8a1d839821fb15f8b5ecc3d8264030a3f1d83abd82eaa4d1166c6f898b756e5219e49f45ef1a6568357cac25d01cbddeb7d7657ec026d7de1c2110533f8a71d188e2f69b7845edc83b5c06532514c15dad6d93f682420ab48307413f3d620a97812a79b6cfdf570062c4707c9c5ccdaf38d638ffcbbdae3beb134fa621db08a58e90835496015f3fb0cf703987926a6e11a720d6d8e007942db9832053c6c99277ef30b5ed2e5283dae6856585cae24f4f9d7dd5d12161c38565d63898ccacde4044352577b828797a3a4a5b3b8d3d4dcdfeef0ff083544838babb6ced70d10151d2451616785a0b9dbe6eefc13204c4f7a848e9ca5cfd0d7dbe736393f619cc0cacde400000000000000000000000000000000000000000000000000000000000000000000000000000000000c202938464f24a12050276312810a8b40180800084828a083a202408000121311408308420055225fa43850a109000000000000000000000000000000000000000000000000000000000000000000000000f55700000000000000000000000000\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-4"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f8901fb314b03c053b40403bf42711cb47f226fef464ee535187e7aebe846c7a7e318000000007b4c79a276a072a26ba067a56580210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a81409082aa1e061a82c0fd261b98af3a394cea7d269ac4656882335356cd315e426a128eccbbea03b6cfafe2349a193ccc587c08f6e2cdec8d71ce5ad8dbdd60f0bba100af03800113a10001ffffffff02f0b9f505000000002321029b086d4e3e0358f668ccc3da07df6343fb29970b742f0bc128f180994c5222c1ac0000000000000000fd6f0d6a4d6b0d13792ab829454ca1aafc151cbdef7f187424a6aed348a77cff9c2325a96af68f44eafd460d7e7405e78304eb2eb0e65a6e5cea9c82009db2977b7796f053d1ae5751ce9a12df055271025697ab447b5aacec5cd324f1b603407f71e711d7f88bc96915b91b5a8177d683f9b035c6a44aa2ae0a1b4be468c7875b4953139c8480ec5e6e5681e86edb715fd351cc2e4074f1d2905bb181d0072bf3effe370e891303485eb998c642e2b4182d527a06e18e1dc3d695f3278b571964ec59371fb17e6cbdf51c73983d8ea17c567c000b9229416a15dd4a812498840c77df30a0b68560afe1d97ba9b11610f0653f367c62245221d038d68eba0b4d9ed76f05b54e5a628c1ed79b29efe42e19f1956d1d660f45d53a3a9fe2a28692a212298a474ed94429c4760a2cc7db794632cb088de11082c1b6dc3db667329dc6988f1a74104bdf8db9805c98fbac074c187e62903305a4be8aa56ee5642123938493e0592ef288088e3124d0c6f621fa2bbc75812bd462fb5ba083d7e945cbf873c00e2b27b97493af56b83430dbaa5ca91be559ab062b7eccca238dbd756a5b8d4782800cd8ae6d511d2cf83234fa47af57fcd198a95c0ab120cbf448ba80ff2b517d28813e97019a055f62bea952c28d6f0f4f413af1bc34bdb07b01c4ed56447f45a89ef6d8c241926f9a35458ada85037455bced29d22e5e4ca0794155f291fcf96462ff3511df5887c2930134698d3bf8eba86640a07515078c543ae0e2c27e4c39d51da85c3d0bf27989100e112b36ab27c92a0c747c72a5ecad465c2084bc0f84d9782a6bbc07c28e0758d343e5f9f58bf21fc7b9c0c4e4eedeca95418a3d08df03b45505e6926df5742051f5aed11dce0932971e61e219e099438ae07cbb74b9d4372430473661eb2740d6198e7c1dcdc2adcbffb10e7a0320a5c41914201a350bdc69faf68f3ccc81904313672497c2d73aa80d2b0cece6d7687f482aee558d4e1b8f10875c419ad9b43711163c5de99598b9f214f29b0e413dd7dad0082aeae8526339b76bc051bc487c6872bc48f92108a053aad48101352439845c0207914ce503ad8f3bb34ee741ce89283f87e3b63fe1bfccd3ed0fde43224169b852877d6600cbb8d5abbc0c97bb0661439f42f2b35aaa88490aeabff7f783412f192fdb7d8857e20ec773a852dbeca61b9a94af50499e2159ca57caf68d87abd2519a8271187e8ed4cb47dc836a96fc230e99238e4839516f19e132356b31c35a14be7e4a05e3c4965bbe06dc0478768370b755816f727fc567141c53a704377f8f819574c114394665e7864a2fe2287f06bac869548a8a074435df870d9b5b903184efa7b27d57cbaa173efdd687317d0efbc9d33807f2f30ad0169b23a6e7624785ffd036db3abebff5fb9e83c6bcb126f59e8afcc3ece4f394051317e5886209270a591a49ce5a9eee6d57fd71e8ddacb3217cd8e9516c5087a58a2aac9b3244ccede7f8de1ed036d54721e0ed1d4c64173856bb7b9cb29885d94b251e0b81b9c7402dabebd18aac425df134dde8caa698267b293deff4df5d57081ef4a05985af681a0b92e3711157e4e9b39657c76098d6ff7723c7798dfb3ab717e301305aa224beac01a4108848d930f7d745cf985598832141b23ed65c27944e6b1a0a6af68696d31df5e14be28c0da6eef05170fc57c8ca54ac3bf6d0485ed8c56c3d50bfde244ab41bf6567a0da6375d3ccb2e9084e73be94f38afda17e843d8c23e703a7f8b14b52b7e7ff7c793b9ac6ee263265025813b1d0a69b762bddce2fbae197c3e2888abe307418b57b5ac0f2f62b1ae9dca2ff58e11440abf3bb952d1c40556dea5e4cae13982a8f79fe0664aff78328141f1e5ae3eb38b76c8906c540cf02d78ff411df6d433689f7ab3f76cddf0479c201dddb80681d9d0df66a33f9f110d71d93198b9e344a4661d48ae106e7372c578d408559f088a921956be384ce6aaa7e83ca90d6343b099fbc19fa8a7219018bca05cebb38c774cc24e0ac37f736ba1ccdf7b4f6d789cd2a945270bffdce7ddbb0e55512cb08853bd91244569662919d4973601fb21f37c3fc097e14679bb6cdeab7e81745993e630d9bbf75a871e45fb122543991447cd460b95c04fdf8aadf88bd4a1de392391a80fc8984090ba64e9f567fe471099fa887d5ec72f2fd192d88e2c12f3ee51b5e7ad7c06cfbd1becc5c94513a37c863e0c8678073777bd88bba225f4aed3b63cceab77e137c947b87573c29f925f1cb29ddb8bb478111d01b245c950a67637920187c1e2fff3b3ecec1444d9c8311d45e481e0093d54518285f9245c9f55a268e0249181a7986c4c48920a805cffe53ae9df7b894c9fc354c18f5e5cc2630129fd2a761cc93318cea211e934b3e5e74517210569a99578720b35746f25e7a7b8577afc93b5090624d8c337b9013a5050c15fb797a160ed00afc7367999170f6d81ffff30bb7487089a0323dc6702d94c023f2c0154b9308edfa61aca8df3df665f1f39e17c4ec109a68113487e70fac8701207656709bb154cb50301690d9521d06a49f5bff9e8f6e3789640bfd40bbbbec24d4d6842b31a5af7622e827b40e541959f034d491065b2c918d0852c5bd147cce268fb6368a2a08b993344a9bc6d9b74241a3d0cd49a350b6ab7b11d8bb81cfd8a2b51dd3847328b07086f4acb28fc8c04dce254882bb3aa538defd288510d4ae5bdc21f24a6e5efc34da8306bc2c44249930433fc80b0087c23d1f0d0978d2af4a53210ef652588b8400c79098b9eb0d72a0a0e48691037fa84cc2d168a4f964041cf5c41500a0841c988bf5448025c5603ae71fa0e6ce30015c7cc6b5a2d68a38b5e6b94d2b51c2c59c3f4a5718419a0964b42f50ef7e87646a4277bf7d74722a46baa01e24fa2d5fef6cf88df6754615cddb7c360f3adaa1f0652d0164e71c2579ba98e41c99e09d752c086db28b35bb5a5969863cce2011b66cf2f9dd90767d4fb75b9a41e8a71f00b296e99e70f77b718e18b16f2abf9f80da69f6e8bf976c8dc853ce71b38794f5aea7177fcd92dec08613070c29bc25bfb2e7b0759627b57df705e19e1d9c913ce29283078e50beea2f13b4647890e1e9efb2b4464fec741ee582c1f3ddaac2a80cea1bd1445505da5e47ca3791cd28221cf95fe0157d8639a35fdf6bde533220c86087d4a3d2ae07565901cc3334cb553ce1c46cb265ba8d96a43ac0899d73caa1ac336179ee4a4de37e098d5172bcddea4711549817ea9a03fcc59072692493ca9e8bff63be80bcb7866fe0e30716e2993b556850e5584fc2a31ae6df849f287015804c4d77411f26d6027f6217f490690d42c63fe593320fb1bf42d9a6fc5c43b686241f321b14eb7712f67be9adb0fcb494c0a595886c6a5bd53cdc40dd2fe457b7f2b2d08e24a610bd77912a90eaf3556728c88c6fc5096d6f990ee76ecf25d7c2057233256aca0a87558e6c8c9177cd3c72cb79f00c9114dddd8387509a3d42c2d9432b36a4f194ec6de793e0ff0d298a819a9c49c2f2dd18ad6bc2ebd307da5c8accc1fadc7fb5af63ddaa9ddd87141b2dc48999adc9dd2de3f3fc03b64c5e411716d6d7777405e844897f5e004602521824e01f20b55cd22a0efea4e6527a4a83e3bfe51d2f9f9955856d1dc1f9ba908d395cdfa09c913d6af648e7b003c2ae7fdd8ca071bd3178d4125b127e30c397916ddc26253cf99b1f92d416df36eef8a6a3390ef1dfae0094472eebe902e83548b3632688f069bf9df56a3487aa8f40c0fd977d1d5f9a8e5b7c5d9d622a511b1729648921a940f47ba5624018f0c2d2ffd432be4a35fda337ff1c07988585b00bb2d0c4777e8592ee4cb13824e0df605b3a133e3f2b3aa7cfb80caff54abfd960d75815d7b168ab546135041f6216790536cd3622877c7145f71a37e3b4f545c8e2b7a7511c926f922d277b1d79b964d9ded9251f2d4ed331b553a775e03986b7913693d226e4d3103132ff373459703f579def3fabb5ba75db75a46e6daecd1929448aa8c8754146f917ceabf1544edb8e6591d52deb5a76fe70a97fcdaa40f6cb1f5b3909b7722d6c5c80be5246398a7b7fea634676cd566b7902cc41ff420972db2e5b3ec32fdb7c5e3bbed55528dcd8dd95b5776fef3cdb0f47f891f7b845b39fb17d5a36ab486e76a15546869ffb91e7fa8b1524597751ef6dcd1a10d2be2c46a7116d5c77dd7a70116299aa0814a7094f9f998f47ac913ea33c3b0b8cb4daf28a056ee46ec2d5c70ee2ae28f0435d929dcd8351b06e0a977eca513d36de77428cff3ac5caeb2a8a1d839821fb15f8b5ecc3d8264030a3f1d83abd82eaa4d1166c6f898b756e5219e49f45ef1a6568357cac25d01cbddeb7d7657ec026d7de1c2110533f8a71d188e2f69b7845edc83b5c06532514c15dad6d93f682420ab48307413f3d620a97812a79b6cfdf570062c4707c9c5ccdaf38d638ffcbbdae3beb134fa621db08a58e90835496015f3fb0cf703987926a6e11a720d6d8e007942db9832053c6c99277ef30b5ed2e5283dae6856585cae24f4f9d7dd5d12161c38565d63898ccacde4044352577b828797a3a4a5b3b8d3d4dcdfeef0ff083544838babb6ced70d10151d2451616785a0b9dbe6eefc13204c4f7a848e9ca5cfd0d7dbe736393f619cc0cacde400000000000000000000000000000000000000000000000000000000000000000000000000000000000c202938464f24a12050276312810a8b40180800084828a083a202408000121311408308420055225fa43850a109000000000000000000000000000000000000000000000000000000000000000000000000f55700000000000000000000000000\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"broadcast-the-hex-4"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-19"},{"text":"b8ab2925fc4bd183299dcd06a5c460a3ac81a817e7ff3af049a8fd029a076bf2\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-19"},{"text":"b8ab2925fc4bd183299dcd06a5c460a3ac81a817e7ff3af049a8fd029a076bf2\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-19"},{"text":"verify","tagName":"h2","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"cclib verify 19 '[\"pubtxid\", \"msg\", \"sig\"]'","tagName":"p","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"cclib verify 19 '[\"pubtxid\", \"msg\", \"sig\"]'","tagName":"strong","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"The verify method verifies whether the supplied signature was generated for the msg (message) by the seed corresponding to the pubtxid .","tagName":"p","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"verify","tagName":"code","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"msg","tagName":"code","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"pubtxid","tagName":"code","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"The returned handle is directly associated with the same pubtxid .","tagName":"p","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"handle","tagName":"code","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"pubtxid","tagName":"code","path":"antara/api/dilithium","closestElementReference":"verify"},{"text":"Arguments","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"response-20"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/dilithium","closestElementReference":"examples-8"},{"text":"Command","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 19 '[\"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\"d89f666a168c6c704a80c63165a93edb1c8c4a23f1e47feb160122669fc081735a66f5c95d1ac524e6bc2e719114e13be356e8e890ba16358464c5498181e2cc6d9f49066588c11f89f89c5f09a3ca122990cbe576c85c81a283a1ef9d69e162dfb6547f5fc09265cac4cca94a30850ee5f6fd638e4d3a9f59576fa1ef6bf621a04f506aa7cbe76bfad672f107131948de8fdc2925e90268bf240de4aa1859a20b529432dedb5253490f0b45295e81e1541e9ffb2c8774b6822c45a038dee590fc9f2ab1826015d37c678d2b9a91349b7f2c78c43379af0ec5dc85206d192142ed14be09acb304d1b8531a3885a2bf48022600b911420ff99340899fe4f7e4c921f10a65948c145ac5f7c685e72bbb23a1ac4557b1a91b3191a5ec7f229254c740a03a4c296fc1249cf953bb9a17f0a1fe6a63b351b3ff8a2bfb0bb0c047564e01dcfa87c5616e1cf09578672c64269b5277cb82b8f054a058b8fed76159bfa82fdcd9b65662f63a1cad4ce74941ebf342760ce1511b435b9d4b77a3aa9c48964543e711a32a8d76de338647ba6f9d0c7582a517fe4f6bc2a25b976ba7214cf88b09857e365780d2c8d5fe158b53c02ffc5083eb83effbf41cc33051214d8b97d510ae4cf76cbc8c2e03c3f17ffed1cc2143d6f6154b9ed8bc7db97a06843ca1de096e4050a81e4bec673bd333380bc824bc80e9a1e6a4dae1846cd5738bca677365e6166ee87ba34b86ac74bcd322be3434fda5ef802a7714248f4854ce39f9c6f9a1249353dbef610b2616f6a083c3699bc7c8e5ca6865cc15fde196b2faa88e3e1126c818185bca2275762d9ec8ec440d0489c0725908c8fd104f99c8bf730bda01e31c202e43f186d09f11c0de4825c49f88ece9ffa23d462c502332210afa9af5110134c35b68718b0f117df6b45b9aa0466c95e95f81ed19794a2dc33cfd58ee4fcb4f824ffdc8e238a32317f2584db98e7bda9b2f661842b3924edaa441dea32b4e5357c3f8d424d48acf3d3f0964e69e64130b2d3c5ebc806135cc53fa8f1e1a04444ac5116177dd08e17c2c29cfa49971ec083cf8ebe424f3e84c4e5630c7b5053f9607a9b4df56195d8a07c3eee4bb265cd6fea253fb7af45855c712b83a0f5c01732fbf73ac8931edaccae71367956c5374f4d7c96c1ffcde9fc2d0d8fbc5eb4fc8d3829be53f1b2e537ac1ee659111438c2a6d11acb4f502594ae617685b1176aba19a79dc9d754b48db84cb6a83c9dbcc4ce0ed6b640d31bfed99df78f8a34521e0fde9bd14e168eeaf6cb4da6a29b48df655fba872312f9f876fcc8125b7b3768046e8f9d28f0c5526b9dc2b26887fe79e0b1e0b065055698ff27c68bb0dbdda057d0b5616cdcc89a8538ee1d030ca6ca6f6db71d0b1cd0f03cdc96c9cb3bb45689e923820d17f36d675a764402bf6b08fe7b3356f75fe51644ee577dc209760c6195afe71c7d8e32fdedd2a035ddf29561252ea92e4f7e674eb0c6a679f1fe4d1a63e3423f3e36e60ce93ec12a4e88bd2546b25d8c702990a55fdc37d1d5bfc1fdb029851464ebecadef443f03eb126bf48a06f43afac89278e9e8b100295137139b7d37706c36d0a3687181cf10ede3a4e2cbcc478831dbbd99eee03f9bcff02a2f1887a9ee85f932d3e22eb43d4541ef48528a921814e1d203086507df78f84bc119afc2febf445660c73e88739d53be3762ae3c6800413cb2d963239b4ce1b0a2634e938df33d20f8e056d56047adca62876c5db389a71a9f11376c39295c69ebf09dd0a30d4d5d91971b6ff60e5a0d755863ba813a0fd8f8a7baab677a455f930308499bbc86c36ceadf1b9c37e6118fae9ce015d5851db272799bf75da81545d57b6a2d36358e1f4f5fdc00e9121a9d531ce52c89a64b24705daa0a8dad8707dc5e11ac6565fd763758b530f7a890cfb1dd7561d94c6df9681bf528252f4c99beb5fdcb2cca134b50ffe69d2160df4bd3c7ec51da9c189c8743f19624c9ec69dfd52bce1a8da90fef8d5294c2f477489bbfc23be3a65d0a797485d0235c40b56fc2aab90fcff1da0a3b065a439cde62d895b1111f33c7ecbb96991908757ff47b053bdb8afca97e5f2acabbc8c37f35185b25ac2c43b8c30aafca78c371ee0c1e0dd7132e603309b702b8de2f185f527fd6b74855599f70353cc3befc3654b557761027cc867dfa1632bb3ad94a5458296588333991d2e16a296450de5e4a0599af4f79a011b02c657ff045a8a95572ce069f3362f82fe7558ad76e1272f45badb32900c1cc47643f5476f9dafbf0f6d5a50da8d2405cea4777e1e1b293a766f448ef6ef94fd185ceeb341e369ff2ec9dfe37a18978557ea22336eee6e57a21614e457a46ef2711f112f925ad111d08c88bb05b0bd9d9f8fe9a53250c562b5f18a2534118a2221b91b1420b801d48115c99f91285483cf5d7a7bd23af0bea1dfc034b6941b9b2dc6181614cfb7328c3f4894485c1dd59b11e646498e3957911d87e3a0e1d602046527b7de329acf1ea0f5a8e9b5112d174004454a11b1e594c1f7f14bc1bb51047042b5d99b8b4e9bd0aa47502dd00557585dd36d19a93c48a935434f59b8aacdef2fadbddd5bba5c55f864e01c7648a16f6c7f35b9d1c08aaaa53e42c2200be756dbeb2ebfb8222f0dffad6683f640c7dab52d1c3d501b7c72628aba1bfd4ee089325e4972e62f8313487864737ad29714417af7357c8ac967a4dc0e8fb3ed55d94dd9094529f6f71a4f6afbc65556e556251b988e751deb1a4a898fa4af1ce50db0173709bf8265259862676ae3ba2a399994b36474ef3b44b18321bdadbbede76bf7e5313e0e197587f7e674edf402a01136fb0d366d5c9e9d6ab804fa73b630585346e6d271cf012b2891ebd85f308c5f97b179c18ee6f4ad6b10e33e9a7e2142b21a06afd5b65b773b1d0a5dc9f879d40ab264069689db4644c3d631bd8efab0c9721525e31d25dcd1af9c71dfa9a5da7cbc84811ec97e63f1f3b3c3f443bb6e59f6c1a115bd336cf2d485b53fafc84f8018c4a2ee1b9319a9b2d7a1e06b8862bc4ba82313d74a9fceabe2eab540fdb1434edb0339df7217b2125ab2bb9079fd1859877ef11e16fdcf7bbb9654be4f829760f51f439e05baa0c283b7576adfd43329cc044416b45cb3078646bcbc69bcb5dd23f3e0ae5a695fe3ac96b0a934696445bc395fb12c5b8d1e4d256c1a61aa79397a6453dc4adf11d79320f0294ad2e95e3ace72f616be3b02b40953b24e3d724baca91d2dc435c22e527df93cd48d65fa3e63f4cf355d97a4ddf2ee87ce09f919846df7a16c13584ad0dd10002e6f166121392eb7c8f081edefa703b73882f61b0f77946e16b4625b6f814df9e7392274387406a05d8fe7c58e664745813a65ce16133e55d49ebfdac252da5682f1a41d51ac38ae579e643098a4ae5172be6fbf9f6c51c124eabb90a28978825f3ed67f53bcdd4f81247121369c5974343ac939c4384088a35ba2473d8e81ad6834f7bdb949b92a21ba258f7b246966d4343e7ea44e4b6f9909cf112a1f25362fe8c684b010f875e994fb87b65aef8ff59b2df4703261a57cbaba9962915d50ae7405c89163a093a21c782a62fa524d4921078f896d61aecca2128a9ce0c3f481cc0cdb16b3666239383e7e180890819297c60a93b2f5841cf665eb5266394a10e6d0afc4f600938826fd13858e88e19b319876168de379162c578b25c4c87f46b47c005ebc79073e4770a46e9ccc5009b19d4a84d68bd68a7bac9fe0bd6a51ebae9ee6e6a7cd082802f0a53c7cdb4a4f3b2d7b15a9fc23bfdc10c88c185938916c0f70ba40dc26e80d86602051de0faa3503841b3ff12ec2cd0ac1bd9d86e2f098ad1246a93d63619d482634bea69a1c883a7b9e35b91fe67b35a02837750f363616a4ed572e8d6dd8595abe0bf1571ad6ebd5b16df8bad53b1d6bdb1e391702c91abf0e8feb3499fddd040e06c46647cecfbef85505b0670f1184878e3ee15bd3d93546a028917ef445a8fc1c26319b00c0b0e41e74e00447a6c5cfd63bfa09d3d68c3ecae03d2335662ee2e79dc907a4f5f91b5650d29020c99b3be715d225a9d8a21cf5394235bf035209052b76f815cebc0afa5993f8eb6ff944a3ce56ec14bd3e3ad84f1bfe05073c3d970082a852efd037537ba299fea304cc6e6c61cfa08e013df36501937f6cbd84cc7057ec8a471ea2e4931287db6c62d923f4c902382cc7ee4f9d49ae9857f59d67bfc58c277e44b1ea3f9582864733d1b898ba98108478dc003012b4010bca9e8ece18e3180b11cb8a31e293951e07ebfba7e770faea8b2f674eb535375f2254a3e20f1e2da32631a4752295ece3b072d21c1fba4d33a3415c9578c1c2052e34d5fabbf957ef2352e0c4e8885461841a3d47436738cc5c53e2c043a424f30458d1ed9d6b6b30cf6a7eda861b540ac25164e00f220496c46f93b3fa7fb7ea8a843ef3b3cde50882422bd9414f858f603c108f2c3c157c0c9eb41c185a27fcdb149e210a1e252a4647496e7477acb5b6c0dbe4fafbff1a26576162a0cef1f502071b1d333650666a91939aa8b0d9eef2fb08101319246d7e9ca8b4b9bac5d0d7f1fa0f25283540516169876285abbfd4e2ff0d141a566a7f8688969ed5d8ef00000000000000000000000000000000000000000000000000000000131c2e3f4f5c0526a000cc00420628b002b0002ced051021a0029004103b8840111402048000ae8f26f33c9de7075175616e74756d20526573697374616e636520697320617765736f6d65212121\"]'\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 19 '[\"ea448ff66aa925239cff7ca748d3aea62474187fefbd1c15fcaaa14c4529b82a\",\"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\"d89f666a168c6c704a80c63165a93edb1c8c4a23f1e47feb160122669fc081735a66f5c95d1ac524e6bc2e719114e13be356e8e890ba16358464c5498181e2cc6d9f49066588c11f89f89c5f09a3ca122990cbe576c85c81a283a1ef9d69e162dfb6547f5fc09265cac4cca94a30850ee5f6fd638e4d3a9f59576fa1ef6bf621a04f506aa7cbe76bfad672f107131948de8fdc2925e90268bf240de4aa1859a20b529432dedb5253490f0b45295e81e1541e9ffb2c8774b6822c45a038dee590fc9f2ab1826015d37c678d2b9a91349b7f2c78c43379af0ec5dc85206d192142ed14be09acb304d1b8531a3885a2bf48022600b911420ff99340899fe4f7e4c921f10a65948c145ac5f7c685e72bbb23a1ac4557b1a91b3191a5ec7f229254c740a03a4c296fc1249cf953bb9a17f0a1fe6a63b351b3ff8a2bfb0bb0c047564e01dcfa87c5616e1cf09578672c64269b5277cb82b8f054a058b8fed76159bfa82fdcd9b65662f63a1cad4ce74941ebf342760ce1511b435b9d4b77a3aa9c48964543e711a32a8d76de338647ba6f9d0c7582a517fe4f6bc2a25b976ba7214cf88b09857e365780d2c8d5fe158b53c02ffc5083eb83effbf41cc33051214d8b97d510ae4cf76cbc8c2e03c3f17ffed1cc2143d6f6154b9ed8bc7db97a06843ca1de096e4050a81e4bec673bd333380bc824bc80e9a1e6a4dae1846cd5738bca677365e6166ee87ba34b86ac74bcd322be3434fda5ef802a7714248f4854ce39f9c6f9a1249353dbef610b2616f6a083c3699bc7c8e5ca6865cc15fde196b2faa88e3e1126c818185bca2275762d9ec8ec440d0489c0725908c8fd104f99c8bf730bda01e31c202e43f186d09f11c0de4825c49f88ece9ffa23d462c502332210afa9af5110134c35b68718b0f117df6b45b9aa0466c95e95f81ed19794a2dc33cfd58ee4fcb4f824ffdc8e238a32317f2584db98e7bda9b2f661842b3924edaa441dea32b4e5357c3f8d424d48acf3d3f0964e69e64130b2d3c5ebc806135cc53fa8f1e1a04444ac5116177dd08e17c2c29cfa49971ec083cf8ebe424f3e84c4e5630c7b5053f9607a9b4df56195d8a07c3eee4bb265cd6fea253fb7af45855c712b83a0f5c01732fbf73ac8931edaccae71367956c5374f4d7c96c1ffcde9fc2d0d8fbc5eb4fc8d3829be53f1b2e537ac1ee659111438c2a6d11acb4f502594ae617685b1176aba19a79dc9d754b48db84cb6a83c9dbcc4ce0ed6b640d31bfed99df78f8a34521e0fde9bd14e168eeaf6cb4da6a29b48df655fba872312f9f876fcc8125b7b3768046e8f9d28f0c5526b9dc2b26887fe79e0b1e0b065055698ff27c68bb0dbdda057d0b5616cdcc89a8538ee1d030ca6ca6f6db71d0b1cd0f03cdc96c9cb3bb45689e923820d17f36d675a764402bf6b08fe7b3356f75fe51644ee577dc209760c6195afe71c7d8e32fdedd2a035ddf29561252ea92e4f7e674eb0c6a679f1fe4d1a63e3423f3e36e60ce93ec12a4e88bd2546b25d8c702990a55fdc37d1d5bfc1fdb029851464ebecadef443f03eb126bf48a06f43afac89278e9e8b100295137139b7d37706c36d0a3687181cf10ede3a4e2cbcc478831dbbd99eee03f9bcff02a2f1887a9ee85f932d3e22eb43d4541ef48528a921814e1d203086507df78f84bc119afc2febf445660c73e88739d53be3762ae3c6800413cb2d963239b4ce1b0a2634e938df33d20f8e056d56047adca62876c5db389a71a9f11376c39295c69ebf09dd0a30d4d5d91971b6ff60e5a0d755863ba813a0fd8f8a7baab677a455f930308499bbc86c36ceadf1b9c37e6118fae9ce015d5851db272799bf75da81545d57b6a2d36358e1f4f5fdc00e9121a9d531ce52c89a64b24705daa0a8dad8707dc5e11ac6565fd763758b530f7a890cfb1dd7561d94c6df9681bf528252f4c99beb5fdcb2cca134b50ffe69d2160df4bd3c7ec51da9c189c8743f19624c9ec69dfd52bce1a8da90fef8d5294c2f477489bbfc23be3a65d0a797485d0235c40b56fc2aab90fcff1da0a3b065a439cde62d895b1111f33c7ecbb96991908757ff47b053bdb8afca97e5f2acabbc8c37f35185b25ac2c43b8c30aafca78c371ee0c1e0dd7132e603309b702b8de2f185f527fd6b74855599f70353cc3befc3654b557761027cc867dfa1632bb3ad94a5458296588333991d2e16a296450de5e4a0599af4f79a011b02c657ff045a8a95572ce069f3362f82fe7558ad76e1272f45badb32900c1cc47643f5476f9dafbf0f6d5a50da8d2405cea4777e1e1b293a766f448ef6ef94fd185ceeb341e369ff2ec9dfe37a18978557ea22336eee6e57a21614e457a46ef2711f112f925ad111d08c88bb05b0bd9d9f8fe9a53250c562b5f18a2534118a2221b91b1420b801d48115c99f91285483cf5d7a7bd23af0bea1dfc034b6941b9b2dc6181614cfb7328c3f4894485c1dd59b11e646498e3957911d87e3a0e1d602046527b7de329acf1ea0f5a8e9b5112d174004454a11b1e594c1f7f14bc1bb51047042b5d99b8b4e9bd0aa47502dd00557585dd36d19a93c48a935434f59b8aacdef2fadbddd5bba5c55f864e01c7648a16f6c7f35b9d1c08aaaa53e42c2200be756dbeb2ebfb8222f0dffad6683f640c7dab52d1c3d501b7c72628aba1bfd4ee089325e4972e62f8313487864737ad29714417af7357c8ac967a4dc0e8fb3ed55d94dd9094529f6f71a4f6afbc65556e556251b988e751deb1a4a898fa4af1ce50db0173709bf8265259862676ae3ba2a399994b36474ef3b44b18321bdadbbede76bf7e5313e0e197587f7e674edf402a01136fb0d366d5c9e9d6ab804fa73b630585346e6d271cf012b2891ebd85f308c5f97b179c18ee6f4ad6b10e33e9a7e2142b21a06afd5b65b773b1d0a5dc9f879d40ab264069689db4644c3d631bd8efab0c9721525e31d25dcd1af9c71dfa9a5da7cbc84811ec97e63f1f3b3c3f443bb6e59f6c1a115bd336cf2d485b53fafc84f8018c4a2ee1b9319a9b2d7a1e06b8862bc4ba82313d74a9fceabe2eab540fdb1434edb0339df7217b2125ab2bb9079fd1859877ef11e16fdcf7bbb9654be4f829760f51f439e05baa0c283b7576adfd43329cc044416b45cb3078646bcbc69bcb5dd23f3e0ae5a695fe3ac96b0a934696445bc395fb12c5b8d1e4d256c1a61aa79397a6453dc4adf11d79320f0294ad2e95e3ace72f616be3b02b40953b24e3d724baca91d2dc435c22e527df93cd48d65fa3e63f4cf355d97a4ddf2ee87ce09f919846df7a16c13584ad0dd10002e6f166121392eb7c8f081edefa703b73882f61b0f77946e16b4625b6f814df9e7392274387406a05d8fe7c58e664745813a65ce16133e55d49ebfdac252da5682f1a41d51ac38ae579e643098a4ae5172be6fbf9f6c51c124eabb90a28978825f3ed67f53bcdd4f81247121369c5974343ac939c4384088a35ba2473d8e81ad6834f7bdb949b92a21ba258f7b246966d4343e7ea44e4b6f9909cf112a1f25362fe8c684b010f875e994fb87b65aef8ff59b2df4703261a57cbaba9962915d50ae7405c89163a093a21c782a62fa524d4921078f896d61aecca2128a9ce0c3f481cc0cdb16b3666239383e7e180890819297c60a93b2f5841cf665eb5266394a10e6d0afc4f600938826fd13858e88e19b319876168de379162c578b25c4c87f46b47c005ebc79073e4770a46e9ccc5009b19d4a84d68bd68a7bac9fe0bd6a51ebae9ee6e6a7cd082802f0a53c7cdb4a4f3b2d7b15a9fc23bfdc10c88c185938916c0f70ba40dc26e80d86602051de0faa3503841b3ff12ec2cd0ac1bd9d86e2f098ad1246a93d63619d482634bea69a1c883a7b9e35b91fe67b35a02837750f363616a4ed572e8d6dd8595abe0bf1571ad6ebd5b16df8bad53b1d6bdb1e391702c91abf0e8feb3499fddd040e06c46647cecfbef85505b0670f1184878e3ee15bd3d93546a028917ef445a8fc1c26319b00c0b0e41e74e00447a6c5cfd63bfa09d3d68c3ecae03d2335662ee2e79dc907a4f5f91b5650d29020c99b3be715d225a9d8a21cf5394235bf035209052b76f815cebc0afa5993f8eb6ff944a3ce56ec14bd3e3ad84f1bfe05073c3d970082a852efd037537ba299fea304cc6e6c61cfa08e013df36501937f6cbd84cc7057ec8a471ea2e4931287db6c62d923f4c902382cc7ee4f9d49ae9857f59d67bfc58c277e44b1ea3f9582864733d1b898ba98108478dc003012b4010bca9e8ece18e3180b11cb8a31e293951e07ebfba7e770faea8b2f674eb535375f2254a3e20f1e2da32631a4752295ece3b072d21c1fba4d33a3415c9578c1c2052e34d5fabbf957ef2352e0c4e8885461841a3d47436738cc5c53e2c043a424f30458d1ed9d6b6b30cf6a7eda861b540ac25164e00f220496c46f93b3fa7fb7ea8a843ef3b3cde50882422bd9414f858f603c108f2c3c157c0c9eb41c185a27fcdb149e210a1e252a4647496e7477acb5b6c0dbe4fafbff1a26576162a0cef1f502071b1d333650666a91939aa8b0d9eef2fb08101319246d7e9ca8b4b9bac5d0d7f1fa0f25283540516169876285abbfd4e2ff0d141a566a7f8688969ed5d8ef00000000000000000000000000000000000000000000000000000000131c2e3f4f5c0526a000cc00420628b002b0002ced051021a0029004103b8840111402048000ae8f26f33c9de7075175616e74756d20526573697374616e636520697320617765736f6d65212121\"]'\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"command-9"},{"text":"Response","tagName":"h6","path":"antara/api/dilithium","closestElementReference":"response-21"},{"text":"{\n \"sighash\": \"d75fc97edbb645e4aeb1605da41208e57159c6e7\",\n \"msg32\": \"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"handle\": \"AtomicWarrior\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/dilithium","closestElementReference":"response-21"},{"text":"{\n \"sighash\": \"d75fc97edbb645e4aeb1605da41208e57159c6e7\",\n \"msg32\": \"5175616e74756d20526573697374616e636520697320617765736f6d65212121\",\n \"handle\": \"AtomicWarrior\",\n \"pkaddr\": \"PCD25oVW6JVzkNgg3MUB21uorh7BDj6TtD\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/dilithium","closestElementReference":"response-21"}],"antara/api/faucet":[{"text":"Faucet","tagName":"h1","path":"antara/api/faucet","closestElementReference":"faucet"},{"text":"Introduction","tagName":"h2","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"The Faucet Antara Module enables anyone to fund an on-chain faucet on any chain where modules are enabled. A Smart Chain may have only one on-chain faucet .","tagName":"p","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"enabled.","tagName":"a","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucet","tagName":"code","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"To receive funds from a faucet , the faucetget method can be executed by anyone on the Smart Chain, as long as their public address satisfies a few constraints. Their daemon's pubkey (corresponding to the address) must have no history of funds or transactions, and an address can claim faucet funds only once on a chain. The call also requires the node to perform a small PoW calculation; this deters leeching.","tagName":"p","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucet","tagName":"code","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucetget","tagName":"a","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"When faucetget is executed, the on-chain faucet sends 0.1 coins to the address that corresponds to the node's pubkey. This requires about 30 seconds of CPU time.","tagName":"p","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucetget","tagName":"code","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucet","tagName":"code","path":"antara/api/faucet","closestElementReference":"introduction"},{"text":"faucetaddress","tagName":"h2","path":"antara/api/faucet","closestElementReference":"faucetaddress"},{"text":"faucetaddress [pubkey]","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetaddress"},{"text":"faucetaddress [pubkey]","tagName":"strong","path":"antara/api/faucet","closestElementReference":"faucetaddress"},{"text":"The faucetaddress method returns the Antara address information for the specified pubkey. If no pubkey is provided, the method returns information for the pubkey used to launch the daemon.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetaddress"},{"text":"faucetaddress","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/faucet","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/faucet","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetaddress 03336ca9db27cb6e882830e20dc525884e27dc94d557a5e68b972a5cbf9e8c62a8\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetaddress 03336ca9db27cb6e882830e20dc525884e27dc94d557a5e68b972a5cbf9e8c62a8\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"FaucetCCAddress\": \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\",\n \"FaucetCCBalance\": 0.0,\n \"FaucetNormalAddress\": \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\",\n \"FaucetNormalBalance\": 0.0,\n \"FaucetCCTokensAddress\": \"RKaT8VfRSsu4qWL2kfW3PCzejrzJxi1TcJ\",\n \"PubkeyCCaddress(Faucet)\": \"RReGLfH2MTrkeLSepkVy5vnQPE29g7KofS\",\n \"PubkeyCCbalance(Faucet)\": 0.0,\n \"myCCAddress(Faucet)\": \"RTedsYkavdn39m2jrQcKjCnq4MvikGCiZS\",\n \"myCCbalance(Faucet)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"FaucetCCAddress\": \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\",\n \"FaucetCCBalance\": 0.0,\n \"FaucetNormalAddress\": \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\",\n \"FaucetNormalBalance\": 0.0,\n \"FaucetCCTokensAddress\": \"RKaT8VfRSsu4qWL2kfW3PCzejrzJxi1TcJ\",\n \"PubkeyCCaddress(Faucet)\": \"RReGLfH2MTrkeLSepkVy5vnQPE29g7KofS\",\n \"PubkeyCCbalance(Faucet)\": 0.0,\n \"myCCAddress(Faucet)\": \"RTedsYkavdn39m2jrQcKjCnq4MvikGCiZS\",\n \"myCCbalance(Faucet)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetaddress\", \"params\":[\"03336ca9db27cb6e882830e20dc525884e27dc94d557a5e68b972a5cbf9e8c62a8\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetaddress\", \"params\":[\"03336ca9db27cb6e882830e20dc525884e27dc94d557a5e68b972a5cbf9e8c62a8\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"FaucetCCAddress\": \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\",\n \"FaucetCCBalance\": 0.0,\n \"FaucetNormalAddress\": \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\",\n \"FaucetNormalBalance\": 0.0,\n \"FaucetCCTokensAddress\": \"RKaT8VfRSsu4qWL2kfW3PCzejrzJxi1TcJ\",\n \"PubkeyCCaddress(Faucet)\": \"RReGLfH2MTrkeLSepkVy5vnQPE29g7KofS\",\n \"PubkeyCCbalance(Faucet)\": 0.0,\n \"myCCAddress(Faucet)\": \"RTedsYkavdn39m2jrQcKjCnq4MvikGCiZS\",\n \"myCCbalance(Faucet)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"FaucetCCAddress\": \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\",\n \"FaucetCCBalance\": 0.0,\n \"FaucetNormalAddress\": \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\",\n \"FaucetNormalBalance\": 0.0,\n \"FaucetCCTokensAddress\": \"RKaT8VfRSsu4qWL2kfW3PCzejrzJxi1TcJ\",\n \"PubkeyCCaddress(Faucet)\": \"RReGLfH2MTrkeLSepkVy5vnQPE29g7KofS\",\n \"PubkeyCCbalance(Faucet)\": 0.0,\n \"myCCAddress(Faucet)\": \"RTedsYkavdn39m2jrQcKjCnq4MvikGCiZS\",\n \"myCCbalance(Faucet)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples"},{"text":"faucetfund","tagName":"h2","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"faucetfund amount","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"faucetfund amount","tagName":"strong","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"The faucetfund method funds the on-chain faucet.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"faucetfund","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/faucet","closestElementReference":"faucetfund"},{"text":"Arguments","tagName":"h3","path":"antara/api/faucet","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/faucet","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Step 1: Specify faucet amount and get the raw transaction HEX value","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetfund 100\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetfund 100\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetfund\", \"params\":[\"100\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetfund\", \"params\":[\"100\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Step 2: Broadcast/send raw transaction","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"txid\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"size\": 225,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"72999c8d13290cfc0cc201be4c7bbdb326581fe01f3a634b9f21326a4cd1343c\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\",\n \"hex\": \"483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueSat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"condition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 99899.9998,\n \"valueSat\": 9989999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"txid\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"size\": 225,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"72999c8d13290cfc0cc201be4c7bbdb326581fe01f3a634b9f21326a4cd1343c\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\",\n \"hex\": \"483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueSat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"condition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 99899.9998,\n \"valueSat\": 9989999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000013c34d14c6a32219f4b633a1fe01f5826b3bd7b4cbe01c20cfc0c29138d9c99720100000049483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501ffffffff0200e40b5402000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cce06d66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"txid\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"72999c8d13290cfc0cc201be4c7bbdb326581fe01f3a634b9f21326a4cd1343c\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf48852595[ALL]\",\n \"hex\": \"483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueZat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 99899.9998,\n \"valueZat\": 9989999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"txid\": \"f2baf8d9a1eaf42bb1a85462b5699ffc0f04e8c54aafc4661767df96be9022b7\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"72999c8d13290cfc0cc201be4c7bbdb326581fe01f3a634b9f21326a4cd1343c\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf48852595[ALL]\",\n \"hex\": \"483045022100b265993f541d580f10e8820f9986bdd479859fdcb2e636dd1ee1b23506eebeac02202234a6e5141345459c4b4959e921aa85b9fa616f4c44ea15e53d08bf4885259501\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueZat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 99899.9998,\n \"valueZat\": 9989999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-2"},{"text":"faucetget","tagName":"h2","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"faucetget","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"faucetget","tagName":"strong","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"The faucetget method requests the faucet module to send coins.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"faucetget","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"faucet","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"The faucetget command yields 0.1 coins and requires about 30 seconds of CPU time to execute.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"faucetget","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetget"},{"text":"Arguments","tagName":"h3","path":"antara/api/faucet","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/faucet","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Step 1: Use faucetget and get the raw HEX value","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetget\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetget\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetget\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetget\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Step 2: Broadcast/send the raw transaction","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"faucetget validated\n64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"faucetget validated\n64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Step 3: Decode the raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"size\": 275,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"409de958da855607255f18c4ea9ed90b49650977490d2fe0ea0a565aa6ce4109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 99994.9995,\n \"valueSat\": 9999499950000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"condition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"size\": 275,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"409de958da855607255f18c4ea9ed90b49650977490d2fe0ea0a565aa6ce4109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 99994.9995,\n \"valueSat\": 9999499950000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"condition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000010941cea65a560aeae02f0d49770965490bd99eeac4185f25075685da58e99d40000000007b4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001ffffffff02b077a43018090000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc00e1f50500000000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"409de958da855607255f18c4ea9ed90b49650977490d2fe0ea0a565aa6ce4109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 99994.9995,\n \"valueZat\": 9999499950000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 1.0,\n \"valueZat\": 100000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"64760e66c49df97eea14896ecdd505d2d78ea214eb583c8a6a0ac863b2b989b3\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"409de958da855607255f18c4ea9ed90b49650977490d2fe0ea0a565aa6ce4109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe128140150ad95012ad8fae990096787d75d563977cef914e812e9dc8b6236243ac5f0050b3af4f2675ad433dcff4be16d113fb9a46357ee60682ed5d76c60f9ccffe8ea100af038001e4a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 99994.9995,\n \"valueZat\": 9999499950000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\"]\n }\n },\n {\n \"value\": 1.0,\n \"valueZat\": 100000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-3"},{"text":"faucetinfo","tagName":"h2","path":"antara/api/faucet","closestElementReference":"faucetinfo"},{"text":"faucetinfo","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetinfo"},{"text":"faucetinfo","tagName":"strong","path":"antara/api/faucet","closestElementReference":"faucetinfo"},{"text":"The faucetinfo method displays the balance of funds in the chain's faucet.","tagName":"p","path":"antara/api/faucet","closestElementReference":"faucetinfo"},{"text":"faucetinfo","tagName":"code","path":"antara/api/faucet","closestElementReference":"faucetinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/faucet","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/faucet","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetinfo\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD faucetinfo\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Faucet\",\n \"funding\": \"200207.99860023\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Faucet\",\n \"funding\": \"200207.99860023\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"faucetinfo\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"name\": \"Faucet\",\n \"funding\": \"200207.99860023\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/faucet","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"name\": \"Faucet\",\n \"funding\": \"200207.99860023\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/faucet","closestElementReference":"examples-4"}],"antara/api/gaming":[{"text":"Gaming","tagName":"h1","path":"antara/api/gaming","closestElementReference":"gaming"},{"text":"Introduction","tagName":"h2","path":"antara/api/gaming","closestElementReference":"introduction"},{"text":"Welcome to the Antara Gaming SDK documentation. This module-based software is programmed in C++ 17 and is designed for high-speed runtime execution.","tagName":"p","path":"antara/api/gaming","closestElementReference":"introduction"},{"text":"The modules of the Antara Gaming SDK rely on other modules, such as Oracles","tagName":"p","path":"antara/api/gaming","closestElementReference":"introduction"},{"text":"Oracles","tagName":"a","path":"antara/api/gaming","closestElementReference":"introduction"},{"text":"config","tagName":"h2","path":"antara/api/gaming","closestElementReference":"config"},{"text":"The antara::gaming::config class provides a function to load customized configuration settings for the Antara Gaming SDK.","tagName":"p","path":"antara/api/gaming","closestElementReference":"config"},{"text":"antara::gaming::config","tagName":"code","path":"antara/api/gaming","closestElementReference":"config"},{"text":"load_configuration","tagName":"h3","path":"antara/api/gaming","closestElementReference":"load-configuration"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"The load_configuration function loads customizable configuration settings from a path and filename.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"load_configuration","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"If the parameter path does not exist the function attempts to create the directories of the given path","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"If the configuration does not exist, the function creates a default configuration","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"If the path and the name of the file exists, the function loads the configuration contents","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern"},{"text":"template\n\nTConfig antara::gaming::config::load_configuration(std::filesystem::path &&config_path, std::string filename)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern"},{"text":"template\n\nTConfig antara::gaming::config::load_configuration(std::filesystem::path &&config_path, std::string filename)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern"},{"text":"Template Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-parameters"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example"},{"text":"auto cfg = config::load_configuration(std::filesystem::current_path() / \"assets/config\", \"my_game.config.json\");\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example"},{"text":"auto cfg = config::load_configuration(std::filesystem::current_path() / \"assets/config\", \"my_game.config.json\");\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example"},{"text":"core","tagName":"h2","path":"antara/api/gaming","closestElementReference":"core"},{"text":"The antara::gaming::core class provides functions and information relevant to\nthe core Antara Gaming SDK library.","tagName":"p","path":"antara/api/gaming","closestElementReference":"core"},{"text":"antara::gaming::core","tagName":"code","path":"antara/api/gaming","closestElementReference":"core"},{"text":"version","tagName":"h3","path":"antara/api/gaming","closestElementReference":"version"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-2"},{"text":"The version function returns the current version of the Antara Gaming SDK.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-2"},{"text":"version","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-2"},{"text":"The result of this function can be deduced at compile time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-2"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-2"},{"text":"#include \n\nconstexpr const char *antara::gaming::version()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-2"},{"text":"#include \n\nconstexpr const char *antara::gaming::version()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-2"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-2"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-2"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-2"},{"text":"#include \n#include \n\nvoid print_version() {\n std::cout << antara::gaming::version() << std::endl;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-2"},{"text":"#include \n#include \n\nvoid print_version() {\n std::cout << antara::gaming::version() << std::endl;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-2"},{"text":"ecs::system_manager","tagName":"h2","path":"antara/api/gaming","closestElementReference":"ecs-system-manager"},{"text":"The antara::gaming::ecs::system_manager class provides methods to perform tasks such as the manipulation of systems, the addition, deletion, and update of systems, and the deactivation of a system.","tagName":"p","path":"antara/api/gaming","closestElementReference":"ecs-system-manager"},{"text":"antara::gaming::ecs::system_manager","tagName":"code","path":"antara/api/gaming","closestElementReference":"ecs-system-manager"},{"text":"system_manager","tagName":"h3","path":"antara/api/gaming","closestElementReference":"system-manager"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-3"},{"text":"The primary constructor function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-3"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-3"},{"text":"#include \n\nsystem_manager(entt::registry ®istry, bool subscribe_to_internal_events = true)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-3"},{"text":"#include \n\nsystem_manager(entt::registry ®istry, bool subscribe_to_internal_events = true)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-3"},{"text":"Destructor","tagName":"h4","path":"antara/api/gaming","closestElementReference":"destructor"},{"text":"~system_manager()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"destructor"},{"text":"~system_manager()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"destructor"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-3"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-3"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-3"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager mgr{entity_registry};\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-3"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager mgr{entity_registry};\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-3"},{"text":"receive_add_base_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"receive-add-base-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-4"},{"text":"Public member functions.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-4"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-4"},{"text":"void receive_add_base_system(const ecs::event::add_base_system &evt)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-4"},{"text":"void receive_add_base_system(const ecs::event::add_base_system &evt)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-4"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-4"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-4"},{"text":"start","tagName":"h3","path":"antara/api/gaming","closestElementReference":"start"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-5"},{"text":"The start function informs the system manager instance that the developer's game is initiated and spinning.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-5"},{"text":"start","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-5"},{"text":"This function allows for the execution of actions at the end of each frame. For example, an action could be the deletion of a sytem, or the addition of a new system which will continue to receive iterations and updates.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-5"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-5"},{"text":"#include \n\nsystem_manager_instance.start();\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-5"},{"text":"#include \n\nsystem_manager_instance.start();\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-5"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-5"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-5"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-4"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-4"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-4"},{"text":"update","tagName":"h3","path":"antara/api/gaming","closestElementReference":"update"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"The update function updates a system-manager instance.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"update","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"The logic of the function is designed to automatically manage the correct order of updates for the different types of systems the developer has added to their system-manager instance.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"If the developer's logic has not loaded any systems into the system_manager instance the function returns 0","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"0","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"If the developer's logic marks a system for deletion, the function deletes the system is automatically at the end of the current loop tick","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"If the developer's logic adds a system through an ecs::event::add_base_system event, the function automatically adds the system at the end of the current loop tick","tagName":"li","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"ecs::event::add_base_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-6"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-6"},{"text":"#include \n\nstd::size\\_t nb\\_systems\\_updated = system\\_manager.update();\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-6"},{"text":"#include \n\nstd::size\\_t nb\\_systems\\_updated = system\\_manager.update();\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-6"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-6"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-6"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-5"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... add 5 different systems here\n std::size_t nb_systems_updated = system_manager.update();\n if (nb_systems_updated != 5) {\n std::cerr << \"Expect 5 system updates from system_manager.update(), but received only \" << nb_systems_updated << std::endl;\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-5"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... add 5 different systems here\n std::size_t nb_systems_updated = system_manager.update();\n if (nb_systems_updated != 5) {\n std::cerr << \"Expect 5 system updates from system_manager.update(), but received only \" << nb_systems_updated << std::endl;\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-5"},{"text":"update_systems","tagName":"h3","path":"antara/api/gaming","closestElementReference":"update-systems"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"The update_systems function updates specific systems in a system_manager instance.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"update_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"The update (listed above) function calls this update_systems function multiple times each time the update function executes.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"update","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"update_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"update","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"The update_systems function is useful when the developer wishes to manually perform an update of a specific system.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"update_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-7"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-7"},{"text":"#include \n\nstd::size\\_t nb\\_systems\\_updated = system\\_manager.update();\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-7"},{"text":"#include \n\nstd::size\\_t nb\\_systems\\_updated = system\\_manager.update();\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-7"},{"text":"Function Parameters","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-parameters-7"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-7"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-6"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... add 5 different systems here\n std::size_t nb_systems_updated = system_manager.update();\n if (nb_systems_updated != 5) {\n std::cerr << \"Expect 5 system updates from system_manager.update(), but received only \" << nb_systems_updated << std::endl;\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-6"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... add 5 different systems here\n std::size_t nb_systems_updated = system_manager.update();\n if (nb_systems_updated != 5) {\n std::cerr << \"Expect 5 system updates from system_manager.update(), but received only \" << nb_systems_updated << std::endl;\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-6"},{"text":"get_system | 1","tagName":"h3","path":"antara/api/gaming","closestElementReference":"get-system-1"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-8"},{"text":"The get_system function uses a template parameter to return a reference to a system.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-8"},{"text":"get_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-8"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-8"},{"text":"template\nconst TSystem &get_system() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-8"},{"text":"template\nconst TSystem &get_system() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-8"},{"text":"Function and Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-and-template-type"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-8"},{"text":"get_system | 2","tagName":"h3","path":"antara/api/gaming","closestElementReference":"get-system-2"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-9"},{"text":"An overloaded version of the get_system function above.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-9"},{"text":"get_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-9"},{"text":"This overloaded function accepts different parameters.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-9"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-9"},{"text":"template\n\nTSystem &get_system()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-9"},{"text":"template\n\nTSystem &get_system()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-9"},{"text":"Function and Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-and-template-type-2"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-9"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-7"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... added 2 differents systems here (render_system, and a log_system)\n auto& render_system = system_manager.get_system();\n\n const auto& log_system = system_manager.get_system();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-7"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... added 2 differents systems here (render_system, and a log_system)\n auto& render_system = system_manager.get_system();\n\n const auto& log_system = system_manager.get_system();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-7"},{"text":"get_systems | 1","tagName":"h3","path":"antara/api/gaming","closestElementReference":"get-systems-1"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-10"},{"text":"The get_systems function accepts multiple template parameters and returns multiple systems.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-10"},{"text":"get_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-10"},{"text":"This function recursively calls the get_system function. Based on the logic of the different kinds of systems requested, this function updates the indicated systems in the correct order.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-10"},{"text":"get_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-10"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-10"},{"text":"template\nstd::tuple...> get_systems()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-10"},{"text":"template\nstd::tuple...> get_systems()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-10"},{"text":"Function and Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-and-template-type-3"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-10"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-8"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... added 2 different systems here (render_system, and a log_system)\n auto& render_system = system_manager.get_system();\n\n const auto& log_system = system_manager.get_system();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-8"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n system_manager.start();\n // ... added 2 different systems here (render_system, and a log_system)\n auto& render_system = system_manager.get_system();\n\n const auto& log_system = system_manager.get_system();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-8"},{"text":"get_systems | 2","tagName":"h3","path":"antara/api/gaming","closestElementReference":"get-systems-2"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-11"},{"text":"An overloaded version of the get_systems function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-11"},{"text":"get_systems","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-11"},{"text":"This function is marked as nodiscard.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-11"},{"text":"nodiscard.","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-11"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-11"},{"text":"template\nstd::tuple>...> get_systems() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-11"},{"text":"template\nstd::tuple>...> get_systems() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-11"},{"text":"Function and Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"function-and-template-type-4"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-11"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-9"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // ... added different systems here\n // Called from a const context\n auto &&[system_foo, system_bar] = system_manager.get_systems();\n\n // Called from a non const context\n auto&&[system_foo_nc, system_bar_nc] = system_manager.get_systems();\n\n // Get it as a tuple\n auto tuple_systems = system_manager.get_systems();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-9"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // ... added different systems here\n // Called from a const context\n auto &&[system_foo, system_bar] = system_manager.get_systems();\n\n // Called from a non const context\n auto&&[system_foo_nc, system_bar_nc] = system_manager.get_systems();\n\n // Get it as a tuple\n auto tuple_systems = system_manager.get_systems();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-9"},{"text":"has_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"has-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-12"},{"text":"The has_system function verifies whether or not a system is already registered in the system_manager .","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-12"},{"text":"has_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-12"},{"text":"system_manager","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-12"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-12"},{"text":"template\nbool has_system() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-12"},{"text":"template\nbool has_system() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-12"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-12"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-10"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_system();\n if (!result) {\n // Oh no, i don't have a rendering system.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-10"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_system();\n if (!result) {\n // Oh no, i don't have a rendering system.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-10"},{"text":"has_systems | 1","tagName":"h3","path":"antara/api/gaming","closestElementReference":"has-systems-1"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"The has_systems function verifies whether or not a list of systems is already registered in the system_manager .","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"has_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"system_manager","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"This function recursively calls the has_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"has_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"This function is marked as nodiscard.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"nodiscard.","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-13"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-13"},{"text":"#include \n\nbool result = system_manager.has_systems();\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-13"},{"text":"#include \n\nbool result = system_manager.has_systems();\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-13"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-2"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-13"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-11"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-11"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-11"},{"text":"has_systems | 2","tagName":"h3","path":"antara/api/gaming","closestElementReference":"has-systems-2"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-14"},{"text":"The has_systems function verifies whether or not a list of systems is already registered in the system_manager .","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-14"},{"text":"has_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-14"},{"text":"system_manager","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-14"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-14"},{"text":"template\nbool has_systems() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-14"},{"text":"template\nbool has_systems() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-14"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-3"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-14"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-12"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-12"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-12"},{"text":"has_systems | 3","tagName":"h3","path":"antara/api/gaming","closestElementReference":"has-systems-3"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"The has_systems function verifies whether or not a list of systems is already registered in the system_manager .","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"has_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"system_manager","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"This function recursively calls the has_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"has_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"This function is marked as nodiscard.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"nodiscard.","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-15"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-15"},{"text":"#include \n\nbool result = system_manager.has_systems();\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-15"},{"text":"#include \n\nbool result = system_manager.has_systems();\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-15"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-4"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-15"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-13"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-13"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-13"},{"text":"has_systems | 4","tagName":"h3","path":"antara/api/gaming","closestElementReference":"has-systems-4"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"The has_systems function verifies whether or not a list of systems is already registered in the system_manager .","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"has_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"system_manager","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"This function recursively calls the has_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"has_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"This function is marked nodiscard.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"nodiscard.","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-16"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-16"},{"text":"template\nbool has\\_systems() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-16"},{"text":"template\nbool has\\_systems() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-16"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-5"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-16"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-14"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-14"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.has_systems();\n if (!result) {\n // Oh no, atleast one of the systems is not present\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-14"},{"text":"mark_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"mark-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-17"},{"text":"The mark_system function marks a system for destruction at the next tick of the game loop.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-17"},{"text":"mark_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-17"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-17"},{"text":"template\nbool mark_system()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-17"},{"text":"template\nbool mark_system()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-17"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-6"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-17"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-15"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-15"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-15"},{"text":"mark_systems | 1","tagName":"h3","path":"antara/api/gaming","closestElementReference":"mark-systems-1"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-18"},{"text":"The mark_systems function marks a system for destruction at the next tick of the game loop.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-18"},{"text":"mark_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-18"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-18"},{"text":"template\nbool mark_system()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-18"},{"text":"template\nbool mark_system()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-18"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-7"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-18"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-16"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-16"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-16"},{"text":"mark_systems | 2","tagName":"h3","path":"antara/api/gaming","closestElementReference":"mark-systems-2"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"The mark_systems function marks a list of systems for destruction at the next tick of the game loop.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"mark_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"This function recursively calls the mark_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"mark_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"This system is marked as nodiscard.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"nodiscard.","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-19"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-19"},{"text":"template\nbool mark_systems()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-19"},{"text":"template\nbool mark_systems()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-19"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-8"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-19"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-17"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-17"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.mark_system();\n if (!result) {\n // Oh no the system has not been marked.\n // Did you mark a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-17"},{"text":"enable_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"enable-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-20"},{"text":"The enable_system function enables a system.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-20"},{"text":"enable_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-20"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-20"},{"text":"template\nbool enable_system()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-20"},{"text":"template\nbool enable_system()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-20"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-9"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-20"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-18"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.enable_system();\n if (!result) {\n // Oh no, this system cannot be enabled.\n // Did you enable a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-18"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.enable_system();\n if (!result) {\n // Oh no, this system cannot be enabled.\n // Did you enable a system that is not present in the system_manager ?\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-18"},{"text":"enable_systems","tagName":"h3","path":"antara/api/gaming","closestElementReference":"enable-systems"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-21"},{"text":"The enable_systems function enables a list of systems.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-21"},{"text":"enable_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-21"},{"text":"This function recursively calls the enable_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-21"},{"text":"enable_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-21"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-21"},{"text":"template\nbool enable_systems()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-21"},{"text":"template\nbool enable_systems()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-21"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-10"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-21"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-19"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.enable_systems();\n if (!result) {\n // Oh no, atleast one of the requested systems cannot be enabled.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-19"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.enable_systems();\n if (!result) {\n // Oh no, atleast one of the requested systems cannot be enabled.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-19"},{"text":"disable_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"disable-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-22"},{"text":"The disable_system function disables a system.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-22"},{"text":"disable_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-22"},{"text":"A disabled system is ignored during the game loop, but the system is not destroyed.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-22"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-22"},{"text":"template\nbool disable_system()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-22"},{"text":"template\nbool disable_system()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-22"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-11"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-22"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-20"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.disable_system();\n if (!result) {\n // Oh no the system_manager cannot disable this system.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-20"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.disable_system();\n if (!result) {\n // Oh no the system_manager cannot disable this system.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-20"},{"text":"disable_systems","tagName":"h3","path":"antara/api/gaming","closestElementReference":"disable-systems"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-23"},{"text":"The disable_systems function disables a list of systems.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-23"},{"text":"disable_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-23"},{"text":"This function recursively calls the disable_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-23"},{"text":"disable_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-23"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-23"},{"text":"template\nbool disable_systems()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-23"},{"text":"template\nbool disable_systems()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-23"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-12"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-23"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-21"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.disable_systems();\n if (!result) {\n // Oh no, atleast one of the requested systems cannot be disabled.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-21"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n\n bool result = system_manager.disable_systems();\n if (!result) {\n // Oh no, atleast one of the requested systems cannot be disabled.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-21"},{"text":"nb_systems | 1","tagName":"h3","path":"antara/api/gaming","closestElementReference":"nb-systems-1"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-24"},{"text":"The nb_systems function returns the number of systems registered in the system manager.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-24"},{"text":"nb_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-24"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-24"},{"text":"std::size_t nb_systems() const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-24"},{"text":"std::size_t nb_systems() const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-24"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-13"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-24"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-22"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // added 2 systems here\n auto nb_systems = system_manager.nb_systems();\n if (nb_systems) {\n // Oh no, was expecting atleast 2 systems.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-22"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // added 2 systems here\n auto nb_systems = system_manager.nb_systems();\n if (nb_systems) {\n // Oh no, was expecting atleast 2 systems.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-22"},{"text":"nb_systems | 2","tagName":"h3","path":"antara/api/gaming","closestElementReference":"nb-systems-2"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-25"},{"text":"The nb_systems function is an overloaded version of the nb_systems function. This version returns the system number of a certain type to register in the system manager.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-25"},{"text":"nb_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-25"},{"text":"nb_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-25"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-25"},{"text":"std::size_t nb_systems(system_type sys_type) const\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-25"},{"text":"std::size_t nb_systems(system_type sys_type) const\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-25"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-14"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-25"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-23"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // added 2 systems of update type here\n auto nb_systems = system_manager.nb_systems(system_type::pre_update);\n if (nb_systems) {\n // Oh no, was expecting atleast 2 systems of pre_update type.\n }\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-23"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n // added 2 systems of update type here\n auto nb_systems = system_manager.nb_systems(system_type::pre_update);\n if (nb_systems) {\n // Oh no, was expecting atleast 2 systems of pre_update type.\n }\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-23"},{"text":"create_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"create-system"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-26"},{"text":"The create_system function creates a system with the provided argument.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-26"},{"text":"create_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-26"},{"text":"This function is a factory.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-26"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-26"},{"text":"template\nTSystem &create_system(TSystemArgs&&... args)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-26"},{"text":"template\nTSystem &create_system(TSystemArgs&&... args)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-26"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-15"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-26"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-24"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n auto& foo_system = system_manager.create_system(); // you can send argument of the foo constructor here.\n foo_system.update();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-24"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n auto& foo_system = system_manager.create_system(); // you can send argument of the foo constructor here.\n foo_system.update();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-24"},{"text":"create_system_rt","tagName":"h3","path":"antara/api/gaming","closestElementReference":"create-system-rt"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-27"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-27"},{"text":"template\nvoid create_system_rt(TSystemArgs&&... args)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-27"},{"text":"template\nvoid create_system_rt(TSystemArgs&&... args)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-27"},{"text":"load_systems","tagName":"h3","path":"antara/api/gaming","closestElementReference":"load-systems"},{"text":"Public Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-function-28"},{"text":"The load_systems function loads many os systems.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-28"},{"text":"load_systems","tagName":"code","path":"antara/api/gaming","closestElementReference":"public-function-28"},{"text":"This function recursively calls the create_system function.","tagName":"p","path":"antara/api/gaming","closestElementReference":"public-function-28"},{"text":"create_system","tagName":"a","path":"antara/api/gaming","closestElementReference":"public-function-28"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-28"},{"text":"template\nauto load_systems(TArgs&&... args)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-28"},{"text":"template\nauto load_systems(TArgs&&... args)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-28"},{"text":"Template Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"template-type-16"},{"text":"Response","tagName":"h4","path":"antara/api/gaming","closestElementReference":"response-27"},{"text":"📌 Example","tagName":"h4","path":"antara/api/gaming","closestElementReference":"example-25"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n auto&& [foo_system, bar_system] = system_manager.load_systems();\n foo_system.update();\n bar_system.update();\n return 0;\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-25"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n antara::gaming::ecs::system_manager system_manager{entity_registry};\n auto&& [foo_system, bar_system] = system_manager.load_systems();\n foo_system.update();\n bar_system.update();\n return 0;\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-25"},{"text":"clock","tagName":"h3","path":"antara/api/gaming","closestElementReference":"clock"},{"text":"Private Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-type"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-29"},{"text":"using clock = std::chrono::steady_clock\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-29"},{"text":"using clock = std::chrono::steady_clock\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-29"},{"text":"Private typedefs.","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-29"},{"text":"syntactic sugar name for a chrono steady clock","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-29"},{"text":"system_ptr","tagName":"h3","path":"antara/api/gaming","closestElementReference":"system-ptr"},{"text":"Private Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-type-2"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-30"},{"text":"using system_ptr = std::unique_ptr\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-30"},{"text":"using system_ptr = std::unique_ptr\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-30"},{"text":"syntactic sugar name for a pointer to base_system","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-30"},{"text":"system_array","tagName":"h3","path":"antara/api/gaming","closestElementReference":"system-array"},{"text":"Private Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-type-3"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-31"},{"text":"using system_array = std::vector\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-31"},{"text":"using system_array = std::vector\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-31"},{"text":"syntactic sugar name for an array of system_ptr","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-31"},{"text":"system_registry","tagName":"h3","path":"antara/api/gaming","closestElementReference":"system-registry"},{"text":"Private Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-type-4"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-32"},{"text":"using system_registry = std::array\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-32"},{"text":"using system_registry = std::array\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-32"},{"text":"syntactic sugar name for a multidimensional array of system_array (pre_update, logic_update, post_update)","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-32"},{"text":"systems_queue","tagName":"h3","path":"antara/api/gaming","closestElementReference":"systems-queue"},{"text":"Private Type","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-type-5"},{"text":"using systems_queue = std::queue\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"private-type-5"},{"text":"using systems_queue = std::queue\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"private-type-5"},{"text":"syntactic sugar name for a queue of system pointer to add.","tagName":"p","path":"antara/api/gaming","closestElementReference":"private-type-5"},{"text":"add_system_","tagName":"h3","path":"antara/api/gaming","closestElementReference":"add-system"},{"text":"Private Function","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-function"},{"text":"Usage Pattern","tagName":"h4","path":"antara/api/gaming","closestElementReference":"usage-pattern-33"},{"text":"base*system &add_system*(system_ptr &&system, system_type sys_type)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-33"},{"text":"base*system &add_system*(system_ptr &&system, system_type sys_type)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-33"},{"text":"entity_registry_","tagName":"h3","path":"antara/api/gaming","closestElementReference":"entity-registry"},{"text":"Private Data Members","tagName":"h4","path":"antara/api/gaming","closestElementReference":"private-data-members"},{"text":"event::key*","tagName":"h2","path":"antara/api/gaming","closestElementReference":"event-key"},{"text":"The antara::gaming::event class contains functions and other elements that are common in gaming.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key"},{"text":"antara::gaming::event","tagName":"code","path":"antara/api/gaming","closestElementReference":"event-key"},{"text":"event::key_pressed","tagName":"h3","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"struct key_pressed","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"struct key_pressed","tagName":"strong","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"The key_pressed struct provides functions that execute when a user presses a key.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"key_pressed","tagName":"code","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"This class is automatically reflected for scripting systems such as Lua, Python.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key-pressed"},{"text":"Public Functions","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-functions"},{"text":"key_pressed | 1","tagName":"h5","path":"antara/api/gaming","closestElementReference":"key-pressed-1"},{"text":"The key_pressed function is a constructor that takes arguments to associate a key with logic.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-pressed-1"},{"text":"key_pressed","tagName":"code","path":"antara/api/gaming","closestElementReference":"key-pressed-1"},{"text":"This is the principal constructor for key-press functions.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-pressed-1"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-34"},{"text":"key_pressed(input::key key_, bool alt_, bool control_, bool shift_, bool system_)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-34"},{"text":"key_pressed(input::key key_, bool alt_, bool control_, bool shift_, bool system_)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-34"},{"text":"Template Type","tagName":"h6","path":"antara/api/gaming","closestElementReference":"template-type-17"},{"text":"Response","tagName":"h6","path":"antara/api/gaming","closestElementReference":"response-28"},{"text":"📌 Example","tagName":"h6","path":"antara/api/gaming","closestElementReference":"example-26"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(input::key::a, false, false, false, false);\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-26"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(input::key::a, false, false, false, false);\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-26"},{"text":"key_pressed | 2","tagName":"h5","path":"antara/api/gaming","closestElementReference":"key-pressed-2"},{"text":"The key_pressed function that takes no arguments is the default constructor, provided for scripting-system convenience.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-pressed-2"},{"text":"key_pressed","tagName":"code","path":"antara/api/gaming","closestElementReference":"key-pressed-2"},{"text":"Please see the key_pressed | 1 function for more information.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-pressed-2"},{"text":"key_pressed | 1","tagName":"a","path":"antara/api/gaming","closestElementReference":"key-pressed-2"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-35"},{"text":"key_pressed()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-35"},{"text":"key_pressed()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-35"},{"text":"Public Members","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-members"},{"text":"antara::gaming::input::key key","tagName":"h5","path":"antara/api/gaming","closestElementReference":"antara-gaming-input-key-key"},{"text":"Fields.","tagName":"h6","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"key pressed","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields"},{"text":" bool alt = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields"},{"text":" bool alt = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"is alt pressed at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields"},{"text":" bool control = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields"},{"text":" bool control = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"is ctrl pressed at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"bool shift = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"bool shift = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"is shift pressed at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"bool system = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"bool system = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"is system pressed at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields"},{"text":"event::key_released","tagName":"h3","path":"antara/api/gaming","closestElementReference":"event-key-released"},{"text":"The antara::gaming::event::key\\_released class provides functions and other elements that associate the release of a key with logic.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key-released"},{"text":"antara::gaming::event::key\\_released","tagName":"code","path":"antara/api/gaming","closestElementReference":"event-key-released"},{"text":"This class is automatically reflected for scripting systems such as Lua, Python.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-key-released"},{"text":"Public Functions","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-functions-2"},{"text":"key_released","tagName":"h5","path":"antara/api/gaming","closestElementReference":"key-released"},{"text":"The key_released function is a constructor that takes arguments to associate a key with logic.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-released"},{"text":"key_released","tagName":"code","path":"antara/api/gaming","closestElementReference":"key-released"},{"text":"This is the principal constructor for key-release functions.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-released"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-36"},{"text":"key_released(input::key key_, bool alt_, bool control_, bool shift_, bool system_)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-36"},{"text":"key_released(input::key key_, bool alt_, bool control_, bool shift_, bool system_)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-36"},{"text":"Template Type","tagName":"h6","path":"antara/api/gaming","closestElementReference":"template-type-18"},{"text":"Response","tagName":"h6","path":"antara/api/gaming","closestElementReference":"response-29"},{"text":"📌 Example","tagName":"h6","path":"antara/api/gaming","closestElementReference":"example-27"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(input::key::a, false, false, false, false);\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-27"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(input::key::a, false, false, false, false);\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-27"},{"text":"key_released | 2","tagName":"h5","path":"antara/api/gaming","closestElementReference":"key-released-2"},{"text":"The key_released function that takes no arguments is the default constructor, provided for scripting-system convenience.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-released-2"},{"text":"key_released","tagName":"code","path":"antara/api/gaming","closestElementReference":"key-released-2"},{"text":"Please see the key_released | 1 function for more information.","tagName":"p","path":"antara/api/gaming","closestElementReference":"key-released-2"},{"text":"key_released | 1","tagName":"a","path":"antara/api/gaming","closestElementReference":"key-released-2"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-37"},{"text":"key_released()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-37"},{"text":"key_released()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-37"},{"text":"Public Members","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-members-2"},{"text":"input::key key","tagName":"h5","path":"antara/api/gaming","closestElementReference":"input-key-key"},{"text":"Fields.","tagName":"h6","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"key released","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool alt = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool alt = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"is alt released at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool control = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool control = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"is ctrl released at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool shift = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool shift = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"is shift released at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool system = {\"{false}\"}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"bool system = {\"{false}\"}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"is system released at the same time.","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-2"},{"text":"event::quit_game","tagName":"h2","path":"antara/api/gaming","closestElementReference":"event-quit-game"},{"text":"The antara::gaming::event::quit_game class provides functions and other methods to quit a game.","tagName":"p","path":"antara/api/gaming","closestElementReference":"event-quit-game"},{"text":"antara::gaming::event::quit_game","tagName":"code","path":"antara/api/gaming","closestElementReference":"event-quit-game"},{"text":"quit_game","tagName":"h3","path":"antara/api/gaming","closestElementReference":"quit-game"},{"text":"The quit_game struct is an event that leaves a game and provides a return value.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game"},{"text":"quit_game","tagName":"code","path":"antara/api/gaming","closestElementReference":"quit-game"},{"text":"This class is automatically reflected for scripting systems such as Lua, Python.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game"},{"text":"Public Functions","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-functions-3"},{"text":"quit_game | 1","tagName":"h5","path":"antara/api/gaming","closestElementReference":"quit-game-1"},{"text":"The quit_game function is a constructor that takes arguments and quits the game.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game-1"},{"text":"quit_game","tagName":"code","path":"antara/api/gaming","closestElementReference":"quit-game-1"},{"text":"This is the principal constructor for quit_game functions.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game-1"},{"text":"quit_game","tagName":"code","path":"antara/api/gaming","closestElementReference":"quit-game-1"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-38"},{"text":"quit_game(int return_value)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-38"},{"text":"quit_game(int return_value)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-38"},{"text":"Template Type","tagName":"h6","path":"antara/api/gaming","closestElementReference":"template-type-19"},{"text":"Response","tagName":"h6","path":"antara/api/gaming","closestElementReference":"response-30"},{"text":"📌 Example","tagName":"h6","path":"antara/api/gaming","closestElementReference":"example-28"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(0);\n}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"example-28"},{"text":"#include \n#include \n#include \n\nint main()\n{\n entt::registry entity_registry;\n entt::dispatcher& dispatcher{registry.set()};\n dispatcher.trigger(0);\n}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"example-28"},{"text":"quit_game | 2","tagName":"h5","path":"antara/api/gaming","closestElementReference":"quit-game-2"},{"text":"The quit_game function that takes no arguments is the default constructor, provided for scripting-system convenience.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game-2"},{"text":"quit_game","tagName":"code","path":"antara/api/gaming","closestElementReference":"quit-game-2"},{"text":"Please see the quit_game | 1 function for more information.","tagName":"p","path":"antara/api/gaming","closestElementReference":"quit-game-2"},{"text":"quit_game | 1","tagName":"a","path":"antara/api/gaming","closestElementReference":"quit-game-2"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-39"},{"text":"quit_game()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-39"},{"text":"quit_game()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-39"},{"text":"Public Members","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-members-3"},{"text":"return_value_","tagName":"h5","path":"antara/api/gaming","closestElementReference":"return-value"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-40"},{"text":"int return_value_\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-40"},{"text":"int return_value_\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-40"},{"text":"Fields.","tagName":"h6","path":"antara/api/gaming","closestElementReference":"fields-3"},{"text":"the return value of the program when leaving the game","tagName":"p","path":"antara/api/gaming","closestElementReference":"fields-3"},{"text":"Public Static Attributes","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-static-attributes"},{"text":"invoker_dispatcher","tagName":"h5","path":"antara/api/gaming","closestElementReference":"invoker-dispatcher"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-41"},{"text":"constexpr const event::invoker_dispatcher invoker = {}\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-41"},{"text":"constexpr const event::invoker_dispatcher invoker = {}\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-41"},{"text":"Static fields.","tagName":"p","path":"antara/api/gaming","closestElementReference":"usage-pattern-41"},{"text":"sfml","tagName":"h2","path":"antara/api/gaming","closestElementReference":"sfml"},{"text":"The antara::gaming::sfml class provides functions and other elements for SFML-related (Simple and Fast Multimedia Library) logic purposes.","tagName":"p","path":"antara/api/gaming","closestElementReference":"sfml"},{"text":"antara::gaming::sfml","tagName":"code","path":"antara/api/gaming","closestElementReference":"sfml"},{"text":"sfml::audio_system","tagName":"h3","path":"antara/api/gaming","closestElementReference":"sfml-audio-system"},{"text":"The antara::gaming::sfml::audio_system class provides audio-related functions and other elements.","tagName":"p","path":"antara/api/gaming","closestElementReference":"sfml-audio-system"},{"text":"antara::gaming::sfml::audio_system","tagName":"code","path":"antara/api/gaming","closestElementReference":"sfml-audio-system"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-42"},{"text":"class audio_system : public antara::gaming::ecs::system\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-42"},{"text":"class audio_system : public antara::gaming::ecs::system\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-42"},{"text":"Public Functions","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-functions-4"},{"text":"audio_system","tagName":"h5","path":"antara/api/gaming","closestElementReference":"audio-system"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-43"},{"text":"audio_system(entt::registry ®istry)\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-43"},{"text":"audio_system(entt::registry ®istry)\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-43"},{"text":"Function Parameters","tagName":"h6","path":"antara/api/gaming","closestElementReference":"function-parameters-8"},{"text":"Response","tagName":"h6","path":"antara/api/gaming","closestElementReference":"response-31"},{"text":"update","tagName":"h5","path":"antara/api/gaming","closestElementReference":"update-2"},{"text":"The update function destroys and clears the sounds when they are finished.","tagName":"p","path":"antara/api/gaming","closestElementReference":"update-2"},{"text":"update","tagName":"code","path":"antara/api/gaming","closestElementReference":"update-2"},{"text":"Usage Pattern","tagName":"h6","path":"antara/api/gaming","closestElementReference":"usage-pattern-44"},{"text":"void update()\n","tagName":"pre","path":"antara/api/gaming","closestElementReference":"usage-pattern-44"},{"text":"void update()\n","tagName":"code","path":"antara/api/gaming","closestElementReference":"usage-pattern-44"},{"text":"Function Parameters","tagName":"h6","path":"antara/api/gaming","closestElementReference":"function-parameters-9"},{"text":"Response","tagName":"h6","path":"antara/api/gaming","closestElementReference":"response-32"},{"text":"sfml::component_sound","tagName":"h3","path":"antara/api/gaming","closestElementReference":"sfml-component-sound"},{"text":"The antara::gaming::sfml::component_sound struct contains sound and the sound's attributes (such as volume).","tagName":"p","path":"antara/api/gaming","closestElementReference":"sfml-component-sound"},{"text":"antara::gaming::sfml::component_sound","tagName":"code","path":"antara/api/gaming","closestElementReference":"sfml-component-sound"},{"text":"Public Members","tagName":"h4","path":"antara/api/gaming","closestElementReference":"public-members-4"},{"text":"sound","tagName":"h5","path":"antara/api/gaming","closestElementReference":"sound"},{"text":"The sf::Sound sound object is the SFML Sound instance and contains the sound data.","tagName":"p","path":"antara/api/gaming","closestElementReference":"sound"},{"text":"sf::Sound sound","tagName":"code","path":"antara/api/gaming","closestElementReference":"sound"}],"antara/api/gateways":[{"text":"Gateways","tagName":"h1","path":"antara/api/gateways","closestElementReference":"gateways"},{"text":"Introduction","tagName":"h2","path":"antara/api/gateways","closestElementReference":"introduction"},{"text":"The Gateway Antara Module allows the user to facilitate, manage, and trade tokenized representations of foreign blockchain assets.","tagName":"p","path":"antara/api/gateways","closestElementReference":"introduction"},{"text":"For example, a user is able to deposit their real-world BTC into a monitored address on the Bitcoin blockchain. Then, on the Gateways-enabled Smart Chain, the ownership of this BTC is tokenized. Only the owner of the token has the right to withdraw the BTC to a chosen address. The user that made the deposit can use the token either for asset trading, or for other creative purposes.","tagName":"p","path":"antara/api/gateways","closestElementReference":"introduction"},{"text":"This allows the Gateways-enabled Smart Chain to feature secure, on-chain, high-speed trading.","tagName":"p","path":"antara/api/gateways","closestElementReference":"introduction"},{"text":"Using an established Gateways contract is not considered difficult. However, setting up the gateway requires the user to closely follow several detailed steps.","tagName":"p","path":"antara/api/gateways","closestElementReference":"introduction"},{"text":"Tutorial Availability","tagName":"h2","path":"antara/api/gateways","closestElementReference":"tutorial-availability"},{"text":"The Antara Tutorials section features a full walkthrough of the Gateways module.","tagName":"p","path":"antara/api/gateways","closestElementReference":"tutorial-availability"},{"text":"Link to Gateways Module Tutorial","tagName":"p","path":"antara/api/gateways","closestElementReference":"tutorial-availability"},{"text":"Link to Gateways Module Tutorial","tagName":"a","path":"antara/api/gateways","closestElementReference":"tutorial-availability"},{"text":"gatewaysaddress","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysaddress"},{"text":"gatewaysaddress","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysaddress"},{"text":"gatewaysaddress","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysaddress"},{"text":"The gatewaysaddress method returns information about the on-chain gateway.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysaddress"},{"text":"gatewaysaddress","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysaddress\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysaddress\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"GatewaysCCAddress\": \"RKWpoK6vTRtq5b9qrRBodLkCzeURHeEk33\",\n \"GatewaysCCBalance\": 0.0,\n \"GatewaysNormalAddress\": \"RGJKV97ZN1wBfunuMt1tebiiHENNEq73Yh\",\n \"GatewaysNormalBalance\": 0.0,\n \"GatewaysPubkey\": \"03ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb40\",\n \"GatewaysCCTokensAddress\": \"RSDw91hbCKkkNct6XtPRbq389eu2xKgHUC\",\n \"myCCAddress(Gateways)\": \"RDrfw1gN8k2BXv6dPa9fqPH4TorbG7wiGf\",\n \"myCCbalance(Gateways)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"GatewaysCCAddress\": \"RKWpoK6vTRtq5b9qrRBodLkCzeURHeEk33\",\n \"GatewaysCCBalance\": 0.0,\n \"GatewaysNormalAddress\": \"RGJKV97ZN1wBfunuMt1tebiiHENNEq73Yh\",\n \"GatewaysNormalBalance\": 0.0,\n \"GatewaysPubkey\": \"03ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb40\",\n \"GatewaysCCTokensAddress\": \"RSDw91hbCKkkNct6XtPRbq389eu2xKgHUC\",\n \"myCCAddress(Gateways)\": \"RDrfw1gN8k2BXv6dPa9fqPH4TorbG7wiGf\",\n \"myCCbalance(Gateways)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysaddress\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysaddress\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"GatewaysCCAddress\": \"RKWpoK6vTRtq5b9qrRBodLkCzeURHeEk33\",\n \"GatewaysCCBalance\": 0.0,\n \"GatewaysNormalAddress\": \"RGJKV97ZN1wBfunuMt1tebiiHENNEq73Yh\",\n \"GatewaysNormalBalance\": 0.0,\n \"GatewaysPubkey\": \"03ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb40\",\n \"GatewaysCCTokensAddress\": \"RSDw91hbCKkkNct6XtPRbq389eu2xKgHUC\",\n \"myCCAddress(Gateways)\": \"RDrfw1gN8k2BXv6dPa9fqPH4TorbG7wiGf\",\n \"myCCbalance(Gateways)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"GatewaysCCAddress\": \"RKWpoK6vTRtq5b9qrRBodLkCzeURHeEk33\",\n \"GatewaysCCBalance\": 0.0,\n \"GatewaysNormalAddress\": \"RGJKV97ZN1wBfunuMt1tebiiHENNEq73Yh\",\n \"GatewaysNormalBalance\": 0.0,\n \"GatewaysPubkey\": \"03ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb40\",\n \"GatewaysCCTokensAddress\": \"RSDw91hbCKkkNct6XtPRbq389eu2xKgHUC\",\n \"myCCAddress(Gateways)\": \"RDrfw1gN8k2BXv6dPa9fqPH4TorbG7wiGf\",\n \"myCCbalance(Gateways)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples"},{"text":"gatewaysbind","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysbind"},{"text":"gatewaysbind tokenid oracletxid coin tokensupply M N pubkey(s) pubtype p2shtype wiftype [taddr]","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysbind"},{"text":"gatewaysbind tokenid oracletxid coin tokensupply M N pubkey(s) pubtype p2shtype wiftype [taddr]","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysbind"},{"text":"The gatewaysbind method binds the provided sources into a new gateway.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysbind"},{"text":"gatewaysbind","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysbind"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Step One:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind 202277c3a48ef168b164f7995eaced940e6416afefd6acd5aac0cb0a439df210 51a3fa99ef2abb3c1ce8248896d934bd348b7a1e0c5dbc06688c976247263a25 KMD 100000000 1 1 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 60 85 188\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind 202277c3a48ef168b164f7995eaced940e6416afefd6acd5aac0cb0a439df210 51a3fa99ef2abb3c1ce8248896d934bd348b7a1e0c5dbc06688c976247263a25 KMD 100000000 1 1 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 60 85 188\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysbind\", \"params\":[\"202277c3a48ef168b164f7995eaced940e6416afefd6acd5aac0cb0a439df210\" ,\"51a3fa99ef2abb3c1ce8248896d934bd348b7a1e0c5dbc06688c976247263a25\" ,\"KMD\" ,\"100000000\" ,\"1\" ,\"1\" ,\"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\" ,\"60\" ,\"85\" ,\"188\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysbind\", \"params\":[\"202277c3a48ef168b164f7995eaced940e6416afefd6acd5aac0cb0a439df210\" ,\"51a3fa99ef2abb3c1ce8248896d934bd348b7a1e0c5dbc06688c976247263a25\" ,\"KMD\" ,\"100000000\" ,\"1\" ,\"1\" ,\"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\" ,\"60\" ,\"85\" ,\"188\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Step Two:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Broadcast using sendrawtransction:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"sendrawtransction:","tagName":"a","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"aa1b82d78398184c93405ccd15e3cf00b63634aac98a7b75053aa90eaf9cb47d\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"aa1b82d78398184c93405ccd15e3cf00b63634aac98a7b75053aa90eaf9cb47d\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000152d7d470197f5dc650c9ec09e1c8f4975d315219e3b6edad3c927c2fc23197ca0200000048473044022006bf373f1dd51c638a38d1e592741db73387e6acc186fca2011cd7283520ff770220673be91d346ba72adcbc9ab1df712f750047c2609399256c07ad3170d9ea850401ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce05c9836180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c550010f29d430acbc0aad5acd6efaf16640e94edac5e99f764b168f18ea4c377222000e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0253a264762978c6806bc5d0c1e7a8b34bd34d9968824e81c3cbb2aef99faa35100000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"aa1b82d78398184c93405ccd15e3cf00b63634aac98a7b75053aa90eaf9cb47d\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"aa1b82d78398184c93405ccd15e3cf00b63634aac98a7b75053aa90eaf9cb47d\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"This is the bindtxid for the gateway.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"bindtxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"FIXME new RPC added\ngatewaysclaim and gatewayscompletesigning need a review and completion","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-2"},{"text":"gatewaysclaim","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"gatewaysclaim bindtxid coin deposittxid destpub amount","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"gatewaysclaim bindtxid coin deposittxid destpub amount","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"The gatewaysclaim method allows the owner of the deposittxid to claim their on-chain proxy tokens. This method can only be executed by the owner of the pubkey that was used to launch the daemon from which the gatewaysdeposit call was executed.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"gatewaysclaim","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"deposittxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"pubkey","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/gateways","closestElementReference":"gatewaysclaim"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-3"},{"text":":pushpin: Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"Step One:","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"Command","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysclaim\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"KMD\" ,\"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\" ,\"02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysclaim\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"KMD\" ,\"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\" ,\"02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\"result\":{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n},\"error\":null,\"id\":\"curltest\"}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\"result\":{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n},\"error\":null,\"id\":\"curltest\"}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"Step Two: Broadcast using sendrawtransction","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"sendrawtransction","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\"result\":\"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\",\"error\":null,\"id\":\"curltest\"}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"{\"result\":\"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\",\"error\":null,\"id\":\"curltest\"}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"pushpin-examples"},{"text":"gatewayscompletesigning","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewayscompletesigning"},{"text":"gatewayscompletesigning withdrawtxid coin hex","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewayscompletesigning"},{"text":"gatewayscompletesigning withdrawtxid coin hex","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewayscompletesigning"},{"text":"gatewaysdeposit","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"gatewaysdeposit bindtxid height coin cointxid claimvout deposithex proof destpub amount","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"gatewaysdeposit bindtxid height coin cointxid claimvout deposithex proof destpub amount","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"The gatewaysdeposit method is used to alert the gateway of the completed deposit of the foreign (off-chain) asset.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"The sendrawtransaction method then returns a txid which serves as the deposittxid .","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"txid","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"deposittxid","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysdeposit"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 1116196 KMD 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 0 010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b 04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 1116196 KMD 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 0 010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b 04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysdeposit\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"1116196\" ,\"KMD\" ,\"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\" ,\"0\" ,\"010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b\" ,\"04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b\" ,\"02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysdeposit\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"1116196\" ,\"KMD\" ,\"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\" ,\"0\" ,\"010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b\" ,\"04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b\" ,\"02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"Step Two: Broadcast using sendrawtransction","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"sendrawtransction","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"(This is the deposittxid )","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"deposittxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-3"},{"text":"gatewaysdumpprivkey","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"gatewaysdumpprivkey bindtxid address","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"gatewaysdumpprivkey bindtxid address","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"The gatewaysdumpprivkey method returns the private key for the given address and bindtxid .","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"gatewaysdumpprivkey","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"address","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"bindtxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"The private key is returned in the wif format of the associated external chain.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysdumpprivkey"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdumpprivkey 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d RVHLGTE3aFGwqpUVsoHJiJGs9pmsnd3fNB\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdumpprivkey 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d RVHLGTE3aFGwqpUVsoHJiJGs9pmsnd3fNB\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"privkey\": \"1pAcQXouEKKjuCpH25AjPoiihGNWB7DGwgfRCRAhJtRVGKvRHrk\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"privkey\": \"1pAcQXouEKKjuCpH25AjPoiihGNWB7DGwgfRCRAhJtRVGKvRHrk\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysdumpprivkey\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"RVHLGTE3aFGwqpUVsoHJiJGs9pmsnd3fNB\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysdumpprivkey\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"RVHLGTE3aFGwqpUVsoHJiJGs9pmsnd3fNB\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"privkey\": \"1pAcQXouEKKjuCpH25AjPoiihGNWB7DGwgfRCRAhJtRVGKvRHrk\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"privkey\": \"1pAcQXouEKKjuCpH25AjPoiihGNWB7DGwgfRCRAhJtRVGKvRHrk\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-4"},{"text":"gatewaysexternaladdress","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"gatewaysexternaladdress bindtxid pubkey","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"gatewaysexternaladdress bindtxid pubkey","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"The gatewaysexternaladdress method returns the address on the external chain for the gateways associated with the given pubkey and bindtxid values.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"gatewaysexternaladdress","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"pubkey","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"bindtxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysexternaladdress"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysexternaladdress 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 02ebb42018347eb3a4da76e85347bb0f042355ff3d16e323b21f8e6cb10098654e\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysexternaladdress 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 02ebb42018347eb3a4da76e85347bb0f042355ff3d16e323b21f8e6cb10098654e\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"address\": \"RPq3opCLxV3xgpiM8ewUvyRE5aqovfVeH5\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"address\": \"RPq3opCLxV3xgpiM8ewUvyRE5aqovfVeH5\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysexternaladdress\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"02ebb42018347eb3a4da76e85347bb0f042355ff3d16e323b21f8e6cb10098654e\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysexternaladdress\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"02ebb42018347eb3a4da76e85347bb0f042355ff3d16e323b21f8e6cb10098654e\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"address\": \"RPq3opCLxV3xgpiM8ewUvyRE5aqovfVeH5\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"address\": \"RPq3opCLxV3xgpiM8ewUvyRE5aqovfVeH5\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-5"},{"text":"gatewaysinfo","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"gatewaysinfo bindtxid","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"gatewaysinfo bindtxid","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"The gatewaysinfo method returns information about the bindtxid gateway.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"gatewaysinfo","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"bindtxid","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewaysinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysinfo\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewaysinfo\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-6"},{"text":"gatewayslist","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"gatewayslist","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"gatewayslist","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"The gatewayslist method displays a list of bindtxids for the available gateways.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"gatewayslist","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"bindtxids","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewayslist"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayslist\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayslist\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"[\n \"4114e3c5dcddc464c5fd94efebf8215322f12226bffc93f84d6d5e0b4ca131a9\",\n \"aeef4320afe73e1cfe43c4c129b31da018990f49d65b5eeb45cb9a348fdf6ece\"\n]\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"[\n \"4114e3c5dcddc464c5fd94efebf8215322f12226bffc93f84d6d5e0b4ca131a9\",\n \"aeef4320afe73e1cfe43c4c129b31da018990f49d65b5eeb45cb9a348fdf6ece\"\n]\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewayslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewayslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"{\n \"result\": [\n \"4114e3c5dcddc464c5fd94efebf8215322f12226bffc93f84d6d5e0b4ca131a9\",\n \"aeef4320afe73e1cfe43c4c129b31da018990f49d65b5eeb45cb9a348fdf6ece\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"{\n \"result\": [\n \"4114e3c5dcddc464c5fd94efebf8215322f12226bffc93f84d6d5e0b4ca131a9\",\n \"aeef4320afe73e1cfe43c4c129b31da018990f49d65b5eeb45cb9a348fdf6ece\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-7"},{"text":"gatewayswithdraw","tagName":"h2","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"gatewayswithdraw bindtxid coin withdrawpub amount","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"gatewayswithdraw bindtxid coin withdrawpub amount","tagName":"strong","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"The gatewayswithdraw method sends proxy tokens in the gateways pubkey . The gateway then sends the foreign assets to the indicated foreign withdrawpub pubkey.","tagName":"p","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"gatewayswithdraw","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"pubkey","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"withdrawpub","tagName":"code","path":"antara/api/gateways","closestElementReference":"gatewayswithdraw"},{"text":"Arguments","tagName":"h3","path":"antara/api/gateways","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h3","path":"antara/api/gateways","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328 0.1\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328 0.1\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewayswithdraw\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"KMD\" ,\"0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"gatewayswithdraw\", \"params\":[\"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\" ,\"KMD\" ,\"0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328\" ,\"0.1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"Step Two: Broadcast using sendrawtransction :","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"sendrawtransction","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/gateways","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/gateways","closestElementReference":"examples-8"}],"antara/api/heir":[{"text":"Heir","tagName":"h1","path":"antara/api/heir","closestElementReference":"heir"},{"text":"Introduction","tagName":"h2","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"The Heir Antara Module allows cryptocurrency funds to be passed on as an inheritance.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"The module functions by the means of a special 1of2 Antara address. In this type of address there are two private keys that are capable of spending funds from the address. However, only the first private key may spend funds by default.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"1of2","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"This first private key belongs to the owner of the 1of2 Antara address. The owner may use this key to freely spend funds and also to add more funds to the address.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"1of2","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"Should the owner fail to interact with the 1of2 Antara address for a specified period of time ( inactivitytime ), the address automatically unlocks to the second key. This second key is owned by the heir. Once unlocked, both the creator and the heir may freely spend funds from the address.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"1of2","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"The heiradd method allows anyone, including users who are neither the owner nor the heir, to add funds to the address. These additions are considered donations and they do not affect the inactivitytime calculations that can unlock the funds for the heir. The heiradd method warns the user that they are making a donation if the method detects that the user is neither the owner nor the heir.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"heiradd","tagName":"a","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"The Heir Antara Module accepts both coins and tokens. These can be the base coin of the Smart Chain, on-chain tokens created via the Tokens Antara Module that represent on-chain assets, or even tokens that are formed via the Gateways Module to represent off-chain assets or other cryptocurrencies.","tagName":"p","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"Tokens","tagName":"a","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"Gateways","tagName":"a","path":"antara/api/heir","closestElementReference":"introduction"},{"text":"Heir Module Flow","tagName":"h4","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"Anyone can create a new Heir Antara address using heirfund","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heirfund","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"The owner of this address can add more funds using heiradd","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heiradd","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"Any other user, including the heir, can add donations using heiradd","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heiradd","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"The owner can claim funds at any time using heirclaim","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heirclaim","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"Once inactivitytime period is reached, the heir can also claim funds using heirclaim","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heirclaim","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"To retrieve the details of a particular funding plan, use heirinfo","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heirinfo","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"To retrieve a list of all funding plans on the Smart Chain, use heirlist","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heirlist","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"To output Heir Antara addresses, use heiraddress","tagName":"li","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heiraddress","tagName":"a","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"If an owner of an Heir Antara address seeking to add funds to their account\navoids the normal methods (the RPC provided) and instead manually creates a\nutxo contribution, this utxo will not follow the normal patterns.\nSpecifically, if the owner manually creates a contribution utxo that derives\nfrom both the owner pubkey and also from another pubkey, this utxo will not\naffect the inactivitytime calculation. Instead of resetting the\n inactivitytime , the utxo will count only as a donation.","tagName":"p","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heir-module-flow"},{"text":"heiradd","tagName":"h2","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd amount fundingtxid","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd amount fundingtxid","tagName":"strong","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"The heiradd method adds more funds to the Heir plan.","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"When the owner uses the heiradd method the inactivitytime calculations are reset, thus renewing the owner's sole access to the funds.","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"When anyone other than the owner uses the heiradd method to add funds, these funds are considered to be donations and won't affect the calculation of the elapsed inactivitytime . The method also sends a warning to the contributor to ensure they agree to submit the given funds as a donation.","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"For each transaction using heiradd , the funds may be sent either from the owner's pubkey, or from a non-owner's pubkey. Funds cannot be sent from both owner and non-owner pubkeys at the same time. This can cause confusion for the owner if the funds available in their wallet are held partially in the owner's declared pubkey for this Heir account, and partially in other pubkeys. Therefore, the owner should ensure that all funds they desire to add to the account are within their declared Heir Antara pubkey before attempting to use heiradd .","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heiradd","tagName":"code","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"Use the heirlist method to find a \n fundingtxid .","tagName":"p","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"heirlist","tagName":"a","path":"antara/api/heir","closestElementReference":"heiradd"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/heir","closestElementReference":"examples"},{"text":"Step 1: Create a raw transaction (in coins) and get the HEX value","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"./komodo-cli -ac_name=HELLOWORLD heiradd 0 5 b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"./komodo-cli -ac_name=HELLOWORLD heiradd 0 5 b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiradd\", \"params\":[\"0\" ,\"5\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiradd\", \"params\":[\"0\" ,\"5\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value"},{"text":"Step 2: Broadcast raw transaction","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":" ./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":" ./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"bash e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b ","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"bash e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b ","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiradd\", \"params\":[\"0\" ,\"5\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiradd\", \"params\":[\"0\" ,\"5\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"{\n \"result\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"{\n \"result\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction"},{"text":"Step 3: Decode raw transaction to ensure values are sane (optional)","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"{\n \"txid\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b3\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 98,\n \"vin\": [\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a[ALL]\",\n \"hex\": \"483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d[ALL]\",\n \"hex\": \"483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8 OP_CHECKSIG\",\n \"hex\": \"2102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RDyrGQzYgjS9urojBjcSMPaecHpLQiLruB\"]\n }\n },\n {\n \"value\": 94.9998,\n \"valueZat\": 9499980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 194.9998,\n \"valueZat\": 19499980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"hex\": \"6a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"{\n \"txid\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b3\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 98,\n \"vin\": [\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a[ALL]\",\n \"hex\": \"483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d[ALL]\",\n \"hex\": \"483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8 OP_CHECKSIG\",\n \"hex\": \"2102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RDyrGQzYgjS9urojBjcSMPaecHpLQiLruB\"]\n }\n },\n {\n \"value\": 94.9998,\n \"valueZat\": 9499980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 194.9998,\n \"valueZat\": 19499980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"hex\": \"6a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f8902f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80200000049483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b80300000049483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01ffffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000232102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ace0303e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0144a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000620000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"{\n \"result\": {\n \"txid\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b3\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 98,\n \"vin\": [\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a[ALL]\",\n \"hex\": \"483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d[ALL]\",\n \"hex\": \"483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8 OP_CHECKSIG\",\n \"hex\": \"2102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RDyrGQzYgjS9urojBjcSMPaecHpLQiLruB\"]\n }\n },\n {\n \"value\": 94.9998,\n \"valueZat\": 9499980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 194.9998,\n \"valueZat\": 19499980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"hex\": \"6a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"{\n \"result\": {\n \"txid\": \"e7b8f58539e2554a51d8438e5e58b0a12896f076e2a2850a503f372e402521b3\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 98,\n \"vin\": [\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a[ALL]\",\n \"hex\": \"483045022100a37d7b5929af0928f1dad10ddd686a8e2e47503c96ba5485e982c72d6fb3dfb00220304b039011774652f89eb3e7b6bf187e441ed4a82339623d5d8f058816e2f43a01\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"vout\": 3,\n \"scriptSig\": {\n \"asm\": \"3045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d[ALL]\",\n \"hex\": \"483045022100c9297262cc12d300ef068d4de7a3d8e6006b87002e4c7a5c8b262be8d87da86102203f73e991704ef492ae57550a3c3cbb57494299d5ef2b3b64b6d88a1fff36a19d01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8 OP_CHECKSIG\",\n \"hex\": \"2102f0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b8ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RDyrGQzYgjS9urojBjcSMPaecHpLQiLruB\"]\n }\n },\n {\n \"value\": 94.9998,\n \"valueZat\": 9499980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 194.9998,\n \"valueZat\": 19499980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"hex\": \"6a23ea41b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-raw-transaction-to-ensure-values-are-sane-optional"},{"text":"heiraddress","tagName":"h2","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"heiraddress pubkey","tagName":"p","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"heiraddress pubkey","tagName":"strong","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"The heiraddress method shows the owner's addresses and balances for the Heir plan.","tagName":"p","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"heiraddress","tagName":"code","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"The functionality of this method is only applicable when executed on a\ndaemon that was launched using the pubkey of the owner of the relevant Heir\nplan. For all other daemons, the method is available, but has no functional\npurpose. * The argument of this method is the heir's pubkey.","tagName":"li","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"heir's","tagName":"strong","path":"antara/api/heir","closestElementReference":"heiraddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response-2"},{"text":"📌 Example","tagName":"h4","path":"antara/api/heir","closestElementReference":"example"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"example"},{"text":"./komodo-cli -ac_name=HELLOWORLD heiraddress 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example"},{"text":"./komodo-cli -ac_name=HELLOWORLD heiraddress 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"{\n \"result\": \"success\",\n \"HeirCCAddress\": \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\",\n \"CCbalance\": 0.0001,\n \"HeirNormalAddress\": \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\",\n \"HeirCC`1of2`Address\": \"RCiaNQq9yVb5biyEy8xWrAJCjjvQ9oW8rn\",\n \"HeirCC`1of2`TokensAddress\": \"RGKHD8UaTU2avj6LdmuSgpuaukk6XY4fss\",\n \"myAddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"myCCAddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"PubkeyCCaddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCaddress\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCbalance\": 0.0,\n \"myaddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"mybalance\": 296.9995\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example"},{"text":"{\n \"result\": \"success\",\n \"HeirCCAddress\": \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\",\n \"CCbalance\": 0.0001,\n \"HeirNormalAddress\": \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\",\n \"HeirCC`1of2`Address\": \"RCiaNQq9yVb5biyEy8xWrAJCjjvQ9oW8rn\",\n \"HeirCC`1of2`TokensAddress\": \"RGKHD8UaTU2avj6LdmuSgpuaukk6XY4fss\",\n \"myAddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"myCCAddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"PubkeyCCaddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCaddress\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCbalance\": 0.0,\n \"myaddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"mybalance\": 296.9995\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"example"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"example"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiraddress\", \"params\":[\"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heiraddress\", \"params\":[\"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"HeirCCAddress\": \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\",\n \"CCbalance\": 0.0001,\n \"HeirNormalAddress\": \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\",\n \"HeirCC`1of2`Address\": \"RCiaNQq9yVb5biyEy8xWrAJCjjvQ9oW8rn\",\n \"HeirCC`1of2`TokensAddress\": \"RGKHD8UaTU2avj6LdmuSgpuaukk6XY4fss\",\n \"myAddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"myCCAddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"PubkeyCCaddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCaddress\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCbalance\": 0.0,\n \"myaddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"mybalance\": 296.9995\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"HeirCCAddress\": \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\",\n \"CCbalance\": 0.0001,\n \"HeirNormalAddress\": \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\",\n \"HeirCC`1of2`Address\": \"RCiaNQq9yVb5biyEy8xWrAJCjjvQ9oW8rn\",\n \"HeirCC`1of2`TokensAddress\": \"RGKHD8UaTU2avj6LdmuSgpuaukk6XY4fss\",\n \"myAddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"myCCAddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"PubkeyCCaddress(Heir)\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCaddress\": \"RTF9g6SRzbgZXTT7arGZrmTeNKuLoGYyZA\",\n \"myCCbalance\": 0.0,\n \"myaddress\": \"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\",\n \"mybalance\": 296.9995\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example"},{"text":"heirclaim","tagName":"h2","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"heirclaim amount fundingtxid","tagName":"p","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"heirclaim amount fundingtxid","tagName":"strong","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"The heirclaim method allows the owner to claim funds from the plan.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"heirclaim","tagName":"code","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"After the inactivitytime period has elapsed, the heirclaim method also allows the heir to claim funds.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"inactivitytime","tagName":"code","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"heirclaim","tagName":"code","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"Use the heirlist method to find a \n fundingtxid .","tagName":"p","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"heirlist","tagName":"a","path":"antara/api/heir","closestElementReference":"heirclaim"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/heir","closestElementReference":"examples-2"},{"text":"Step 1 Create a raw transaction (in coins) and get the HEX value","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirclaim 0 7 b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirclaim 0 7 b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirclaim\", \"params\":[\"0\" ,\"7\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirclaim\", \"params\":[\"0\" ,\"7\" ,\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-2"},{"text":"Step 2: Broadcast raw transaction","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"bash f0f7f536a261ee8e02fb592d81305b6052939a510e3e3435280b0bad454626c7 ","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"bash f0f7f536a261ee8e02fb592d81305b6052939a510e3e3435280b0bad454626c7 ","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"\" ,\"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"\" ,\"0400008085202f8903b32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e70200000049483045022100f3805c1424472626ee89e2f4c5ab4f7c310d37774604eb97860200d1dfb120d102202a0ffcc6e5c1f8893dde1ab3a67eafa554ac1af17dce14cf0580a55f5b9fdc6e01ffffffffb32125402e373f500a85a2e276f09628a1b0585e8e43d8514a55e23985f5b8e700000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e81404827886fbbd2c8d3337dabfa69e69e5af03151a00fa1c7d3b6f33b68e36974f2228bf0aac209eaa55d16e8c2cdcb9c3993590e47c3e524a29a223db7042b7fa1a129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001fffffffff0e19c37f7b97f00041baf06404980ddfeaade5aebbab3ba8f5445b546fab5b800000000a74ca5a281a1a0819ca28194a067a5658021036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e8140bb6e5c5c6b1e3a97d99e5dd1cf8e30942069260f8a482f7004d7638b4f5a53dd4d592d4a1d099cc7c0d6b79fcaeec262606d38c56abd7d13cea0753e73a3985aa129a52780201011d4a0870dff12319f1b00e9a537fb9ddda81d2bba8b0d492cc6b4e9f7b1c98103020000af038001eaa10001ffffffff040027b929000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac00a3e11100000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401ccd0093e36020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000256a23ea43b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f00000000000680000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"{\n \"result\": \"f0f7f536a261ee8e02fb592d81305b6052939a510e3e3435280b0bad454626c7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"{\n \"result\": \"f0f7f536a261ee8e02fb592d81305b6052939a510e3e3435280b0bad454626c7\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-2"},{"text":"heirfund","tagName":"h2","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"heirfund amount name heirpubkey inactivitytime memo ( tokenid )","tagName":"p","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"heirfund amount name heirpubkey inactivitytime memo ( tokenid )","tagName":"strong","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"The heirfund method creates a new Heir funding plan.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"heirfund","tagName":"code","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/heir","closestElementReference":"heirfund"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments-4"},{"text":"All data for this transaction, including the memo field, must be less than\nor equal to 10000 bytes * To store documents of large sizes, include a\n URI in the \n memo field which links to such a document on the World Wide Web and its\nhash for verification.","tagName":"li","path":"antara/api/heir","closestElementReference":"arguments-4"},{"text":"URI","tagName":"a","path":"antara/api/heir","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/heir","closestElementReference":"examples-3"},{"text":"Step 1: Create a raw transaction (in coins) and get the HEX value","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"The following example demonstrates Heir usage when utilizing coins, instead of\ntokens. When instead using tokens, create the tokens first with the\n tokencreate method and pass the tokenid \nas the last parameter of heirfund.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"tokencreate","tagName":"a","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"tokenid","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"heirfund.","tagName":"a","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirfund 0 5 MyDogHeir 037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299 100 'http://billionaire.com/mywill md5=5385639869'\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirfund 0 5 MyDogHeir 037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299 100 'http://billionaire.com/mywill md5=5385639869'\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirfund\", \"params\":[\"0\" ,\"5\" ,\"MyDogHeir\" ,\"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\" ,\"100\" ,\"'http://billionaire.com/mywill\" ,\"md5=5385639869'\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirfund\", \"params\":[\"0\" ,\"5\" ,\"MyDogHeir\" ,\"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\" ,\"100\" ,\"'http://billionaire.com/mywill\" ,\"md5=5385639869'\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f89020005c599652725a611ae25aa5e2cec2520960328e82cd0151a1f9f319af983a50000000049483045022100ef5e198b9703e4f46171a99050826cdc4102b75249c9ff6886c574475beb808602204ef42ff9c4b1082c73c670e052cdc4f86b30347b6d60d20ceed2a44514b90c8301ffffffff6e0bb6725ffc34e57d3768b6d422d7f734ab23c5b770e20c869578c28d59dcb40000000049483045022100a060d0a95a5dd34c28987992692185360beaf4075d04a0bd58ae01951daeab0b02200fe42e6ec74e886f294d600fdb82c0fe8c5fa17763d3c1e6b12bf49862cd5bb501ffffffff050065cd1d00000000302ea22c80206540dfdd9c18a1aa2cedf1d2bf94b4983ee8c1d462d1a99a2ae4ed8ceb8b733181031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401ccaa6f753118090000232102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2ac6048980000000000232102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2ac0000000000000000896a4c86ea462102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a221037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722d687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c202c6d64353d3533383536333938363900000000410100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f89020005c599652725a611ae25aa5e2cec2520960328e82cd0151a1f9f319af983a50000000049483045022100ef5e198b9703e4f46171a99050826cdc4102b75249c9ff6886c574475beb808602204ef42ff9c4b1082c73c670e052cdc4f86b30347b6d60d20ceed2a44514b90c8301ffffffff6e0bb6725ffc34e57d3768b6d422d7f734ab23c5b770e20c869578c28d59dcb40000000049483045022100a060d0a95a5dd34c28987992692185360beaf4075d04a0bd58ae01951daeab0b02200fe42e6ec74e886f294d600fdb82c0fe8c5fa17763d3c1e6b12bf49862cd5bb501ffffffff050065cd1d00000000302ea22c80206540dfdd9c18a1aa2cedf1d2bf94b4983ee8c1d462d1a99a2ae4ed8ceb8b733181031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401ccaa6f753118090000232102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2ac6048980000000000232102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2ac0000000000000000896a4c86ea462102f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a221037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722d687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c202c6d64353d3533383536333938363900000000410100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-1-create-a-raw-transaction-in-coins-and-get-the-hex-value-3"},{"text":"Step 2: Broadcast raw transaction","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"bash b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0 ","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"bash b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0 ","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8902bbc0db728486b88284ac9fc4580a32869009f0ceabc659c5929d1ca5fac0a9a1010000006a47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffffdbc39ae947682e4c3c835d9326fc32a6f7e64dde869a93c9b17a9c97f5b4aeb5010000006a473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562effffffff050065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc00634a8a040000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eace0950b54020000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000570000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"{\n \"result\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"{\n \"result\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"This transaction id is the funding transaction id of this Heir plan. Copy and save this to a safe location.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"Wait until the transaction is confirmed.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-2-broadcast-raw-transaction-3"},{"text":"Step 3: Decode the raw transaction to ensure the values are sane (optional)","tagName":"h5","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f8902d47a3327514aedd15ba54f8a7a46cf47f54abc7af8ab816afae87c1b5db683420100000049483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301fffffffffc9f94352e0215037cced1d2b888687afa841310e4451bb0f97dd3303704d8d90200000049483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901ffffffff040065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cce4a79216000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000e60000000000000000000000000000\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f8902d47a3327514aedd15ba54f8a7a46cf47f54abc7af8ab816afae87c1b5db683420100000049483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301fffffffffc9f94352e0215037cced1d2b888687afa841310e4451bb0f97dd3303704d8d90200000049483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901ffffffff040065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cce4a79216000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000e60000000000000000000000000000\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"{\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 87,\n \"vin\": [\n {\n \"txid\": \"a1a9c0faa51c9d92c559c6abcef0099086320a58c49fac8482b8868472dbc0bb\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c1[ALL] 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"hex\": \"47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b5aeb4f5979c7ab1c9939a86de4de6f7a632fc26935d833c4c2e6847e99ac3db\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab8[ALL] 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"hex\": \"473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n {\n \"value\": 195.0,\n \"valueZat\": 19500000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"{\n \"txid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 87,\n \"vin\": [\n {\n \"txid\": \"a1a9c0faa51c9d92c559c6abcef0099086320a58c49fac8482b8868472dbc0bb\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c1[ALL] 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"hex\": \"47304402202e9e6a63905789547c35d3be0d0c6e022d954ba55efede20b81334e805a6e31902201a72890bfa4fff37ddf9c87c9cb567d70e89b35a82709ea14332481c860a91c10121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"b5aeb4f5979c7ab1c9939a86de4de6f7a632fc26935d833c4c2e6847e99ac3db\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab8[ALL] 036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"hex\": \"473044022001b04d40674eb7f309dc17ccd822a6362ade310eb37024303a110731870ccb2702204fd975db4a21995487fac94f49da90901a0c3047ac1a22cf161cacff2a256ab80121036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n {\n \"value\": 195.0,\n \"valueZat\": 19500000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f8902d47a3327514aedd15ba54f8a7a46cf47f54abc7af8ab816afae87c1b5db683420100000049483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301fffffffffc9f94352e0215037cced1d2b888687afa841310e4451bb0f97dd3303704d8d90200000049483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901ffffffff040065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cce4a79216000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000e60000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f8902d47a3327514aedd15ba54f8a7a46cf47f54abc7af8ab816afae87c1b5db683420100000049483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301fffffffffc9f94352e0215037cced1d2b888687afa841310e4451bb0f97dd3303704d8d90200000049483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901ffffffff040065cd1d00000000302ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc1027000000000000302ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cce4a79216000000002321036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac0000000000000000886a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d3533383536333938363900000000e60000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"{\n \"result\": {\n \"txid\": \"7dccdd51034bec6e3c7d40acf4c99c218935eb819d0bc2e77cc1e9bea1a0a820\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 230,\n \"vin\": [\n {\n \"txid\": \"4283b65d1b7ce8fa6a81abf87abc4af547cf467a8a4fa55bd1ed4a5127337ad4\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc683[ALL]\",\n \"hex\": \"483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"d9d8043730d37df9b01b45e4101384fa7a6888b8d2d1ce7c0315022e35949ffc\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a469[ALL]\",\n \"hex\": \"483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n {\n \"value\": 3.78709988,\n \"valueZat\": 378709988,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"{\n \"result\": {\n \"txid\": \"7dccdd51034bec6e3c7d40acf4c99c218935eb819d0bc2e77cc1e9bea1a0a820\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 230,\n \"vin\": [\n {\n \"txid\": \"4283b65d1b7ce8fa6a81abf87abc4af547cf467a8a4fa55bd1ed4a5127337ad4\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc683[ALL]\",\n \"hex\": \"483045022100a363ff9049cb6178bd0f328f4b99daf4e9ea4135a1a9cc95dc06423807d7fa2b0220402e51e3ca9db0377b3a4975aacc59b7249ee9154c95a0a3500c101ca6ccc68301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"d9d8043730d37df9b01b45e4101384fa7a6888b8d2d1ce7c0315022e35949ffc\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a469[ALL]\",\n \"hex\": \"483045022100deee8e926637e91cec15d695f6b2a178ef74a3f50c9a31dd2d64f045087e46f5022049e19c838249e1ae9945cac652b3bbb10c05071e3aaab0771f7d75815135a46901\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020fa433cc47b98f7d1eed7441a529eaa6a91425abdda9b28306a9f19e5fda64ab481031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RL4bWeVxLen2np68Uxp7eNHRVqquwzSPHV\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n {\n \"value\": 3.78709988,\n \"valueZat\": 378709988,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e OP_CHECKSIG\",\n \"hex\": \"21036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562eac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REXP3kgaa5wbio76aqnTJDb8CQJHBiZy2b\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea4621036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e21037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"step-3-decode-the-raw-transaction-to-ensure-the-values-are-sane-optional"},{"text":"heirinfo","tagName":"h2","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"heirinfo fundingtxid","tagName":"p","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"heirinfo fundingtxid","tagName":"strong","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"The heirinfo method returns detailed information about the funding plan.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"heirinfo","tagName":"code","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"Use the heirlist method to find a \n fundingtxid .","tagName":"p","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"heirlist","tagName":"a","path":"antara/api/heir","closestElementReference":"heirinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response-5"},{"text":"📌 Example","tagName":"h4","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirinfo b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirinfo b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"{\n \"fundingtxid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"name\": \"MyDogHeir\",\n \"owner\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"heir\": \"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\",\n \"type\": \"coins\",\n \"lifetime\": \"0.00000000\",\n \"available\": \"0.00000000\",\n \"InactivityTimeSetting\": \"100\",\n \"IsHeirSpendingAllowed\": \"true\",\n \"memo\": \"http://billionaire.com/mywill md5=5385639869\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"{\n \"fundingtxid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"name\": \"MyDogHeir\",\n \"owner\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"heir\": \"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\",\n \"type\": \"coins\",\n \"lifetime\": \"0.00000000\",\n \"available\": \"0.00000000\",\n \"InactivityTimeSetting\": \"100\",\n \"IsHeirSpendingAllowed\": \"true\",\n \"memo\": \"http://billionaire.com/mywill md5=5385639869\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirinfo\", \"params\":[\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirinfo\", \"params\":[\"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"{\n \"result\": {\n \"fundingtxid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"name\": \"MyDogHeir\",\n \"owner\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"heir\": \"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\",\n \"type\": \"coins\",\n \"lifetime\": \"0.00000000\",\n \"available\": \"0.00000000\",\n \"InactivityTimeSetting\": \"100\",\n \"IsHeirSpendingAllowed\": \"true\",\n \"memo\": \"http://billionaire.com/mywill md5=5385639869\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"{\n \"result\": {\n \"fundingtxid\": \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\",\n \"name\": \"MyDogHeir\",\n \"owner\": \"036a2ec9095b7c2abb748548e6cec53e0c462121aa6037fd83a01ce1b2affa562e\",\n \"heir\": \"037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299\",\n \"type\": \"coins\",\n \"lifetime\": \"0.00000000\",\n \"available\": \"0.00000000\",\n \"InactivityTimeSetting\": \"100\",\n \"IsHeirSpendingAllowed\": \"true\",\n \"memo\": \"http://billionaire.com/mywill md5=5385639869\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-2"},{"text":"heirlist","tagName":"h2","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"heirlist","tagName":"p","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"heirlist","tagName":"strong","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"The heirlist method outputs a list of all available fundingtxid 's on the Smart Chain.","tagName":"p","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"heirlist","tagName":"code","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"fundingtxid","tagName":"code","path":"antara/api/heir","closestElementReference":"heirlist"},{"text":"Arguments","tagName":"h3","path":"antara/api/heir","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/heir","closestElementReference":"response-6"},{"text":"📌 Example","tagName":"h4","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirlist\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirlist\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"rpcport","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"Command:","tagName":"p","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirlist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"heirlist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"{\n \"result\": [\n \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/heir","closestElementReference":"example-3"},{"text":"{\n \"result\": [\n \"b8b5fa46b545548fbab3baeb5adeaafedd80494006af1b04007fb9f7379ce1f0\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/heir","closestElementReference":"example-3"}],"antara/api":[{"text":"Antara API","tagName":"h1","path":"antara/api","closestElementReference":"antara-api"},{"text":"This section of the documentation contains descriptions of the various methods available for each of the Antara modules.","tagName":"p","path":"antara/api","closestElementReference":"antara-api"}],"antara/api/musig":[{"text":"MuSig","tagName":"h1","path":"antara/api/musig","closestElementReference":"mu-sig"},{"text":"Introduction","tagName":"h2","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"Notice","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"The MuSig Module is an experimental feature. It is provided as a demonstration of Antara capabilities and of the MuSig concept. If you would like to use MuSig on a production-level Smart Chain, please reach out to the Komodo team on Discord.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"Discord.","tagName":"a","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"The MuSig Antara Module implements a new type of multi-signature functionality. MuSig allows a blockchain to process multi-signature transactions in a more data-efficient manner. MuSig also keeps private the number of signers partaking in a multi-signature transaction.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"This functionality is facilitated by MuSig's implementation of Schnorr Signature technology. Schnorr Signatures are unique in that each signature is 64 bytes in size, regardless of the number of signers in a transaction. Also, a multi-signature Schnorr Signature can be processed in one verification.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"Schnorr Signatures differs from the existing multi-signature method (ECDSA), as the ECDSA method requires each signer of a transaction to be verified separately. Also, with the ECDSA method each set of signers must be collected into a final verification. The size of the ECDSA multi-signature transaction can vary according to the number of signers in the set, and this can disclose information that would otherwise remain private.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"Therefore, Schnorr Signatures greatly reduce verification time and data-storage requirements, and enhance user privacy.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"For further information, see this article. Also, the reader may refer to the comments in the following core komodod files, File 1 and File 2.","tagName":"p","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"article.","tagName":"a","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"File 1","tagName":"a","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"File 2.","tagName":"a","path":"antara/api/musig","closestElementReference":"introduction"},{"text":"MuSig Module Flow","tagName":"h4","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Create a combined pubkey using the combine method \n \n From the response, take note of the combined_pk and pkhash values \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combine","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n From the response, take note of the combined_pk and pkhash values \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response, take note of the combined_pk and pkhash values","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"pkhash","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response, take note of the combined_pk and pkhash values","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"pkhash","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Send coins to combined_pk using the send method \n \n Decode the returned raw transaction using getrawtransaction \n From the decoded raw transaction, take note of the sendtxid value \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"send","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n Decode the returned raw transaction using getrawtransaction \n From the decoded raw transaction, take note of the sendtxid value \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Decode the returned raw transaction using getrawtransaction","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"getrawtransaction","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the decoded raw transaction, take note of the sendtxid value","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"sendtxid","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Decode the returned raw transaction using getrawtransaction","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"getrawtransaction","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the decoded raw transaction, take note of the sendtxid value","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"sendtxid","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Calculate the message that needs to be signed using the calcmsg method \n \n From the response, take note of msg \n This msg needs to be signed by all participating pubkeys \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"calcmsg","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n From the response, take note of msg \n This msg needs to be signed by all participating pubkeys \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response, take note of msg","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"This msg needs to be signed by all participating pubkeys","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response, take note of msg","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"This msg needs to be signed by all participating pubkeys","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On each node create a session using the session method \n \n From the response on each node take note of the commitment value \n Transfer each node's commitment value to each other node \n Do not stop the komodod daemon on any node from this point forward \n \n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n \n \n Also, execute the sessions method only once on each node \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"session","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n From the response on each node take note of the commitment value \n Transfer each node's commitment value to each other node \n Do not stop the komodod daemon on any node from this point forward \n \n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n \n \n Also, execute the sessions method only once on each node \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response on each node take note of the commitment value","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's commitment value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Do not stop the komodod daemon on any node from this point forward \n \n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"The komodod daemon stores the commitment value as a part of a global data structure","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"global data structure","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Also, execute the sessions method only once on each node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"sessions","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"From the response on each node take note of the commitment value","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's commitment value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Do not stop the komodod daemon on any node from this point forward \n \n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n The komodod daemon stores the commitment value as a part of a global data structure \n Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"The komodod daemon stores the commitment value as a part of a global data structure","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"global data structure","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"The komodod daemon stores the commitment value as a part of a global data structure","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"global data structure","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Should any komodod daemon be stopped, the MuSig workflow must be restarted from the beginning","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"komodod","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Also, execute the sessions method only once on each node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"sessions","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On each node use the commit method \n \n Transfer each node's nonce value to each other node \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"commit","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n Transfer each node's nonce value to each other node \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's nonce value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's nonce value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On each node use the nonce method \n \n Transfer each node's partialsig value to each other node \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"nonce","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n Transfer each node's partialsig value to each other node \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's partialsig value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"partialsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Transfer each node's partialsig value to each other node","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"partialsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On each node execute the partialsig method \n \n Verify that the combinedsig value of each node is the same as each other node by transferring one combinedsig value on one node to all other nodes \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"partialsig","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n Verify that the combinedsig value of each node is the same as each other node by transferring one combinedsig value on one node to all other nodes \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Verify that the combinedsig value of each node is the same as each other node by transferring one combinedsig value on one node to all other nodes","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Verify that the combinedsig value of each node is the same as each other node by transferring one combinedsig value on one node to all other nodes","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On at least one node execute the verify method \n \n Use the returned output to verify that the combinedsig value will be able to successfully execute the spend method for the desired msg \n \n","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"verify","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"\n Use the returned output to verify that the combinedsig value will be able to successfully execute the spend method for the desired msg \n","tagName":"ul","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Use the returned output to verify that the combinedsig value will be able to successfully execute the spend method for the desired msg","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"spend","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Use the returned output to verify that the combinedsig value will be able to successfully execute the spend method for the desired msg","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"spend","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"On one node execute the spend method and broadcast the returned raw transaction","tagName":"li","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"spend","tagName":"a","path":"antara/api/musig","closestElementReference":"mu-sig-module-flow"},{"text":"Tutorial Availability","tagName":"h2","path":"antara/api/musig","closestElementReference":"tutorial-availability"},{"text":"The Antara Tutorials section features a full installation and walkthrough tutorial of the Musig module.","tagName":"p","path":"antara/api/musig","closestElementReference":"tutorial-availability"},{"text":"Link to Musig Module Tutorial","tagName":"p","path":"antara/api/musig","closestElementReference":"tutorial-availability"},{"text":"Link to Musig Module Tutorial","tagName":"a","path":"antara/api/musig","closestElementReference":"tutorial-availability"},{"text":"calcmsg","tagName":"h2","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"cclib calcmsg 18 '[\"sendtxid\", \"scriptPubKey\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"cclib calcmsg 18 '[\"sendtxid\", \"scriptPubKey\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"The calcmsg method can be used by any one of the signers to initiate a spend transaction.","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"calcmsg","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"spend","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"To calculate the msg value, this method requires a sendtxid and a scriptPubKey .","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"sendtxid","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubKey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"The sendtxid is the id of a transaction that added funds to the combined_pk through the send method.","tagName":"li","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"sendtxid","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"send","tagName":"a","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"The scriptPubKey expected here is of the type p2pk in hex form.","tagName":"li","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubKey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"p2pk","tagName":"a","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"hex","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"To create a scriptPubkey from a normal pubkey , add the characters 21 to the beginning of the pubkey string and the characters ac to the end of the string:","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"21","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"ac","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubkey = 21 + pubkey + ac\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubkey = 21 + pubkey + ac\n","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"For example:","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"The pubkey is: 02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e","tagName":"li","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"The associated scriptPubkey is: 2102f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193eac","tagName":"li","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"2102f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193eac","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"calcmsg"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=MUSIG cclib calcmsg 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=MUSIG cclib calcmsg 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples"},{"text":"combine","tagName":"h2","path":"antara/api/musig","closestElementReference":"combine"},{"text":"cclib combine 18 '[ \"pubkey1\", \"pubkey2\", .....]'","tagName":"p","path":"antara/api/musig","closestElementReference":"combine"},{"text":"cclib combine 18 '[ \"pubkey1\", \"pubkey2\", .....]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"combine"},{"text":"The combine method produces the combined pubkey ( combined_pk ) from all pubkeys provided.","tagName":"p","path":"antara/api/musig","closestElementReference":"combine"},{"text":"combine","tagName":"code","path":"antara/api/musig","closestElementReference":"combine"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"combine"},{"text":"Usage of this method depends upon the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"combine"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"combine"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"combine"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"combine"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib combine 18 '[\"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\",\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib combine 18 '[\"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\",\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"{\n \"pkhash\": \"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"{\n \"pkhash\": \"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-2"},{"text":"commit","tagName":"h2","path":"antara/api/musig","closestElementReference":"commit"},{"text":"cclib commit 18 '[\"pkhash\", ind, \"commitment\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"commit"},{"text":"cclib commit 18 '[\"pkhash\", ind, \"commitment\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"commit"},{"text":"The commit method produces a nonce for each set of index and commitment values provided.","tagName":"p","path":"antara/api/musig","closestElementReference":"commit"},{"text":"commit","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"index","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"The returned nonce must be shared with all corresponding nodes.","tagName":"p","path":"antara/api/musig","closestElementReference":"commit"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"commit"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"commit"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"commit"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"nonce\": \"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"nonce\": \"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-3"},{"text":"nonce","tagName":"h2","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"cclib nonce 18 '[\"pkhash\", ind, \"nonce\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"cclib nonce 18 '[\"pkhash\", ind, \"nonce\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"The nonce method produces a partialsig for each set of index and nonce value provided.","tagName":"p","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"partialsig","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"index","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"The returned partialsig must be shared with all corresponding nodes.","tagName":"p","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"partialsig","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"nonce"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"partialsig\": \"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"partialsig\": \"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-4"},{"text":"partialsig","tagName":"h2","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"cclib partialsig 18 '[\"pkhash\", ind, \"partialsig\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"cclib partialsig 18 '[\"pkhash\", ind, \"partialsig\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"The partialsig method produces a combinedsig for each set of index and nonce values provided.","tagName":"p","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"partialsig","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"index","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"nonce","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"The returned combinedsig must be shared with all corresponding nodes.","tagName":"p","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"partialsig"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"{\n \"added_index\": 1,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"{\n \"added_index\": 1,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-5"},{"text":"send","tagName":"h2","path":"antara/api/musig","closestElementReference":"send"},{"text":"cclib send 18 '[\"combined_pk\", amount]'","tagName":"p","path":"antara/api/musig","closestElementReference":"send"},{"text":"cclib send 18 '[\"combined_pk\", amount]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"send"},{"text":"The send method allows any node on the network to fund the combined_pk with the specified amount .","tagName":"p","path":"antara/api/musig","closestElementReference":"send"},{"text":"send","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"amount","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"The returned transaction id is called the sendtxid . It is used as a parameter for the methods calcmsg and spend.","tagName":"p","path":"antara/api/musig","closestElementReference":"send"},{"text":"sendtxid","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"calcmsg","tagName":"a","path":"antara/api/musig","closestElementReference":"send"},{"text":"spend.","tagName":"a","path":"antara/api/musig","closestElementReference":"send"},{"text":"Usage of this method depends upon the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"send"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"send"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"send"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 18 '[\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",1]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 18 '[\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",1]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"{\n \"hex\": \"0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\",\n \"txid\": \"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"{\n \"hex\": \"0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\",\n \"txid\": \"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-6"},{"text":"session","tagName":"h2","path":"antara/api/musig","closestElementReference":"session"},{"text":"cclib session 18 '[\"myindex\", \"numsigners\", \"combined_pk\", \"pkhash\", \"msg\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"session"},{"text":"cclib session 18 '[\"myindex\", \"numsigners\", \"combined_pk\", \"pkhash\", \"msg\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"session"},{"text":"The session method creates a global data structure on each node on which the method is executed. The method also adds a commitment to sign the msg message provided.","tagName":"p","path":"antara/api/musig","closestElementReference":"session"},{"text":"session","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"global data structure","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"commitment","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"session"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"session"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"session"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[0,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[0,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"{\n \"myind\": 0,\n \"numsigners\": 2,\n \"commitment\": \"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"{\n \"myind\": 0,\n \"numsigners\": 2,\n \"commitment\": \"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-7"},{"text":"spend","tagName":"h2","path":"antara/api/musig","closestElementReference":"spend"},{"text":"cclib spend 18 '[\"sendtxid\", \"combinedsig\", \"scriptPubKey\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"cclib spend 18 '[\"sendtxid\", \"combinedsig\", \"scriptPubKey\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"spend"},{"text":"The spend method spends coins to the indicated scriptPubKey .","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"spend","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubKey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"The scriptPubKey expected here is of the type p2pk in hex form.","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubKey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"p2pk","tagName":"a","path":"antara/api/musig","closestElementReference":"spend"},{"text":"hex","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"To create a scriptPubkey from a normal pubkey , add the characters 21 to the beginning of the pubkey string and the characters ac to the end of the string:","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"21","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"ac","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubkey = 21 + pubkey + ac\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubkey = 21 + pubkey + ac\n","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"For example:","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"The pubkey is: 02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e","tagName":"li","path":"antara/api/musig","closestElementReference":"spend"},{"text":"pubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"The associated scriptPubkey is: 2102f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193eac","tagName":"li","path":"antara/api/musig","closestElementReference":"spend"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"2102f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193eac","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"The method generates a raw transaction which must then be broadcast using sendrawtransaction.","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"sendrawtransaction.","tagName":"a","path":"antara/api/musig","closestElementReference":"spend"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"spend"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"spend"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"spend"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"hex\": \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a8140878ae4c7520e729e74339e1d463d8aabc1e63c0f726c868adcf7ceab268ef62870596c7c87bdd9382bd364749662ffc79e6ee094a155678b7c2127480960b631a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000460800000000000000000000000000\",\n \"txid\": \"332373cd0e4cbdddd3916e827a408ba4a175eb5039cc5a43725a50b83cb74e52\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"hex\": \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a8140878ae4c7520e729e74339e1d463d8aabc1e63c0f726c868adcf7ceab268ef62870596c7c87bdd9382bd364749662ffc79e6ee094a155678b7c2127480960b631a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000460800000000000000000000000000\",\n \"txid\": \"332373cd0e4cbdddd3916e827a408ba4a175eb5039cc5a43725a50b83cb74e52\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-8"},{"text":"verify","tagName":"h2","path":"antara/api/musig","closestElementReference":"verify"},{"text":"cclib verify 18 '[\"msg\", \"combined_pk\", \"combinedsig\"]'","tagName":"p","path":"antara/api/musig","closestElementReference":"verify"},{"text":"cclib verify 18 '[\"msg\", \"combined_pk\", \"combinedsig\"]'","tagName":"strong","path":"antara/api/musig","closestElementReference":"verify"},{"text":"The verify method verifies that the combinedsig is able to spend the funds owned by combined_pk . The funds in question are those which were referenced in the creation of the msg value.","tagName":"p","path":"antara/api/musig","closestElementReference":"verify"},{"text":"verify","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"combinedsig","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"combined_pk","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"msg","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"Usage of this method depends on the cclib method. The EVALCODE is 18 .","tagName":"p","path":"antara/api/musig","closestElementReference":"verify"},{"text":"cclib","tagName":"a","path":"antara/api/musig","closestElementReference":"verify"},{"text":"EVALCODE","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"18","tagName":"code","path":"antara/api/musig","closestElementReference":"verify"},{"text":"Arguments","tagName":"h4","path":"antara/api/musig","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h4","path":"antara/api/musig","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/musig","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/musig","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-9"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/musig","closestElementReference":"examples-9"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/musig","closestElementReference":"examples-9"}],"antara/api/oracles":[{"text":"Oracles","tagName":"h1","path":"antara/api/oracles","closestElementReference":"oracles"},{"text":"Introduction","tagName":"h2","path":"antara/api/oracles","closestElementReference":"introduction"},{"text":"The Oracles Antara Module allows a user to make off-chain data available on-chain. This enables developers to create and use software that responds to off-chain information and events.","tagName":"p","path":"antara/api/oracles","closestElementReference":"introduction"},{"text":"Those who publish data to an oracle are called publishers. There is a fee-based model to serve as an incentive for publishers.","tagName":"p","path":"antara/api/oracles","closestElementReference":"introduction"},{"text":"Oracles Module Flow","tagName":"h3","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"Create an Oracle using oraclescreate","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclescreate","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"Register as a data publisher for the oracle using the oraclesregister method; at this stage, the publisher indicates the fee for their data updates \n \n Anyone can register as a publisher for any oracle; users subscribe only to the publishers they desire \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclesregister","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"\n Anyone can register as a publisher for any oracle; users subscribe only to the publishers they desire \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"Anyone can register as a publisher for any oracle; users subscribe only to the publishers they desire","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"Anyone can register as a publisher for any oracle; users subscribe only to the publishers they desire","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"The oracleslist , oraclesinfo , and oraclessamples methods allow the user to find oracles and publishers, find more information about a specific oracle and publisher, and discover samples of an existing publisher, respectively","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oracleslist","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclesinfo","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclessamples","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"Anyone can subscribe to any specific publisher of any oracle using the oraclessubscribe method","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclessubscribe","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"A publisher can publish data using oraclesdata , and thereby collect their fee from their subscribers","tagName":"li","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclesdata","tagName":"a","path":"antara/api/oracles","closestElementReference":"oracles-module-flow"},{"text":"oraclesaddress","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclesaddress"},{"text":"oraclesaddress (pubkey)","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesaddress"},{"text":"oraclesaddress (pubkey)","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesaddress"},{"text":"The oraclesaddress method displays the oracle address for a specific pubkey.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesaddress"},{"text":"oraclesaddress","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesaddress 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesaddress 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"OraclesCCAddress\": \"REt2C4ZMnX8YYX1DRpffNA4hECZTFm39e3\",\n \"OraclesCCBalance\": 0.0,\n \"OraclesNormalAddress\": \"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\",\n \"OraclesNormalBalance\": 0.0,\n \"OraclesCCTokensAddress\": \"RWGhAG1qPRRxCxtewLixKX6GseGZQWVQ9E\",\n \"PubkeyCCaddress(Oracles)\": \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\",\n \"PubkeyCCbalance(Oracles)\": 0.0,\n \"myCCAddress(Oracles)\": \"RM5w8tsRzrHdsSZ9L29x4uDwZNRzZHQd9D\",\n \"myCCbalance(Oracles)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"OraclesCCAddress\": \"REt2C4ZMnX8YYX1DRpffNA4hECZTFm39e3\",\n \"OraclesCCBalance\": 0.0,\n \"OraclesNormalAddress\": \"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\",\n \"OraclesNormalBalance\": 0.0,\n \"OraclesCCTokensAddress\": \"RWGhAG1qPRRxCxtewLixKX6GseGZQWVQ9E\",\n \"PubkeyCCaddress(Oracles)\": \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\",\n \"PubkeyCCbalance(Oracles)\": 0.0,\n \"myCCAddress(Oracles)\": \"RM5w8tsRzrHdsSZ9L29x4uDwZNRzZHQd9D\",\n \"myCCbalance(Oracles)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesaddress\", \"params\":[\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesaddress\", \"params\":[\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"OraclesCCAddress\": \"REt2C4ZMnX8YYX1DRpffNA4hECZTFm39e3\",\n \"OraclesCCBalance\": 0.0,\n \"OraclesNormalAddress\": \"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\",\n \"OraclesNormalBalance\": 0.0,\n \"OraclesCCTokensAddress\": \"RWGhAG1qPRRxCxtewLixKX6GseGZQWVQ9E\",\n \"PubkeyCCaddress(Oracles)\": \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\",\n \"PubkeyCCbalance(Oracles)\": 0.0,\n \"myCCAddress(Oracles)\": \"RM5w8tsRzrHdsSZ9L29x4uDwZNRzZHQd9D\",\n \"myCCbalance(Oracles)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"OraclesCCAddress\": \"REt2C4ZMnX8YYX1DRpffNA4hECZTFm39e3\",\n \"OraclesCCBalance\": 0.0,\n \"OraclesNormalAddress\": \"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\",\n \"OraclesNormalBalance\": 0.0,\n \"OraclesCCTokensAddress\": \"RWGhAG1qPRRxCxtewLixKX6GseGZQWVQ9E\",\n \"PubkeyCCaddress(Oracles)\": \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\",\n \"PubkeyCCbalance(Oracles)\": 0.0,\n \"myCCAddress(Oracles)\": \"RM5w8tsRzrHdsSZ9L29x4uDwZNRzZHQd9D\",\n \"myCCbalance(Oracles)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples"},{"text":"oraclescreate","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"oraclescreate name description format","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"oraclescreate name description format","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"The oraclescreate method creates a new oracle.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"oraclescreate","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclescreate"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"The various formats of data that can be registered for an oracle and their symbols are as follows:","tagName":"p","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"s -> char string; size < 256 bytes","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"char string; size < 256 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"S -> char string; size < 65536 bytes","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"char string; size < 65536 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"d -> binary data; size < 256 bytes","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"d","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"binary data; size < 256 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"D -> binary data; size < 65536 bytes","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"D","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"binary data; size < 65536 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"c -> 1 byte signed little endian number, 'C' if unsigned","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"c","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"1 byte signed little endian number, 'C' if unsigned","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"t -> 2 byte signed little endian number, 'T' if unsigned","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"2 byte signed little endian number, 'T' if unsigned","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"i -> 4 byte signed little endian number, 'I' if unsigned","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"i","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"4 byte signed little endian number, 'I' if unsigned","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"l -> 8 byte signed little endian number, 'L' if unsigned","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"l","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"8 byte signed little endian number, 'L' if unsigned","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"h -> 32 byte hash","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"h","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"32 byte hash","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"Even though the formats S and D specify that the data size can be up to 65536 bytes, the combination of the transaction size and the data size cannot exceed the limit of 10000 bytes.","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"D","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"65536","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"10000","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"Although the formats d and D are for raw binary data, they are preferable to the s and S human-readable formats. This is because the s and S formats occupy twice the size of data on the blockchain, and yet their only advantage is their ability to show human-readable output in the oraclessamples method.","tagName":"li","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"d","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"D","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"oraclessamples","tagName":"a","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"If data to be submitted is larger than 8KB , break it into chunks of size\n 8KB or lower.","tagName":"p","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"8KB","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"8KB","tagName":"code","path":"antara/api/oracles","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Step 1: Create a customized oracle contract and get the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate \"NYWTHR\" \"Weather in NYC\" \"L\"\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate \"NYWTHR\" \"Weather in NYC\" \"L\"\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclescreate\", \"params\":[\"NYWTHR\" ,\"Weather in NYC\", \"L\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclescreate\", \"params\":[\"NYWTHR\" ,\"Weather in NYC\", \"L\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n },\n \"error\": null,\n \"id\": null\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n },\n \"error\": null,\n \"id\": null\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Step 2: Send raw transaction / broadcast the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\n# This will output a unique txid which will be refered as oracletxid or transaction ID of the oracle.\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\n# This will output a unique txid which will be refered as oracletxid or transaction ID of the oracle.\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"(Use ./komodo-cli -ac_name=HELLOWORLD getrawmempool to ensure that the transaction receives confirmation.)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"size\": 249,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueSat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"size\": 249,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueSat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c[ALL]\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueZat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c[ALL]\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueZat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-2"},{"text":"oraclesdata","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclesdata oracletxid hexstr","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclesdata oracletxid hexstr","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"The oraclesdata method publishes data to an oracle.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclesdata","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"A publisher cannot successfully execute this command until they have at least one subscriber. A publisher may create their own subscriber account for this purpose. See oraclessubscribe.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclessubscribe.","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"Data is submitted using the hexstr property. The first bytes of the hexstr property must be the length of the data being submitted in hexadecimal format; this sets the string length for the rest of the data. The second portion of the hexstr property is the data itself.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"hexstr","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"hexstr","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"hexstr","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"The oraclesdata method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclesdata","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"The sendrawtransaction method outputs a unique txid , called oraclesdatatxid , which is the unique identifier for this data sample.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"txid","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"oraclesdatatxid","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"The following script converts data entered in a normal-text form to a format accepted by an Oracle with the following characteristics. The oracle is of type: S , and the first two bytes of data are the length, given in Little Endian format.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"Little Endian","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":" #!/usr/bin/env python3\n import sys\n import codecs\n import time\n import readline\n\n\n while True:\n message = input(\"Type message: \")\n #convert message to hex\n rawhex = codecs.encode(message).hex()\n\n #get length in bytes of hex in decimal\n bytelen = int(len(rawhex) / int(2))\n hexlen = format(bytelen, 'x')\n\n #get length in big endian hex\n if bytelen < 16:\n bigend = \"000\" + str(hexlen)\n elif bytelen < 256:\n bigend = \"00\" + str(hexlen)\n elif bytelen < 4096:\n bigend = \"0\" + str(hexlen)\n elif bytelen < 65536:\n bigend = str(hexlen)\n else:\n print(\"message too large, must be less than 65536 characters\")\n continue\n\n #convert big endian length to little endian, append rawhex to little endian length\n lilend = bigend[2] + bigend[3] + bigend[0] + bigend[1]\n fullhex = lilend + rawhex\n\n print(fullhex)\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":" #!/usr/bin/env python3\n import sys\n import codecs\n import time\n import readline\n\n\n while True:\n message = input(\"Type message: \")\n #convert message to hex\n rawhex = codecs.encode(message).hex()\n\n #get length in bytes of hex in decimal\n bytelen = int(len(rawhex) / int(2))\n hexlen = format(bytelen, 'x')\n\n #get length in big endian hex\n if bytelen < 16:\n bigend = \"000\" + str(hexlen)\n elif bytelen < 256:\n bigend = \"00\" + str(hexlen)\n elif bytelen < 4096:\n bigend = \"0\" + str(hexlen)\n elif bytelen < 65536:\n bigend = str(hexlen)\n else:\n print(\"message too large, must be less than 65536 characters\")\n continue\n\n #convert big endian length to little endian, append rawhex to little endian length\n lilend = bigend[2] + bigend[3] + bigend[0] + bigend[1]\n fullhex = lilend + rawhex\n\n print(fullhex)\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"{\n \"result\": {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c[ALL]\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueZat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"{\n \"result\": {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c[ALL]\",\n \"hex\": \"483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691a OP_CHECKSIG\",\n \"hex\": \"21038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RHkFKzn1csxA3fWzAsxsLWohoCgBbirXb5\"]\n }\n },\n {\n \"value\": 200.02670391,\n \"valueZat\": 20002670391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"hex\": \"6a1aec43064e5957544852014c0e5765617468657220696e204e5943\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"for submitting data of the types s and d , where the size is less than 256 bytes, the first byte denotes the length","tagName":"li","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"d","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"for submitting data of the types S and D , where the size is less than 65536 bytes, the first two bytes denotes the length in Little Endian format","tagName":"li","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"D","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"Little Endian","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesdata"},{"text":"📌 Examples for data submission","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-for-data-submission"},{"text":"Example A","tagName":"h5","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"The objective: to submit a 10 character string, \"teststring\" , to an oracle of the format s","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\"teststring\"","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"The data to meet this objective is as follows: 0a74657374737472696e67 \n \n Notice the first byte, 0a \n \n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n \n \n Notice the remaining bytes, 74657374737472696e67 \n \n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n \n \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"0a74657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\n Notice the first byte, 0a \n \n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n \n \n Notice the remaining bytes, 74657374737472696e67 \n \n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n \n \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Notice the first byte, 0a \n \n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"0a","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"This is the hexadecimal representation of the decimal number 10","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10 is the byte size of this 10 character string, because each character requires 1 byte of space","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"1 byte","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Notice the remaining bytes, 74657374737472696e67 \n \n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Each two characters is a byte representing a character","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65 = e","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"e","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73 = s","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t etc.","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Notice the first byte, 0a \n \n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"0a","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\n This is the hexadecimal representation of the decimal number 10 \n 10 is the byte size of this 10 character string, because each character requires 1 byte of space \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"This is the hexadecimal representation of the decimal number 10","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10 is the byte size of this 10 character string, because each character requires 1 byte of space","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"1 byte","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"This is the hexadecimal representation of the decimal number 10","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10 is the byte size of this 10 character string, because each character requires 1 byte of space","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"1 byte","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Notice the remaining bytes, 74657374737472696e67 \n \n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"\n Each two characters is a byte representing a character \n 74 = t \n 65 = e \n 73 = s \n 74 = t etc. \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Each two characters is a byte representing a character","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65 = e","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"e","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73 = s","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t etc.","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Each two characters is a byte representing a character","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65 = e","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"65","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"e","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73 = s","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"73","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"s","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74 = t etc.","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"74","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"t","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-a"},{"text":"Example B","tagName":"h5","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"The objective: to submit the 10 character string, \"teststring\" , to an oracle of the format S","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"\"teststring\"","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"S","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"The data to meet this objective is as follows: 0a0074657374737472696e67 \n \n Notice the first two bytes, 0a and 00 \n These are the hexadecimal representations of the decimal number 10 , written to fill 2 bytes and in Little Endian format \n The remaining data, 74657374737472696e67 , is the same as Example A \n \n","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"0a0074657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"\n Notice the first two bytes, 0a and 00 \n These are the hexadecimal representations of the decimal number 10 , written to fill 2 bytes and in Little Endian format \n The remaining data, 74657374737472696e67 , is the same as Example A \n","tagName":"ul","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"Notice the first two bytes, 0a and 00","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"0a","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"00","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"These are the hexadecimal representations of the decimal number 10 , written to fill 2 bytes and in Little Endian format","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"2 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"Little Endian","tagName":"strong","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"The remaining data, 74657374737472696e67 , is the same as Example A","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"74657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"Notice the first two bytes, 0a and 00","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"0a","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"00","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"These are the hexadecimal representations of the decimal number 10 , written to fill 2 bytes and in Little Endian format","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"10","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"2 bytes","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"Little Endian","tagName":"strong","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"The remaining data, 74657374737472696e67 , is the same as Example A","tagName":"li","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"74657374737472696e67","tagName":"code","path":"antara/api/oracles","closestElementReference":"example-b"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Step 1: Subscribe to a oracle plan and get the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesdata 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 00000000ffffffff\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesdata 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 00000000ffffffff\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesdata\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"00000000ffffffff\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesdata\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"00000000ffffffff\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Step 2: Send raw transaction / broadcast the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"size\": 774,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\",\n \"hex\": \"4730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a2606\n26c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a\n260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a94265681\n2e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a9426\n56812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.99000000,\n \"valueSat\": 99000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"\n ]\n }\n },\n {\n \"value\": 0.00010000,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"\n ]\n }\n },\n {\n \"value\": 0.01000000,\n \"valueSat\": 1000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"\n ]\n }\n },\n {\n \"value\": 199.02610391,\n \"valueSat\": 19902610391,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"\n ]\n }\n },\n {\n \"value\": 0.00000000,\n \"valueSat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"hex\": \"6a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"size\": 774,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\",\n \"hex\": \"4730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a2606\n26c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a\n260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a94265681\n2e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a9426\n56812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.99000000,\n \"valueSat\": 99000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"\n ]\n }\n },\n {\n \"value\": 0.00010000,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"\n ]\n }\n },\n {\n \"value\": 0.01000000,\n \"valueSat\": 1000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"\n ]\n }\n },\n {\n \"value\": 199.02610391,\n \"valueSat\": 19902610391,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"\n ]\n }\n },\n {\n \"value\": 0.00000000,\n \"valueSat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"hex\": \"6a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000359db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d02000000484730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301ffffffff75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f010000007b4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001ffffffff59db76b9b8e9cfaa4514dcc198c375f910b9fb7367d1c9d556cd5eb43b5f4d2d000000007b4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001ffffffff05c09ee60500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc40420f0000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acd7bb49a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac0000000000000000706a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e3[ALL]\",\n \"hex\": \"4730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.99,\n \"valueZat\": 99000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 0.01,\n \"valueZat\": 1000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 199.02610391,\n \"valueZat\": 19902610391,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"hex\": \"6a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"9530bdf82744ac57a5ffe0855595f5510c339341cdc3c8728ee547d3f3153433\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"30440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e3[ALL]\",\n \"hex\": \"4730440220645b49d6d85454b1015d82a53ec51685fc3b8bf1d092696c3c253b88cab3033a02207023511219897a374ad94951dd2af70b14d99eccbb404eaf783120f3170bd5e301\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a5658021035933ab0bd2e2ceb712e7cab393a8c9096ba4be2e3a76f5aaeab72bce4aa61857814047697a246e4442888a3b6ffc4a8c5ae940eec7d19f72053a07b6d8a2968a260626c8001c9138e9fd0e3cfabb811ae71bd8c1c555ca8c8410cb9121ce25860507a100af038001eca10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b581404fa0de32bbb96b2e2f61fe823cdba4c3b9fef786ea8c65196f97653a942656812e675e91643ff0ec33853fd2481d40fc48fa51e18c9cbffb49e714c15b47babda100af038001eca10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.99,\n \"valueZat\": 99000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 0.01,\n \"valueZat\": 1000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 199.02610391,\n \"valueZat\": 19902610391,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"hex\": \"6a4c6dec4403921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d75a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b50800000000ffffffff\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-3"},{"text":"oraclesfund","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"oraclesfund oracletxid","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"oraclesfund oracletxid","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"The oraclesfund method allows a user to register as a publisher on an oracle.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"oraclesfund","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"This method must be executed before the user attempts to use the oraclesregister method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesfund"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Step 1: Create a customized oracle contract and get the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesfund 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesfund 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Response from Step 1:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesfund\", \"params\":[\"7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesfund\", \"params\":[\"7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Step 2: Send raw transaction / broadcast the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n\n# This will output a unique txid which will be refered as oracletxid or transaction ID of the oracle.\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n\n# This will output a unique txid which will be refered as oracletxid or transaction ID of the oracle.\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Response from Step 2:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"(Use ./komodo-cli -ac_name=HELLOWORLD getrawmempool to ensure that the transaction receives confirmation.)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Response from Step 3:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"txid\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 1974,\n \"vin\": [\n {\n \"txid\": \"0e51062adc807c118451622957812428562a7487fa6325c484cacdf145948324\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be7[ALL]\",\n \"hex\": \"483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RUeZzWCuwGxJTtSDGfRFWL87oyrLWZav6Z\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5 OP_CHECKSIG\",\n \"hex\": \"2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFkogpvKojbChm9hMDdv2KUBasUmFNraqg\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"hex\": \"6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"txid\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 1974,\n \"vin\": [\n {\n \"txid\": \"0e51062adc807c118451622957812428562a7487fa6325c484cacdf145948324\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be7[ALL]\",\n \"hex\": \"483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RUeZzWCuwGxJTtSDGfRFWL87oyrLWZav6Z\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5 OP_CHECKSIG\",\n \"hex\": \"2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFkogpvKojbChm9hMDdv2KUBasUmFNraqg\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"hex\": \"6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"txid\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 1974,\n \"vin\": [\n {\n \"txid\": \"0e51062adc807c118451622957812428562a7487fa6325c484cacdf145948324\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be7[ALL]\",\n \"hex\": \"483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RUeZzWCuwGxJTtSDGfRFWL87oyrLWZav6Z\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5 OP_CHECKSIG\",\n \"hex\": \"2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFkogpvKojbChm9hMDdv2KUBasUmFNraqg\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"hex\": \"6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"txid\": \"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 1974,\n \"vin\": [\n {\n \"txid\": \"0e51062adc807c118451622957812428562a7487fa6325c484cacdf145948324\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be7[ALL]\",\n \"hex\": \"483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RUeZzWCuwGxJTtSDGfRFWL87oyrLWZav6Z\"]\n }\n },\n {\n \"value\": 99.9998,\n \"valueZat\": 9999980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5 OP_CHECKSIG\",\n \"hex\": \"2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFkogpvKojbChm9hMDdv2KUBasUmFNraqg\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"hex\": \"6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a51027000000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-4"},{"text":"oraclesinfo","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oraclesinfo oracletxid","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oraclesinfo oracletxid","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"The oraclesinfo method displays information about a specific oracle using oracletxid .","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oraclesinfo","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oracletxid","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"For a list of all oracletxid 's available on the Smart Chain, see the oracleslist method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oracletxid","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"oracleslist","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclesinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"name\": \"NYWTHR\",\n \"description\": \"Weather in NYC\",\n \"format\": \"L\",\n \"marker\": \"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"name\": \"NYWTHR\",\n \"description\": \"Weather in NYC\",\n \"format\": \"L\",\n \"marker\": \"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesinfo\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesinfo\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"name\": \"NYWTHR\",\n \"description\": \"Weather in NYC\",\n \"format\": \"L\",\n \"marker\": \"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"name\": \"NYWTHR\",\n \"description\": \"Weather in NYC\",\n \"format\": \"L\",\n \"marker\": \"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-5"},{"text":"oracleslist","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oracleslist"},{"text":"oracleslist","tagName":"p","path":"antara/api/oracles","closestElementReference":"oracleslist"},{"text":"oracleslist","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oracleslist"},{"text":"The oracleslist method lists all available oracle contracts on the Smart Chain.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oracleslist"},{"text":"oracleslist","tagName":"code","path":"antara/api/oracles","closestElementReference":"oracleslist"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD oracleslist\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD oracleslist\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"[\n \"66fa795f43534e4d6b038c172172a7c46a3cf37b1628e075e38e94a20cfeae5a\",\n \"79d02351968e6616f3044cb14523d8d2cbdbd1a8b7b75bd14b1aa80ad41a5845\",\n \"665b893bdb801f77fd6620969371f8fc391df568150f0a671c1c23e67a0cf039\",\n \"0fa3c6e12ee4be636f44ce4b2af3b0f213d0403dc46cd42add07816526dd46b2\",\n \"b24a00e2a895baad4c0246ba5b3d36790b43cc0fb5a4c4ea98161299165a8c96\"\n]\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"[\n \"66fa795f43534e4d6b038c172172a7c46a3cf37b1628e075e38e94a20cfeae5a\",\n \"79d02351968e6616f3044cb14523d8d2cbdbd1a8b7b75bd14b1aa80ad41a5845\",\n \"665b893bdb801f77fd6620969371f8fc391df568150f0a671c1c23e67a0cf039\",\n \"0fa3c6e12ee4be636f44ce4b2af3b0f213d0403dc46cd42add07816526dd46b2\",\n \"b24a00e2a895baad4c0246ba5b3d36790b43cc0fb5a4c4ea98161299165a8c96\"\n]\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oracleslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oracleslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"{\n \"result\": [\n \"66fa795f43534e4d6b038c172172a7c46a3cf37b1628e075e38e94a20cfeae5a\",\n \"79d02351968e6616f3044cb14523d8d2cbdbd1a8b7b75bd14b1aa80ad41a5845\",\n \"665b893bdb801f77fd6620969371f8fc391df568150f0a671c1c23e67a0cf039\",\n \"0fa3c6e12ee4be636f44ce4b2af3b0f213d0403dc46cd42add07816526dd46b2\",\n \"b24a00e2a895baad4c0246ba5b3d36790b43cc0fb5a4c4ea98161299165a8c96\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"{\n \"result\": [\n \"66fa795f43534e4d6b038c172172a7c46a3cf37b1628e075e38e94a20cfeae5a\",\n \"79d02351968e6616f3044cb14523d8d2cbdbd1a8b7b75bd14b1aa80ad41a5845\",\n \"665b893bdb801f77fd6620969371f8fc391df568150f0a671c1c23e67a0cf039\",\n \"0fa3c6e12ee4be636f44ce4b2af3b0f213d0403dc46cd42add07816526dd46b2\",\n \"b24a00e2a895baad4c0246ba5b3d36790b43cc0fb5a4c4ea98161299165a8c96\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-6"},{"text":"oraclesregister","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"oraclesregister oracletxid datafee","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"oraclesregister oracletxid datafee","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"A user executes the oraclesregister method to register as a data publisher for an existing oracle contract.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"oraclesregister","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"The datafee property is set in satoshis, and should be >= the chain's default transaction fee.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"datafee","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":">=","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"Use ./komodo-cli -ac_name=YOURNAME getrawmempool to verify the transaction\nis confirmed.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"./komodo-cli -ac_name=YOURNAME getrawmempool","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"After the transaction confirms, use oraclesinfo to output registration\ninformation about your oracles plan","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"oraclesinfo","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclesregister"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Step 1: Set your parameters to create a raw transaction and get the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 1000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 1000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesregister\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"1000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclesregister\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"1000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Step 2: Send/broadcast the raw transaction hex","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"size\": 356,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\",\n \"hex\": \"47304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 200.02640391,\n \"valueSat\": 20002640391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f00000$0000\",\n \"hex\": \"6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000$\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"size\": 356,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\",\n \"hex\": \"47304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 200.02640391,\n \"valueSat\": 20002640391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f00000$0000\",\n \"hex\": \"6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000$\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000103921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d010000004847304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101ffffffff04102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac1027000000000000302ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc071240a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b1[ALL]\",\n \"hex\": \"47304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 200.02640391,\n \"valueZat\": 20002640391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f0000000000\",\n \"hex\": \"6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f0000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b1[ALL]\",\n \"hex\": \"47304402207241f313ef2fb65d9eb1f870068ceba436f14996ce79d16ff85f2937c75357ee022025f0b888e742546469ad0b7fae9b85cf7c89cddf307170bbcf794e5e90ae28b101\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200648c12e7e058c98f0a5cc288ac271ad08bd493e1fb7de83edeea69789338fc58103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\"]\n }\n },\n {\n \"value\": 200.02640391,\n \"valueZat\": 20002640391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f0000000000\",\n \"hex\": \"6a4c4cec5203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b540420f0000000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-7"},{"text":"oraclessamples","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"oraclessamples oracletxid baton num","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"oraclessamples oracletxid baton num","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"The oraclessample method fetches data samples from a publisher.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"oraclessample","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"The user indicates the desired publisher by inserting the batonutxo by the publisher. Use oraclesinfo to find a list of publishers and their current batonutxo's.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"batonutxo","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"oraclesinfo","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclessamples"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessamples 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c RVerJvoYsXp3avQ3xxe54EhajZgn5xidKB 1\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessamples 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c RVerJvoYsXp3avQ3xxe54EhajZgn5xidKB 1\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"samples\": [\n {\n \"txid\": \"bbe51ad50a1a49e0275631c2b8e698ea3514b05bb60b944ee891bdbbd5ce0c17\",\n \"data\": [\"This here is some data stored on an oracle\"]\n }\n ]\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"samples\": [\n {\n \"txid\": \"bbe51ad50a1a49e0275631c2b8e698ea3514b05bb60b944ee891bdbbd5ce0c17\",\n \"data\": [\"This here is some data stored on an oracle\"]\n }\n ]\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclessamples\", \"params\":[\"7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\" ,\"RVerJvoYsXp3avQ3xxe54EhajZgn5xidKB\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclessamples\", \"params\":[\"7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\" ,\"RVerJvoYsXp3avQ3xxe54EhajZgn5xidKB\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"samples\": [\n {\n \"txid\": \"bbe51ad50a1a49e0275631c2b8e698ea3514b05bb60b944ee891bdbbd5ce0c17\",\n \"data\": [\"This here is some data stored on an oracle\"]\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"samples\": [\n {\n \"txid\": \"bbe51ad50a1a49e0275631c2b8e698ea3514b05bb60b944ee891bdbbd5ce0c17\",\n \"data\": [\"This here is some data stored on an oracle\"]\n }\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-8"},{"text":"oraclessubscribe","tagName":"h2","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"oraclessubscribe oracletxid publisher amount","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"oraclessubscribe oracletxid publisher amount","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"The user executes oraclessubscribe to subscribe to a publisher of an oracle plan.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"oraclessubscribe","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"Every publisher must have at least one subscriber before the oraclesdata can successfully execute.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"oraclesdata","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"The sendrawtransaction method then returns a unique txid, also called the oraclesubscriptiontxid , or the id of the oracle subscription transaction. This can be used for further development purposes.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"oraclesubscriptiontxid","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"If the datafee is 10 COINS and the amount submitted is 1000 COINS, the\npublisher can publish data 100 times based on this amount.","tagName":"p","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"datafee","tagName":"strong","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"amount","tagName":"code","path":"antara/api/oracles","closestElementReference":"oraclessubscribe"},{"text":"Arguments","tagName":"h3","path":"antara/api/oracles","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h3","path":"antara/api/oracles","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Step 1: Subscribe to an oracle plan and get the hex value:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 1\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe 0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 1\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclessubscribe\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"oraclessubscribe\", \"params\":[\"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\" ,\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\" ,\"1\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Step 2: Send raw transaction / broadcast the hex value","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"size\": 356,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\",\n \"hex\": \"473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 199.02620391,\n \"valueSat\": 19902620391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"hex\": \"6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"size\": 356,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\",\n \"hex\": \"473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 199.02620391,\n \"valueSat\": 19902620391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"hex\": \"6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcuser","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcpassword","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"rpcport","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000175a5881417ab6700c089a6083d71abadc8cd74018bded0cfba423e027d513c8f0200000048473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01ffffffff0400e1f50500000000302ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc102700000000000023210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dace7e249a204000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000004f6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f5050000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e[ALL]\",\n \"hex\": \"473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueZat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 199.02620391,\n \"valueZat\": 19902620391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"hex\": \"6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/oracles","closestElementReference":"examples-9"},{"text":"{\n \"result\": {\n \"txid\": \"2d4d5f3bb45ecd56d5c9d16773fbb910f975c398c1dc1445aacfe9b8b976db59\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"8f3c517d023e42bacfd0de8b0174cdc8adab713d08a689c00067ab171488a575\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e[ALL]\",\n \"hex\": \"473044022006449e2f324ba8c262ca73eea4642f77ccf906fee5bab4fdc85bcc8c350ce81b022047d76840076f6e02aebe77ffb59b052974badb8747c7b435fd77351fcfbee95e01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueZat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802092392e766d63f73dd7c68ff9eaf9f009f13b17c4167472e8aebb00d96be66aa68103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTk2Tgp1iAcxxSeuXYDREmtfydMvNkCmq8\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d OP_CHECKSIG\",\n \"hex\": \"210203921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70dac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RGEug5JPPkERBpqsGSgw6GQPYTB9v9i4Fj\"]\n }\n },\n {\n \"value\": 199.02620391,\n \"valueZat\": 19902620391,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"hex\": \"6a4c4cec5303921d76b33363fb05b0fe68e2cf179f73584517bbd4ab08ba8df044d8c4f70d2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b500e1f50500000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/oracles","closestElementReference":"examples-9"}],"antara/api/payments":[{"text":"Payments","tagName":"h1","path":"antara/api/payments","closestElementReference":"payments"},{"text":"Introduction","tagName":"h2","path":"antara/api/payments","closestElementReference":"introduction"},{"text":"The Payments Module allows a payment to be distributed between multiple recipients in a pre-defined proportion.","tagName":"p","path":"antara/api/payments","closestElementReference":"introduction"},{"text":"Payments Module Flow","tagName":"h3","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Use paymentstxidopret to create as many transactions as there are recipients \n \n Each recipient must have the following data in the associated transaction's opreturn. This step makes the data available on the blockchain so that the data can be used by a later method \n \n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n \n \n The transaction id is called paytxnid and it is used as a reference to the data \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paymentstxidopret","tagName":"a","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n Each recipient must have the following data in the associated transaction's opreturn. This step makes the data available on the blockchain so that the data can be used by a later method \n \n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n \n \n The transaction id is called paytxnid and it is used as a reference to the data \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Each recipient must have the following data in the associated transaction's opreturn. This step makes the data available on the blockchain so that the data can be used by a later method \n \n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Weight (also called \"share\")","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Recipient","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n This data is stored in the OP_RETURN of the subsequent payment transaction \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"This data is stored in the OP_RETURN of the subsequent payment transaction","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The transaction id is called paytxnid and it is used as a reference to the data","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paytxnid","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Each recipient must have the following data in the associated transaction's opreturn. This step makes the data available on the blockchain so that the data can be used by a later method \n \n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n Weight (also called \"share\") \n Recipient \n Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Weight (also called \"share\")","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Recipient","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n This data is stored in the OP_RETURN of the subsequent payment transaction \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"This data is stored in the OP_RETURN of the subsequent payment transaction","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Weight (also called \"share\")","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Recipient","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Destopret (optional) \n \n This data is stored in the OP_RETURN of the subsequent payment transaction \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n This data is stored in the OP_RETURN of the subsequent payment transaction \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"This data is stored in the OP_RETURN of the subsequent payment transaction","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"This data is stored in the OP_RETURN of the subsequent payment transaction","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The transaction id is called paytxnid and it is used as a reference to the data","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paytxnid","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Use paymentscreate to create a new Payment plan \n \n The arguments passed include the following \n \n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n \n \n The returned transaction id is called createtxid and it will be the reference for this payment plan used by other methods \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paymentscreate","tagName":"a","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n The arguments passed include the following \n \n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n \n \n The returned transaction id is called createtxid and it will be the reference for this payment plan used by other methods \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The arguments passed include the following \n \n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The number of blocks to lock the funds after funding","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The minimum release amount","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paytxnids","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n These contains data about the recipients and their corresponding shares \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"These contains data about the recipients and their corresponding shares","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The returned transaction id is called createtxid and it will be the reference for this payment plan used by other methods","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"createtxid","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The arguments passed include the following \n \n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n The number of blocks to lock the funds after funding \n The minimum release amount \n The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The number of blocks to lock the funds after funding","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The minimum release amount","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paytxnids","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n These contains data about the recipients and their corresponding shares \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"These contains data about the recipients and their corresponding shares","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The number of blocks to lock the funds after funding","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The minimum release amount","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The paytxnids \n \n These contains data about the recipients and their corresponding shares \n \n","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paytxnids","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"\n These contains data about the recipients and their corresponding shares \n","tagName":"ul","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"These contains data about the recipients and their corresponding shares","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"These contains data about the recipients and their corresponding shares","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"The returned transaction id is called createtxid and it will be the reference for this payment plan used by other methods","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"createtxid","tagName":"code","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Use paymentsfund to fund any existing Payments plan","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paymentsfund","tagName":"a","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"Use paymentsrelease to release payments of a Payments plan","tagName":"li","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paymentsrelease","tagName":"a","path":"antara/api/payments","closestElementReference":"payments-module-flow"},{"text":"paymentscreate","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"paymentscreate '[lockedblocks,minamount,\"paytxid\",...,\"paytxidN\"]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"paymentscreate '[lockedblocks,minamount,\"paytxid\",...,\"paytxidN\"]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"Use the paymentscreate method after receiving the paytxids from all the recipients to create a new instance of the Payments plan.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"paymentscreate","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"paytxids","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentscreate"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentscreate '[0,0,\"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\"]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentscreate '[0,0,\"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\"]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"{\n \"hex\": \"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\",\n \"txid\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command"},{"text":"{\n \"hex\": \"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\",\n \"txid\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentscreate\", \"params\":[0,0,\"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentscreate\", \"params\":[0,0,\"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\",\n \"txid\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\",\n \"txid\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8901002a73fb5f67f406f4686cd3124f38bf1ecbc9b997adc548914c2bc344453f700000000048473044022034b381a812ad57e5a726319f47db4e59666b65dc1eb7ab3e8eb32f7a3637624b02203ca606a74c18389f7ba20ab09086db66a4d21826673e9970ceb3d6f2c4bfea0501ffffffff031027000000000000302ea22c8020f7d6c2e6ca04be384f425a199bc2ad90dcc3e13effe6822b29598f47e2795da781031210008203000401cce092f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000566a4c53f04300000000000000000a00000000000000020ee006c50f1fd19cd59801d28ca3642af71d1e3d5f95c0b75961aabd6b1f739c7d1126a9f3be4642f14625add4a16867614f99ca15c804bf266770089889983300000000860a00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"{\n \"result\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"{\n \"result\": \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction"},{"text":"paymentsfund","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentsfund"},{"text":"paymentsfund '[“createtxid\", amount(, useopret)]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsfund"},{"text":"paymentsfund '[“createtxid\", amount(, useopret)]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsfund"},{"text":"The paymentsfund method is used to add funds to a Payments plan that has been created.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsfund"},{"text":"paymentsfund","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsfund"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-2"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsfund '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",7,1]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsfund '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",7,1]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"{\n \"hex\": \"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\",\n \"txid\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"{\n \"hex\": \"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\",\n \"txid\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsfund\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",7,1]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsfund\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",7,1]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\",\n \"txid\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\",\n \"txid\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-2"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8908001efc1fdeee5ff6f02669c3b0dc44328a0ab3d164099be60bb752cd00a9474c000000004847304402200995f3ffcbf22ff71e4cd34f004f57faf0a63b02580ee703c3c7af8dbfad4db502203ff43305875d26a01c551dde40db13098c229eb35d0a17842bf49463d310676b01ffffffff0076f017cf49a7b952163e0f6e92898795197741e54c7975f2d3af1e49fe7e760000000048473044022063e5e1a7b3fdec6e19143817e208411656bae613f259bf51ecb27e4d2586134602204ede23fe353dc87bfd4b9e154b576812fd7e4e9232e8906ec3535fa8519956c001ffffffff00621604313b81ed8556ceaf29fe93b55d419de53e3947c48cb6f77cd852eefb00000000484730440220154b9727e0f377ce141f63845b729fc392096a5d04c966368fad4d077e1255a30220708f7bd907e180cf819e4fc3bec12f168fcdbbb8570cb919cade2cd84c159b1401ffffffff0060083ce708e81c46b2e12e87051a87817d072be85ba5dd55c728348c0dd6560000000048473044022010ee0f67a08c1d7d4939629e7a8786cb1b8b1ad4c8d0e0acb72fb33bfadcabe702204cd5a11c838917677c10d81105f19620649ba1ddb82677c384434ec38995397001ffffffff0055e6ca9fd40a82d4db0c626eb8e0aa6376d45ae9bd55ae5995e145a0095161000000004847304402200c4c94a85ba91417ad66ced737efbabdaa80fa78727b510a4b052b53307ac46702200c5895f74526cb6fc930568f2ae23638d7af37735e15b1c46f2bfb83ae0bb4cc01ffffffff003ffe904cdc927be067b21d19f0c57b2bfbc7f669c1f176134c24eee038d1760000000049483045022100b440206ef0613c5abc15803b047d1b73d024f2e3c33dce5db7633629c169847502206786c8cd7f29e2bc42559d42b441a812bf4a6604e0244c474e94a1e080b3657001ffffffff003c5c30c4107b975ca2bd4165940b432b1dae92110f0adb4540d84c42a7adf6000000004847304402205c994a23360b7d7147debc2c91300575b466c5b3862ca4d6c42bb2d0421539a7022031ed30cb9e667d30ee399d38899ad24aecd44e5545d2ce9357fc4192b41098e701ffffffff00339f6cb6e5b158a156b88e2b99d5bd08612000aa35e2e57fd54fc13145a69a0000000049483045022100db64b42398ff454c4370f90c903a2d9b1485f75dff8ee7f7b5285b531aee75fc02207d2162f469122af6d0c7edb622dd7dd4aef551b22ae1ea3c77320c12095a5cf401ffffffff020027b929000000005c2ea22c8020987fad30df055db6fd922c3a57e55d76601229ed3da3b31340112e773df3d0d28103120c008203000401cc2a0401f00101246a22f04637383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec475f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000420f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"{\n \"result\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"{\n \"result\": \"4c04f2d75ece337c7b4f86eb3962b37b97f8af8b261fe68abb49815524e8be50\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-2"},{"text":"destopret (optional)","tagName":"h5","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"Data provided in destopret is stored in the opreturn of the transaction that sends funds to the scriptPubkey .","tagName":"p","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"destopret","tagName":"code","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"If the scriptPubkey belongs to an Antara Module that expects opreturn data, this data must be provided using destopret .","tagName":"p","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"destopret","tagName":"code","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"For example, if a Payments plan sends a portion of funds to an instance of the Rewards Antara Module, the Payments transaction must add data to the destopret to specify the specific instance of the Rewards plan.","tagName":"p","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"destopret","tagName":"code","path":"antara/api/payments","closestElementReference":"destopret-optional"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-3"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentstxidopret '[9,\"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentstxidopret '[9,\"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"{\n \"hex\": \"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\",\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"{\n \"hex\": \"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\",\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentstxidopret\", \"params\":[9,\"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentstxidopret\", \"params\":[9,\"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\",\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\",\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-3"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f89010012d25c46d1f831d74c7c3e71fd32343f53ead192cc70e9e8edf7586571759a0000000048473044022004f5a7e3eb7f5010953c2bca7af2113ee3559b5f7adc86ad09b872526e3b36f6022040b6409eb612c847185b274eb76a3ff60f0e970e5e78d3eee9269b5f0661611001ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f054090000000000000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00000000000b0400000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"{\n \"result\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"{\n \"result\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-3"},{"text":"paymentsinfo","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"paymentsinfo '[\"createtxid\"]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"paymentsinfo '[\"createtxid\"]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"The paymentsinfo method returns relevant information about the Payments plan referred by the provided createtxid .","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"paymentsinfo","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"createtxid","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsinfo"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-4"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsinfo '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsinfo '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"{\n \"plan_type\": \"payments\",\n \"lockedblocks\": 0,\n \"totalallocations\": 10,\n \"minrelease\": 0,\n \"numoprets\": 0,\n \"txidoprets\": [\n {\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"scriptPubKey\": \"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"\n },\n {\n \"txid\": \"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\",\n \"scriptPubKey\": \"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"\n }\n ],\n \"RDjEATVvJm8ff2rEYq6yRmzQEuL4mZtF2r\": 800.0,\n \"utxos\": 1,\n \"REpyKi7avsVduqZ3eimncK4uKqSArLTGGK\": 777.0,\n \"utxos\": 1,\n \"totalfunds\": 1577.0,\n \"elegiblefunds\": 1577.0,\n \"min_release_height\": 3683,\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"{\n \"plan_type\": \"payments\",\n \"lockedblocks\": 0,\n \"totalallocations\": 10,\n \"minrelease\": 0,\n \"numoprets\": 0,\n \"txidoprets\": [\n {\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"scriptPubKey\": \"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"\n },\n {\n \"txid\": \"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\",\n \"scriptPubKey\": \"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"\n }\n ],\n \"RDjEATVvJm8ff2rEYq6yRmzQEuL4mZtF2r\": 800.0,\n \"utxos\": 1,\n \"REpyKi7avsVduqZ3eimncK4uKqSArLTGGK\": 777.0,\n \"utxos\": 1,\n \"totalfunds\": 1577.0,\n \"elegiblefunds\": 1577.0,\n \"min_release_height\": 3683,\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsinfo\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsinfo\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"{\n \"result\": {\n \"plan_type\": \"payments\",\n \"lockedblocks\": 0,\n \"totalallocations\": 10,\n \"minrelease\": 0,\n \"numoprets\": 0,\n \"txidoprets\": [\n {\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"scriptPubKey\": \"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"\n },\n {\n \"txid\": \"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\",\n \"scriptPubKey\": \"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"\n }\n ],\n \"RDjEATVvJm8ff2rEYq6yRmzQEuL4mZtF2r\": 800.0,\n \"utxos\": 1,\n \"REpyKi7avsVduqZ3eimncK4uKqSArLTGGK\": 777.0,\n \"utxos\": 1,\n \"totalfunds\": 1577.0,\n \"elegiblefunds\": 1577.0,\n \"min_release_height\": 3683,\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"{\n \"result\": {\n \"plan_type\": \"payments\",\n \"lockedblocks\": 0,\n \"totalallocations\": 10,\n \"minrelease\": 0,\n \"numoprets\": 0,\n \"txidoprets\": [\n {\n \"txid\": \"9c731f6bbdaa6159b7c0955f3d1e1df72a64a38cd20198d59cd11f0fc506e00e\",\n \"scriptPubKey\": \"222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac\"\n },\n {\n \"txid\": \"3398899808706726bf04c815ca994f616768a1d4ad2546f14246bef3a926117d\",\n \"scriptPubKey\": \"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"\n }\n ],\n \"RDjEATVvJm8ff2rEYq6yRmzQEuL4mZtF2r\": 800.0,\n \"utxos\": 1,\n \"REpyKi7avsVduqZ3eimncK4uKqSArLTGGK\": 777.0,\n \"utxos\": 1,\n \"totalfunds\": 1577.0,\n \"elegiblefunds\": 1577.0,\n \"min_release_height\": 3683,\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-4"},{"text":"paymentslist","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"paymentslist","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"paymentslist","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"The paymentslist method lists all Payment plan createtxids that are active on the Smart Chain.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"paymentslist","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"createtxids","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentslist"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-5"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentslist\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentslist\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"{\n \"result\": \"success\",\n \"createtxids\": [\n \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"\n ]\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"{\n \"result\": \"success\",\n \"createtxids\": [\n \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"\n ]\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"createtxids\": [\n \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"createtxids\": [\n \"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"\n ]\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-5"},{"text":"paymentsmerge","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentsmerge '[“createtxid\"]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentsmerge '[“createtxid\"]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"The paymentsmerge method merges funds into a single utxo.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentsmerge","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"utxo.","tagName":"a","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"The funds merged can be either the funds currently in the 1of2 address, or the funds can be the funds in the Payments Module's Global Address.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"1of2","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"Merged funds cannot be merged again for a period of time after the merger. The time required depends on the value set in the lockedblocks argument when the paymentscreate method was executed. The period of time in which the funds cannot be merged is lockedblocks + 100 . This prevents the user from merging the funds a second time before the funds can be released from the first merger.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"lockedblocks","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentscreate","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"lockedblocks + 100","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"The size of a paymentsrelease transaction is bound by the normal rules of consensus, and therefore the number of inputs that can be provided as arguments is limited. If the number of inputs is too high, the consensus mechanism will reject the transaction when it is broadcast to the network. In this event, simply split the inputs between multiple paymentsrelease transactions as necessary.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentsrelease","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"paymentsrelease","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsmerge"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-6"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsmerge '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsmerge '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"{\n \"hex\": \"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\",\n \"txid\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"{\n \"hex\": \"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\",\n \"txid\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsmerge\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsmerge\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\",\n \"txid\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\",\n \"txid\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-6"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890a0724d77b165969158bd68d6502bf40ceff93f1c9fc5be0421eda9859488d21b900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140b0d0df465b818c4b29871433f7913e80d8d27114283ba6ef1b7b91280c189aa829e29946a75d925410dc3087dcd482bed3f98149275e902c0e6bd4e338066e41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff18a003bf4399b2cbcecbf6fd494eec9c80996603dad5e4ce300c9bc4b1a4cd5400000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140f725750c29f92e401033a6334016bb224aa4cf26064c28e0c39a0bc126cf2d5767af46207abc6662f084e3c257e30b6939acdc194f36624d9f8b4288626faaf6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff199096b27c33b86f7bab650a2188e82a865e737913546108615ac7d77a1c540300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814008a1b9d33980f42027cb680923e8e9ef03ed6df7ba32676acd134ca551260b1f5ccd82b52b47945f19523b3dcab456937ef4efa954df1adc5d77d1c974db4f41a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff1c48e0c48972da890aa32f2932f60ed00c270d0168108895ab6f5b88ac765f6600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814049c690811754dc2242bf56c7fa538154274fc56ed4fcedc09f5cc2febb09bdcd3964644b8724f4118b269b80c9cb5147eb6ea627a6b72bae8be7c92205837d6fa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff5241478ba2dad22756b37c0e5d9fd0101ab1fa791f78b26b8ee8b7a4b6b7849b00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814014217e878c17c15d169d8d16cfdb87338993c711157a6f2d0e3dea2a57c80742740c2763267d9056f3004e10c451dd39651f4895f829e8b6a6f81432f2aef534a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff76a5e60ef27316f9c1876f2c5a83114ac26aa977bad655e24c735158025e770800000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b4685681400d1d01976f725fe7274e70261de970a34acfd1819a454b6e0c5e89395306dbd437d34152a1d06d3809395bf9de0928e03049a596b7e168d0d0c085bc8d5b45e7a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff80e0f4be24118fbe0e486535aa5d3076b1d8991e84907fc5bd08524694e1396300000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140582979c51f5c151f438fbafdbdd2a65cb2e79fa13bdeb92b197723d16508f35741c1cbc60f8e5b48f7e934a10bedc80e190d7fc95c26327ee0b4f5887fce2726a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffb3442651af7f068feee52924827ea32cec67cfd3b4302e227289cce5d16cf3b600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140aa44e1f346bd3a6bfa851769671f0d7b9d6d904946e922d9394135cb8eb633d041448d488bfd3ed09bc31a09da1e4057a4f74280224516296181422263b925bba129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffbff13f72b030df0284a912169d194bf1f8af1f327e9f34cefc4a410e694d356d00000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140c9dfd6d9a487df51fc7d1c063c2b4df331d6b5145e451d9bf925870664aefb513906d90b2e178cadf0d1fae689df7f14cdaaebe51c1899ce6f792063aa1fb504a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffe1dc8bd536f3687ecd56b2238aa31c874331f217e304b97377c1e9d1484e723900000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140fcda699e4cc5fec0a9239e4f0d98f25cb4cf012cc8b0f5505ca97945ecde11c5687cd8baa43e780078f2e061a9e2595c1c0ef78733cbb78d0d0948c9ac627cfaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff01e0b589fe0e0000005c2ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc2a0401f00102246a22f04d37383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec47500000000b70f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"{\n \"result\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"{\n \"result\": \"62382ecc0dd14773ce5dd278d08cb98d45168c0f375379eebd6df471111db8f6\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-4"},{"text":"paymentsrelease","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"paymentsrelease '[“createtxid\",amount,(skipminimum)]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"paymentsrelease '[“createtxid\",amount,(skipminimum)]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"The paymentsrelease method can be executed by anyone to release the eligible payments of the given createtxid Payments plan. The funds specified by amount are distributed among all the recipients of the Payments plan in predefined proportions.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"paymentsrelease","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"eligible","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"createtxid","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"amount","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsrelease"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-7"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsrelease '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",1000]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentsrelease '[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",1000]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"{\n \"numoprets\": 0,\n \"amount\": 1000.0,\n \"newamount\": 1000.0,\n \"hex\": \"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\",\n \"txid\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"{\n \"numoprets\": 0,\n \"amount\": 1000.0,\n \"newamount\": 1000.0,\n \"hex\": \"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\",\n \"txid\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsrelease\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",1000]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentsrelease\", \"params\":[\"c4de51ec55d21d0ad0645efe597f61d07166f1a2cb73fcaa8c7a37de2b3c3837\",1000]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"{\n \"result\": {\n \"numoprets\": 0,\n \"amount\": 1000.0,\n \"newamount\": 1000.0,\n \"hex\": \"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\",\n \"txid\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"{\n \"result\": {\n \"numoprets\": 0,\n \"amount\": 1000.0,\n \"newamount\": 1000.0,\n \"hex\": \"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\",\n \"txid\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-7"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f890450bee824558149bb8ae61f268baff8977bb36239eb864f7b7c33ce5ed7f2044c000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814094c2b993048178521b2e139a8df680182b955bf41f0d2e129fcfa2222f350eff165cadf54eeb517453a91c4a286b372d5cbb2d4d3ecd4a2a2d718b354164bd88a100af038001f0a10001ffffffffc7a5b6eb4f534ff1c429487de3e43a23dfe8fdbfb5df10477a2c5788afce954d000000007b4c79a276a072a26ba067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140655cd777ef96ce0001fcbe9a96b457ed9354a019996173975716b0801738cc070e9b51654caedaba2d1826a7f876ff7ee37b6b54860f5f35d0019d65f51620d9a100af038001f0a10001ffffffff25496b4c2566cd3efc581797dd0dacf60f6e904418891059c343e84ba707a75600000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b46856814065f5e4c8397b0cd58fd6f93b6a45e34d21e5a89124912f338bc0fabc79d89d4108b6541852935aecd95226c106765c89475d01d3d10f966cd6aa9bb85fa683e6a129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffffc167bdc7aafdb9d648327bb3a1bd8334b9d3204295a540e96a6ee737b463a1b100000000a74ca5a281a1a0819ca28194a067a56580210358f1764f82c63abc7c7455555fd1d3184905e30e819e97667e247e5792b468568140cedf8fbe886a8ac8c0b59a6c28d44604f53803b1072fcd5364cdb67f5d3ef148062920230101dcf2977f384e5d90d98665fecefee0bdda0fc5e81a8dc492a0eaa129a5278020f0347bcbbb602b48197a8d6e291ec47bf5f549dc9ca6a778a2d050c7a6dccf638103020000af038001f0a10001ffffffff03f066acbc0d000000642ea22c8020c657913e6b261b70e17c7724f33dea97bd7ba3fb91e0af9dde23eb63146f9a6681031210008203000401cc320401f001022c6a2af05237383c2bde377a8caafc73cba2f16671d0617f59fe5e64d00a1dd255ec51dec400e87648170000007500046bf41400000024222102d6f13a8f745921cdb811e32237bb98950af1a5952be7b3d429abd9152f8e388dac00e40b5402000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac000000005a0f00000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"{\n \"result\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"{\n \"result\": \"665f76ac885b6fab95881068010d270cd00ef632292fa30a89da7289c4e0481c\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"TODO: Docs for this method are incomplete, but existing links point to it and make it fail linting. This comment is here to try and prevent that.\nWe need a response example and a description of the response data.\npaymentsairdrop and payments_airdroptokens need review and completion","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-5"},{"text":"paymentsairdrop","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"paymentsairdrop '[lockedblocks, minamount, mintoaddress, top, bottom, fixedFlag, \"excludeAddress\", ... , \"excludeAddressN\"]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"paymentsairdrop '[lockedblocks, minamount, mintoaddress, top, bottom, fixedFlag, \"excludeAddress\", ... , \"excludeAddressN\"]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"The paymentsairdrop method allows the creation of a special Payments plan that rewards a certain range of addresses on the Smart Chain based on the specific criteria set by the arguments.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"paymentsairdrop","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"The paymentsairdrop RPC requires the -ac_snapshot to be active.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"-ac_snapshot","tagName":"a","path":"antara/api/payments","closestElementReference":"paymentsairdrop"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-7"},{"text":"payments_airdroptokens","tagName":"h2","path":"antara/api/payments","closestElementReference":"payments-airdroptokens"},{"text":"payments_airdroptokens '[“tokenid\", lockedblocks, minamount, mintoaddress, top, bottom, fixedFlag, \"excludePubKey\", ... , \"excludePubKeyN\"]'","tagName":"p","path":"antara/api/payments","closestElementReference":"payments-airdroptokens"},{"text":"payments_airdroptokens '[“tokenid\", lockedblocks, minamount, mintoaddress, top, bottom, fixedFlag, \"excludePubKey\", ... , \"excludePubKeyN\"]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"payments-airdroptokens"},{"text":"The payments_airdroptokens method is still in development. Please inquire on Discord for more details.","tagName":"p","path":"antara/api/payments","closestElementReference":"payments-airdroptokens"},{"text":"Discord","tagName":"a","path":"antara/api/payments","closestElementReference":"payments-airdroptokens"},{"text":"paymentstxidopret","tagName":"h2","path":"antara/api/payments","closestElementReference":"paymentstxidopret"},{"text":"paymentstxidopret '[allocation, \"scriptPubKey\", (\"destopret\")]'","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentstxidopret"},{"text":"paymentstxidopret '[allocation, \"scriptPubKey\", (\"destopret\")]'","tagName":"strong","path":"antara/api/payments","closestElementReference":"paymentstxidopret"},{"text":"Use the paymentstxidopret method to create a transaction for each intended recipient of a Payments plan.","tagName":"p","path":"antara/api/payments","closestElementReference":"paymentstxidopret"},{"text":"paymentstxidopret","tagName":"code","path":"antara/api/payments","closestElementReference":"paymentstxidopret"},{"text":"Arguments","tagName":"h4","path":"antara/api/payments","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h4","path":"antara/api/payments","closestElementReference":"response-8"},{"text":"Additional Details","tagName":"h4","path":"antara/api/payments","closestElementReference":"additional-details"},{"text":"allocation","tagName":"h5","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"Recall that allocation is the number that defines the share of a payment to the given scriptPubkey .","tagName":"p","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"allocation","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"For example, if a Payments plan has the allocation to scriptPubkey_1 as the number n1 and allocation to scriptPubkey_2 as the number n2 , then any funds sent to this payment plan are split between scriptPubkey_1 and scriptPubkey_2 in the ratio n1:n2 .","tagName":"p","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_1","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"n1","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_2","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"n2","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_1","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_2","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"n1:n2","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"If funds sent to the Payments plan has the value N, scriptPubkey_1 will receive (N*n1)/(n1+n2) and scriptPubkey_1 will receive (N*n2)/(n1+n2)","tagName":"p","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_1","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"(N*n1)/(n1+n2)","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey_1","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"(N*n2)/(n1+n2)","tagName":"code","path":"antara/api/payments","closestElementReference":"allocation"},{"text":"scriptPubkey","tagName":"h5","path":"antara/api/payments","closestElementReference":"script-pubkey"},{"text":"Recall that scriptPubkey is the puzzle that locks coins in a transaction.","tagName":"p","path":"antara/api/payments","closestElementReference":"script-pubkey"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"script-pubkey"},{"text":"Pubkey Mutation","tagName":"h6","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"If the recipient is a normal pubkey, the scriptPubkey can be constructed by sandwiching the pubkey between the strings \"21\" and \"ac\" . In this case, the private key corresponding to the pubkey can be used to sign a transaction that unlocks the coins.","tagName":"p","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"scriptPubkey","tagName":"a","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"\"21\"","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"\"ac\"","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"The scriptPubKey parameter can belong to any valid type described in this linked list . This list is not exhaustive of all types available to a valid scriptPubkey parameter; please inquire with our developers for more details, if necessary.","tagName":"p","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"scriptPubKey","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"in this linked list","tagName":"a","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"For example, given the pubkey 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 , the scriptPubkey will be 2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac .","tagName":"p","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac","tagName":"code","path":"antara/api/payments","closestElementReference":"pubkey-mutation"},{"text":"Address Substitution","tagName":"h6","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"The node that executes the paymentstxidopret RPC can replace the scriptPubkey with a normal base58 encoded address, so long as the node has the address's associated private key in the node's local wallet.","tagName":"p","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"paymentstxidopret","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"For example, the address RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa can be used in place of a scriptPubkey without any modifications by a node which has access to the corresponding private key.","tagName":"p","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"The validateaddress RPC can be used to verify that an address belongs to the node.","tagName":"p","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"validateaddress","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"The validateaddress RPC can also verify that the pubkey on which the base58 encoded address is based is also the pubkey associated with the relevant scriptPubkey .","tagName":"p","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"validateaddress","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"pubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"pubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"Therefore, using either RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa or 2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac as the scriptPubkey argument is equivalent.","tagName":"p","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"scriptPubkey","tagName":"code","path":"antara/api/payments","closestElementReference":"address-substitution"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"./komdo-cli -ac_name=HELLOWORLD validateaddress RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"./komdo-cli -ac_name=HELLOWORLD validateaddress RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"scriptPubKey\": \"76a9148cad275b85eb32fff144f3650b74e7c18bdd9b2288ac\",\n \"segid\": 51,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"scriptPubKey\": \"76a9148cad275b85eb32fff144f3650b74e7c18bdd9b2288ac\",\n \"segid\": 51,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"validateaddress\", \"params\":[\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"validateaddress\", \"params\":[\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"{\n \"result\": {\n \"isvalid\": true,\n \"address\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"scriptPubKey\": \"76a9148cad275b85eb32fff144f3650b74e7c18bdd9b2288ac\",\n \"segid\": 51,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"iscompressed\": true,\n \"account\": \"\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"{\n \"result\": {\n \"isvalid\": true,\n \"address\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"scriptPubKey\": \"76a9148cad275b85eb32fff144f3650b74e7c18bdd9b2288ac\",\n \"segid\": 51,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"iscompressed\": true,\n \"account\": \"\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/payments","closestElementReference":"examples-8"},{"text":"Command","tagName":"h6","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentstxidopret '[9,\"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"]'\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD paymentstxidopret '[9,\"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"]'\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"{\n \"hex\": \"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\",\n \"txid\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"{\n \"hex\": \"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\",\n \"txid\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentstxidopret\", \"params\":[9,\"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"paymentstxidopret\", \"params\":[9,\"2221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\",\n \"txid\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"{\n \"result\": {\n \"hex\": \"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\",\n \"txid\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"result\": \"success\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"command-9"},{"text":"Broadcast the transaction","tagName":"h6","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"rpcport","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"Command:","tagName":"p","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f89010048372b016ca6d2836a2f66bc24217c6d9a82160031f9027de1b43ea278b1a00000000049483045022100b822b9905f0244a22880f3c957cbe76ea8d5e7e97cddc8a2925b6a415a6e1e87022051b539e766a067113f7931182779a90a0bfd640d5e96f93d2af7f8bb3c4ad8bb01ffffffff02f0b9f50500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000326a30f0540900000000000000242221039433dc3749aece1bd568f374a45da3b0bc6856990d7da3cd175399577940a775ac00000000000a1000000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"{\n \"result\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"},{"text":"{\n \"result\": \"717153eef7e22a8c741455a8c888a14c9dbe2702658fc93434e5c43a8c8f4ce4\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/payments","closestElementReference":"broadcast-the-transaction-6"}],"antara/api/pegs":[{"text":"Pegs","tagName":"h1","path":"antara/api/pegs","closestElementReference":"pegs"},{"text":"The Pegs Antara Module is in the final stages of production. The specifics of the implementation are also subject to change. Please reach out to the Komodo team for consultation before attempting to use this module in a production environment.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegs"},{"text":"Introduction","tagName":"h2","path":"antara/api/pegs","closestElementReference":"introduction"},{"text":"The Pegs Antara Module is a mechanism for creating a decentralized stablecoin.","tagName":"p","path":"antara/api/pegs","closestElementReference":"introduction"},{"text":"stablecoin.","tagName":"a","path":"antara/api/pegs","closestElementReference":"introduction"},{"text":"A stablecoin is a cryptocurrency that has a financial value that is \"pegged\" to another asset. Stablecoins can be used in a Smart Chain environment to allow users to buy, sell, and trade with on-chain assets that mimic off-chain prices.","tagName":"p","path":"antara/api/pegs","closestElementReference":"introduction"},{"text":"For example, a stablecoin can be pegged to a common fiat currency, such as USD or EUR. The stablecoin can also mimic stocks, external cryptocurrencies, and other assets, so long as reliable price-data can be accessed through an online application programming interface (API).","tagName":"p","path":"antara/api/pegs","closestElementReference":"introduction"},{"text":"Module Methodology","tagName":"h4","path":"antara/api/pegs","closestElementReference":"module-methodology"},{"text":"Associated Modules","tagName":"h5","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Pegs Antara Module requires interactivity with several additional Antara Modules, including the following:","tagName":"p","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Gateways Module \n \n This module acts as a bridge between the Smart Chain where Pegs is active and an external cryptocurrency \n \n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n \n \n On the external cryptocurrency blockchain, a user sends cryptocurrency coins to a multisignature address that is controlled by the Gateways Module, which locks the coins against further spending for the duration of the usage of the Pegs Module \n On the Pegs-related Smart Chain, the Gateways Module then issues to the user tokens that represent the value of the user's locked funds \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Gateways","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n This module acts as a bridge between the Smart Chain where Pegs is active and an external cryptocurrency \n \n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n \n \n On the external cryptocurrency blockchain, a user sends cryptocurrency coins to a multisignature address that is controlled by the Gateways Module, which locks the coins against further spending for the duration of the usage of the Pegs Module \n On the Pegs-related Smart Chain, the Gateways Module then issues to the user tokens that represent the value of the user's locked funds \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module acts as a bridge between the Smart Chain where Pegs is active and an external cryptocurrency \n \n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The external cryptocurrency must be based on the Bitcoin protocol","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"On the external cryptocurrency blockchain, a user sends cryptocurrency coins to a multisignature address that is controlled by the Gateways Module, which locks the coins against further spending for the duration of the usage of the Pegs Module","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"On the Pegs-related Smart Chain, the Gateways Module then issues to the user tokens that represent the value of the user's locked funds","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"tokens","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module acts as a bridge between the Smart Chain where Pegs is active and an external cryptocurrency \n \n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n The external cryptocurrency must be based on the Bitcoin protocol \n Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The external cryptocurrency must be based on the Bitcoin protocol","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The external cryptocurrency must be based on the Bitcoin protocol","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Typically, this external Smart Chain features a coin, such as KMD, that is tradeable in many venues across the cryptocurrency industry","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"On the external cryptocurrency blockchain, a user sends cryptocurrency coins to a multisignature address that is controlled by the Gateways Module, which locks the coins against further spending for the duration of the usage of the Pegs Module","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"On the Pegs-related Smart Chain, the Gateways Module then issues to the user tokens that represent the value of the user's locked funds","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"tokens","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Tokens Module \n \n This module provides the functionality necessary to manage a cryptocurrency-based token system in coordination with the Gateways Module \n These tokens represent the (now locked) value of the external Bitcoin-protocol or Komodo-protocol based cryptocurrency \n These tokens can be spent and traded as actual cryptocurrency; the user who returns them to the Gateways Module at a later time will unlock and receive the associated external funds \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Tokens","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n This module provides the functionality necessary to manage a cryptocurrency-based token system in coordination with the Gateways Module \n These tokens represent the (now locked) value of the external Bitcoin-protocol or Komodo-protocol based cryptocurrency \n These tokens can be spent and traded as actual cryptocurrency; the user who returns them to the Gateways Module at a later time will unlock and receive the associated external funds \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module provides the functionality necessary to manage a cryptocurrency-based token system in coordination with the Gateways Module","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"These tokens represent the (now locked) value of the external Bitcoin-protocol or Komodo-protocol based cryptocurrency","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"These tokens can be spent and traded as actual cryptocurrency; the user who returns them to the Gateways Module at a later time will unlock and receive the associated external funds","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module provides the functionality necessary to manage a cryptocurrency-based token system in coordination with the Gateways Module","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"These tokens represent the (now locked) value of the external Bitcoin-protocol or Komodo-protocol based cryptocurrency","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"These tokens can be spent and traded as actual cryptocurrency; the user who returns them to the Gateways Module at a later time will unlock and receive the associated external funds","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Oracles Module \n \n This module uses an oraclefeed app to provide information to the Gateways Module about tokens a user deposits \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Oracles","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n This module uses an oraclefeed app to provide information to the Gateways Module about tokens a user deposits \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module uses an oraclefeed app to provide information to the Gateways Module about tokens a user deposits","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"oraclefeed","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module uses an oraclefeed app to provide information to the Gateways Module about tokens a user deposits","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"oraclefeed","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Prices Module \n \n The Prices Module obtains data from a range of external sources (defined by a developer) and makes this information available on the Pegs Smart Chain \n This module utilizes functionality from the Oracles Module to transfer the obtained data from the real world into the digital world \n The Prices Module is responsible for tracking the value of an external asset (including assets external to the Komodo ecosystem) for on-chain price mimicry \n Data from the Prices module becomes available for Smart Chain activity after a twenty-four hour delay \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Prices","tagName":"a","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"\n The Prices Module obtains data from a range of external sources (defined by a developer) and makes this information available on the Pegs Smart Chain \n This module utilizes functionality from the Oracles Module to transfer the obtained data from the real world into the digital world \n The Prices Module is responsible for tracking the value of an external asset (including assets external to the Komodo ecosystem) for on-chain price mimicry \n Data from the Prices module becomes available for Smart Chain activity after a twenty-four hour delay \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Prices Module obtains data from a range of external sources (defined by a developer) and makes this information available on the Pegs Smart Chain","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module utilizes functionality from the Oracles Module to transfer the obtained data from the real world into the digital world","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Prices Module is responsible for tracking the value of an external asset (including assets external to the Komodo ecosystem) for on-chain price mimicry","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Data from the Prices module becomes available for Smart Chain activity after a twenty-four hour delay","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Prices Module obtains data from a range of external sources (defined by a developer) and makes this information available on the Pegs Smart Chain","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"This module utilizes functionality from the Oracles Module to transfer the obtained data from the real world into the digital world","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"The Prices Module is responsible for tracking the value of an external asset (including assets external to the Komodo ecosystem) for on-chain price mimicry","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"Data from the Prices module becomes available for Smart Chain activity after a twenty-four hour delay","tagName":"li","path":"antara/api/pegs","closestElementReference":"associated-modules"},{"text":"A Brief Explanation of Pegs Functionality","tagName":"h5","path":"antara/api/pegs","closestElementReference":"a-brief-explanation-of-pegs-functionality"},{"text":"There are several technical elements involved in the Pegs Antara Module that collaborate to create a stablecoin.","tagName":"p","path":"antara/api/pegs","closestElementReference":"a-brief-explanation-of-pegs-functionality"},{"text":"Creating a Tokenized Cryptocurrency to Back the Stablecoin","tagName":"h6","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"The first aspect relies on three different Antara Modules: Gateways, Tokens, and Oracles.","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"Gateways,","tagName":"a","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"Tokens,","tagName":"a","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"Oracles.","tagName":"a","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"On any cryptocurrency blockchain that is built on the Bitcoin protocol, such as KMD , users send funds to a multisignature address that is controlled by the Komodo-based Gateways Module that is active on this chain. The Gateways Module locks these funds against further spending at this time.","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"Once the funds are locked, the three modules together automatically make available to the user an equivalent number of tokens on the Pegs-related Smart Chain. These tokens represent the locked funds on a 1:1 ratio at the satoshi level (each token represents one satoshi of the external coin).","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"1:1","tagName":"code","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"As these tokens are 1:1 representations of the locked funds, the value of these tokens does not change in respect to the associated funds. However, the cryptocurrency represented may not have a stable value.","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"1:1","tagName":"code","path":"antara/api/pegs","closestElementReference":"creating-a-tokenized-cryptocurrency-to-back-the-stablecoin"},{"text":"Creating a Reliable Rate of Exchange Between the Stablecoin and the Backing Cryptocurrency","tagName":"h6","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"The second aspect relies on the Prices Antara Module.","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"Prices","tagName":"a","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"Before the user can exchange their tokens for a stablecoin, the Smart Chain must be able to determine the stablecoin's projected market value (such as the market value of USD ).","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"USD","tagName":"code","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"Using data provided by a wide range of online application programming interfaces (APIs), which can be manually determined by a developer, these two modules create a stable rate of exchange between the user's tokens and the pegged stablecoin.","tagName":"p","path":"antara/api/pegs","closestElementReference":"creating-a-reliable-rate-of-exchange-between-the-stablecoin-and-the-backing-cryptocurrency"},{"text":"Offering the Exchange Between Stablecoin and Backing Cryptocurrency","tagName":"h6","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"With these two elements (the user's tokens and a rate of exchange) the Pegs Antara Module is now able to offer a stablecoin.","tagName":"p","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"The user sends their tokens (such as tokenized KMD ) to the Pegs Module, which locks the tokens against further spending for the duration of Pegs usage.","tagName":"p","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"Once the funds are locked, the Pegs Module creates native coins on the Pegs-related Smart Chain and issues these new coins to the user. The exchange rate between the user's deposited tokens and the native Smart Chain coins is determined by the data-driven rate of exchange.","tagName":"p","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"The user may only withdraw up to 80% of the current financial value of the locked external cryptocurrency funds. The other 20% is held as a collateralized loan, available to assist in maintaining the stablecoin's value, if necessary.","tagName":"p","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"20%","tagName":"code","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"In this manner, the native Smart Chain coins become the intended stablecoin.","tagName":"p","path":"antara/api/pegs","closestElementReference":"offering-the-exchange-between-stablecoin-and-backing-cryptocurrency"},{"text":"Managing Price Volatility","tagName":"h5","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"As time progresses, the difference in price between the user's tokenized cryptocurrency and the stablecoin will change. Consider for example that the user is using KMD as the deposited cryptocurrency to access a stablecoin that mimics the USD fiat currency. The stablecoin in this example is named USDK .","tagName":"p","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"USD","tagName":"code","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"The rules of liquidation found below are applicable only when the \"global-debt ratio\" — the ratio of all user deposits and debts at current prices on the Smart Chain — is higher than 60% .","tagName":"p","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"60%","tagName":"code","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"If the global-debt ratio is lower than 60% , no accounts are in danger of liquidation, regardless of their individual debt ratio.","tagName":"p","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"60%","tagName":"code","path":"antara/api/pegs","closestElementReference":"managing-price-volatility"},{"text":"Value of Backing Cryptocurrency Increases","tagName":"h6","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"If the value of KMD increases relative to USD , the user may withdraw additional USDK coins from their Pegs account, until the total withdrawn USDK amount is again equal to 80% of the total value of the deposited KMD tokens.","tagName":"p","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"USD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-increases"},{"text":"Value of Backing Cryptocurrency Decreases","tagName":"h6","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"On the other hand, if the value of KMD decreases relative to USD , the remaining amount of KMD tokens in the user’s account are subject to liquidation.","tagName":"p","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"USD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"There are two stages to account liquidation: \"yellow zone\" and \"red zone.\"","tagName":"p","path":"antara/api/pegs","closestElementReference":"value-of-backing-cryptocurrency-decreases"},{"text":"Yellow Zone","tagName":"h6","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"The yellow zone applies to accounts where the user has withdrawn a value of USDK (also called \"debt\") that, due to price volatility, now exceeds the 80% withdrawal limit, but is not yet at a level of 90% .","tagName":"p","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"In this circumstance, a third-party user on the Pegs-related Smart Chain may deposit USDK coins on behalf of the indebted user's acccount, and receive the equivalent value of KMD tokens. These tokens are withdrawn from the indebted user's account.","tagName":"p","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"The USDK coins are burned, thus preserving the ratio of withdrawn USDK coins in sync with the global total value of KMD tokens deposited on the Pegs-related Smart Chain.","tagName":"p","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"yellow-zone"},{"text":"Red Zone","tagName":"h6","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"Should the debt of a user's account surpass the 90% threshold, the account enters the red zone.","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"Here, a third-party user can gain an immediate 5% rate of return by sending USDK coins to the Pegs Module to liquidate the indebted user's account. The third-party user must deposit USDK to cover the user's whole debt, valued at 90% of the indebted account's KMD tokens, according to current prices.","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"5%","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"In return, the liquidating user receives 95% of the KMD tokens in the indebted user's account. These KMD tokens can be redeemed on the KMD chain and, if sold at the current price, provide a 5% profit.","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"95%","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"5%","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"The USDK coins sent by the liquidating user are burned.","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"The remaining indebted user's KMD tokens are donated to the Pegs Antara Module, where they continue to support the maintenance of a healthy backing coin vs stablecoin ratio ( KMD:USDK ). In case the account debt was exactly 90% at the moment of liquidation, the remaining will be 5% .","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"KMD:USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"5%","tagName":"code","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"The liquidated user still holds their USDK coins and can exchange them for KMD tokens from another account that is in the yellow zone.","tagName":"p","path":"antara/api/pegs","closestElementReference":"red-zone"},{"text":"Preventing Account Liquidation","tagName":"h6","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"To prevent account liquiditation, when the user who created the account detects that their account is approaching the 90% debt-ratio threshold, they have two options available.","tagName":"p","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"The depositor can return an amount of USDK coins that satisfies 100% of the outstanding balance of their collateralized loan at current prices.","tagName":"p","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"USDK","tagName":"code","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"100%","tagName":"code","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"Alternatively, the depositor can deposit more tokenized KMD to their account at current prices until the user's debt/loan ratio is safely below the 80% threshold.","tagName":"p","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"preventing-account-liquidation"},{"text":"Pegs Antara Module Flow","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"The Smart Chain creator creates an instance of the Pegs Antara Module, called a \"Peg\", using the pegscreate API method. \n \n Once created, the creator adds this new Peg creation's transaction id called the pegstxid to the Smart Chain's launch parameters using the -earlytxid parameter \n \n","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegscreate","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"\n Once created, the creator adds this new Peg creation's transaction id called the pegstxid to the Smart Chain's launch parameters using the -earlytxid parameter \n","tagName":"ul","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"Once created, the creator adds this new Peg creation's transaction id called the pegstxid to the Smart Chain's launch parameters using the -earlytxid parameter","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"-earlytxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"Once created, the creator adds this new Peg creation's transaction id called the pegstxid to the Smart Chain's launch parameters using the -earlytxid parameter","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"-earlytxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"With the Peg active on the Smart Chain, a user locks tokenized external cryptocurrency to the Pegs Module using pegsfund","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsfund","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"The user can withdraw up to 80% of the value of their locked tokens in the form of the Smart Chain's coins using pegsget","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsget","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"At anytime, the user can redeem the locked tokenized external cryptocurrency by repaying the Smart Chain's coins using pegsredeem","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsredeem","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user can retrieve the current information about their Pegs account using pegsaccountinfo","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsaccountinfo","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user can retrieve all past actions related to their Pegs account using pegsaccounthistory","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsaccounthistory","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user can retrieve current information about the Peg using pegsinfo","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsinfo","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user that has not yet created an account can exchange native coins of the Smart Chain for deposited tokens belonging to another user's account where the debt ratio is in the \"yellow zone\", 80% to 90% , using pegsexchange","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsexchange","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user can retrieve information about accounts that have a debt ratio in the \"red zone\", +90% , using pegsworstaccounts","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"+90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsworstaccounts","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"A user can liquidate the \"red zone\" account of another user, receiving KMD tokens in return according to the current price, as well as a 5% additional profit, using pegsliquidate","tagName":"li","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"5%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"pegsliquidate","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegs-antara-module-flow"},{"text":"Tutorial Availability","tagName":"h2","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"The Antara Tutorials section features full walkthroughs for the Pegs Module.","tagName":"p","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"Link to the user side of the Pegs Module Tutorial","tagName":"p","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"Link to the user side of the Pegs Module Tutorial","tagName":"a","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"Link to the creator side of the Pegs Module Tutorial","tagName":"p","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"Link to the creator side of the Pegs Module Tutorial","tagName":"a","path":"antara/api/pegs","closestElementReference":"tutorial-availability"},{"text":"pegsaccounthistory","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"pegsaccounthistory pegstxid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"pegsaccounthistory pegstxid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"The pegsaccounthistory method returns all the past actions related to the Pegs account of the user who executes the method.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"pegsaccounthistory","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"The method relies on the pubkey address provided by the user when launching the daemon to determine the Pegs account for which the method will retrieve data.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"the pubkey address provided by the user when launching the daemon","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegsaccounthistory"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaccounthistory a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaccounthistory a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccounthistory\",\n \"account history\": [\n {\n \"action\": \"fund\",\n \"amount\": 1000000,\n \"accounttxid\": \"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0\n },\n {\n \"action\": \"get\",\n \"amount\": 100000,\n \"accounttxid\": \"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 100000\n },\n {\n \"action\": \"get\",\n \"amount\": 600000,\n \"accounttxid\": \"8e79ed0a76f359ba048563a0fa2a29ab88ab86b1895e8eff9718f348a04dd1f3\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 700000\n },\n {\n \"action\": \"get\",\n \"amount\": 30000,\n \"accounttxid\": \"9a10581ae047fabe91495cfe558961e3b7362a19b700b2fcea216d06c44d9720\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 730000\n },\n {\n \"action\": \"redeem\",\n \"amount\": 1000000,\n \"accounttxid\": \"ff95e70f0d551748f460e61b7e75b279b8de355cb37df6c5895dfb8a49ee348a\",\n \"token\": \"KMD\",\n \"deposit\": 0,\n \"debt\": 0\n }\n ]\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccounthistory\",\n \"account history\": [\n {\n \"action\": \"fund\",\n \"amount\": 1000000,\n \"accounttxid\": \"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0\n },\n {\n \"action\": \"get\",\n \"amount\": 100000,\n \"accounttxid\": \"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 100000\n },\n {\n \"action\": \"get\",\n \"amount\": 600000,\n \"accounttxid\": \"8e79ed0a76f359ba048563a0fa2a29ab88ab86b1895e8eff9718f348a04dd1f3\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 700000\n },\n {\n \"action\": \"get\",\n \"amount\": 30000,\n \"accounttxid\": \"9a10581ae047fabe91495cfe558961e3b7362a19b700b2fcea216d06c44d9720\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 730000\n },\n {\n \"action\": \"redeem\",\n \"amount\": 1000000,\n \"accounttxid\": \"ff95e70f0d551748f460e61b7e75b279b8de355cb37df6c5895dfb8a49ee348a\",\n \"token\": \"KMD\",\n \"deposit\": 0,\n \"debt\": 0\n }\n ]\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples"},{"text":"pegsaccountinfo","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"pegsaccountinfo pegstxid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"pegsaccountinfo pegstxid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"The pegsaccountinfo method returns the current information of the Pegs account belonging to the user who executes the method.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"pegsaccountinfo","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"The method relies on the pubkey provided by the user when launching the daemon to determine the account for which the method will retrieve data.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"the pubkey provided by the user when launching the daemon","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegsaccountinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaccountinfo a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaccountinfo a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccountinfo\",\n \"account info\": [\n {\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0,\n \"ratio\": 0\n }\n ]\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccountinfo\",\n \"account info\": [\n {\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0,\n \"ratio\": 0\n }\n ]\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-2"},{"text":"pegsaddress","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"pegsaddress [pubkey]","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"pegsaddress [pubkey]","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"The pegsaddress method returns information about the Pegs module and associated addresses.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"pegsaddress","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"Optionally, if a pubkey is supplied, this method also returns the corresponding Pegs CC Address and balance.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaddress\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaddress\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"PegsCCAddress\": \"RHnkVb7vHuHnjEjhkCF1bS6xxLLNZPv5fd\",\n \"PegsCCBalance\": 999.9993,\n \"PegsNormalAddress\": \"RMcCZtX6dHf1fz3gpLQhUEMQ8cVZ6Rzaro\",\n \"PegsNormalBalance\": 0.0,\n \"PegsCCTokensAddress\": \"RHG4K84bPP9h9KKqvpYbUzocaZ3LSUHxLa\",\n \"myCCAddress(Pegs)\": \"RBZ4AsnyhD3pZPasDmHXnbwNvQWy1CWK5H\",\n \"myCCbalance(Pegs)\": 0.0,\n \"myaddress\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"mybalance\": 0.1025\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"PegsCCAddress\": \"RHnkVb7vHuHnjEjhkCF1bS6xxLLNZPv5fd\",\n \"PegsCCBalance\": 999.9993,\n \"PegsNormalAddress\": \"RMcCZtX6dHf1fz3gpLQhUEMQ8cVZ6Rzaro\",\n \"PegsNormalBalance\": 0.0,\n \"PegsCCTokensAddress\": \"RHG4K84bPP9h9KKqvpYbUzocaZ3LSUHxLa\",\n \"myCCAddress(Pegs)\": \"RBZ4AsnyhD3pZPasDmHXnbwNvQWy1CWK5H\",\n \"myCCbalance(Pegs)\": 0.0,\n \"myaddress\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"mybalance\": 0.1025\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaddress 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsaddress 0257e1074b542c47cd6f603e3d78400045df0781875f698138e92cb03055286634\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"PegsCCAddress\": \"RHnkVb7vHuHnjEjhkCF1bS6xxLLNZPv5fd\",\n \"PegsCCBalance\": 999.9992,\n \"PegsNormalAddress\": \"RMcCZtX6dHf1fz3gpLQhUEMQ8cVZ6Rzaro\",\n \"PegsNormalBalance\": 0.0,\n \"PegsCCTokensAddress\": \"RHG4K84bPP9h9KKqvpYbUzocaZ3LSUHxLa\",\n \"PubkeyCCaddress(Pegs)\": \"RRvD19SwUo12Wmozrf8UyuewK1v5kNRJfc\",\n \"PubkeyCCbalance(Pegs)\": 0.0,\n \"myCCAddress(Pegs)\": \"RBZ4AsnyhD3pZPasDmHXnbwNvQWy1CWK5H\",\n \"myCCbalance(Pegs)\": 0.0,\n \"myaddress\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"mybalance\": 0.226\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"PegsCCAddress\": \"RHnkVb7vHuHnjEjhkCF1bS6xxLLNZPv5fd\",\n \"PegsCCBalance\": 999.9992,\n \"PegsNormalAddress\": \"RMcCZtX6dHf1fz3gpLQhUEMQ8cVZ6Rzaro\",\n \"PegsNormalBalance\": 0.0,\n \"PegsCCTokensAddress\": \"RHG4K84bPP9h9KKqvpYbUzocaZ3LSUHxLa\",\n \"PubkeyCCaddress(Pegs)\": \"RRvD19SwUo12Wmozrf8UyuewK1v5kNRJfc\",\n \"PubkeyCCbalance(Pegs)\": 0.0,\n \"myCCAddress(Pegs)\": \"RBZ4AsnyhD3pZPasDmHXnbwNvQWy1CWK5H\",\n \"myCCbalance(Pegs)\": 0.0,\n \"myaddress\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"mybalance\": 0.226\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-3"},{"text":"pegscreate","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegscreate amount N bindtxid1 [bindtxid2 ...]","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegscreate amount N bindtxid1 [bindtxid2 ...]","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The pegscreate method creates an on-chain Peg, associating the value of the Smart Chain's pegged stablecoin with the value of a foreign asset.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegscreate","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The creation of this peg requires a tokenized backing cryptocurrency. Any cryptocurrency that is based on the Bitcoin protocol can fulfill this role, including BTC and KMD . There can be more than one such supporting cryptocurrency on any stablecoin Smart Chain.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"BTC","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"KMD","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The amount parameter is the number of coins to be added to the Pegs Module from the available balance in the wallet of the user who is creating the peg. Often, this is the same user who created the Smart Chain, and therefore this balance can be extracted from the Smart Chain's premined coins. The coins will be used for the transaction fees that the Pegs Module performs through automated behavior. The coins are also used for markers, which are transactions that send a very small amount of funds to a global address on the Pegs Module for record keeping purposes.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"amount","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The N parameter is the number of gateways to associate with the Pegs module. Each cryptocurrency asset that backs the Peg's stablecoin needs a unique gateway.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"N","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The bindtxidN parameter is the bindtxid of a gateway used to tokenize external cryptocurrencies.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"bindtxidN","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"bindtxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The transction id of the pegscreate transaction is called the pegstxid .","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegscreate","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"Once the pegstxid transaction is confirmed, the Smart Chain daemon should be stopped and started again with the parameter -earlytxid=pegstxid added to the launch command. This ensures that it is the only Peg active on the Smart Chain.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"-earlytxid=pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"The -earlytxid parameter can be added to the launch parameters only before the 100th block.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"-earlytxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"For more information, see the following linked tutorial.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"Link to the creator side of the Pegs Module Tutorial","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"Link to the creator side of the Pegs Module Tutorial","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegscreate"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegscreate 100000 1 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegscreate 100000 1 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"0400008085202f890197c74ae1999260bb3c7342dd25f3f68a0991d4b50a40f4a6e37838b6e3ca112e02000000484730440220466a45514b5eb24a3a14886dbca204997db498e1509928700a3e0ac63645be3402204164ce5c8f8eb82785158b1f79000721be4db45bb3726fb8043fb089aa19886601ffffffff669ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc2f96465cc2480000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000256a23ee43018687f4fb9ccc31c6d4b912486fae0a9e03153daca8128167a43a524e5516570b000000005f0100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"{\n \"hex\": \"0400008085202f890197c74ae1999260bb3c7342dd25f3f68a0991d4b50a40f4a6e37838b6e3ca112e02000000484730440220466a45514b5eb24a3a14886dbca204997db498e1509928700a3e0ac63645be3402204164ce5c8f8eb82785158b1f79000721be4db45bb3726fb8043fb089aa19886601ffffffff669ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc2f96465cc2480000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000256a23ee43018687f4fb9ccc31c6d4b912486fae0a9e03153daca8128167a43a524e5516570b000000005f0100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"Broadcast the hex:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890197c74ae1999260bb3c7342dd25f3f68a0991d4b50a40f4a6e37838b6e3ca112e02000000484730440220466a45514b5eb24a3a14886dbca204997db498e1509928700a3e0ac63645be3402204164ce5c8f8eb82785158b1f79000721be4db45bb3726fb8043fb089aa19886601ffffffff669ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc2f96465cc2480000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000256a23ee43018687f4fb9ccc31c6d4b912486fae0a9e03153daca8128167a43a524e5516570b000000005f0100000000000000000000000000\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890197c74ae1999260bb3c7342dd25f3f68a0991d4b50a40f4a6e37838b6e3ca112e02000000484730440220466a45514b5eb24a3a14886dbca204997db498e1509928700a3e0ac63645be3402204164ce5c8f8eb82785158b1f79000721be4db45bb3726fb8043fb089aa19886601ffffffff669ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc9ce7764817000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc2f96465cc2480000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000256a23ee43018687f4fb9ccc31c6d4b912486fae0a9e03153daca8128167a43a524e5516570b000000005f0100000000000000000000000000\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"The above string is the pegstxid that represents the Peg.","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-4"},{"text":"pegsexchange","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"pegsexchange pegstxid tokenid amount","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"pegsexchange pegstxid tokenid amount","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"The pegsexchange method exchanges native coins for deposited tokens. This method is intended for users that do not have a Pegs account associated with the pubkey used to launch their daemon.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"pegsexchange","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"Users that have an account may use the pegsreedem method to exchange coins for tokens.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"pegsreedem","tagName":"a","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"To supply the user that executes the method with tokens, this method sends the user's coins to pay the debt of another user whose account is in the \"yellow zone\" (a debt ratio between 80% and 90% based on current prices). This improves the debt ratio of the indebted user, thus forestalling liquidation of the indebted user's account.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsexchange"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsexchange a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsexchange a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-5"},{"text":"pegsfund","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"pegsfund pegstxid tokenid amount","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"pegsfund pegstxid tokenid amount","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"The pegsfund method allows a user to lock the given amount of a tokenized cryptocurrency in the Pegs module. The action of locking the tokenized cryptocurrency creates a Pegs account for this user.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"pegsfund","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"amount","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsfund"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsfund a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsfund a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"{\n \"hex\": \"0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"{\n \"hex\": \"0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"Broadcast the hex:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"The above string is the accounttxid of the user.","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"accounttxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-6"},{"text":"pegsget","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"pegsget pegstxid tokenid amount","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"pegsget pegstxid tokenid amount","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"The pegsget method allows a user to withdraw (also called \"assume a debt\") in native coins up to 80% of the value of the locked tokens (also called \"collateral\") in their account.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"pegsget","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"80%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"The exchange of value from tokens to native coins is calculated according to the current price data available on the Smart Chain at the time of the transaction.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsget"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsget a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.001\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsget a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.001\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"{\n \"hex\": \"0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"{\n \"hex\": \"0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-7"},{"text":"pegsinfo","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"pegsinfo pegstxid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"pegsinfo pegstxid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"The pegsinfo method returns the current information about the indicated pegstxid Peg.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"pegsinfo","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"pegstxid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsinfo a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsinfo a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsinfo\",\n \"info\": [\n {\n \"token\": \"KMD\",\n \"total deposit\": 2000000,\n \"total debt\": 300000,\n \"total ratio\": \"16.67%\"\n }\n ],\n \"global ratio\": \"16.67%\"\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsinfo\",\n \"info\": [\n {\n \"token\": \"KMD\",\n \"total deposit\": 2000000,\n \"total debt\": 300000,\n \"total ratio\": \"16.67%\"\n }\n ],\n \"global ratio\": \"16.67%\"\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-8"},{"text":"pegsliquidate","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"pegsliquidate pegstxid tokenid accounttxid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"pegsliquidate pegstxid tokenid accounttxid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"The pegsliquidate method allows a user to liquidate the account of another user if their debt ratio is in \"red zone\" (greater than 90% ) for the given tokenid token.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"pegsliquidate","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"tokenid","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"In return, the liquidating user can receive an immediate profit of 5% , in tokens, taken from the liquidated user's remaining balance.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"5%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"Any remaining value in the liquidated user's account is immediately distributed to the Pegs Antara Module for global stablecoin price and supply management.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsliquidate"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsliquidate a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsliquidate a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-9"},{"text":"pegsredeem","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"pegsredeem pegstxid tokenid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"pegsredeem pegstxid tokenid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"The pegsredeem method allows a user to withdraw their deposited tokenized cryptocurrency by repaying their entire debt.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"pegsredeem","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"The user provides payment in the native coin of the Smart Chain.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsredeem"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-10"},{"text":"Response","tagName":"h3","path":"antara/api/pegs","closestElementReference":"response-10"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"Command:","tagName":"p","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsredeem a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=HELLOWORLD pegsredeem a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"{\n \"hex\": \"0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"{\n \"hex\": \"0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/pegs","closestElementReference":"examples-10"},{"text":"pegsworstaccounts","tagName":"h2","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"pegsworstaccounts pegstxid","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"pegsworstaccounts pegstxid","tagName":"strong","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"The pegsworstaccounts method returns the information on the accounts that currently can be liquidated. An account can be liquidated if the account holder's total debt balance exceeds 90% of the account value.","tagName":"p","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"pegsworstaccounts","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"90%","tagName":"code","path":"antara/api/pegs","closestElementReference":"pegsworstaccounts"},{"text":"Arguments","tagName":"h3","path":"antara/api/pegs","closestElementReference":"arguments-11"}],"antara/api/prices":[{"text":"Prices","tagName":"h1","path":"antara/api/prices","closestElementReference":"prices"},{"text":"Important Notice","tagName":"p","path":"antara/api/prices","closestElementReference":"prices"},{"text":"The Prices Antara Module is currently in development.","tagName":"p","path":"antara/api/prices","closestElementReference":"prices"},{"text":"The specifics of the implementation are subject to change.","tagName":"p","path":"antara/api/prices","closestElementReference":"prices"},{"text":"Please reach out to the Komodo team for more information before attempting to use this module in a production environment.","tagName":"p","path":"antara/api/prices","closestElementReference":"prices"},{"text":"Introduction","tagName":"h2","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"The Prices Antara Module offers a decentralized and incentivized margin-trading system on a Smart Chain. This allows users to open long and short leveraged positions against the \"House\" (the module itself).","tagName":"p","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"A player opens a position with the desired betting amount and leverage. They can close the position anytime and receive the current equity that is in a non-negative state.","tagName":"p","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"When the debt ratio of a player is close to exceeding the allowed limits, other players on the network can liquidate the indebted player's account. The liquidating players thereby receive as an incentive a small percentage of the indebted player's holdings.","tagName":"p","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"For a more detailed explanation of the nature of \"leveraged positions\" and other terms related to margin trading, please read this explanation section.","tagName":"p","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"this explanation section.","tagName":"a","path":"antara/api/prices","closestElementReference":"introduction"},{"text":"The Prices Modules Requires a Separate Technology Called a DTO","tagName":"h5","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"The creation of the Prices Antara Module required the existence of a separate Antara-based module that provides trustless and decentralized price feeds. The Komodo community named this separate type of module a \"Decentralized Trustless Oracle,\" or DTO for brevity.","tagName":"p","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"In order to create the trustless and decentralized price feeds, Komodo's DTO technology relies on timestamp consensus rules .","tagName":"p","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"timestamp consensus rules","tagName":"a","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"The DTO requires the miners of the Smart Chain to include the required off-chain data as a part of the OP_RETURN in the coinbase transaction (the transaction that pays the block reward to the miner).","tagName":"p","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"The validation of the off-chain data is part of the consensus rules. If the data is false, the block is rejected by the network, which serves as an incentive for the miner to be truthful. To achieve consensus, all nodes allow for an error margin of approximately 1% in the reported data.","tagName":"p","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"1%","tagName":"code","path":"antara/api/prices","closestElementReference":"the-prices-modules-requires-a-separate-technology-called-a-dto"},{"text":"Manners of Obtaining Data","tagName":"h5","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"The Prices module retrieves prices of stocks and cryptocurrencies through the Antara Customization Parameters ac_stocks and ac_prices , respectively.","tagName":"p","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"ac_stocks","tagName":"a","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"ac_prices","tagName":"a","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"The module can extract data from a web source that can be accessed using the http/https protocols and return the data as a json object using the ac_feeds parameter.","tagName":"p","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"http/https","tagName":"code","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"ac_feeds","tagName":"a","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"The module also has a pre-configured feed that always retrieves values for the pairs BTC_USD , BTC_EUR and BTC_GBP .","tagName":"p","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"BTC_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"BTC_EUR","tagName":"code","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"BTC_GBP","tagName":"code","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"The DTO provides the required price feed. For markets, such as AMZN/KMD , that do not exist in real life, the DTO offers synthetic prices .","tagName":"p","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"AMZN/KMD","tagName":"code","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"synthetic prices","tagName":"a","path":"antara/api/prices","closestElementReference":"manners-of-obtaining-data"},{"text":"Manner of Preventing Miner Manipulation","tagName":"h5","path":"antara/api/prices","closestElementReference":"manner-of-preventing-miner-manipulation"},{"text":"To counter the possibility of manipulation of price data by a miner (for example, a miner could attempt to take advantage of the 1% error allowed to win an open bet), when a position is opened the price of purchase is not set until a twenty-four hour period has past. During this period, the module tracks the prices of the relevant currencies. At the end of the period, the module automatically sets the price of purchase for the position based on the price averages.","tagName":"p","path":"antara/api/prices","closestElementReference":"manner-of-preventing-miner-manipulation"},{"text":"1%","tagName":"code","path":"antara/api/prices","closestElementReference":"manner-of-preventing-miner-manipulation"},{"text":"For long positions, the lock price (also called the \"cost basis\") is the maximum among averages; for short positions, the lock price is the minimum among averages.","tagName":"p","path":"antara/api/prices","closestElementReference":"manner-of-preventing-miner-manipulation"},{"text":"Players should not expect high-speed trading in this type of system.","tagName":"p","path":"antara/api/prices","closestElementReference":"manner-of-preventing-miner-manipulation"},{"text":"A Brief Explanation of Margin Trading (\"Leveraged Trading\")","tagName":"h3","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Assume Player X has $100 USD and is certain that Bitcoin (BTC) will soon have a large increase in value relative to USD.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$100","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"In this type of scenario, Player X can use margin trading to find a greater profit percentage than he would by simply buying $100 USD worth of BTC and holding it.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$100","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"However, margin trading increases the risk placed on Player X.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"If Player X simply buys his BTC and then sells it after its price increases by 5% , Player X's profit is 5% , or $5 USD. Similarly, the loss is $5 USD if the price decreases by 5% .","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"5%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"5%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$5","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$5","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"5%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"In a margin-trading system there are two roles: Lender and Trader.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"In the example here, Player X is the Trader.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Lender facilitates Trader in borrowing a multiple (\"leverage\") of the deposited collateral ( $100 ). Thereby the Trader can trade using the total amount (deposit + leverage).","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$100","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"For example, Player X desires to trade with a leverage of 10 . This is $100 * 10 = $1000 USD.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"10","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$100 * 10 = $1000","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Lender gives Player X the remaining $900 USD. Player X now buys $1000 USD worth of BTC.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$900","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$1000","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"If the price increases by 5% and Player X sells their BTC, the profit is $50 USD.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"5%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$50","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Player X returns the loan of $900 and is left with $150 USD, which amounts to a profit of 50% .","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$900","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$150","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"50%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Alternatively, the price can drop and the Trader can lose higher amounts. In this example, the value of BTC relative to USD drops by 5% .","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"5%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Player X now only has $950 USD worth of BTC. Player X sells and returns the loan amount of $900 USD, and has $50 USD remaining.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$950","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$900","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"$50","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"This is now a loss of 50% .","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"50%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"In many scenarios, a Lender has the ability to liquidate the Trader at any given time, and will force liquidation before the player can lose more than they are able to immediately repay.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"The following stop-loss values are common in margin trading:","tagName":"p","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"A 10x leverage can tolerate up to a 10% decrease in price before forced liquidation occurs","tagName":"li","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"10x","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"10%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"A 100x leverage can tolerate up to a 1% decrease in price before forced liquidation occurs","tagName":"li","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"100x","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"1%","tagName":"code","path":"antara/api/prices","closestElementReference":"a-brief-explanation-of-margin-trading-leveraged-trading"},{"text":"Summary of a Brief Explanation to Margin Trading","tagName":"h5","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"Assuming $0 fees, a player can calculate actual profit or loss percentage by the following formula.","tagName":"p","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"$0","tagName":"code","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"price change in percent * leverage\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"price change in percent * leverage\n","tagName":"code","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"The Trader's \"position\" is the amount of coins the player places as a bet.","tagName":"p","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"The Trader's \"equity\" is the amount of coins the player can withdraw at the current moment. Equity is calculated by the following formula.","tagName":"p","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"position + (profit or loss)\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"position + (profit or loss)\n","tagName":"code","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"\"Cost basis\" is the price at which the bet is opened.","tagName":"p","path":"antara/api/prices","closestElementReference":"summary-of-a-brief-explanation-to-margin-trading"},{"text":"Synthetic Prices and Their Calculation","tagName":"h3","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"The Prices data on a Smart Chain is made available by an active Decentralized Trustless Oracle (DTO), which is comprised of all nodes and miners on the network.","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"There are limitations to a DTO. For example, the DTO cannot offer price feeds for all possible markets across the world. Furthermore, users on the network may desire a trading pair that does not yet have a real market.","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"In such cases, price data of two or more different pairs can be used to derive the price of a desired pair. The resulting price data is called a \"Synthetic Price.\"","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"For example, suppose the DTO for a Smart Chain does not supply the price data for the pair AMZN/KMD . However, the chain does supply the price data for the pairs AMZN/USD , USD/BTC and BTC/KMD .","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"AMZN/KMD","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"AMZN/USD","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"USD/BTC","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"BTC/KMD","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"The synthetic price of AMZN/KMD is available through considering the prices of all the three pairs.","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"AMZN/KMD","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-prices-and-their-calculation"},{"text":"A Forth-like Syntax for Synthetic Calculations","tagName":"h5","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"A simple syntax is offered in the Komodo API for calculating synthetic prices and use their value on the Smart Chain.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"This syntax is based on the Forth programming language.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"Forth","tagName":"a","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"In calculating a synthetic price, the Komodo API supports up to three pairs of prices and offers four operations:","tagName":"p","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"invert( ! )","tagName":"li","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"!","tagName":"code","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"multiply( * )","tagName":"li","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"*","tagName":"code","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"divide( / )","tagName":"li","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"/","tagName":"code","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"These operations can be supplied with positive and negative integers. The integers allow the calculation of synthetic prices for baskets of assets or indexes. The negative integers can be used to short a price.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"For example, the synthetic price of a basket with 3/4 parts BTC and 1/4 parts BCH can be calculated.","tagName":"p","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"3/4","tagName":"code","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"1/4","tagName":"code","path":"antara/api/prices","closestElementReference":"a-forth-like-syntax-for-synthetic-calculations"},{"text":"Usage","tagName":"h4","path":"antara/api/prices","closestElementReference":"usage"},{"text":"The data in each price feed of the DTO has a key that appears in the structure of AAA_BBB . This is interpreted to mean that the price for the asset AAA is provided in the data in terms of another asset BBB .","tagName":"p","path":"antara/api/prices","closestElementReference":"usage"},{"text":"AAA_BBB","tagName":"code","path":"antara/api/prices","closestElementReference":"usage"},{"text":"AAA","tagName":"code","path":"antara/api/prices","closestElementReference":"usage"},{"text":"BBB","tagName":"code","path":"antara/api/prices","closestElementReference":"usage"},{"text":"For example, the price of BTC in terms of USD is denoted by BTC_USD","tagName":"p","path":"antara/api/prices","closestElementReference":"usage"},{"text":"BTC_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"usage"},{"text":"Understanding Stacks","tagName":"h5","path":"antara/api/prices","closestElementReference":"understanding-stacks"},{"text":"Understanding the concept of a stack is essential when using the Komodo API's syntax for calculating synthetic prices.","tagName":"p","path":"antara/api/prices","closestElementReference":"understanding-stacks"},{"text":"Stacks are dynamic data structures that follow the Last In First Out (LIFO) principle. In other words, the last item to be inserted into a stack is the first one to be deleted from it.","tagName":"p","path":"antara/api/prices","closestElementReference":"understanding-stacks"},{"text":"Last In First Out (LIFO)","tagName":"strong","path":"antara/api/prices","closestElementReference":"understanding-stacks"},{"text":"For example, assume a stack of trays on a table. When a person adds another tray to the stack, they place the tray on top of the stack. When a person removes a tray from the stack, they remove the tray at the top of the stack. Therefore, the last item added to the stack is also the first item removed.","tagName":"p","path":"antara/api/prices","closestElementReference":"understanding-stacks"},{"text":"Inserting and Deleting Elements","tagName":"h5","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"Stacks have restrictions on the insertion and deletion of elements.","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"Elements can be inserted or deleted only from one end of the stack (the top). The element at the top is called the top element.","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"top","tagName":"strong","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"The operations of inserting and deleting elements are called push and pop respectively.","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"push","tagName":"strong","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"pop","tagName":"strong","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"When the top element of a stack is deleted, if the stack remains non-empty, the element just below the previous top element becomes the new top element of the stack.","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"For example, in the stack of trays, if a person takes the tray from the top, the tray just below it automatically becomes the top element.","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"Source: Hackerearth.com","tagName":"p","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"Source: Hackerearth.com","tagName":"a","path":"antara/api/prices","closestElementReference":"inserting-and-deleting-elements"},{"text":"Komodo Stack API Symbols","tagName":"h5","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"The allowed symbols in the Komodo API's syntax are:","tagName":"p","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"prices","tagName":"li","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"operations: invert( ! ), multiply( * ), divide( / )","tagName":"li","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"!","tagName":"code","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"*","tagName":"code","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"/","tagName":"code","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"positive and negative integers","tagName":"li","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"The interpretation of the symbols in all the possible cases is described in the subsequent sections.","tagName":"p","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"The Komodo API limits the depth of the stack for prices to three, as this appears to be reasonably sufficient data for calculating synthetic prices.","tagName":"p","path":"antara/api/prices","closestElementReference":"komodo-stack-api-symbols"},{"text":"Synthetic Price Weights","tagName":"h5","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"A synthetic price is calculated by summing the computed prices with integers that represent weights .","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"weights","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"The weight can be any positive or negative integer whose absolute value is less than 2048 .","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"weight","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"2048","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"After an operator acts on the stack, a weight must be applied to the top element.","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"If the synthetic price calculation does not require the inclusion of a weight, set the weight's integer value to 1 .","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"1","tagName":"code","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"With the weights sets, the module automatically calculates the resulting synthetic price.","tagName":"p","path":"antara/api/prices","closestElementReference":"synthetic-price-weights"},{"text":"Example","tagName":"h6","path":"antara/api/prices","closestElementReference":"example"},{"text":"\"BTC_USD, 3, KMD_USD, 1\" gives the integer weight of 3 to the price pair of BTC_USD and the integer weight of 1 to the price pair of KMD_USD . The resulting value is described as BTC_USD*(3/4) + KMD_USD*(1/4) .","tagName":"p","path":"antara/api/prices","closestElementReference":"example"},{"text":"3","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"BTC_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"1","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"KMD_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"BTC_USD*(3/4) + KMD_USD*(1/4)","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"A \"spread\" in trading is a term that describes the amount or distance between the values of the maximum amount at which a buyer is willing to purchase and the minimum amount at which a seller is willing to sell.","tagName":"p","path":"antara/api/prices","closestElementReference":"example"},{"text":"To create a spread, use a negative weight for one of the synthetics.","tagName":"p","path":"antara/api/prices","closestElementReference":"example"},{"text":"For example, \"BTC_USD, -2, KMD_USD, 1\" gives the spread: KMD_USD - 2 * BTC_USD . When KMD_USD gains 2x more than BTC_USD , percentage wise, the spread would essentially disappear.","tagName":"p","path":"antara/api/prices","closestElementReference":"example"},{"text":"KMD_USD - 2 * BTC_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"KMD_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"BTC_USD","tagName":"code","path":"antara/api/prices","closestElementReference":"example"},{"text":"Operations Involving 1 Price","tagName":"h5","path":"antara/api/prices","closestElementReference":"operations-involving-1-price"},{"text":"Example","tagName":"h6","path":"antara/api/prices","closestElementReference":"example-2"},{"text":"\"BTC_USD, !, 1\" is computed to \"USD_BTC\".","tagName":"p","path":"antara/api/prices","closestElementReference":"example-2"},{"text":"Operations Involving 2 Prices","tagName":"h5","path":"antara/api/prices","closestElementReference":"operations-involving-2-prices"},{"text":"Example","tagName":"h6","path":"antara/api/prices","closestElementReference":"example-3"},{"text":"\"BTC_USD, USD_JPY, *, 1\" is computed to \"BTC_JPY\"","tagName":"li","path":"antara/api/prices","closestElementReference":"example-3"},{"text":"\"BTC_EUR, BTC_USD, /, 1\" is computed to \"USD_EUR\"","tagName":"li","path":"antara/api/prices","closestElementReference":"example-3"},{"text":"Operations involving 3 prices","tagName":"h5","path":"antara/api/prices","closestElementReference":"operations-involving-3-prices"},{"text":"Each of these operators act on top of the stack in the order from left to right. It is possible that the value from an earlier computation rests at the top of the stack.","tagName":"p","path":"antara/api/prices","closestElementReference":"operations-involving-3-prices"},{"text":"mypriceslist","tagName":"h2","path":"antara/api/prices","closestElementReference":"mypriceslist"},{"text":"mypriceslist [all|open|closed]","tagName":"p","path":"antara/api/prices","closestElementReference":"mypriceslist"},{"text":"mypriceslist [all|open|closed]","tagName":"strong","path":"antara/api/prices","closestElementReference":"mypriceslist"},{"text":"The mypriceslist method returns the list of transaction ids (txid) of the bets executed on the Smart Chain from the executing user's pubkey. By default, the method returns both open and closed bets.","tagName":"p","path":"antara/api/prices","closestElementReference":"mypriceslist"},{"text":"mypriceslist","tagName":"code","path":"antara/api/prices","closestElementReference":"mypriceslist"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD mypriceslist\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD mypriceslist\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples"},{"text":"[\"573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\"]\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples"},{"text":"[\"573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\"]\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples"},{"text":"prices","tagName":"h2","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"prices maxsamples","tagName":"p","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"prices maxsamples","tagName":"strong","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"The prices method returns samples of the data that has successfully been added to the Smart Chain via the price-feed oracles.","tagName":"p","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"prices","tagName":"code","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"The argument maxsamples defines the maximum number of samples to display for each price.","tagName":"p","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"maxsamples","tagName":"code","path":"antara/api/prices","closestElementReference":"prices-2"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD prices 5\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD prices 5\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"{\n \"firstheight\": 1604,\n \"timestamps\": [\n 1574860856,\n 1574860730,\n 1574860730,\n 1574860605,\n 1574860480\n ],\n \"pricefeeds\": [\n {\n \"name\": \"BTC_USD\",\n \"prices\": [\n [\n 7283.27170000,\n 7280.79830000,\n 7269.59738571\n ],\n [\n 7286.85330000,\n 7281.90500000,\n 7266.62501428\n ],\n [\n 7286.85330000,\n 7259.99170000,\n 7264.39740000\n ],\n [\n 7278.08330000,\n 7259.99170000,\n 7263.26905714\n ],\n [\n 7281.90500000,\n 7259.99170000,\n 7262.14071428\n ]\n ]\n },\n\n ... omitted for brevity ...\n\n ],\n \"result\": \"success\",\n \"seed\": 1045657799360186951,\n \"height\": 1624,\n \"maxsamples\": 5,\n \"width\": 20,\n \"daywindow\": 7,\n \"numpricefeeds\": 36\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"{\n \"firstheight\": 1604,\n \"timestamps\": [\n 1574860856,\n 1574860730,\n 1574860730,\n 1574860605,\n 1574860480\n ],\n \"pricefeeds\": [\n {\n \"name\": \"BTC_USD\",\n \"prices\": [\n [\n 7283.27170000,\n 7280.79830000,\n 7269.59738571\n ],\n [\n 7286.85330000,\n 7281.90500000,\n 7266.62501428\n ],\n [\n 7286.85330000,\n 7259.99170000,\n 7264.39740000\n ],\n [\n 7278.08330000,\n 7259.99170000,\n 7263.26905714\n ],\n [\n 7281.90500000,\n 7259.99170000,\n 7262.14071428\n ]\n ]\n },\n\n ... omitted for brevity ...\n\n ],\n \"result\": \"success\",\n \"seed\": 1045657799360186951,\n \"height\": 1624,\n \"maxsamples\": 5,\n \"width\": 20,\n \"daywindow\": 7,\n \"numpricefeeds\": 36\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-2"},{"text":"pricesaddfunding","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"pricesaddfunding bettxid amount","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"pricesaddfunding bettxid amount","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"The pricesaddfunding method adds the amount of funding from the user's wallet to the bettxid bet.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"pricesaddfunding","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"amount","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"bettxid","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"This can reduce the bettxid owner's risk of liquidation.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"bettxid","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesaddfunding"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesaddfunding 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9 2\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesaddfunding 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9 2\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"{\n \"hex\": \"0400008085202f8902001ba9e5249f390cf83f9e066f40a5fa514f9d9effbfa8e1c62893af4a8f2920000000004847304402203e41b90dd37de286dcd1132c7927b83388ccf9b364b958101132df85ee0abf6c022076cd8ebe8070d20b115f106deec8bb802adcb4f4ab00a49ed84e41cf39295a9201ffffffffe9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d57000000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567814042c55e009fa5571262beed60e90a5aaed4d87c03cf4047dc73203d0c26b7ba075a67920cfbb38c560eee029ceebe2f7ef0920d2d4b3d59ef4bcaa9f2f4a24ceba100af038001eda10001ffffffff051027000000000000302ea22c80203f3e915b5ac6710cb47dc1b1fce5efa52cd958ceab630fd9aa52c9274b446b478103120c008203000401ccc07fdc0b00000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc40420f00000000002321037c803ec82d12da939ac04379bbc1130a9065c53d8244a61eece1db942cf0efa7acf074e4a600000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4ced41e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d572102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756700c2eb0b00000000000000002f0700000000000000000000000000\",\n \"txid\": \"74dea4695a097facb5a71d1a56799f9caed4bf7461b613ae9c5800b85fb97ded\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"{\n \"hex\": \"0400008085202f8902001ba9e5249f390cf83f9e066f40a5fa514f9d9effbfa8e1c62893af4a8f2920000000004847304402203e41b90dd37de286dcd1132c7927b83388ccf9b364b958101132df85ee0abf6c022076cd8ebe8070d20b115f106deec8bb802adcb4f4ab00a49ed84e41cf39295a9201ffffffffe9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d57000000007b4c79a276a072a26ba067a565802102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567814042c55e009fa5571262beed60e90a5aaed4d87c03cf4047dc73203d0c26b7ba075a67920cfbb38c560eee029ceebe2f7ef0920d2d4b3d59ef4bcaa9f2f4a24ceba100af038001eda10001ffffffff051027000000000000302ea22c80203f3e915b5ac6710cb47dc1b1fce5efa52cd958ceab630fd9aa52c9274b446b478103120c008203000401ccc07fdc0b00000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc40420f00000000002321037c803ec82d12da939ac04379bbc1130a9065c53d8244a61eece1db942cf0efa7acf074e4a600000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4ced41e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d572102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756700c2eb0b00000000000000002f0700000000000000000000000000\",\n \"txid\": \"74dea4695a097facb5a71d1a56799f9caed4bf7461b613ae9c5800b85fb97ded\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-3"},{"text":"pricesaddress","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"pricesaddress [pubkey]","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"pricesaddress [pubkey]","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"The pricesaddress method returns information about the local instance of the Antara Prices Module on the Smart Chain and about associated addresses.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"pricesaddress","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"Optionally, if a pubkey is supplied, this method also returns the corresponding Prices CC Address and balance.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesaddress\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesaddress\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"PricesCCAddress\": \"RAL5Vh8NXmFqEKJRKrk1KjKaUckK7mM1iS\",\n \"PricesCCBalance\": 0.0,\n \"PricesNormalAddress\": \"RBunXCsMHk5NPd6q8SQfmpgre3x133rSwZ\",\n \"PricesNormalBalance\": 0.0,\n \"PricesCCTokensAddress\": \"RTSAiZc1b5H8WKPjqydsNfG11bLjbXZAY5\",\n \"myCCAddress(Prices)\": \"RDmC5R7MLqBKZxVYKkHvR7Piz73RADhvHm\",\n \"myCCbalance(Prices)\": 0.0,\n \"myaddress\": \"RGr9gqm88JtTntHJLgRxBjMS25K1w4rCzi\",\n \"mybalance\": 0.0,\n \"myaddr\": \"RDmC5R7MLqBKZxVYKkHvR7Piz73RADhvHm\",\n \"houseaddr\": \"RPLU8yLsUS8iN9YUvtw4CbX9oZJmU5Dg5y\",\n \"exposureaddr\": \"RJuhhPF7s8bR1532NWLnYZeCSs5BY9ZZBC\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"PricesCCAddress\": \"RAL5Vh8NXmFqEKJRKrk1KjKaUckK7mM1iS\",\n \"PricesCCBalance\": 0.0,\n \"PricesNormalAddress\": \"RBunXCsMHk5NPd6q8SQfmpgre3x133rSwZ\",\n \"PricesNormalBalance\": 0.0,\n \"PricesCCTokensAddress\": \"RTSAiZc1b5H8WKPjqydsNfG11bLjbXZAY5\",\n \"myCCAddress(Prices)\": \"RDmC5R7MLqBKZxVYKkHvR7Piz73RADhvHm\",\n \"myCCbalance(Prices)\": 0.0,\n \"myaddress\": \"RGr9gqm88JtTntHJLgRxBjMS25K1w4rCzi\",\n \"mybalance\": 0.0,\n \"myaddr\": \"RDmC5R7MLqBKZxVYKkHvR7Piz73RADhvHm\",\n \"houseaddr\": \"RPLU8yLsUS8iN9YUvtw4CbX9oZJmU5Dg5y\",\n \"exposureaddr\": \"RJuhhPF7s8bR1532NWLnYZeCSs5BY9ZZBC\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-4"},{"text":"pricesbet","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"pricesbet amount leverage \"synthetic-expression\"","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"pricesbet amount leverage \"synthetic-expression\"","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"The pricesbet method is used to open a bet.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"pricesbet","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"The resulting transaction id is called the bettxid of this bet and is used in most of the subsequent RPC calls","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"bettxid","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesbet"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesbet 1 2 \"BTC_USD,1\"\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesbet 1 2 \"BTC_USD,1\"\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"{\n \"hex\": \"0400008085202f89010019d58a792d663704f6d35a97134bfe24290de126aa220812a05f2a297efbca0000000049483045022100fbac0908eb3431c7781adeea0e2d83f05851ba131def70cb5ab207d5b2a322d102201cda02d44e9254ee26bf9b2aa88adf3b19a49c1fc2258a0ad85cb544585b745f01ffffffff071027000000000000302ea22c80203f3e915b5ac6710cb47dc1b1fce5efa52cd958ceab630fd9aa52c9274b446b478103120c008203000401cc1027000000000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cce03fee0500000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc10270000000000002321039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cfac20a10700000000002321037c803ec82d12da939ac04379bbc1130a9065c53d8244a61eece1db942cf0efa7acc0e0d9ac00000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000626a4c5fed422102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475675a06000000e1f50500000000020012db9450a90000000201000108000000000000000000000000000000000000000000000000000000000000000000000000230700000000000000000000000000\",\n \"txid\": \"90e4e83f750d46f13b2934af77aacc3423031ac520467e4f0b238e9389160c31\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"{\n \"hex\": \"0400008085202f89010019d58a792d663704f6d35a97134bfe24290de126aa220812a05f2a297efbca0000000049483045022100fbac0908eb3431c7781adeea0e2d83f05851ba131def70cb5ab207d5b2a322d102201cda02d44e9254ee26bf9b2aa88adf3b19a49c1fc2258a0ad85cb544585b745f01ffffffff071027000000000000302ea22c80203f3e915b5ac6710cb47dc1b1fce5efa52cd958ceab630fd9aa52c9274b446b478103120c008203000401cc1027000000000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cce03fee0500000000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc10270000000000002321039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cfac20a10700000000002321037c803ec82d12da939ac04379bbc1130a9065c53d8244a61eece1db942cf0efa7acc0e0d9ac00000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000626a4c5fed422102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475675a06000000e1f50500000000020012db9450a90000000201000108000000000000000000000000000000000000000000000000000000000000000000000000230700000000000000000000000000\",\n \"txid\": \"90e4e83f750d46f13b2934af77aacc3423031ac520467e4f0b238e9389160c31\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-5"},{"text":"pricescashout","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"pricescashout bettxid","tagName":"p","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"pricescashout bettxid","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"The pricescashout method can be used to cash out the bettxid bet. At the moment this method is executed, the user's equity must be positive and the bet must be open and not rekt.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"pricescashout","tagName":"code","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"bettxid","tagName":"code","path":"antara/api/prices","closestElementReference":"pricescashout"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricescashout 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricescashout 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"{\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00354064,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00354064,\n \"equity\": 0.99645936,\n \"LastPrice\": 7277.44287142,\n \"LastHeight\": 1637,\n \"hex\": \"0400008085202f8903e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d57010000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf81409c7720352bfef193930d6bd18a5ed4178edec85011948fe71ec5d598c5bd51ec44c4bbaa3350250512b538418fbbfe34f2b468ff5c8d16f17c12914faa689d55a100af038001eda10001ffffffff310c1689938e230b4f7e4620c51a032334ccaa77af34293bf1460d753fe8e490020000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf814040648b2b6837cefb5ae4592836ee628606a2ab6f2fb33674cebc95aeb04d0c431e19540dfbb054fe55fa45822fa93b0da50808d03680a45deac3d7f03d1e9209a100af038001eda10001ffffffff8e65f2faf9f137dc59c74f5c846c0fcc8a00b331da52639cdfbbd4cf286aaf40000000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf814078db50a91159707b5ee2d1e8c7500b60efa85498c13fde53bd86b4d94f77d5610f5dbfe533d08d8dd7fb2eb5b0b5942916f081002220673699baf1e94679563aa100af038001eda10001ffffffff03f079f00500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567acf065704e18090000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc0000000000000000776a4c74ed46e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d572102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475676506000072d8ddbda9000000a691f070a9000000ec6e07a356000000f079f00500000000102700000000000000000000000000002e0700000000000000000000000000\",\n \"txid\": \"84ca754d5e0230c5e2d455900aad3239fc14cc268705c2371db5e5e44bcfc773\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"{\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00354064,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00354064,\n \"equity\": 0.99645936,\n \"LastPrice\": 7277.44287142,\n \"LastHeight\": 1637,\n \"hex\": \"0400008085202f8903e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d57010000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf81409c7720352bfef193930d6bd18a5ed4178edec85011948fe71ec5d598c5bd51ec44c4bbaa3350250512b538418fbbfe34f2b468ff5c8d16f17c12914faa689d55a100af038001eda10001ffffffff310c1689938e230b4f7e4620c51a032334ccaa77af34293bf1460d753fe8e490020000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf814040648b2b6837cefb5ae4592836ee628606a2ab6f2fb33674cebc95aeb04d0c431e19540dfbb054fe55fa45822fa93b0da50808d03680a45deac3d7f03d1e9209a100af038001eda10001ffffffff8e65f2faf9f137dc59c74f5c846c0fcc8a00b331da52639cdfbbd4cf286aaf40000000007b4c79a276a072a26ba067a5658021039894cb054c0032e99e65e715b03799607aa91212a16648d391b6fa2cc52ed0cf814078db50a91159707b5ee2d1e8c7500b60efa85498c13fde53bd86b4d94f77d5610f5dbfe533d08d8dd7fb2eb5b0b5942916f081002220673699baf1e94679563aa100af038001eda10001ffffffff03f079f00500000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567acf065704e18090000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc0000000000000000776a4c74ed46e9fce807bf5d3d1be1fb0acfde9f63aca2728bf4044ff1354d39e99c38453d572102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b475676506000072d8ddbda9000000a691f070a9000000ec6e07a356000000f079f00500000000102700000000000000000000000000002e0700000000000000000000000000\",\n \"txid\": \"84ca754d5e0230c5e2d455900aad3239fc14cc268705c2371db5e5e44bcfc773\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-6"},{"text":"pricesgetorderbook","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesgetorderbook"},{"text":"pricesgetorderbook","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesgetorderbook"},{"text":"pricesgetorderbook","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesgetorderbook"},{"text":"The pricesgetorderbook method shows the currently open bets and their details. The method also shows information about the house wallet's balance and statistics about the bets on the Smart Chain.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesgetorderbook"},{"text":"pricesgetorderbook","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesgetorderbook"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesgetorderbook\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesgetorderbook\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"{\n \"BTC_USD\": {\n \"positions\": [\n {\n \"isOpen\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"positionsize\": 100000000,\n \"leverage\": 2,\n \"costbasis\": 729034905714,\n \"lastprice\": 726786761428,\n \"equity\": 99383254,\n \"isUpPosition\": 1\n },\n {\n \"isOpen\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"positionsize\": 100000000,\n \"leverage\": 2,\n \"costbasis\": 728389262857,\n \"lastprice\": 726786761428,\n \"equity\": 99559986,\n \"isUpPosition\": 1\n }\n ],\n \"DiffLeveragedPosition\": 400000000\n },\n \"TotalFund\": 100002.0002,\n \"TotalEquity\": 1.9894324,\n \"TotalRekt\": 0.0,\n \"TotalBets\": 2.0,\n \"TotalCashoutBets\": 0.0\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"{\n \"BTC_USD\": {\n \"positions\": [\n {\n \"isOpen\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"positionsize\": 100000000,\n \"leverage\": 2,\n \"costbasis\": 729034905714,\n \"lastprice\": 726786761428,\n \"equity\": 99383254,\n \"isUpPosition\": 1\n },\n {\n \"isOpen\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"positionsize\": 100000000,\n \"leverage\": 2,\n \"costbasis\": 728389262857,\n \"lastprice\": 726786761428,\n \"equity\": 99559986,\n \"isUpPosition\": 1\n }\n ],\n \"DiffLeveragedPosition\": 400000000\n },\n \"TotalFund\": 100002.0002,\n \"TotalEquity\": 1.9894324,\n \"TotalRekt\": 0.0,\n \"TotalBets\": 2.0,\n \"TotalCashoutBets\": 0.0\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-7"},{"text":"pricesinfo","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"pricesinfo bettxid [height]","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"pricesinfo bettxid [height]","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"The pricesinfo method returns information about the bet referred by the bettxid bet.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"pricesinfo","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"bettxid","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesinfo 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesinfo 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"{\n \"rekt\": 0,\n \"open\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"reduced\": \"BTC_USD, 1\",\n \"costbasis\": 7290.34905714,\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00623532,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00623532,\n \"equity\": 0.99376468,\n \"LastPrice\": 7267.62024285,\n \"LastHeight\": 1615,\n \"LiquidationPrice\": 3721.02360812\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"{\n \"rekt\": 0,\n \"open\": 1,\n \"expression\": \"BTC_USD, 1\",\n \"reduced\": \"BTC_USD, 1\",\n \"costbasis\": 7290.34905714,\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00623532,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00623532,\n \"equity\": 0.99376468,\n \"LastPrice\": 7267.62024285,\n \"LastHeight\": 1615,\n \"LiquidationPrice\": 3721.02360812\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-8"},{"text":"priceslist","tagName":"h2","path":"antara/api/prices","closestElementReference":"priceslist"},{"text":"priceslist [all|open|closed]","tagName":"p","path":"antara/api/prices","closestElementReference":"priceslist"},{"text":"priceslist [all|open|closed]","tagName":"strong","path":"antara/api/prices","closestElementReference":"priceslist"},{"text":"The priceslist method returns the list of transaction id's (txid) of all the bets executed on chain. The method returns both open and closed bets by default.","tagName":"p","path":"antara/api/prices","closestElementReference":"priceslist"},{"text":"priceslist","tagName":"code","path":"antara/api/prices","closestElementReference":"priceslist"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD priceslist\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=HELLOWORLD priceslist\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"[\"573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\"]\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"[\"573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9\"]\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-9"},{"text":"pricesrefillfund","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesrefillfund"},{"text":"pricesrefillfund amount","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrefillfund"},{"text":"pricesrefillfund amount","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesrefillfund"},{"text":"The pricesrefillfund method adds funds to the house (the Global CC address).","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrefillfund"},{"text":"pricesrefillfund","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesrefillfund"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-10"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-10"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesrefillfund 100000\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesrefillfund 100000\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"{\n \"hex\": \"0400008085202f89018e65f2faf9f137dc59c74f5c846c0fcc8a00b331da52639cdfbbd4cf286aaf400100000049483045022100f3929f772182537d30d2f9bfbf9ee77fda8b1cd9222e997916ac63d62ce0976402200c980637650a7d27e8eede43238f5bc9c28f54a7d757e6367dd63d13ec4c782401ffffffff0200a0724e18090000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc27a9421dbf8f2a00232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac000000002e0700000000000000000000000000\",\n \"txid\": \"54098ecb3d5bfdc8ce3a5b0d9f0f08d1dd21af97f714c8068938008543b793d7\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"{\n \"hex\": \"0400008085202f89018e65f2faf9f137dc59c74f5c846c0fcc8a00b331da52639cdfbbd4cf286aaf400100000049483045022100f3929f772182537d30d2f9bfbf9ee77fda8b1cd9222e997916ac63d62ce0976402200c980637650a7d27e8eede43238f5bc9c28f54a7d757e6367dd63d13ec4c782401ffffffff0200a0724e18090000302ea22c80203ee64ec5f134da404710d306dcd9ca54a0139b3c4827b43a988fc6316e6c2a688103120c008203000401cc27a9421dbf8f2a00232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac000000002e0700000000000000000000000000\",\n \"txid\": \"54098ecb3d5bfdc8ce3a5b0d9f0f08d1dd21af97f714c8068938008543b793d7\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-10"},{"text":"pricesrekt","tagName":"h2","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"pricesrekt bettxid height","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"pricesrekt bettxid height","tagName":"strong","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"The pricesrekt method creates a transaction that liquidates a bet that is \"rekt\" — a bet where the debt ratio has exceeded maximum limits and is now open to liquidation.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"pricesrekt","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"A bet that is rekt has an IsRekt: 1 flag in its pricesinfo call.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"IsRekt: 1","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"pricesinfo","tagName":"a","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"The pricesrekt call requires some proof-of-work (PoW) activity from the machine of the executing user. This deters spamming.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"pricesrekt","tagName":"code","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"All nodes on the network are incentivised to execute this transaction as it rewards some of the liquidated funds to the node that created the rekt transaction.","tagName":"p","path":"antara/api/prices","closestElementReference":"pricesrekt"},{"text":"Arguments","tagName":"h3","path":"antara/api/prices","closestElementReference":"arguments-11"},{"text":"Response","tagName":"h3","path":"antara/api/prices","closestElementReference":"response-11"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/prices","closestElementReference":"examples-11"},{"text":"Command:","tagName":"p","path":"antara/api/prices","closestElementReference":"examples-11"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesrekt 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9 1540\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-11"},{"text":"./komodo-cli -ac_name=HELLOWORLD pricesrekt 573d45389ce9394d35f14f04f48b72a2ac639fdecf0afbe11b3d5dbf07e8fce9 1540\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-11"},{"text":"{\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00612918,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00612918,\n \"equity\": 0.99387082,\n \"LastPrice\": 7268.00712857,\n \"LastHeight\": 1644,\n \"result\": \"error\",\n \"error\": \"position not rekt\"\n}\n","tagName":"pre","path":"antara/api/prices","closestElementReference":"examples-11"},{"text":"{\n \"bets\": [\n {\n \"positionsize\": 1.0,\n \"profits\": -0.00612918,\n \"costbasis\": 7290.34905714,\n \"firstheight\": 35\n }\n ],\n \"leverage\": 2,\n \"TotalPositionSize\": 1.0,\n \"TotalProfits\": -0.00612918,\n \"equity\": 0.99387082,\n \"LastPrice\": 7268.00712857,\n \"LastHeight\": 1644,\n \"result\": \"error\",\n \"error\": \"position not rekt\"\n}\n","tagName":"code","path":"antara/api/prices","closestElementReference":"examples-11"}],"antara/api/rewards":[{"text":"Rewards","tagName":"h1","path":"antara/api/rewards","closestElementReference":"rewards"},{"text":"Introduction","tagName":"h2","path":"antara/api/rewards","closestElementReference":"introduction"},{"text":"The Rewards Antara Module creates a master-node like rewards program, giving a user the ability to earn rewards by locking coins.","tagName":"p","path":"antara/api/rewards","closestElementReference":"introduction"},{"text":"It features configurable parameters, such as a customizable monthly reward, minimum deposit, a required holding period,etc.","tagName":"p","path":"antara/api/rewards","closestElementReference":"introduction"},{"text":"There can be many rewards plans active at any given time.","tagName":"p","path":"antara/api/rewards","closestElementReference":"introduction"},{"text":"rewards","tagName":"code","path":"antara/api/rewards","closestElementReference":"introduction"},{"text":"Rewards Antara Module Flow","tagName":"h3","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"Anyone can create a new plan using rewardscreatefunding","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardscreatefunding","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"Anyone can add funding to the plan using rewardsaddfunding","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardsaddfunding","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"Anyone can query the list of all active plans using rewardslist","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardslist","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"To get the details of a particular plan, use rewardsinfo","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardsinfo","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"After finding a suitable plan, any user can lock funds using rewardslock","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardslock","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"After the minimum lock time is met, the user can use rewardsunlock to unlock their funds and receive their rewards","tagName":"li","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardsunlock","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewards-antara-module-flow"},{"text":"rewardsaddfunding","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"rewardsaddfunding name fundingtxid amount","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"rewardsaddfunding name fundingtxid amount","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"The rewardsaddfunding method adds funds to a rewards plan.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"rewardsaddfunding","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardsaddfunding"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Step 1: Create a raw transaction and get the HEX value","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsaddfunding FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 100\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsaddfunding FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 100\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsaddfunding\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"100\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsaddfunding\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"100\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Step 2: Broadcast raw transaction","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"size\": 277,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\",\n \"hex\": \"473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueSat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 98899.9997,\n \"valueSat\": 9889999970000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"size\": 277,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\",\n \"hex\": \"473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueSat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 98899.9997,\n \"valueSat\": 9889999970000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"0100000001bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e00200000048473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401ffffffff0300e40b5402000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401ccd05eefb1fe080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a4[ALL]\",\n \"hex\": \"473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueZat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 98899.9997,\n \"valueZat\": 9889999970000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a4[ALL]\",\n \"hex\": \"473044022050ab254c7498e411ab5360551148405c4afff28d68729e2bd00ba2508ab105d402204067ab95020d606c35d3604d4385dcb97c899a06aa8bf8ce30471fb7868ac7a401\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 100.0,\n \"valueZat\": 10000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 98899.9997,\n \"valueZat\": 9889999970000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5414652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples"},{"text":"rewardsaddress","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"rewardsaddress (pubkey)","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"rewardsaddress (pubkey)","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"The rewardsaddress method returns info about the rewards plan associated with the given pubkey . If no pubkey is provided, the pubkey used to launch the daemon is used.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"rewardsaddress","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"rewards","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsaddress 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsaddress 03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"RewardsCCAddress\": \"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\",\n \"RewardsCCBalance\": 0.0,\n \"RewardsNormalAddress\": \"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\",\n \"RewardsNormalBalance\": 0.0,\n \"RewardsCCTokensAddress\": \"RUL6YTCQKuoB5AAFfNTxG1655qMuzwM4G9\",\n \"PubkeyCCaddress(Rewards)\": \"RJdwcBsoWwmt9dtSqyFCULNW2F3zj2mcD3\",\n \"PubkeyCCbalance(Rewards)\": 0.0,\n \"myCCAddress(Rewards)\": \"RWzkiCssRy3qwevUF1YsMS1QifRncrsWiK\",\n \"myCCbalance(Rewards)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"RewardsCCAddress\": \"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\",\n \"RewardsCCBalance\": 0.0,\n \"RewardsNormalAddress\": \"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\",\n \"RewardsNormalBalance\": 0.0,\n \"RewardsCCTokensAddress\": \"RUL6YTCQKuoB5AAFfNTxG1655qMuzwM4G9\",\n \"PubkeyCCaddress(Rewards)\": \"RJdwcBsoWwmt9dtSqyFCULNW2F3zj2mcD3\",\n \"PubkeyCCbalance(Rewards)\": 0.0,\n \"myCCAddress(Rewards)\": \"RWzkiCssRy3qwevUF1YsMS1QifRncrsWiK\",\n \"myCCbalance(Rewards)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsaddress\", \"params\":[\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsaddress\", \"params\":[\"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"RewardsCCAddress\": \"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\",\n \"RewardsCCBalance\": 0.0,\n \"RewardsNormalAddress\": \"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\",\n \"RewardsNormalBalance\": 0.0,\n \"RewardsCCTokensAddress\": \"RUL6YTCQKuoB5AAFfNTxG1655qMuzwM4G9\",\n \"PubkeyCCaddress(Rewards)\": \"RJdwcBsoWwmt9dtSqyFCULNW2F3zj2mcD3\",\n \"PubkeyCCbalance(Rewards)\": 0.0,\n \"myCCAddress(Rewards)\": \"RWzkiCssRy3qwevUF1YsMS1QifRncrsWiK\",\n \"myCCbalance(Rewards)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"RewardsCCAddress\": \"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\",\n \"RewardsCCBalance\": 0.0,\n \"RewardsNormalAddress\": \"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\",\n \"RewardsNormalBalance\": 0.0,\n \"RewardsCCTokensAddress\": \"RUL6YTCQKuoB5AAFfNTxG1655qMuzwM4G9\",\n \"PubkeyCCaddress(Rewards)\": \"RJdwcBsoWwmt9dtSqyFCULNW2F3zj2mcD3\",\n \"PubkeyCCbalance(Rewards)\": 0.0,\n \"myCCAddress(Rewards)\": \"RWzkiCssRy3qwevUF1YsMS1QifRncrsWiK\",\n \"myCCbalance(Rewards)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-2"},{"text":"rewardscreatefunding","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"rewardscreatefunding name amount APR mindays maxdays mindeposit","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"rewardscreatefunding name amount APR mindays maxdays mindeposit","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"The rewardscreatefunding method creates a new rewards plan.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"rewardscreatefunding","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"rewards","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"The sendrawtransaction method will then return a txid . This txid is the fundingtxid that serves to identify the rewards plan.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"fundingtxid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"rewards","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"If you create a plan with mindeposit: 10000 , make sure to also add\n10000 of your coin and the transaction fees using the rewardsaddfunding \ncall after creating the plan. The rewards module won't allow locking of funds\ngreater than the amount already locked in a single transaction as it needs to\nassure that it will have the required funds to pay.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardscreatefunding"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Step 1: Create raw transaction HEX using your own parameter","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardscreatefunding FREE 1000 5 1 10 10\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardscreatefunding FREE 1000 5 1 10 10\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardscreatefunding\", \"params\":[\"FREE\" ,\"1000\" ,\"5\" ,\"1\" ,\"10\" ,\"10\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardscreatefunding\", \"params\":[\"FREE\" ,\"1000\" ,\"5\" ,\"1\" ,\"10\" ,\"10\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Step 2: Broadcast/send the raw hex/transaction. This will output the txid which is the fundingtxid, also called the rewards plan id.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ATEST sendrawtransaction 010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ATEST sendrawtransaction 010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Step 3: Decode the raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"size\": 322,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0ea7add6359e6ba96dc98c2e32d3494fae2914c03ee5762e45adf3465043f204\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\",\n \"hex\": \"483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1000.0,\n \"valueSat\": 100000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9 OP_CHECKSIG\",\n \"hex\": \"2103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\"]\n }\n },\n {\n \"value\": 98999.9998,\n \"valueSat\": 9899999980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"hex\": \"6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"size\": 322,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0ea7add6359e6ba96dc98c2e32d3494fae2914c03ee5762e45adf3465043f204\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\",\n \"hex\": \"483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1000.0,\n \"valueSat\": 100000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9 OP_CHECKSIG\",\n \"hex\": \"2103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\"]\n }\n },\n {\n \"value\": 98999.9998,\n \"valueSat\": 9899999980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"hex\": \"6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000104f2435046f3ad452e76e53ec01429ae4f49d3322e8cc96da96b9e35d6ada70e0000000049483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01ffffffff0400e8764817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ace069fb0501090000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b0000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0ea7add6359e6ba96dc98c2e32d3494fae2914c03ee5762e45adf3465043f204\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe[ALL]\",\n \"hex\": \"483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1000.0,\n \"valueZat\": 100000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9 OP_CHECKSIG\",\n \"hex\": \"2103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\"]\n }\n },\n {\n \"value\": 98999.9998,\n \"valueZat\": 9899999980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"hex\": \"6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"0ea7add6359e6ba96dc98c2e32d3494fae2914c03ee5762e45adf3465043f204\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe[ALL]\",\n \"hex\": \"483045022100ebd06f60dea0e1fbfc82fdb1f17ca265c63bae51cd2db558946871513f64453902207d4d39b2418a5206bd7ef4efb9130f93f304577e0c84cc79be4e8abe0c8b22fe01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1000.0,\n \"valueZat\": 100000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9 OP_CHECKSIG\",\n \"hex\": \"2103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMgye9jeczNjQx9Uzq8no8pTLiCSwuHwkz\"]\n }\n },\n {\n \"value\": 98999.9998,\n \"valueZat\": 9899999980000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"hex\": \"6a2ae54646524545000000000065cd1d000000008051010000000000002f0d000000000000ca9a3b00000000\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-3"},{"text":"rewardsinfo","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"rewardsinfo fundingtxid","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"rewardsinfo fundingtxid","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"The rewardsinfo method returns information about specific rewards plan.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"rewardsinfo","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"rewards","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"Use rewardslist to see a list of all available fundingtxid 's.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"rewardslist","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"fundingtxid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsinfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsinfo e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsinfo e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"fundingtxid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"name\": \"FREE\",\n \"sbits\": 1162170950,\n \"APR\": \"5.00000000\",\n \"minseconds\": 86400,\n \"maxseconds\": 864000,\n \"mindeposit\": \"10.00000000\",\n \"funding\": \"1100.00000000\",\n \"locked\": \"200.00000000\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"fundingtxid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"name\": \"FREE\",\n \"sbits\": 1162170950,\n \"APR\": \"5.00000000\",\n \"minseconds\": 86400,\n \"maxseconds\": 864000,\n \"mindeposit\": \"10.00000000\",\n \"funding\": \"1100.00000000\",\n \"locked\": \"200.00000000\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsinfo\", \"params\":[\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsinfo\", \"params\":[\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"fundingtxid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"name\": \"FREE\",\n \"sbits\": 1162170950,\n \"APR\": \"5.00000000\",\n \"minseconds\": 86400,\n \"maxseconds\": 864000,\n \"mindeposit\": \"10.00000000\",\n \"funding\": \"1100.00000000\",\n \"locked\": \"200.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"fundingtxid\": \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\",\n \"name\": \"FREE\",\n \"sbits\": 1162170950,\n \"APR\": \"5.00000000\",\n \"minseconds\": 86400,\n \"maxseconds\": 864000,\n \"mindeposit\": \"10.00000000\",\n \"funding\": \"1100.00000000\",\n \"locked\": \"200.00000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-4"},{"text":"rewardslist","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"rewardslist","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"rewardslist","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"The rewardslist method lists the fundingtxid 's of all the rewards plans available on the Smart Chain.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"rewardslist","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"fundingtxid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslist"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardslist\n\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardslist\n\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"[\n \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"\n]\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"[\n \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"\n]\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardslist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"{\n \"result\": [\n \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"{\n \"result\": [\n \"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-5"},{"text":"rewardslock","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"rewardslock name fundingtxid amount","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"rewardslock name fundingtxid amount","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"The rewardslock method commits your desired amount of funds into the specified rewards plan. They remain locked until the minimum number of seconds/days passes.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"rewardslock","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"The method returns a hex value that must be broadcast using sendrawtransaction.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"hex","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"sendrawtransaction.","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"The sendrawtransaction method will then return a txid , which is later used in the rewardsunlock method. In general, it is best to save this txid in a secure location.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"rewardsunlock","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"If the final txid is lost, it is possible to find it again. See rewardsunlock for more information.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"rewardsunlock","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardslock"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Step 1: Create raw transaction","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardslock FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 200\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardslock FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 200\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardslock\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"200\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardslock\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"200\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Step 2: Broadcast raw transaction","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ATEST sendrawtransaction 010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ATEST sendrawtransaction 010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ATEST decoderawtransaction 010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"size\": 322,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\",\n \"hex\": \"483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 200.0,\n \"valueSat\": 20000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 98699.9995,\n \"valueSat\": 9869999950000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"size\": 322,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\",\n \"hex\": \"483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 200.0,\n \"valueSat\": 20000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 98699.9995,\n \"valueSat\": 9869999950000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"010000000180a53d85b02f6f61c5ddf94052c2d46a0161888c029114a9bf8dceeb4ea98c000100000049483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701ffffffff0400c817a804000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc1027000000000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5acb048d709fa080000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef16097[ALL]\",\n \"hex\": \"483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 200.0,\n \"valueZat\": 20000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 98699.9995,\n \"valueZat\": 9869999950000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"008ca94eebce8dbfa91491028c8861016ad4c25240f9ddc5616f2fb0853da580\",\n \"vout\": 1,\n \"scriptSig\": {\n \"asm\": \"3045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef16097[ALL]\",\n \"hex\": \"483045022100cf5581a6729eb0f37d03f0975dd6cfaca79ea08d380dae7df25b2335931bff5d02204feaf188f7f28d90c056a7b2bfa1f8d38fdf242c333470cf1e0cd3534ef1609701\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 200.0,\n \"valueZat\": 20000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 98699.9995,\n \"valueZat\": 9869999950000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae54c4652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-6"},{"text":"rewardsunlock","tagName":"h2","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"rewardsunlock name fundingtxid (txid)","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"rewardsunlock name fundingtxid (txid)","tagName":"strong","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"The rewardsunlock method unlocks your funds from a specific rewards plan after the minimum lock time is met. If txid is not provided, rewardsunlock unlocks all funds in the fundingtxid plan.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"rewardsunlock","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"rewardsunlock","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"fundingtxid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method to complete the command.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"If you attempt to unlock your funds before the minimum period is met, the daemon returns this error:","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"The method requires the txid that was returned as a result of the original rewardslock method.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"rewardslock","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"If the original txid is lost, it is possible to find it again by either rebroadcasting the original hex (if it is available), or by scanning through available utxos using the getaddressutxos method.","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"txid","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"hex","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"getaddressutxos","tagName":"a","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"{\n\"result\": \"error\",\n\"error\": \"reward 0 is <= the transaction fee\"\n}","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"An error similar to the one below prints in the console:","tagName":"p","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"APR 5.00000000 minseconds.86400 maxseconds.864000 mindeposit 10.00000000\n\nduration 74628 < minseconds 86400\n\nreward 0 is <= the transaction fee\n\namount 200.00000000 -> reward 0.00000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"APR 5.00000000 minseconds.86400 maxseconds.864000 mindeposit 10.00000000\n\nduration 74628 < minseconds 86400\n\nreward 0 is <= the transaction fee\n\namount 200.00000000 -> reward 0.00000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"rewardsunlock"},{"text":"Arguments","tagName":"h3","path":"antara/api/rewards","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h3","path":"antara/api/rewards","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Step 1: Create raw transaction","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsunlock FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD rewardsunlock FREE e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd 494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsunlock\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"rewardsunlock\", \"params\":[\"FREE\" ,\"e020151cd81647b20aa45a0e6850216ae52d3e895443bbe1ae97dea3ae6767bd\" ,\"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Step 2: Broadcast raw transaction","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Step 3: Decode raw transaction (optional to check if the values are sane)","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"txid\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"size\": 492,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"82a6d3a03ac00427eda73fa4a2011919d6eb21905b3e9c4009f77bdd612dfc45\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 999.97249609,\n \"valueSat\": 99997249609,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 200.02740391,\n \"valueSat\": 20002740391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"txid\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"size\": 492,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"82a6d3a03ac00427eda73fa4a2011919d6eb21905b3e9c4009f77bdd612dfc45\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 999.97249609,\n \"valueSat\": 99997249609,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 200.02740391,\n \"valueSat\": 20002740391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcuser","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcpassword","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"rpcport","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"Command:","tagName":"p","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000026302ec1859929dea83001708971d62f30fe5624745e0fdb93db79ab18a4e4c49000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001ffffffff45fc2d61dd7bf709409c3e5b9021ebd6191901a2a43fa7ed2704c03aa0d3a682000000007b4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001ffffffff0349f04c4817000000302ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cca79841a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000002c6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"txid\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"82a6d3a03ac00427eda73fa4a2011919d6eb21905b3e9c4009f77bdd612dfc45\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 999.97249609,\n \"valueZat\": 99997249609,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 200.02740391,\n \"valueZat\": 20002740391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/rewards","closestElementReference":"examples-7"},{"text":"{\n \"result\": {\n \"txid\": \"7a69605f5ecfeb0613c8573cbc4ae2471698a65b60c983ec21fb41f09975c000\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"494c4e8ab19ab73db9fde0454762e50ff3621d9708170083ea9d925918ec0263\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb98140dd5c7a6e8436748501608056b934a6b6cd54122f9451a1ca76f3d41568cb0e7a08e4d4f9045083425f42a4171e42b2d32f5e331f87d5b45298e006b909c706d2a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"82a6d3a03ac00427eda73fa4a2011919d6eb21905b3e9c4009f77bdd612dfc45\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103da60379d924c2c30ac290d2a86c2ead128cb7bd571f69211cb95356e2dcc5eb9814011825693143f97dc51d34b47638f314146c20c92b5020673fb7411ab37018c2003870255e17d87d46b7af7d042335579de566ce492fd8c3c4e883253870ba329a100af038001e5a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 999.97249609,\n \"valueZat\": 99997249609,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802065686d47a4049c2c845a71895a915eb84c04445896eec5dc0be40df0b31372da8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RTsRBYL1HSvMoE3qtBJkyiswdVaWkm8YTK\"]\n }\n },\n {\n \"value\": 200.02740391,\n \"valueZat\": 20002740391,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5 OP_CHECKSIG\",\n \"hex\": \"2103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RVXhz5UCJfSRoTfa4zvBFBrpDBbqMM21He\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"hex\": \"6a2ae5554652454500000000bd6767aea3de97aee1bb4354893e2de56a2150680e5aa40ab24716d81c1520e0\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/rewards","closestElementReference":"examples-7"}],"antara/api/rogue":[{"text":"Rogue","tagName":"h1","path":"antara/api/rogue","closestElementReference":"rogue"},{"text":"The Rogue Antara module is an Antara implementation of the classic Unix game, Rogue.","tagName":"p","path":"antara/api/rogue","closestElementReference":"rogue"},{"text":"Tutorial Availability","tagName":"h2","path":"antara/api/rogue","closestElementReference":"tutorial-availability"},{"text":"An installation, Rogue API, and gameplay walkthrough is available in the Antara Tutorials section.","tagName":"p","path":"antara/api/rogue","closestElementReference":"tutorial-availability"},{"text":"Antara Tutorials section.","tagName":"a","path":"antara/api/rogue","closestElementReference":"tutorial-availability"},{"text":"bailout","tagName":"h2","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"cclib bailout 17 '[\"gametxid\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"cclib bailout 17 '[\"gametxid\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"The bailout method allows a user to withdraw their character from the game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"bailout","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"This method is only available when the character is still alive. The character must remain alive until the returned bailout_txid is mined.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"bailout_txid","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"Also, the character must have more than 0 gold and must have killed at least 1 monster. Otherwise, the bailout method will treat the character as dead, regardless of the character's status.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"0","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"1","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"bailout","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"When the character successfully bails out from the game, all in-game gold the character has captured is converted into ROGUE coins.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"The conversion ratio depends upon the mode of gameplay.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"Single-player mode:","tagName":"li","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 10\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 10\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"Multi-player mode:","tagName":"li","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 20\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 20\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"The conversion is facilitated using globally locked ROGUE coins. The funds in this global vault automatically accrue through smart-chain activity. In the event that there are not enough globally locked funds at the time the method is executed, the player must simply wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"ROGUE","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"The method returns a hex value. While most methods in the Komodo API require the user/developer to broadcast the hex value using sendrawtransaction , the Rogue module broadcasts automatically.","tagName":"p","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"hex","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"hex","tagName":"code","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/rogue","closestElementReference":"bailout"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"bailout\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\",\n \"hex\": \"0400008085202f8902261b7562e9ce81a3b666a69cd71c1900bece3e8ca9bb85430076f0de51ef9b8700000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140d2f916906d56a615de2c3a04bf7977df9136a7adc793681917bc44656c61c0ef68038ff1072632d5b546b17c9a0f58d5e057c4794f01e54c90a247460d6bd2afa129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001fffffffff0735b78bcdaaa8d317acb90256283c0b6e1d6d8b7f8dab238637fe3125cb63902000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140c08bf9ed2c6ddbe3298fcad23f7397fd17bb76cafada4793acb7a6a4c08908731bdf90ace865fa8111a827d874fbd8f447fecca5982654685365577f1b5e7d36a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff0300a60e0000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc30750000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac00000000000000005f6a4c5c1151f0735b78bcdaaa8d317acb90256283c0b6e1d6d8b7f8dab238637fe3125cb63905524f4755450c4c6542726f6e204a616d65730000000021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e850000000000c04c00000000000000000000000000\",\n \"txid\": \"194fe36a878fdac853e05c9b48b771a69a9a980c22c803b2ec5c2ceecb719329\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"bailout\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\",\n \"hex\": \"0400008085202f8902261b7562e9ce81a3b666a69cd71c1900bece3e8ca9bb85430076f0de51ef9b8700000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140d2f916906d56a615de2c3a04bf7977df9136a7adc793681917bc44656c61c0ef68038ff1072632d5b546b17c9a0f58d5e057c4794f01e54c90a247460d6bd2afa129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001fffffffff0735b78bcdaaa8d317acb90256283c0b6e1d6d8b7f8dab238637fe3125cb63902000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140c08bf9ed2c6ddbe3298fcad23f7397fd17bb76cafada4793acb7a6a4c08908731bdf90ace865fa8111a827d874fbd8f447fecca5982654685365577f1b5e7d36a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff0300a60e0000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc30750000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac00000000000000005f6a4c5c1151f0735b78bcdaaa8d317acb90256283c0b6e1d6d8b7f8dab238637fe3125cb63905524f4755450c4c6542726f6e204a616d65730000000021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e850000000000c04c00000000000000000000000000\",\n \"txid\": \"194fe36a878fdac853e05c9b48b771a69a9a980c22c803b2ec5c2ceecb719329\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples"},{"text":"extract","tagName":"h2","path":"antara/api/rogue","closestElementReference":"extract"},{"text":"cclib extract 17 '[\"gametxid\",\"pubkey\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"extract"},{"text":"cclib extract 17 '[\"gametxid\",\"pubkey\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"extract"},{"text":"The extract method allows the user to extract the complete history of a game. This allows the user to view a replay of the game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"extract"},{"text":"extract","tagName":"code","path":"antara/api/rogue","closestElementReference":"extract"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib extract 17 '[\"6bb0efcb14cd5101a4d8d8865c6a93162aa9480c5d3e0ce33902193cebdc4c39\",\"0325151cf0f7321d0cde232898c5adc6b60f32df71b79af3a49d10020d42925ae9\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib extract 17 '[\"6bb0efcb14cd5101a4d8d8865c6a93162aa9480c5d3e0ce33902193cebdc4c39\",\"0325151cf0f7321d0cde232898c5adc6b60f32df71b79af3a49d10020d42925ae9\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"extract\",\n \"gametxid\": \"6bb0efcb14cd5101a4d8d8865c6a93162aa9480c5d3e0ce33902193cebdc4c39\",\n \"rogueaddr\": \"RJHD68KaUg14DaooPz5VFXeTTh8qdpEseb\",\n \"status\": \"success\",\n \"keystrokes\": \"772a2064572a20636868686a68686866686868686868686868686868686c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6b6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c686a686a68686c6b6c6c6c6a6c6a6a6a6c6a6a6a6a6a686a6868686868686a6a686a6a6c6c6c6c6c6c6c6c6c6a6a6a6a6a6a6a6a6a6a686b6b6b6c6b6b6b6b6b6b68686868686868686b6b68206b686868686868686868686868686868686868686868686a6a6a6a686868686868686868686b686b686c6c6a6a6a6c6a6c6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6a6a6a686b6c6b6b6b686868686868686868686b6b6b6b68686868686868686868686868686c6c6c6c206c6c686868686868686b6b68686868206868686a6c6c6a6a6a6a6a6a68686868686868686868686a6a6a666a686868686b686c206c6920207170686c6c206a6b206a6920207270686b6c6c6c6c6c6c6c6c6b686b6b6b6c6c6c6c6c6c6c6c6b6b20666b6b6b6b686868686868686868686b6b686b6b6b6b6b6b6b6c6c6c6c6b6b6b6b6c6c6c6c6c6c6c6c6c6c6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a206868686868686868686868666c6c6c6c6c6a6c6c6c6c6c6c6c6c6a6a6a68686868686868686868686868686a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6a6a6a68686868683e6c686668686b68206c206c6a686a6a6a6a6a6a6a206b6b666a6a6c6c6a6c6c6c6c6868686868686868686868686868686868686868686868686868686868686868686a6a6a686868686868686868686b68686868686868686868206869206868646c6c6c6c6b6b686b6b6b6b6c6c6c6c6b6b6b6868686868686b6b6b6b6b6b6b68686868686868686868686b6b6b6b6b6c6c6c6c6c6c6c6c6c6c6c20686868666c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a6c6c6c6c6c6c206868686c6c6c20666b6b6920646a6c64696a686c6c6b206a692071202020726d6b6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c73736868686868686868686868686868686868686868686868686868686868686868686b6b6b686868686868686868686868686a686a6a6a6a6a6c6c6c6c6c6c6c6c6c6c206c6c6c206c6c6c6c206c6a6a6a6a6a6868686868686868686b6b6b6868686868206a20206c206c6c206c6c206c20\",\n \"numkeys\": 884,\n \"playertxid\": \"aeea6d8b3f50391a4bd477761e4d15ce3872ca6eccdfdb0fe40dd35868924c48\",\n \"extracted\": \"$$$gold.288 hp.52 strength.16/16 level.6 exp.271 dl.2\",\n \"seed\": 4344864534442616921,\n \"replay\": \"cc/rogue/rogue 4344864534442616921\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"extract\",\n \"gametxid\": \"6bb0efcb14cd5101a4d8d8865c6a93162aa9480c5d3e0ce33902193cebdc4c39\",\n \"rogueaddr\": \"RJHD68KaUg14DaooPz5VFXeTTh8qdpEseb\",\n \"status\": \"success\",\n \"keystrokes\": \"772a2064572a20636868686a68686866686868686868686868686868686c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6b6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c686a686a68686c6b6c6c6c6a6c6a6a6a6c6a6a6a6a6a686a6868686868686a6a686a6a6c6c6c6c6c6c6c6c6c6a6a6a6a6a6a6a6a6a6a686b6b6b6c6b6b6b6b6b6b68686868686868686b6b68206b686868686868686868686868686868686868686868686a6a6a6a686868686868686868686b686b686c6c6a6a6a6c6a6c6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6a6a6a686b6c6b6b6b686868686868686868686b6b6b6b68686868686868686868686868686c6c6c6c206c6c686868686868686b6b68686868206868686a6c6c6a6a6a6a6a6a68686868686868686868686a6a6a666a686868686b686c206c6920207170686c6c206a6b206a6920207270686b6c6c6c6c6c6c6c6c6b686b6b6b6c6c6c6c6c6c6c6c6b6b20666b6b6b6b686868686868686868686b6b686b6b6b6b6b6b6b6c6c6c6c6b6b6b6b6c6c6c6c6c6c6c6c6c6c6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a206868686868686868686868666c6c6c6c6c6a6c6c6c6c6c6c6c6c6a6a6a68686868686868686868686868686a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6a6a6a68686868683e6c686668686b68206c206c6a686a6a6a6a6a6a6a206b6b666a6a6c6c6a6c6c6c6c6868686868686868686868686868686868686868686868686868686868686868686a6a6a686868686868686868686b68686868686868686868206869206868646c6c6c6c6b6b686b6b6b6b6c6c6c6c6b6b6b6868686868686b6b6b6b6b6b6b68686868686868686868686b6b6b6b6b6c6c6c6c6c6c6c6c6c6c6c20686868666c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a6c6c6c6c6c6c206868686c6c6c20666b6b6920646a6c64696a686c6c6b206a692071202020726d6b6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c73736868686868686868686868686868686868686868686868686868686868686868686b6b6b686868686868686868686868686a686a6a6a6a6a6c6c6c6c6c6c6c6c6c6c206c6c6c206c6c6c6c206c6a6a6a6a6a6868686868686868686b6b6b6868686868206a20206c206c6c206c6c206c20\",\n \"numkeys\": 884,\n \"playertxid\": \"aeea6d8b3f50391a4bd477761e4d15ce3872ca6eccdfdb0fe40dd35868924c48\",\n \"extracted\": \"$$$gold.288 hp.52 strength.16/16 level.6 exp.271 dl.2\",\n \"seed\": 4344864534442616921,\n \"replay\": \"cc/rogue/rogue 4344864534442616921\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-2"},{"text":"gameinfo","tagName":"h2","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"cclib gameinfo 17 '[\"gametxid\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"cclib gameinfo 17 '[\"gametxid\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"The gameinfo method returns relevant information about the indicated gametxid game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"gameinfo","tagName":"code","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"gametxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"gameinfo"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\",\n \"result\": \"success\",\n \"gameheight\": 19587,\n \"height\": 19587,\n \"start\": 19587,\n \"starthash\": \"0003a5ed4715220a742a6c2381daa5d49d29fa56189c7d676985902734e71e2e\",\n \"seed\": 2991956025523248686,\n \"run\": \"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\",\n \"alive\": 0,\n \"numplayers\": 0,\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"players\": []\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\",\n \"result\": \"success\",\n \"gameheight\": 19587,\n \"height\": 19587,\n \"start\": 19587,\n \"starthash\": \"0003a5ed4715220a742a6c2381daa5d49d29fa56189c7d676985902734e71e2e\",\n \"seed\": 2991956025523248686,\n \"run\": \"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\",\n \"alive\": 0,\n \"numplayers\": 0,\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"players\": []\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-3"},{"text":"games","tagName":"h2","path":"antara/api/rogue","closestElementReference":"games"},{"text":"cclib games 17","tagName":"p","path":"antara/api/rogue","closestElementReference":"games"},{"text":"cclib games 17","tagName":"strong","path":"antara/api/rogue","closestElementReference":"games"},{"text":"The games method displays a list of the user's unfinished and finished games.","tagName":"p","path":"antara/api/rogue","closestElementReference":"games"},{"text":"games","tagName":"code","path":"antara/api/rogue","closestElementReference":"games"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":" ./komodo-cli -ac_name=ROGUE cclib games 17\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":" ./komodo-cli -ac_name=ROGUE cclib games 17\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"games\",\n \"pastgames\": [\n \"2d1010473c9675a3e04e84fe191404926761f324e4053a0f859d4806f68bbf25\",\n \"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\",\n \"790b94addb0c19399a7afedbb7580268f4fc8a3d91a600af6729c4d73fdb6498\",\n \"bbdecbb3b037e299dd5b303a11e4839e5625c94ce4e36acd3b7b549fec342ad3\",\n ...\n ...\n ...\n \"43244d4be57564ef441fe8790bb08e23787244f533c9591ab3adb9cf755e9eed\",\n \"0199a50d45e56060ded6aa30e3ce4ae8ed090c0033c78e3e024aef403277a207\",\n \"a3833e860ff02d178f431032952f947f7e0c485690d9dd7e6e8133813f253a34\",\n ],\n \"games\": [\n \"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\",\n \"3443ad3112908b31cab74ec7094c294d337aad5253e4e1af35eaac1f31ed7ab3\",\n ...\n ...\n ...\n \"dd859a7a9c980e7a5018913de98e48515a96b1ac54b39515e2cca3efed9659eb\"\n ],\n \"numgames\": 140\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"games\",\n \"pastgames\": [\n \"2d1010473c9675a3e04e84fe191404926761f324e4053a0f859d4806f68bbf25\",\n \"39b65c12e37f6338b2daf8b7d8d6e1b6c083622590cb7a318daadabc785b73f0\",\n \"790b94addb0c19399a7afedbb7580268f4fc8a3d91a600af6729c4d73fdb6498\",\n \"bbdecbb3b037e299dd5b303a11e4839e5625c94ce4e36acd3b7b549fec342ad3\",\n ...\n ...\n ...\n \"43244d4be57564ef441fe8790bb08e23787244f533c9591ab3adb9cf755e9eed\",\n \"0199a50d45e56060ded6aa30e3ce4ae8ed090c0033c78e3e024aef403277a207\",\n \"a3833e860ff02d178f431032952f947f7e0c485690d9dd7e6e8133813f253a34\",\n ],\n \"games\": [\n \"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\",\n \"3443ad3112908b31cab74ec7094c294d337aad5253e4e1af35eaac1f31ed7ab3\",\n ...\n ...\n ...\n \"dd859a7a9c980e7a5018913de98e48515a96b1ac54b39515e2cca3efed9659eb\"\n ],\n \"numgames\": 140\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-4"},{"text":"highlander","tagName":"h2","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"cclib highlander 17 '[\"gametxid\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"cclib highlander 17 '[\"gametxid\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"The highlander method allows a character to exit the game and claim the buyin prize funds.","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"highlander","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"buyin","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"In single-player mode, the highlander method is available after safely retrieving the amulet and exiting the dungeon.","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"highlander","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"amulet","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"In multi-player mode, the highlander method is available either to the character that is the last man standing, or to any character that successfully retrieves the amulet and exits the dungeon.","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"highlander","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"amulet","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander"},{"text":"Highlander Rewards","tagName":"h3","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"The character that successfully executes the highlander method receives an increased ratio of conversion from in-game gold to ROGUE coins. The ratio depends upon the mode of gameplay; see below for further details.","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"highlander","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"ROGUE","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"The conversion is facilitated using globally locked ROGUE coins. The funds in this global vault automatically accrue through smart-chain activity. In the event that there are not enough globally locked funds at the time the highlander method is executed, the player must wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.","tagName":"p","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"ROGUE","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"highlander","tagName":"code","path":"antara/api/rogue","closestElementReference":"highlander-rewards"},{"text":"Rewards in Single-Player Mode","tagName":"h4","path":"antara/api/rogue","closestElementReference":"rewards-in-single-player-mode"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 10\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"rewards-in-single-player-mode"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 10\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"rewards-in-single-player-mode"},{"text":"Rewards in Multi-Player Mode","tagName":"h4","path":"antara/api/rogue","closestElementReference":"rewards-in-multi-player-mode"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 20\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"rewards-in-multi-player-mode"},{"text":"ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 20\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"rewards-in-multi-player-mode"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"highlander\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\",\n \"result\": \"success\",\n \"hex\": \"hex\",\n \"txid\": \"txid\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"highlander\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"b94a0c14604df04a994e8fde610af7ddede76a62e1e3d86bbdac18e695662301\",\n \"result\": \"success\",\n \"hex\": \"hex\",\n \"txid\": \"txid\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-5"},{"text":"keystrokes","tagName":"h2","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"cclib keystrokes 17 '[\"gametxid\",\"keystrokes\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"cclib keystrokes 17 '[\"gametxid\",\"keystrokes\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"The keystrokes method executes the indicated keystroke for the indicated gametxid .","tagName":"p","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"keystrokes","tagName":"code","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"keystroke","tagName":"code","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"gametxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"The player's keystrokes on the keyboard are recorded in ASCII format. See this link for a table of ASCII keyboard translations.","tagName":"p","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"See this link","tagName":"a","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"After a game concludes the complete list of keystrokes can be found in the ~/komodo/src/keystrokes.log file.","tagName":"p","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"~/komodo/src/keystrokes.log","tagName":"code","path":"antara/api/rogue","closestElementReference":"keystrokes"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ROGUE cclib keystrokes 17 '[\"777ba510824b467e9ddfb00a075e9cd5c6f73d1fa6f772b1a22563502def25ee\",\"6a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=ROGUE cclib keystrokes 17 '[\"777ba510824b467e9ddfb00a075e9cd5c6f73d1fa6f772b1a22563502def25ee\",\"6a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"{\n \"result\":{\n \"name\":\"rogue\",\n \"method\":\"keystrokes\",\n \"gametxid\":\"777ba510824b467e9ddfb00a075e9cd5c6f73d1fa6f772b1a22563502def25ee\",\n \"keystrokes\":\"6a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b\",\n \"batontxid\":\"3d9b93fb784852c5899f5cfa11b0c24f185835169781755027cb7e04fe4a7463\",\n \"playertxid\":\"0000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\":\"0400008085202f890163744afe047ecb2750758197163558184fc2b011fa5c9f89c5524878fb939b3d00000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85814086ad1e7babe52189c9201acae2a031284ebba0fa5841f4e35a475c9eb267140d535b96e2379b2c99332c4f5efdbddcb5cd850301b9ffe1ba6de139696cea5439a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff029063a70000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0000000000000000ad6a4caa114bee25ef2d506325a2b172f7a61f3df7c6d59c5e070ab0df9d7e464b8210a57b7763744afe047ecb2750758197163558184fc2b011fa5c9f89c5524878fb939b3d21027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85456a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b00000000a6b900000000000000000000000000\",\n \"txid\":\"1fc6543d4aa577e976f9cb449835fe633510e169e00ceff243ca2791d68aec1c\",\n \"result\":\"success\"\n },\n \"error\":null,\n \"id\":\"jl777\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"{\n \"result\":{\n \"name\":\"rogue\",\n \"method\":\"keystrokes\",\n \"gametxid\":\"777ba510824b467e9ddfb00a075e9cd5c6f73d1fa6f772b1a22563502def25ee\",\n \"keystrokes\":\"6a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b\",\n \"batontxid\":\"3d9b93fb784852c5899f5cfa11b0c24f185835169781755027cb7e04fe4a7463\",\n \"playertxid\":\"0000000000000000000000000000000000000000000000000000000000000000\",\n \"hex\":\"0400008085202f890163744afe047ecb2750758197163558184fc2b011fa5c9f89c5524878fb939b3d00000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85814086ad1e7babe52189c9201acae2a031284ebba0fa5841f4e35a475c9eb267140d535b96e2379b2c99332c4f5efdbddcb5cd850301b9ffe1ba6de139696cea5439a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff029063a70000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0000000000000000ad6a4caa114bee25ef2d506325a2b172f7a61f3df7c6d59c5e070ab0df9d7e464b8210a57b7763744afe047ecb2750758197163558184fc2b011fa5c9f89c5524878fb939b3d21027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85456a68686868686866686820686868682068686868206868666868686c6c6c6c6a6a6a6a6a6a6a6a6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6a6a6a68666b00000000a6b900000000000000000000000000\",\n \"txid\":\"1fc6543d4aa577e976f9cb449835fe633510e169e00ceff243ca2791d68aec1c\",\n \"result\":\"success\"\n },\n \"error\":null,\n \"id\":\"jl777\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-6"},{"text":"newgame","tagName":"h2","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"cclib newgame 17 '[maxplayers, buyin]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"cclib newgame 17 '[maxplayers, buyin]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"The newgame method creates a new game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"newgame","tagName":"code","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"The buyin argument is required for multi-player games. The coins contributed via buyin become a winner-takes-all pot. Either the first player to claim the amulet and return from the dungeon, or the last player standing; may claim this prize using the highlander method.","tagName":"p","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"buyin","tagName":"code","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"buyin","tagName":"code","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"amulet","tagName":"code","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"highlander","tagName":"a","path":"antara/api/rogue","closestElementReference":"newgame"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-7"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-7"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"Command for a single-player training game:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 \"[1]\"\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 \"[1]\"\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f8901018feb110a6e0d8751a158b3e73dac07383c83766a83908d641f2d4b1db6f704010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581405349ce7a0a3823ca35e3dc30d17c8d8f170bfea89373166f14b8b4f04d36c34a41199ad448074be74b7a6344d0c36b4f68748f976f3f95b7d0c8ec84e54bf773a100af03800111a10001ffffffff061027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc00b8880000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc10270000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000106a0e114700000000000000000100000000000000964c00000000000000000000000000\",\n \"txid\": \"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f8901018feb110a6e0d8751a158b3e73dac07383c83766a83908d641f2d4b1db6f704010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581405349ce7a0a3823ca35e3dc30d17c8d8f170bfea89373166f14b8b4f04d36c34a41199ad448074be74b7a6344d0c36b4f68748f976f3f95b7d0c8ec84e54bf773a100af03800111a10001ffffffff061027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc00b8880000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc10270000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000106a0e114700000000000000000100000000000000964c00000000000000000000000000\",\n \"txid\": \"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-7"},{"text":"pending","tagName":"h2","path":"antara/api/rogue","closestElementReference":"pending"},{"text":"cclib pending 17","tagName":"p","path":"antara/api/rogue","closestElementReference":"pending"},{"text":"cclib pending 17","tagName":"strong","path":"antara/api/rogue","closestElementReference":"pending"},{"text":"The pending method displays a list of unfinished games on the Smart Chain.","tagName":"p","path":"antara/api/rogue","closestElementReference":"pending"},{"text":"pending","tagName":"code","path":"antara/api/rogue","closestElementReference":"pending"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-8"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-8"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=ROGUE cclib pending 17\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"./komodo-cli -ac_name=ROGUE cclib pending 17\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"name\": \"rogue\",\n \"method\": \"pending\",\n \"pending\": [\n \"19de2b0f2562ae775ef213d1e396bc741ccc4f32bac32b36e8ee5da25e451801\",\n \"ff5139cfcb47366674f52c550cfb9c11eb298afa1479ce9924d8bac2a407d701\",\n \"8f3e6104ee324bc6a60430ef9485c682ee890cdb0660e9a747599531fecea203\",\n ...\n ...\n ...\n \"ff9d5e111caaa0e84666ce6e0fda66e93e4fb13ca2dd0debbdc82e663b36d9fc\"\n ],\n \"numpending\": 175\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"{\n \"result\": \"success\",\n \"name\": \"rogue\",\n \"method\": \"pending\",\n \"pending\": [\n \"19de2b0f2562ae775ef213d1e396bc741ccc4f32bac32b36e8ee5da25e451801\",\n \"ff5139cfcb47366674f52c550cfb9c11eb298afa1479ce9924d8bac2a407d701\",\n \"8f3e6104ee324bc6a60430ef9485c682ee890cdb0660e9a747599531fecea203\",\n ...\n ...\n ...\n \"ff9d5e111caaa0e84666ce6e0fda66e93e4fb13ca2dd0debbdc82e663b36d9fc\"\n ],\n \"numpending\": 175\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-8"},{"text":"playerinfo","tagName":"h2","path":"antara/api/rogue","closestElementReference":"playerinfo"},{"text":"cclib playerinfo 17 '[\"playertxid\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"playerinfo"},{"text":"cclib playerinfo 17 '[\"playertxid\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"playerinfo"},{"text":"The playerinfo method displays information about the currently active character.","tagName":"p","path":"antara/api/rogue","closestElementReference":"playerinfo"},{"text":"playerinfo","tagName":"code","path":"antara/api/rogue","closestElementReference":"playerinfo"},{"text":"Tips on Finding Character Information","tagName":"h5","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"There are occasions where the developer may wish to start with the tokentxid of a character(s) and from there find the most up-to-date playertxid .","tagName":"p","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"tokentxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"The following is one solution:","tagName":"p","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"If necessary, obtain a list of all tokens on the Smart Chain via the tokenlist method.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"tokens","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"tokenlist","tagName":"a","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"For each item in the response, execute an iterative function that executes the playerinfo method on the individual token . \n \n If the method responds with an error, this means that the supplied token does not represent a character. Rather, it represents another on-chain asset, and therefore the token can be ignored. \n \n","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playerinfo","tagName":"a","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"token","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"\n If the method responds with an error, this means that the supplied token does not represent a character. Rather, it represents another on-chain asset, and therefore the token can be ignored. \n","tagName":"ul","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"If the method responds with an error, this means that the supplied token does not represent a character. Rather, it represents another on-chain asset, and therefore the token can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"token","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"If the method responds with an error, this means that the supplied token does not represent a character. Rather, it represents another on-chain asset, and therefore the token can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"token","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"For each response from the playerinfo method check two elements: whether the data contains a batontxid ; whether the character is alive. \n \n If there is a batontxid , the playertxid has been used in a game and is no longer valid. Therefore, this playertxid can be ignored. \n Likewise, if the character is no longer alive, it can be ignored. \n \n","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playerinfo","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"batontxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"\n If there is a batontxid , the playertxid has been used in a game and is no longer valid. Therefore, this playertxid can be ignored. \n Likewise, if the character is no longer alive, it can be ignored. \n","tagName":"ul","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"If there is a batontxid , the playertxid has been used in a game and is no longer valid. Therefore, this playertxid can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"batontxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"Likewise, if the character is no longer alive, it can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"If there is a batontxid , the playertxid has been used in a game and is no longer valid. Therefore, this playertxid can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"batontxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"Likewise, if the character is no longer alive, it can be ignored.","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"Each token that has a valid response, no batontxid , and represents a living character can be considered the correct tokentxid for the discovered playertxid .","tagName":"li","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"token","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"batontxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"tokentxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"tips-on-finding-character-information"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-9"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-9"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=ROGUE cclib playerinfo 17 '[\"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"./komodo-cli -ac_name=ROGUE cclib playerinfo 17 '[\"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"\"{\n \"result\": \"success\",\n \"name\": \"rogue\",\n \"method\": \"playerinfo\",\n \"player\": {\n \"playertxid\": \"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\",\n \"tokenid\": \"929ff2101e974111499f37f2af86280f403f9e704c070a9225398aa5ce83c1cf\",\n \"data\": \"580000000c0000001000000001000000070000000700000001000000000000003a0000000000000003000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff0100000002000000010000000000000000000000120000000000000031783100000000003178310000000000290000000200000026000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002100000000000000010000000a00000000000000000000000b0000001000000000000000307830000000000030783000000000002100000000000000010000000200000000000000000000000b000000100000000000000030783000000000003078300000000000\",\n \"pack\": [\n \"3 rations of food\",\n \"+1 ring mail [protection 4]\",\n \"A +1,+1 mace\",\n \"A +1,+0 short bow\",\n \"38 +0,+0 arrows\",\n \"A potion of haste self(topaz)\",\n \"A potion of poison(amber)\"\n ],\n \"packsize\": 7,\n \"hitpoints\": 12,\n \"strength\": 16,\n \"level\": 1,\n \"experience\": 7,\n \"dungeonlevel\": 1,\n \"chain\": \"ROGUE\",\n \"pname\": \"fred\"\n }\n}\"\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"\"{\n \"result\": \"success\",\n \"name\": \"rogue\",\n \"method\": \"playerinfo\",\n \"player\": {\n \"playertxid\": \"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\",\n \"tokenid\": \"929ff2101e974111499f37f2af86280f403f9e704c070a9225398aa5ce83c1cf\",\n \"data\": \"580000000c0000001000000001000000070000000700000001000000000000003a0000000000000003000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff0100000002000000010000000000000000000000120000000000000031783100000000003178310000000000290000000200000026000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002100000000000000010000000a00000000000000000000000b0000001000000000000000307830000000000030783000000000002100000000000000010000000200000000000000000000000b000000100000000000000030783000000000003078300000000000\",\n \"pack\": [\n \"3 rations of food\",\n \"+1 ring mail [protection 4]\",\n \"A +1,+1 mace\",\n \"A +1,+0 short bow\",\n \"38 +0,+0 arrows\",\n \"A potion of haste self(topaz)\",\n \"A potion of poison(amber)\"\n ],\n \"packsize\": 7,\n \"hitpoints\": 12,\n \"strength\": 16,\n \"level\": 1,\n \"experience\": 7,\n \"dungeonlevel\": 1,\n \"chain\": \"ROGUE\",\n \"pname\": \"fred\"\n }\n}\"\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-9"},{"text":"players","tagName":"h2","path":"antara/api/rogue","closestElementReference":"players"},{"text":"cclib players 17","tagName":"p","path":"antara/api/rogue","closestElementReference":"players"},{"text":"cclib players 17","tagName":"strong","path":"antara/api/rogue","closestElementReference":"players"},{"text":"The players method displays a list of all playertxid transaction ids held in the user's current pubkey .","tagName":"p","path":"antara/api/rogue","closestElementReference":"players"},{"text":"players","tagName":"code","path":"antara/api/rogue","closestElementReference":"players"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"players"},{"text":"pubkey","tagName":"code","path":"antara/api/rogue","closestElementReference":"players"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-10"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-10"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=ROGUE cclib players 17\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"./komodo-cli -ac_name=ROGUE cclib players 17\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"players\",\n \"playerdata\": [\n \"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\",\n \"1a705d1e900ac760afd5bb24e0d6c40ce6bf10f42d3344559ad18ddfa6ee08bc\",\n \"5ebd33eb9d62d977bf8d600d84fec1a6a6046a7a171bff64fa9548f05c8caddd\"\n ],\n \"numplayerdata\": 3\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"players\",\n \"playerdata\": [\n \"cf2ae0997e24f100aa9da3cda747105e3134a102da69630d6d1683a6f0f7b0ab\",\n \"1a705d1e900ac760afd5bb24e0d6c40ce6bf10f42d3344559ad18ddfa6ee08bc\",\n \"5ebd33eb9d62d977bf8d600d84fec1a6a6046a7a171bff64fa9548f05c8caddd\"\n ],\n \"numplayerdata\": 3\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-10"},{"text":"register","tagName":"h2","path":"antara/api/rogue","closestElementReference":"register"},{"text":"cclib register 17 '[\"gametxid\"(,\"playertxid\")]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"register"},{"text":"cclib register 17 '[\"gametxid\"(,\"playertxid\")]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"register"},{"text":"The register method registers your character for a game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"register"},{"text":"register","tagName":"code","path":"antara/api/rogue","closestElementReference":"register"},{"text":"The optional playertxid allows the user to reuse a character that survived a previous game.","tagName":"p","path":"antara/api/rogue","closestElementReference":"register"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"register"},{"text":"For the playertxid argument to properly call an existing character, the user's daemon must be set to the pubkey that owns the playertxid . This can be accomplished either through the pubkey launch parameter or through the setpubkey method.","tagName":"p","path":"antara/api/rogue","closestElementReference":"register"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"register"},{"text":"pubkey","tagName":"code","path":"antara/api/rogue","closestElementReference":"register"},{"text":"playertxid","tagName":"code","path":"antara/api/rogue","closestElementReference":"register"},{"text":"pubkey","tagName":"a","path":"antara/api/rogue","closestElementReference":"register"},{"text":"setpubkey","tagName":"a","path":"antara/api/rogue","closestElementReference":"register"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-11"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-11"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"Command (registration without player):","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"b9ab1c3b9a1dceea75d0d87b927a03d8519743d4d64b9be061c40fdd5e4f5026\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f890126504f5edd0fc461e09b4bd6d4439751d8037a927bd8d075eace1d9a3b1cabb901000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140a1f23cbe9d8e7a20306df4c86da47b4ae3b59556742b7fcdf68f6f3549b02d734879b94fd73f5847914d448e4d78e48d415bffe55081a491e242ec6256f02638a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff03301b0f0000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc0000000000000000446a42115226504f5edd0fc461e09b4bd6d4439751d8037a927bd8d075eace1d9a3b1cabb9000000000000000000000000000000000000000000000000000000000000000000000000bd4c00000000000000000000000000\",\n \"txid\": \"855802e2e83d0d4632518959e4ff9e840ed9838f51bd6b3a80dc27b8ea7900ba\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f890126504f5edd0fc461e09b4bd6d4439751d8037a927bd8d075eace1d9a3b1cabb901000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140a1f23cbe9d8e7a20306df4c86da47b4ae3b59556742b7fcdf68f6f3549b02d734879b94fd73f5847914d448e4d78e48d415bffe55081a491e242ec6256f02638a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff03301b0f0000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc0000000000000000446a42115226504f5edd0fc461e09b4bd6d4439751d8037a927bd8d075eace1d9a3b1cabb9000000000000000000000000000000000000000000000000000000000000000000000000bd4c00000000000000000000000000\",\n \"txid\": \"855802e2e83d0d4632518959e4ff9e840ed9838f51bd6b3a80dc27b8ea7900ba\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-11"},{"text":"setname","tagName":"h2","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"cclib setname 17 '[\"pname\"]'","tagName":"p","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"cclib setname 17 '[\"pname\"]'","tagName":"strong","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"The setname method sets the name of a character.","tagName":"p","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"setname","tagName":"code","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"A character may receive a name at any point, but the character's name may be set only once. It is not possible to rename a character.","tagName":"p","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"name","tagName":"code","path":"antara/api/rogue","closestElementReference":"setname"},{"text":"Arguments","tagName":"h4","path":"antara/api/rogue","closestElementReference":"arguments-12"},{"text":"Response","tagName":"h4","path":"antara/api/rogue","closestElementReference":"response-12"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/rogue","closestElementReference":"examples-12"},{"text":"Command:","tagName":"p","path":"antara/api/rogue","closestElementReference":"examples-12"},{"text":"./komodo-cli -ac_name=ROGUE cclib setname 17 '[\"SuperMegaWarrior\"]'\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-12"},{"text":"./komodo-cli -ac_name=ROGUE cclib setname 17 '[\"SuperMegaWarrior\"]'\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-12"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"setname\",\n \"result\": \"success\",\n \"pname\": \"SuperMegaWarrior\"\n}\n","tagName":"pre","path":"antara/api/rogue","closestElementReference":"examples-12"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"setname\",\n \"result\": \"success\",\n \"pname\": \"SuperMegaWarrior\"\n}\n","tagName":"code","path":"antara/api/rogue","closestElementReference":"examples-12"}],"antara/api/sudoku":[{"text":"Sudoku","tagName":"h1","path":"antara/api/sudoku","closestElementReference":"sudoku"},{"text":"Introduction","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"The Sudoku Antara Module serves as a proof-of-concept to demonstrate Antara's capabilities as a blockchain-based gaming technology.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"The Sudoku Module is based on the classic game, Sudoku. To learn more about how Sudoku is played, read the associated Wikipedia article:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"Link to Sudoku Wikipedia article","tagName":"p","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"Link to Sudoku Wikipedia article","tagName":"a","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"The procedures to launch and finish a game require the execution of various Remote Procedure Calls (RPCs). By design, the Sudoku Module assumes the user relies on the associated Sudoku GUI software. The GUI is required because the UNIX timestamp for each gameplay event must pass trough the Sudoku RPC captcha protection, as this deters bots.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"The following installation and walkthrough tutorials can assist the reader in setting up and playing the Sudoku game. For more information, please reach out to our community on Discord . The #cc-sudoku channel is available for questions and assistance.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"Discord","tagName":"a","path":"antara/api/sudoku","closestElementReference":"introduction"},{"text":"Sudoku Module Flow","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"Create a puzzle using the gen method \n \n commit the amount of SUDOKU coins that will serve as a bounty for the first node to complete this puzzle \n \n","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"gen","tagName":"a","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"\n commit the amount of SUDOKU coins that will serve as a bounty for the first node to complete this puzzle \n","tagName":"ul","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"commit the amount of SUDOKU coins that will serve as a bounty for the first node to complete this puzzle","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"SUDOKU","tagName":"code","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"commit the amount of SUDOKU coins that will serve as a bounty for the first node to complete this puzzle","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"SUDOKU","tagName":"code","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"Find a puzzle to solve using the pending method","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"pending","tagName":"a","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"Gather additional information about any puzzle using the txidinfo method","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"txidinfo","tagName":"a","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"Propose a solution for a puzzle using the solution method","tagName":"li","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"solution","tagName":"a","path":"antara/api/sudoku","closestElementReference":"sudoku-module-flow"},{"text":"Installation","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"installation"},{"text":"Requirements","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"Sudoku is currently playable on Linux machines.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"OSX and Windows compatible bundles will be ready as soon as possible. Please ask on our #cc-sudoku channel on Discord for updates.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"Discord","tagName":"a","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"The Komodo Sudoku software bundle (also called \"Komodoku\") for Ubunutu Linux comes complete with all necessary software. To download the bundle, please visit the link below:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"Link to \"Komodoku\" Software Bundle","tagName":"p","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"Link to \"Komodoku\" Software Bundle","tagName":"a","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"To manually compile the software, follow the instructions below.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"requirements"},{"text":"Install Dependencies","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"install-dependencies"},{"text":"Linux","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"linux"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"linux"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"linux"},{"text":"Clone & Compile Komodo","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"clone-and-compile-komodo"},{"text":"Linux","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\nmake clean\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\nmake clean\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"Wait for the build process to finish, and then continue with the following commands:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"cd src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake -j$(nproc)\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"cd src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake -j$(nproc)\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"linux-2"},{"text":"Update komodod","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"komodod","tagName":"code","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"cd ~/komodo\ngit checkout FSM\ngit pull\nmake clean\n./zcutil/build.sh -j$(nproc)\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"cd ~/komodo\ngit checkout FSM\ngit pull\nmake clean\n./zcutil/build.sh -j$(nproc)\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"Wait for the build process to finish, and then continue with the following commands:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"cd src/cc\n./makecclib\ncd ../..\nmake -j$(nproc)\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"cd src/cc\n./makecclib\ncd ../..\nmake -j$(nproc)\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"komodod"},{"text":"Set pubkey value","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"value"},{"text":"pubkey","tagName":"code","path":"antara/api/sudoku","closestElementReference":"value"},{"text":"Ensure the working directory is correct:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"value"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"value"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"value"},{"text":"Step 1 - Start the chain","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"step-1-start-the-chain"},{"text":"Start the SUDOKU chain with the following command in a terminal window and wait for the daemon to sync. Keep this terminal open and the daemon running for the duration of your Sudoku gameplay.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-1-start-the-chain"},{"text":"./komodod -ac_name=SUDOKU -ac_supply=1000000 -addnode=5.9.102.210 -gen -genproclimit=1 -ac_cclib=sudoku -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60000 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc &\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-1-start-the-chain"},{"text":"./komodod -ac_name=SUDOKU -ac_supply=1000000 -addnode=5.9.102.210 -gen -genproclimit=1 -ac_cclib=sudoku -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60000 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc &\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-1-start-the-chain"},{"text":"Step 2","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"step-2"},{"text":"Open a new terminal. This terminal can be used to execute all remaining installation and gameplay commands.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-2"},{"text":"./komodo-cli -ac_name=SUDOKU getnewaddress\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-2"},{"text":"./komodo-cli -ac_name=SUDOKU getnewaddress\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-2"},{"text":"The returned value is a SUDOKU address. We need to find the associated pubkey for this address.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-2"},{"text":"Step 3","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"Use the validateaddress method with the address.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"validateaddress","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"./komodo-cli -ac_name=SUDOKU validateaddress insert_address_here\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"./komodo-cli -ac_name=SUDOKU validateaddress insert_address_here\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"The validateaddress method will return information similar to the following:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"validateaddress","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"scriptPubKey\": \"76a91498b5caa42ffe9868844c51ba6e085e5e7e92fc2588ac\",\n \"segid\": 13,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"scriptPubKey\": \"76a91498b5caa42ffe9868844c51ba6e085e5e7e92fc2588ac\",\n \"segid\": 13,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"Look for the pubkey value:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"pubkey","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"\"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"\"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"This is the pubkey for our address.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"pubkey","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-3"},{"text":"Step 4","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"Set the pubkey for the SUDOKU Smart Chain.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"./komodo-cli -ac_name=SUDOKU setpubkey 02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"./komodo-cli -ac_name=SUDOKU setpubkey 02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"{\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"ismine\": true,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\"\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"{\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"ismine\": true,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\"\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"The pubkey is now set.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"To reuse this pubkey in the future, include the pubkey as a pubkey launch parameter.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"pubkey","tagName":"a","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"For example:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"./komodod -ac_name=SUDOKU -ac_supply=1000000 -pubkey=02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2 -addnode=5.9.102.210 -gen -genproclimit=1 -ac_cclib=sudoku -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60000 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc &\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"./komodod -ac_name=SUDOKU -ac_supply=1000000 -pubkey=02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2 -addnode=5.9.102.210 -gen -genproclimit=1 -ac_cclib=sudoku -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60000 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc &\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"step-4"},{"text":"Install Sudoku Graphical User Interface (GUI)","tagName":"h3","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"The Komodo team offers an unofficial graphical user interface (GUI) to assist the user with Sudoku-puzzle solving visualization. By design, the Sudoku module assumes the user relies on the associated Sudoku GUI software. The GUI is required because the UNIX timestamp for each gameplay event must pass trough the Sudoku RPC captcha protection, as this deters bots.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"Download the portable GUI bundle from the following link:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"Link to GUI Software Bundle","tagName":"p","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"Link to GUI Software Bundle","tagName":"a","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"To manually compile the GUI from source code, follow the steps below. Please note that the GUI is based on python2 .","tagName":"p","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"python2","tagName":"code","path":"antara/api/sudoku","closestElementReference":"install-sudoku-graphical-user-interface-gui"},{"text":"Linux","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"linux-3"},{"text":"Install Dependencies","tagName":"h5","path":"antara/api/sudoku","closestElementReference":"install-dependencies-2"},{"text":"sudo apt-get install python-pygame libgnutls28-dev\npip install requests wheel slick-bitcoinrpc pygame\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"install-dependencies-2"},{"text":"sudo apt-get install python-pygame libgnutls28-dev\npip install requests wheel slick-bitcoinrpc pygame\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"install-dependencies-2"},{"text":"Install the GUI","tagName":"h5","path":"antara/api/sudoku","closestElementReference":"install-the-gui"},{"text":"git clone https://github.com/tonymorony/Komodoku\ncd Komodoku\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"install-the-gui"},{"text":"git clone https://github.com/tonymorony/Komodoku\ncd Komodoku\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"install-the-gui"},{"text":"Start Sudoku GUI","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"start-sudoku-gui"},{"text":"python Sudoku.py\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"start-sudoku-gui"},{"text":"python Sudoku.py\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"start-sudoku-gui"},{"text":"gen","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"cclib gen 17","tagName":"p","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"cclib gen 17","tagName":"strong","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"The generate method creates a new Sudoku puzzle.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/sudoku","closestElementReference":"gen"},{"text":"Arguments","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"arguments"},{"text":"Response","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"response"},{"text":"Daemon stdout :","tagName":"p","path":"antara/api/sudoku","closestElementReference":"response"},{"text":"stdout","tagName":"code","path":"antara/api/sudoku","closestElementReference":"response"},{"text":"json output:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=SUDOKU cclib gen 17\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=SUDOKU cclib gen 17\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"-----------------------------------\n| 2 : 5 : 7 | 1 : 3 : 6 | 9 : 8 : 4 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 8 : 9 : 1 | 4 : 5 : 7 | 3 : 2 : 6 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 3 : 6 : 4 | 9 : 2 : 8 | 7 : 1 : 5 |\n|-----------+-----------+-----------|\n| 6 : 8 : 9 | 5 : 7 : 4 | 2 : 3 : 1 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 4 : 2 : 3 | 6 : 8 : 1 | 5 : 9 : 7 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 1 : 7 : 5 | 2 : 9 : 3 | 6 : 4 : 8 |\n|-----------+-----------+-----------|\n| 7 : 3 : 6 | 8 : 1 : 9 | 4 : 5 : 2 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 9 : 1 : 2 | 7 : 4 : 5 | 8 : 6 : 3 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 5 : 4 : 8 | 3 : 6 : 2 | 1 : 7 : 9 |\n-----------------------------------\n-----------------------------------\n| 2 : 5 : | 1 : : | : 8 : 4 |\n|- - - - - -|- - - - - -|- - - - - -|\n| : 9 : | : 5 : | 3 : 2 : |\n|- - - - - -|- - - - - -|- - - - - -|\n| 3 : : 4 | : 2 : 8 | : 1 : |\n|-----------+-----------+-----------|\n| : : 9 | : : | : : 1 |\n|- - - - - -|- - - - - -|- - - - - -|\n| : 2 : | 6 : : | : : 7 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 1 : : | : : 3 | : 4 : |\n|-----------+-----------+-----------|\n| : : | : 1 : | : : |\n|- - - - - -|- - - - - -|- - - - - -|\n| : : | 7 : : | : : |\n|- - - - - -|- - - - - -|- - - - - -|\n| 5 : : | : : 2 | : : |\n-----------------------------------\n*** 26 numbers left ***\n257136984\n891457326\n364928715\n689574231\n423681597\n175293648\n736819452\n912745863\n548362179\nsolve: 250100084090050320304028010009000001020600007100003040000010000000700000500002000\n1:1 score: 898 257136984891457326364928715689574231423681597175293648736819452912745863548362179 26\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"-----------------------------------\n| 2 : 5 : 7 | 1 : 3 : 6 | 9 : 8 : 4 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 8 : 9 : 1 | 4 : 5 : 7 | 3 : 2 : 6 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 3 : 6 : 4 | 9 : 2 : 8 | 7 : 1 : 5 |\n|-----------+-----------+-----------|\n| 6 : 8 : 9 | 5 : 7 : 4 | 2 : 3 : 1 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 4 : 2 : 3 | 6 : 8 : 1 | 5 : 9 : 7 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 1 : 7 : 5 | 2 : 9 : 3 | 6 : 4 : 8 |\n|-----------+-----------+-----------|\n| 7 : 3 : 6 | 8 : 1 : 9 | 4 : 5 : 2 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 9 : 1 : 2 | 7 : 4 : 5 | 8 : 6 : 3 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 5 : 4 : 8 | 3 : 6 : 2 | 1 : 7 : 9 |\n-----------------------------------\n-----------------------------------\n| 2 : 5 : | 1 : : | : 8 : 4 |\n|- - - - - -|- - - - - -|- - - - - -|\n| : 9 : | : 5 : | 3 : 2 : |\n|- - - - - -|- - - - - -|- - - - - -|\n| 3 : : 4 | : 2 : 8 | : 1 : |\n|-----------+-----------+-----------|\n| : : 9 | : : | : : 1 |\n|- - - - - -|- - - - - -|- - - - - -|\n| : 2 : | 6 : : | : : 7 |\n|- - - - - -|- - - - - -|- - - - - -|\n| 1 : : | : : 3 | : 4 : |\n|-----------+-----------+-----------|\n| : : | : 1 : | : : |\n|- - - - - -|- - - - - -|- - - - - -|\n| : : | 7 : : | : : |\n|- - - - - -|- - - - - -|- - - - - -|\n| 5 : : | : : 2 | : : |\n-----------------------------------\n*** 26 numbers left ***\n257136984\n891457326\n364928715\n689574231\n423681597\n175293648\n736819452\n912745863\n548362179\nsolve: 250100084090050320304028010009000001020600007100003040000010000000700000500002000\n1:1 score: 898 257136984891457326364928715689574231423681597175293648736819452912745863548362179 26\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"name\": \"sudoku\",\n \"method\": \"gen\",\n \"srand\": -678890453,\n \"amount\": 898.0,\n \"hex\": \"0400008085202f890159a377ff60f9c0173b2de965fa902608490c339626642e5bcfeea4fd13facbf4010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140460886e61f55924af187b34ed1bffe114bc4af194ab57c9e50301ea9c134135d00dc34c44a42b1ba54390da0b8c2637239a008b6b11fee535be5aecfd73e10b9a100af03800111a10001ffffffff041027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc00427fe814000000302ea22c802033c7f0d5d7327fbe86a1c94d56a6acbc59b2d24e00ed83864bfbf9e9dab41eed8103120c008203000401cc48f28f6002000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc0000000000000000576a4c541147510205000100000008040009000005000302000300040002080001000000090000000000010002000600000000070100000000030004000000000001000000000000000700000000000500000000020000000000000067e300000000000000000000000000\",\n \"txid\": \"3b00b64e5892987ea2afc1c66384bf304ab2f8ca90d98ebef1d7784ca7347645\"\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"name\": \"sudoku\",\n \"method\": \"gen\",\n \"srand\": -678890453,\n \"amount\": 898.0,\n \"hex\": \"0400008085202f890159a377ff60f9c0173b2de965fa902608490c339626642e5bcfeea4fd13facbf4010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140460886e61f55924af187b34ed1bffe114bc4af194ab57c9e50301ea9c134135d00dc34c44a42b1ba54390da0b8c2637239a008b6b11fee535be5aecfd73e10b9a100af03800111a10001ffffffff041027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc00427fe814000000302ea22c802033c7f0d5d7327fbe86a1c94d56a6acbc59b2d24e00ed83864bfbf9e9dab41eed8103120c008203000401cc48f28f6002000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc0000000000000000576a4c541147510205000100000008040009000005000302000300040002080001000000090000000000010002000600000000070100000000030004000000000001000000000000000700000000000500000000020000000000000067e300000000000000000000000000\",\n \"txid\": \"3b00b64e5892987ea2afc1c66384bf304ab2f8ca90d98ebef1d7784ca7347645\"\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples"},{"text":"pending","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"pending"},{"text":"cclib pending 17","tagName":"p","path":"antara/api/sudoku","closestElementReference":"pending"},{"text":"cclib pending 17","tagName":"strong","path":"antara/api/sudoku","closestElementReference":"pending"},{"text":"The pending method returns a complete list of all unsolved puzzles on the Smart Chain.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"pending"},{"text":"pending","tagName":"code","path":"antara/api/sudoku","closestElementReference":"pending"},{"text":"Arguments","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=SUDOKU cclib pending 17\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=SUDOKU cclib pending 17\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"{\n \"result\":\"success\",\n \"name\":\"sudoku\",\n \"method\":\"pending\",\n \"pending\":[\n {\n \"height\":665,\n \"amount\":10000.00000000,\n \"txid\":\"2944aa188737301bb863ea926dd9cca3ec55331c56339dba9ed0ec7fb09a1600\"\n },\n\n ... (omitted for brevity) ...\n\n {\n \"height\":766,\n \"amount\":10.00000000,\n \"txid\":\"0aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff\"\n }\n ],\n \"numpending\":3290,\n \"total\":3504801.00000000\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"{\n \"result\":\"success\",\n \"name\":\"sudoku\",\n \"method\":\"pending\",\n \"pending\":[\n {\n \"height\":665,\n \"amount\":10000.00000000,\n \"txid\":\"2944aa188737301bb863ea926dd9cca3ec55331c56339dba9ed0ec7fb09a1600\"\n },\n\n ... (omitted for brevity) ...\n\n {\n \"height\":766,\n \"amount\":10.00000000,\n \"txid\":\"0aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff\"\n }\n ],\n \"numpending\":3290,\n \"total\":3504801.00000000\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-2"},{"text":"solution","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"cclib solution 17 '[\"puzzle_txid\",\"solution\",t0,t1,t2,...]'","tagName":"p","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"cclib solution 17 '[\"puzzle_txid\",\"solution\",t0,t1,t2,...]'","tagName":"strong","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"The solution method submits the proposed solution to the blockchain for the indicated puzzle_txid puzzle.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"solution","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"solution","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"puzzle_txid","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"The t0... values represent the timestamp at which the solution was found for each number. Pre-filled cells have an automated timestamp of tX=0 , where X is the index of the puzzle number.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"t0...","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"tX=0","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"X","tagName":"code","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"The method returns a hex value which must then be broadcast using the sendrawtransaction method.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/sudoku","closestElementReference":"solution"},{"text":"Arguments","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"response-3"},{"text":"json output:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"response-3"},{"text":"Daemon stdout :","tagName":"p","path":"antara/api/sudoku","closestElementReference":"response-3"},{"text":"stdout","tagName":"code","path":"antara/api/sudoku","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ROGUE cclib solution 17 [%22b5d7e2b50ace182e0ab7b5a18875818fa8e56b937689376bc5bdc8727b78ad52%22,%22157392864829461357436587129795634218381279645642815973978146532563728491214953786%22,1552297383,1552297384,1552297386,0,1552297387,0,0,1552297389,1552297389,1552297391,0,1552297392,1552297394,1552297396,1552297396,1552297397,1552297398,1552297399,1552297401,1552297402,1552297403,1552297404,1552297405,1552297407,1552297408,1552297409,1552297410,1552297412,1552297413,0,1552297415,1552297416,1552297417,0,0,1552297419,0,1552297422,1552297423,1552297424,1552297429,0,1552297431,0,1552297432,1552297435,1552297436,1552297437,1552297439,0,1552297440,1552297441,1552297443,0,1552297445,0,0,1552297446,1552297447,0,1552297449,0,1552297451,0,1552297453,0,1552297455,0,0,0,1552297457,0,1552297458,1552297459,0,0,1552297460,0,1552297462,1552297462,0]\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=ROGUE cclib solution 17 [%22b5d7e2b50ace182e0ab7b5a18875818fa8e56b937689376bc5bdc8727b78ad52%22,%22157392864829461357436587129795634218381279645642815973978146532563728491214953786%22,1552297383,1552297384,1552297386,0,1552297387,0,0,1552297389,1552297389,1552297391,0,1552297392,1552297394,1552297396,1552297396,1552297397,1552297398,1552297399,1552297401,1552297402,1552297403,1552297404,1552297405,1552297407,1552297408,1552297409,1552297410,1552297412,1552297413,0,1552297415,1552297416,1552297417,0,0,1552297419,0,1552297422,1552297423,1552297424,1552297429,0,1552297431,0,1552297432,1552297435,1552297436,1552297437,1552297439,0,1552297440,1552297441,1552297443,0,1552297445,0,0,1552297446,1552297447,0,1552297449,0,1552297451,0,1552297453,0,1552297455,0,0,0,1552297457,0,1552297458,1552297459,0,0,1552297460,0,1552297462,1552297462,0]\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"{\n 'name':'sudok',\n 'hex':'0400008085202f890252ad787b72c8bdc56b378976936be5a88f817588a1b5b70a2e18ce0ab5e2d7b5000000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140f6e597c2b4454dd6c2203744bcdf133e98b4330d0df27933d6db8fb5ccc443d919a04d072b35f6660ca80e647485b8c7f5bee08a56e47e636db67232ebf36fbfa100af03800111a10001ffffffff52ad787b72c8bdc56b378976936be5a88f817588a1b5b70a2e18ce0ab5e2d7b5010000007b4c79a276a072a26ba067a5658021027e0bf5ddd579d858b7997a60f3cd91c1cd99ed78df1753464cb12685251d5bf181401be4b2e389756a56e544e53cc9755ab737d1cd1cec180c2f5993b0a49d3787686d32dbb0364aaf1a8bd17c49e8ede3c4ea05d4705c33b65f16df131ef2a46f16a100af03800111a10001ffffffff0200e40b5402000000232102c4d7a2001384c7c2b95eb3927f6b1cec0c6fc29c35d9b17dc7a012d02203a17cac0000000000000000fd9f016a4d9b01115351313537333932383634383239343631333537343336353837313239373935363334323138333831323739363435363432383135393733393738313436353332353633373238343931323134393533373836fd44015c862da75c862da85c862daa000000005c862dab00000000000000005c862dad5c862dad5c862daf000000005c862db05c862db25c862db45c862db45c862db55c862db65c862db75c862db95c862dba5c862dbb5c862dbc5c862dbd5c862dbf5c862dc05c862dc15c862dc25c862dc45c862dc5000000005c862dc75c862dc85c862dc900000000000000005c862dcb000000005c862dce5c862dcf5c862dd05c862dd5000000005c862dd7000000005c862dd85c862ddb5c862ddc5c862ddd5c862ddf000000005c862de05c862de15c862de3000000005c862de500000000000000005c862de65c862de7000000005c862e5a000000005c862deb000000005c862ded000000005c862def0000000000000000000000005c862df1000000005c862df25c862df300000000000000005c862df4000000005c862df65c862df60000000000000000ade400000000000000000000000000',\n 'txid':'b5d7e2b50ace182e0ab7b5a18875818fa8e56b937689376bc5bdc8727b78ad52',\n 'amount':100.0,\n 'result':'success',\n 'sudokuaddr':'RWXsjC1zc7zGqsxa2YdL9zS7G3PwN5xc9m',\n 'method':'solution'\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"{\n 'name':'sudok',\n 'hex':'0400008085202f890252ad787b72c8bdc56b378976936be5a88f817588a1b5b70a2e18ce0ab5e2d7b5000000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140f6e597c2b4454dd6c2203744bcdf133e98b4330d0df27933d6db8fb5ccc443d919a04d072b35f6660ca80e647485b8c7f5bee08a56e47e636db67232ebf36fbfa100af03800111a10001ffffffff52ad787b72c8bdc56b378976936be5a88f817588a1b5b70a2e18ce0ab5e2d7b5010000007b4c79a276a072a26ba067a5658021027e0bf5ddd579d858b7997a60f3cd91c1cd99ed78df1753464cb12685251d5bf181401be4b2e389756a56e544e53cc9755ab737d1cd1cec180c2f5993b0a49d3787686d32dbb0364aaf1a8bd17c49e8ede3c4ea05d4705c33b65f16df131ef2a46f16a100af03800111a10001ffffffff0200e40b5402000000232102c4d7a2001384c7c2b95eb3927f6b1cec0c6fc29c35d9b17dc7a012d02203a17cac0000000000000000fd9f016a4d9b01115351313537333932383634383239343631333537343336353837313239373935363334323138333831323739363435363432383135393733393738313436353332353633373238343931323134393533373836fd44015c862da75c862da85c862daa000000005c862dab00000000000000005c862dad5c862dad5c862daf000000005c862db05c862db25c862db45c862db45c862db55c862db65c862db75c862db95c862dba5c862dbb5c862dbc5c862dbd5c862dbf5c862dc05c862dc15c862dc25c862dc45c862dc5000000005c862dc75c862dc85c862dc900000000000000005c862dcb000000005c862dce5c862dcf5c862dd05c862dd5000000005c862dd7000000005c862dd85c862ddb5c862ddc5c862ddd5c862ddf000000005c862de05c862de15c862de3000000005c862de500000000000000005c862de65c862de7000000005c862e5a000000005c862deb000000005c862ded000000005c862def0000000000000000000000005c862df1000000005c862df25c862df300000000000000005c862df4000000005c862df65c862df60000000000000000ade400000000000000000000000000',\n 'txid':'b5d7e2b50ace182e0ab7b5a18875818fa8e56b937689376bc5bdc8727b78ad52',\n 'amount':100.0,\n 'result':'success',\n 'sudokuaddr':'RWXsjC1zc7zGqsxa2YdL9zS7G3PwN5xc9m',\n 'method':'solution'\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"SOLVED ht.58521 100.00000000 4c3fb21e60ef0af863da43c5ebbdf38651f080a3fff1c04855fc42857479f9e5\n157392864829461357436587129795634218381279645642815973978146532563728491214953786 score.55 ---3-28---2------------------5---21-3----9-4-----1---3-78--6-3-5-3-284-1--49-3--6\n1 2 1 2 0 2 1 2 2 0 1 1 1 2 1 1 1 1 2 1 1 1 2 1 2 1 1 2 3 1 1 5 2 1 3 1 1 2 1 1 2 2 1 1 4 2 2 2 1 1 1 2 0 100 solvetime.179 n.55 avetime.3 variance.177 vs ave2 9\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"SOLVED ht.58521 100.00000000 4c3fb21e60ef0af863da43c5ebbdf38651f080a3fff1c04855fc42857479f9e5\n157392864829461357436587129795634218381279645642815973978146532563728491214953786 score.55 ---3-28---2------------------5---21-3----9-4-----1---3-78--6-3-5-3-284-1--49-3--6\n1 2 1 2 0 2 1 2 2 0 1 1 1 2 1 1 1 1 2 1 1 1 2 1 2 1 1 2 3 1 1 5 2 1 3 1 1 2 1 1 2 2 1 1 4 2 2 2 1 1 1 2 0 100 solvetime.179 n.55 avetime.3 variance.177 vs ave2 9\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-3"},{"text":"txidinfo","tagName":"h2","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"cclib txidinfo 17 '[\"puzzle_txid\"]'","tagName":"p","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"cclib txidinfo 17 '[\"puzzle_txid\"]'","tagName":"strong","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"The txidinfo method returns information about the indicated puzzle_txid puzzle.","tagName":"p","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"txidinfo","tagName":"code","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"puzzle_txid","tagName":"code","path":"antara/api/sudoku","closestElementReference":"txidinfo"},{"text":"Arguments","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/sudoku","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/sudoku","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=SUDOKU cclib txidinfo 17 \\\"%220aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff%22\\\"\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=SUDOKU cclib txidinfo 17 \\\"%220aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff%22\\\"\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"0aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff\",\n \"result\": \"success\",\n \"height\": 766,\n \"sudokuaddr\": \"RAFVbQbZ5esSkktLQq9mdQWrvi7UBnzqwE\",\n \"amount\": 10.0,\n \"unsolved\": \"4--13--6---89--2--37-2--541--5-8-1-66---4-----1-7------8-------------3---------9-\",\n \"name\": \"sudoku\",\n \"method\": \"txidinfo\"\n}\n","tagName":"pre","path":"antara/api/sudoku","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"0aaa8fdc83aa9111b1f1d143ca7baf5730cd68c02f1422b3f8cf4186959db6ff\",\n \"result\": \"success\",\n \"height\": 766,\n \"sudokuaddr\": \"RAFVbQbZ5esSkktLQq9mdQWrvi7UBnzqwE\",\n \"amount\": 10.0,\n \"unsolved\": \"4--13--6---89--2--37-2--541--5-8-1-66---4-----1-7------8-------------3---------9-\",\n \"name\": \"sudoku\",\n \"method\": \"txidinfo\"\n}\n","tagName":"code","path":"antara/api/sudoku","closestElementReference":"examples-4"}],"antara/api/tokens":[{"text":"Tokens","tagName":"h1","path":"antara/api/tokens","closestElementReference":"tokens"},{"text":"Introduction","tagName":"h2","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"The Tokens Module enables support for the on-chain creation of colored coins, also called tokens. The created tokens are typically used with another module that supports operations on tokens. For example, the Assets Module provides buy/sell operations for tokens .","tagName":"p","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"Assets Module","tagName":"a","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"tokens","tagName":"code","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"Tokens can be generated on any chain where the ac_cc parameter is enabled.","tagName":"p","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"ac_cc","tagName":"a","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"The tokens module requires locking a proportional amount of the native coins. Each satoshi of the native coin is equal to one token within the total supply.","tagName":"p","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"tokens","tagName":"code","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"satoshi","tagName":"a","path":"antara/api/tokens","closestElementReference":"introduction"},{"text":"tokenaddress","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"tokenaddress (pubkey)","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"tokenaddress (pubkey)","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"The tokenaddress method returns information about a token address according to a specific pubkey . If no pubkey is provided, the pubkey used to launch the daemon is the default.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"tokenaddress","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenaddress"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenaddress 028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenaddress 028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"TokensCCAddress\": \"RAMvUfoyURBRxAdVeTMHxn3giJZCFWeha2\",\n \"TokensCCBalance\": 0.0,\n \"TokensNormalAddress\": \"RCNgAngYAdrfzujYyPgfbjCGNVQZzCgTad\",\n \"TokensNormalBalance\": 0.0,\n \"PubkeyCCaddress(Tokens)\": \"RDu9bgyqWmzbvrgUsqpArkuzRSjAtibxrk\",\n \"PubkeyCCbalance(Tokens)\": 0.0,\n \"myCCAddress(Tokens)\": \"RASCvtFq6DZ3yFknHNq8R8uQ7rnFaCqPZe\",\n \"myCCbalance(Tokens)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"{\n \"result\": \"success\",\n \"TokensCCAddress\": \"RAMvUfoyURBRxAdVeTMHxn3giJZCFWeha2\",\n \"TokensCCBalance\": 0.0,\n \"TokensNormalAddress\": \"RCNgAngYAdrfzujYyPgfbjCGNVQZzCgTad\",\n \"TokensNormalBalance\": 0.0,\n \"PubkeyCCaddress(Tokens)\": \"RDu9bgyqWmzbvrgUsqpArkuzRSjAtibxrk\",\n \"PubkeyCCbalance(Tokens)\": 0.0,\n \"myCCAddress(Tokens)\": \"RASCvtFq6DZ3yFknHNq8R8uQ7rnFaCqPZe\",\n \"myCCbalance(Tokens)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenaddress\", \"params\":[\"028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenaddress\", \"params\":[\"028702e30d8465d6aa85f35d2f58c06a6ee17f23f376b56044dadf7b793f2c12b9\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"TokensCCAddress\": \"RAMvUfoyURBRxAdVeTMHxn3giJZCFWeha2\",\n \"TokensCCBalance\": 0.0,\n \"TokensNormalAddress\": \"RCNgAngYAdrfzujYyPgfbjCGNVQZzCgTad\",\n \"TokensNormalBalance\": 0.0,\n \"PubkeyCCaddress(Tokens)\": \"RDu9bgyqWmzbvrgUsqpArkuzRSjAtibxrk\",\n \"PubkeyCCbalance(Tokens)\": 0.0,\n \"myCCAddress(Tokens)\": \"RASCvtFq6DZ3yFknHNq8R8uQ7rnFaCqPZe\",\n \"myCCbalance(Tokens)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"TokensCCAddress\": \"RAMvUfoyURBRxAdVeTMHxn3giJZCFWeha2\",\n \"TokensCCBalance\": 0.0,\n \"TokensNormalAddress\": \"RCNgAngYAdrfzujYyPgfbjCGNVQZzCgTad\",\n \"TokensNormalBalance\": 0.0,\n \"PubkeyCCaddress(Tokens)\": \"RDu9bgyqWmzbvrgUsqpArkuzRSjAtibxrk\",\n \"PubkeyCCbalance(Tokens)\": 0.0,\n \"myCCAddress(Tokens)\": \"RASCvtFq6DZ3yFknHNq8R8uQ7rnFaCqPZe\",\n \"myCCbalance(Tokens)\": 0.0,\n \"myaddress\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"mybalance\": 0.0\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples"},{"text":"tokenbalance","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"tokenbalance tokenid (pubkey)","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"tokenbalance tokenid (pubkey)","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"The tokenbalance method checks the token balance according to a provided pubkey . If no pubkey is provided, the pubkey used to launch the daemon is the default.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"tokenbalance","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"pubkey","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenbalance"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments-2"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 99989\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 99989\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbalance\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbalance\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"CCaddress\": \"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 99989\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"CCaddress\": \"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 99989\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"Check the token balance of a specific pubkey","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59 028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 999900011\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 999900011\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbalance\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenbalance\", \"params\":[\"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\" ,\"028bb4ae66aa4f1960a4aa822907e800eb688d9ab2605c8067a34b421748c67e27\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"CCaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 999900011\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"CCaddress\": \"RQymbXA8FfWw2AaHv7oC8JRKo9W5HkFVMm\",\n \"tokenid\": \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"balance\": 999900011\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-2"},{"text":"tokencreate","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"tokencreate name supply description","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"tokencreate name supply description","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"The tokencreate method creates a new token.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"tokencreate","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"For every token created, the method requires one satoshi of the parent blockchain's coins. For example, 1 COIN of the blockchain provides 100000000 tokens.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"1 COIN","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"100000000","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"The method returns a hex-encoded transaction which should then be broadcast using sendrawtransaction .","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"sendrawtransaction then returns a txid , which is your tokenid .","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"txid","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"tokenid","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokencreate"},{"text":"Non-Fungible Tokens","tagName":"h4","path":"antara/api/tokens","closestElementReference":"non-fungible-tokens"},{"text":"A non-fungible token contains an additional array of data describing its corresponding asset. The data has an eval code which binds this non-fungible token to an Antara Module responsible for validation.","tagName":"p","path":"antara/api/tokens","closestElementReference":"non-fungible-tokens"},{"text":"To create a non-fungible token, use only 1 satoshi.","tagName":"p","path":"antara/api/tokens","closestElementReference":"non-fungible-tokens"},{"text":"Fractional Tokens","tagName":"h4","path":"antara/api/tokens","closestElementReference":"fractional-tokens"},{"text":"To create a token that can be divided and transferred in fractional amounts, this must be handled on the application side of development.","tagName":"p","path":"antara/api/tokens","closestElementReference":"fractional-tokens"},{"text":"To create a token that is divisible to one decimal place, for example, consider 10 tokens as a single unit. Sending one satoshi's worth of the token is the equivalent of sending one decimal point of the actual token.","tagName":"p","path":"antara/api/tokens","closestElementReference":"fractional-tokens"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments-3"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response-3"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate TOK 0.00000100 \"creating a TOK token\"\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate TOK 0.00000100 \"creating a TOK token\"\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencreate\", \"params\":[\"TOK\" ,\"0.00000100\" ,\"creating a TOK token\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokencreate\", \"params\":[\"TOK\" ,\"0.00000100\" ,\"creating a TOK token\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": null\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"\n },\n \"error\": null,\n \"id\": null\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Step 2: Broadcast the raw transaction hex","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"0400008085202f8901065bc4522b82396e01b03ecf30abe9b7599621d861ad844818c87ac691005e18000000004847304402201f162ee2f8dac7382ff871d2aa7eb304d315eeb352c3d3464c36af8c9453273c0220074ae39178df09c13836ef1f8b647ffe3db4e7e1b428cc734a05e53707541db801ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc6400000000000000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc7c950b5402000000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000003f6a3df2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756703544f4b146372656174696e67206120544f4b20746f6b656e00000000370100000000000000000000000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": \"916a6907e39cec679a6c832255c71b74e4941895d2d8775a6d2a0e8a322401ed\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Step 3 (Optional): Use decoderawtransaction to verify the output is sane","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000012c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c300200000049483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01ffffffff0400ca9a3b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc055cbbe15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000012c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c300200000049483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01ffffffff0400ca9a3b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc055cbbe15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"size\": 335,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\",\n \"hex\": \"483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702 OP_CHECKSIG\",\n \"hex\": \"2102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\"]\n }\n },\n {\n \"value\": 99889.9996,\n \"valueSat\": 9988999960000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"hex\": \"6a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"size\": 335,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\",\n \"hex\": \"483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueSat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702 OP_CHECKSIG\",\n \"hex\": \"2102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\"]\n }\n },\n {\n \"value\": 99889.9996,\n \"valueSat\": 9988999960000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"hex\": \"6a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000012c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c300200000049483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01ffffffff0400ca9a3b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc055cbbe15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000012c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c300200000049483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01ffffffff0400ca9a3b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc055cbbe15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa[ALL]\",\n \"hex\": \"483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702 OP_CHECKSIG\",\n \"hex\": \"2102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\"]\n }\n },\n {\n \"value\": 99889.9996,\n \"valueZat\": 9988999960000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"hex\": \"6a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"{\n \"result\": {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"vout\": 2,\n \"scriptSig\": {\n \"asm\": \"3045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa[ALL]\",\n \"hex\": \"483045022100dc83b88f5ed1f01aab7dee8bd8f2b3c0bf83537c9b3cbb0c6ea78ebafdf4c6f60220518440e7f43d24c5733531a8d5a825dbb90e716f7ba20c0d469e7004c1fcc5aa01\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 10.0,\n \"valueZat\": 1000000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"02adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702 OP_CHECKSIG\",\n \"hex\": \"2102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RFYE2yL3KknWdHK6uNhvWacYsCUtwzjY3u\"]\n }\n },\n {\n \"value\": 99889.9996,\n \"valueZat\": 9988999960000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"hex\": \"6a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-3"},{"text":"tokeninfo","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokeninfo"},{"text":"tokeninfo tokenid","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokeninfo"},{"text":"tokeninfo tokenid","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokeninfo"},{"text":"The tokeninfo method reveals information about any token.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokeninfo"},{"text":"tokeninfo","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokeninfo"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments-4"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response-4"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo 43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo 43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\",\n \"owner\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"name\": \"TAKA\",\n \"supply\": \"100000.00000000\",\n \"description\": \"Testing phase 3.\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\",\n \"owner\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"name\": \"TAKA\",\n \"supply\": \"100000.00000000\",\n \"description\": \"Testing phase 3.\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokeninfo\", \"params\":[\"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokeninfo\", \"params\":[\"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"tokenid\": \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\",\n \"owner\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"name\": \"TAKA\",\n \"supply\": \"100000.00000000\",\n \"description\": \"Testing phase 3.\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"tokenid\": \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\",\n \"owner\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"name\": \"TAKA\",\n \"supply\": \"100000.00000000\",\n \"description\": \"Testing phase 3.\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-4"},{"text":"tokenlist","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokenlist"},{"text":"tokenlist","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenlist"},{"text":"tokenlist","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokenlist"},{"text":"The tokenlist method lists all available tokens on the smart chain.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokenlist"},{"text":"tokenlist","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokenlist"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments-5"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response-5"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenlist\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenlist\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"[\n \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\",\n \"21020a609c162fa2d0bc223acfff14bb0b886743303f5e4a661dade7a69b24a5\",\n \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"045a31b7e38b1538d111ea87ad9ec53952a70e9a5e8d076f7ed7923d8723f02d\",\n \"f4131ee56a47273195a899f60a187862aa8e39a974b5a19d860e2fe69f60242f\",\n \"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"9eec77a3e02dec0ca60ead7e8cfb6cb6809c40fe54b804e51d5c6c2a445ffbf3\",\n \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"\n]\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"[\n \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\",\n \"21020a609c162fa2d0bc223acfff14bb0b886743303f5e4a661dade7a69b24a5\",\n \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"045a31b7e38b1538d111ea87ad9ec53952a70e9a5e8d076f7ed7923d8723f02d\",\n \"f4131ee56a47273195a899f60a187862aa8e39a974b5a19d860e2fe69f60242f\",\n \"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"9eec77a3e02dec0ca60ead7e8cfb6cb6809c40fe54b804e51d5c6c2a445ffbf3\",\n \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"\n]\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenlist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokenlist\", \"params\":[]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"{\n \"result\": [\n \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\",\n \"21020a609c162fa2d0bc223acfff14bb0b886743303f5e4a661dade7a69b24a5\",\n \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"045a31b7e38b1538d111ea87ad9ec53952a70e9a5e8d076f7ed7923d8723f02d\",\n \"f4131ee56a47273195a899f60a187862aa8e39a974b5a19d860e2fe69f60242f\",\n \"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"9eec77a3e02dec0ca60ead7e8cfb6cb6809c40fe54b804e51d5c6c2a445ffbf3\",\n \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"{\n \"result\": [\n \"307c094bce80205ec56abd43041530b0cd6faf449ea84cd2ae49339cfc3c222c\",\n \"e7d034fb7dbad561c9a86dcbcc64aa89e1d311891b4e7c744280b7de13b1186f\",\n \"21020a609c162fa2d0bc223acfff14bb0b886743303f5e4a661dade7a69b24a5\",\n \"c5bbc34e6517c483afc910a3b0585c40da5c09b7c5d2d9757c5c5075e2d41b59\",\n \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"045a31b7e38b1538d111ea87ad9ec53952a70e9a5e8d076f7ed7923d8723f02d\",\n \"f4131ee56a47273195a899f60a187862aa8e39a974b5a19d860e2fe69f60242f\",\n \"9217014eae0a83a0b64632f379c1b474859794f9eaf1cf1eecf5804ed6124a5e\",\n \"9eec77a3e02dec0ca60ead7e8cfb6cb6809c40fe54b804e51d5c6c2a445ffbf3\",\n \"43850dfce744581ef44775086625745adecd628993c5ff4c1c786cfd21009add\"\n ],\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-5"},{"text":"tokentransfer","tagName":"h2","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"tokentransfer tokenid destpubkey amount","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"tokentransfer tokenid destpubkey amount","tagName":"strong","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"The tokentransfer method transfers tokens from one Antara Address to another.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"tokentransfer","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"It is similar to the sendmany method used to send coins on the parent chain.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"sendmany","tagName":"a","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"The method returns a raw hex, which must be broadcast using sendrawtransaction to complete the command.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"sendrawtransaction","tagName":"a","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"The source txid/vout needs to be specified as it is critical to match\noutputs with inputs.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"txid/vout","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"A token may be burned by using tokentransfer to send to a burn address.","tagName":"p","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"tokentransfer","tagName":"code","path":"antara/api/tokens","closestElementReference":"tokentransfer"},{"text":"Arguments","tagName":"h3","path":"antara/api/tokens","closestElementReference":"arguments-6"},{"text":"Response","tagName":"h3","path":"antara/api/tokens","closestElementReference":"response-6"},{"text":"📌 Examples","tagName":"h4","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Step 1: Create the rawtransaction","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokentransfer e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66 02ebc786cb83de8dc3922ab83c21f3f8a2f3216940c3bf9da43ce39e2a3a882c92 500000\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokentransfer e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66 02ebc786cb83de8dc3922ab83c21f3f8a2f3216940c3bf9da43ce39e2a3a882c92 500000\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokentransfer\", \"params\":[\"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\" ,\"02ebc786cb83de8dc3922ab83c21f3f8a2f3216940c3bf9da43ce39e2a3a882c92\" ,\"500000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"tokentransfer\", \"params\":[\"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\" ,\"02ebc786cb83de8dc3922ab83c21f3f8a2f3216940c3bf9da43ce39e2a3a882c92\" ,\"500000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"result\": \"success\",\n \"hex\": \"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Step 2: Broadcast using sendrawtransaction","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"sendrawtransaction","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"ProcessAssets\nAssetValidate (t)\nvin1 1000000000, vout0 500000, vout1 999500000, transfer validated 10.00000000 -> 10.00000000\nAssetValidate.(t) passed\n88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"ProcessAssets\nAssetValidate (t)\nvin1 1000000000, vout0 500000, vout1 999500000, transfer validated 10.00000000 -> 10.00000000\nAssetValidate.(t) passed\n88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"sendrawtransaction\", \"params\":[\"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Step 3: Decode the raw transaction and check against the following if the data is sane","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"./komodo-cli -ac_name=HELLOWORLD decoderawtransaction 01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"txid\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"size\": 524,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"a18dbc96d42b4eed5115978e074a4941d0acfa11dad8526b53dfcee34ce4613b\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f601 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"hex\": \"4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.005,\n \"valueSat\": 500000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RLB1YWh4N115NFh8tbArCBGaTQ3F43Yg1F\"]\n }\n },\n {\n \"value\": 9.995,\n \"valueSat\": 999500000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 744335.99945,\n \"valueSat\": 74433599945000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"hex\": \"6a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"txid\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"size\": 524,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"a18dbc96d42b4eed5115978e074a4941d0acfa11dad8526b53dfcee34ce4613b\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f601 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"hex\": \"4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.005,\n \"valueSat\": 500000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RLB1YWh4N115NFh8tbArCBGaTQ3F43Yg1F\"]\n }\n },\n {\n \"value\": 9.995,\n \"valueSat\": 999500000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 744335.99945,\n \"valueSat\": 74433599945000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"hex\": \"6a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"You can find your rpcuser , rpcpassword , and rpcport in the coin's .conf file.","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcuser","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcpassword","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"rpcport","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"Command:","tagName":"p","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"curl --user $rpcuser:$rpcpassword --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\":\"decoderawtransaction\", \"params\":[\"01000000023b61e44ce3cedf536b52d8da11faacd041494a078e971551ed4e2bd496bc8da1000000006a4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcffffffff66cc65f38d7e878d312386777c4f049f738b8894353c30108f7fe4ca515489e4000000007b4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001ffffffff0420a1070000000000302ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cce028933b00000000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc28b9486cb2430000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000246a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc6600000000\"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"txid\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"a18dbc96d42b4eed5115978e074a4941d0acfa11dad8526b53dfcee34ce4613b\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6[ALL] 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"hex\": \"4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.005,\n \"valueZat\": 500000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RLB1YWh4N115NFh8tbArCBGaTQ3F43Yg1F\"]\n }\n },\n {\n \"value\": 9.995,\n \"valueZat\": 999500000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 744335.99945,\n \"valueZat\": 74433599945000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"hex\": \"6a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"pre","path":"antara/api/tokens","closestElementReference":"examples-6"},{"text":"{\n \"result\": {\n \"txid\": \"88ac2d4d27654e9d8ac195d5ab482ee9895303902eaacfbb687b1e736bb06fb4\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n \"vin\": [\n {\n \"txid\": \"a18dbc96d42b4eed5115978e074a4941d0acfa11dad8526b53dfcee34ce4613b\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"30440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6[ALL] 03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\",\n \"hex\": \"4730440220111c67172740c0c2556979fdf84639ba299ff22586ebd220f25aa301f029003f02203da97a2575c0ed1b309774309f5dc952ee305a46cd83e95eae99e3564a1772f6012103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc8140c875a14edcbece61a6c18721398c927dc1e4509863e075b3922a8e3a2da6848e037142436e9102b529ee93a9ec618a4c67b63c52790d71812bb94179056913bba100af038001e3a10001\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.005,\n \"valueZat\": 500000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020541be9f843b476373fc18d8c8fab59c98c2c009f49c07fa66b7b431e4142feae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RLB1YWh4N115NFh8tbArCBGaTQ3F43Yg1F\"]\n }\n },\n {\n \"value\": 9.995,\n \"valueZat\": 999500000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RRPpWbVdxcxmhx4xnWnVZFDfGc9p1177ti\"]\n }\n },\n {\n \"value\": 744335.99945,\n \"valueZat\": 74433599945000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"03fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc OP_CHECKSIG\",\n \"hex\": \"2103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RANyPgfZZLhSjQB9jrzztSw66zMMYDZuxQ\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"hex\": \"6a22e374e4895451cae47f8f10303c3594888b739f044f7c778623318d877e8df365cc66\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n },\n \"error\": null,\n \"id\": \"curltest\"\n}\n","tagName":"code","path":"antara/api/tokens","closestElementReference":"examples-6"}],"antara":[{"text":"Introduction to Antara","tagName":"h1","path":"antara","closestElementReference":"introduction-to-antara"},{"text":"Welcome to the Antara technical documentation.","tagName":"p","path":"antara","closestElementReference":"introduction-to-antara"},{"text":"About the Antara Section","tagName":"h2","path":"antara","closestElementReference":"about-the-antara-section"},{"text":"This documentation is intended for developers learning about, building, and interacting with the Antara framework.","tagName":"p","path":"antara","closestElementReference":"about-the-antara-section"},{"text":"Conceptual Overview","tagName":"h4","path":"antara","closestElementReference":"conceptual-overview"},{"text":"A brief conceptual overview of the Antara framework can be found in the Start Here > Product Introductions > Smart Chains & Antara section.","tagName":"p","path":"antara","closestElementReference":"conceptual-overview"},{"text":"Link to \"Smart Chains & Antara\" Introduction","tagName":"p","path":"antara","closestElementReference":"conceptual-overview"},{"text":"Link to \"Smart Chains & Antara\" Introduction","tagName":"a","path":"antara","closestElementReference":"conceptual-overview"},{"text":"The Antara Tutorials section contains more thorough conceptual explanations of Antara.","tagName":"p","path":"antara","closestElementReference":"conceptual-overview"},{"text":"Antara Tutorials","tagName":"a","path":"antara","closestElementReference":"conceptual-overview"},{"text":"Please consult our Learning Path Outlines section for more details on approaches to learning Antara from both a conceptual and technical perspective.","tagName":"p","path":"antara","closestElementReference":"conceptual-overview"},{"text":"Learning Path Outlines","tagName":"a","path":"antara","closestElementReference":"conceptual-overview"},{"text":"About Antara Setup","tagName":"h4","path":"antara","closestElementReference":"about-antara-setup"},{"text":"The Antara Setup section contains basic information about setting up and using an Antara-enabled environment. Example topics include:","tagName":"p","path":"antara","closestElementReference":"about-antara-setup"},{"text":"Understanding Antara Addresses","tagName":"li","path":"antara","closestElementReference":"about-antara-setup"},{"text":"Understanding Antara Addresses","tagName":"a","path":"antara","closestElementReference":"about-antara-setup"},{"text":"Antara Customizations Available for Smart Chains During Creation and Hard Forks ","tagName":"li","path":"antara","closestElementReference":"about-antara-setup"},{"text":"Antara Customizations Available for Smart Chains During Creation and Hard Forks ","tagName":"a","path":"antara","closestElementReference":"about-antara-setup"},{"text":"About Antara Tutorials","tagName":"h4","path":"antara","closestElementReference":"about-antara-tutorials"},{"text":"The Antara Tutorials section contains various tutorials that provide instruction for Antara usage and creation.","tagName":"p","path":"antara","closestElementReference":"about-antara-tutorials"},{"text":"For a walkthrough covering multiple tutorials in a targeted fashion, please see the Learning Launchpad section.","tagName":"p","path":"antara","closestElementReference":"about-antara-tutorials"},{"text":"Learning Launchpad","tagName":"a","path":"antara","closestElementReference":"about-antara-tutorials"},{"text":"About Antara API","tagName":"h4","path":"antara","closestElementReference":"about-antara-api"},{"text":"The Antara API section contains all available API commands for all default Antara modules.","tagName":"p","path":"antara","closestElementReference":"about-antara-api"},{"text":"These API commands can also be called Remote Procedure Calls, or RPCs.","tagName":"p","path":"antara","closestElementReference":"about-antara-api"}],"antara/setup/antara-customizations":[{"text":"Antara Customizations","tagName":"h1","path":"antara/setup/antara-customizations","closestElementReference":"antara-customizations"},{"text":"The Antara Framework offers various default Antara Customizations.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"antara-customizations"},{"text":"The desired combination of parameters should be included with the komodod execution every time the Smart Chain daemon is launched.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"antara-customizations"},{"text":"komodod","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"antara-customizations"},{"text":"Changing these customizations at a later time is possible, but this typically requires a hard-fork of your Smart Chain. In general, the best practice for a developer is have all Smart Chain's parameters finalized before decentralizing the ownership of your coin. Should you discover a need to change these parameters after the fact, please reach out to our development team for assistance.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"antara-customizations"},{"text":"ac_adaptivepow","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow"},{"text":"This parameter is in its final testing stages.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow"},{"text":"Understanding Difficulty Stranding","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"The ac_adaptivepow parameter solves a vulnerability known as \"Difficulty Stranding.\" Low-hashrate blockchains are particularly susceptible to this vulnerability.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"ac_adaptivepow","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"When a blockchain's hashrate is much lower than that of another blockchain with the same mining algorithm, miners from the higher-powered chain can move to the lower-powered chain and mine a large number of blocks in a short amount of time.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"In so doing, the rapid influx of new miners causes a part of the lower-powered chain's consensus mechanism called the Difficulty Adjustment Algorithm (DAA) to drastically increase the difficulty of finding a block. When the higher-powered group of miners leave, the difficulty level remains.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"The smaller group of miners now may not be able to provide enough hash power to overcome the new difficulty level, and therefore this chain can be frozen.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"This type of behavior is called \"difficulty stranding,” and can be used as a method of malicious attack. This is a threat that is faced by all pure PoW chains that have a minor hashrate.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"understanding-difficulty-stranding"},{"text":"ac_adaptivepow Adjusts the Difficulty Level","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"The ac_adaptivepow parameter changes the Difficulty Adjustment Algorithm (DAA) of a Smart Chain to alleviate the potential effects of a \"difficulty stranding\" attack.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"ac_adaptivepow","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"One method by which ac_adaptivepow alleviates the vulnerability is the changing of the time at which the difficulty level is set. Normally, the difficulty level is adjusted at the conclusion of finding a new block. With ac_adaptivepow , the difficulty target is adjusted as a part of the process of finding a new block.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"ac_adaptivepow","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"ac_adaptivepow","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"This makes the process of lowering the difficulty easier and faster, as the DAA can take into account the amount of time the miners on the network are consuming to find a new block. If the amount of time is too high, the DAA can lower the difficulty as needed. More details on the implementation and rationale can be found in this blog post.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"blog post.","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"Adding the parameter -ac_adaptivepow=1 enables AdaptivePoW for a newly created Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"-ac_adaptivepow=1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-adaptivepow-adjusts-the-difficulty-level"},{"text":"ac_algo","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"This parameter is in its final testing stages. Please reach out to us if you would like to use it on a production chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"The ac_algo parameter changes the chain's mining algorithm from the default equihash to the verushash.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"ac_algo","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"To enable this feature, set -ac_algo=verushash .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"-ac_algo=verushash","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"This activates verushash1.0. More recent versions of verushash are not yet supported.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"The verushash feature serves as a proof of concept for adding support for additional mining algorithms.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"The Komodo team is currently testing methods to support compatibility for ac_staked , but this feature is not yet recommended for external testing.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-algo"},{"text":"ac_blocktime","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"This parameter sets the average time (in seconds) by which a new block should be mined.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"If this parameter is not included, the default value is ac_blocktime=60 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"ac_blocktime=60","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"When the value of ac_blocktime is less than 60 , the Smart Chain's block time will stabilize within less than twelve hours after launch. If the Smart Chain's ac_blocktime value is greater than 60 , the Smart Chain's block time can require several days to stabilize.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"ac_blocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"60","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"ac_blocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"60","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"When the value of ac_blocktime is less than 12 seconds (a high speed Smart Chain), the variances in network quality between consensus nodes (miners and stakers) can create difficulties in achieving a stable blockchain consensus. High-speed Smart Chains may function effectively on a LAN or other stable network, but Komodo recommends caution when attempting to manage a high-speed Smart Chain on the public Internet.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"ac_blocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"12","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-blocktime"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples"},{"text":"A 777777 coin pre-mine with a 1-coin block reward and a block speed of 20 seconds.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_blocktime=20 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_blocktime=20 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples"},{"text":"ac_cbmaturity","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"The ac_cbmaturity parameter allows the COINBASE_MATURITY value to be changed.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"ac_cbmaturity","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"COINBASE_MATURITY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"The COINBASE_MATURITY value is the number of blocks that must be confirmed between the creation of a coin (in a coinbase transaction) and the moment the coin can be spent.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"COINBASE_MATURITY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"This allows the developers of a Smart Chain to require that miners and stakers on a blockchain network wait for an arbitrary amount of time after mining new coins to spend them..","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"For example, if a Smart Chain is set to ac_cbmaturity=10 , newly mined coins must wait for 10 confirmations on the network before they can be spent.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"ac_cbmaturity=10","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"By default, this value is set to 1 on Smart Chains without ac_eras and set to 100 on Smart Chains with ac_eras .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"ac_eras","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"100","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"ac_eras","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbmaturity"},{"text":"ac_cbopret","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"(In Development)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"The ac_cbopret parameter allows the Decentralised Trustless Oracle mechanism to be enabled on a Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"ac_cbopret","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"The Prices Antara module required the existence of a completely trustless and decentralized price feed Oracle (a DTO). The DTO was implemented by piggybacking on the timestamp consensus rules . It works by requiring the miners of the Smart Chain to include the required off-chain data as a part of OP_RETURN of the coinbase transaction (The transaction that pays the block reward to the miner). The validation of the off-chain data is part of the consensus rules and if the data is false, the block will be rejected by the network, which incentivizes the miner to be truthful. To achieve consensus, all nodes allow an error of about 1% in the reported data.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"Prices Antara module","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"piggybacking on the timestamp consensus rules","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"The value of the parameter is a 4 bit binary number converted to decimal. Each bit of the binary number has a specific meaning as explained below:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"Let the 4 bit binary number be wxyz","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"wxyz","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"w,x,y,z are bit4, bit3, bit2 and bit1 respectively","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"if z = 1 : DTO is enabled and miners are required to add some data to the coinbase transaction's OP_RETURN","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"OP_RETURN","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"if y = 1 : the data miners will write is prices of BTC vs fiat pairs viz., BTC_USD, BTC_GBP, BTC_EUR and Major fiat vs USD pairs","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"if x = 1 : the data miners will write is prices of Cryptocurrencies included in the -ac_prices parameter","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"-ac_prices","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"if w = 1 : the data miners will write is prices of Stocks included in the -ac_stocks parameter","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"-ac_stocks","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cbopret"},{"text":"Examples","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"If we only want the prices for BTC vs fiat pairs and fiat vs USD pairs, we have (w=0,x=0,y=1,z=1) i.e., 0011 -> converted to decimal is 3 ; the value for the ac_cbopret parameter is 3","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"0011","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"3","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"ac_cbopret","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"3","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"If we want the pairs from the above example and prices of the Cryptocurrencies included in the -ac_prices parameter, we have (w=0,x=1,y=1,z=1) i.e., 0111 -> converted to decimal is 7 ; the value for the ac_cbopret parameter is 7","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"-ac_prices","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"0111","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"7","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"ac_cbopret","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"7","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"If we just want the prices of the Stocks included in the -ac_stocks parameter, we have (w=1,x=0,y=0,z=1) i.e., 1001 -> converted to decimal is 9 ; the value for the ac_cbopret parameter is 9","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"-ac_stocks","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"1001","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"9","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"ac_cbopret","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"9","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-2"},{"text":"ac_cc","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"The ac_cc parameter sets the network cluster on which the chain can interact with other chains via Antara modules and MoMoM technology.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"Once activated, the ac_cc parameter can allow features such as cross-chain fungibility -- coins on one Smart Chain can be directly transferred to any other Smart Chain that has the same ac_cc setting and the same set of notary nodes (same set of notary pubkeys ) .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"notary pubkeys","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"Most functionalities enabled by ac_cc can function with or without Komodo's notarization service. However, cross-chain transaction validation and its dependent features, including cross-chain fungibility, require notarization.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"If the ac_cc parameter is set to a value greater than 0 (i.e. Antara is permitted on the Smart Chain) users should include the -pubkey parameter when launching the daemon of this Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"-pubkey","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc"},{"text":"ac_cc=0","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"Setting ac_cc=0 disables Antara on the Smart Chain entirely.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"ac_cc=0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"It is better to NOT use ac_cc=0 for a Smart Chain where Antara should\nnot be enabled. Omitting the ac_cc parameter altogether will achieve the\nsame result.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"ac_cc=0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-0"},{"text":"ac_cc=1","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-1"},{"text":"Setting ac_cc=1 permits Antara on the Smart Chain, but will not allow the Smart Chain to interact in cross-chain Antara functionality with other Smart Chains.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-1"},{"text":"ac_cc=1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-1"},{"text":"ac_cc=2 to 99","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2-to-99"},{"text":"The values of 2 through 99 (inclusive) indicate Smart Chains that can validate transactions that occur on other Smart Chains on the same cluster (i.e. the same ac_cc value), but their coins are not fungible and therefore cannot be transferred between blockchains.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2-to-99"},{"text":"2","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2-to-99"},{"text":"99","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2-to-99"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2-to-99"},{"text":"ac_cc=100 to 9999","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"Setting the value of ac_cc to any value greater than or equal to 100 will permit cross-chain interaction with any Smart Chain that has the same ac_cc value and is secured by notary nodes with the same pubkey .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"100","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"All Smart Chains that have the same ac_cc (>= 100) value form a cluster, where the base tokens of all the chains in the cluster are fungible via the burn protocol .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc (>= 100)","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"burn protocol","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"For example, a Smart Chain set to ac_cc=201 in its parameters can interact with other Smart Chains with ac_cc=201 on the same notary-node network, but cannot interact with a Smart Chain set to ac_cc=301 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc=201","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc=201","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"ac_cc=301","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-100-to-9999"},{"text":"Summary of ac_cc","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"Consider a chain with -ac_cc=N","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"If N = 0 , Antara is disabled","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"N = 0","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"If N > 0 , Antara is enabled","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"N > 0","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"If N = 1 , on-chain Antara is active, cross-chain validation is disabled","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"N = 1","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"If N 2 and 99 , the chain allows for cross-chain contracts between all other chains bearing the same N value. The base coins in each Smart Chain are non-fungible across chains.","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"N 2 and 99","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"If N 100 , the chain can form a cluster with all other chains with the same N value and on the same dPoW notarization network. The base coins of all chains in the cluster are fungible via the burn protocol .","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"N 100","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"burn protocol","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-cc-2"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"A 777777 pre-mined chain with no Antara modules enabled.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"A 777777 pre-mined chain with Antara modules on-chain only; no cross-chain Antara modules.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=1 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=1 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"A 777777 pre-mined chain where Antara modules are allowed between all fellow Smart Chains that have -ac_cc=2 in their launch parameters. However, the cross-chain burn protocol is not active, and therefore coins cannot be transferred between chains.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=2 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=2 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"A 777777 pre-mined chain. Antara modules are allowed between all fellow Smart Chains that have -ac_cc=102 in their launch parameters. Also, all -ac_cc=102 chains can use the cross-chain burn protocol to transfer coins from one chain to another.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=102 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_cc=102 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-3"},{"text":"ac_ccactivate","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"-ac_ccactivate=block_height","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"-ac_ccactivate=block_height","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"The ac_ccactivate launch parameter allows for the activation of Antara on an existing Komodo-based Smart Chain wherein Antara was not originally enabled.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_ccactivate","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"Add the ac_ccactivate parameter to the existing launch command for the Smart Chain and set the value equal to a future block height. When this block height is reached, Antara will be available on the Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_ccactivate","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"This change requires a hard fork of the Smart Chain. If the Smart Chain is receiving Komodo's dPoW security service, the notary nodes must relaunch their Smart Chain daemons with the new launch parameter. All nodes must also update their daemons in the same manner.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"By default, ac_ccactivate uses the default ac_cc value of ac_cc=2 . It is not necessary to further specify ac_cc in the launch parameters, unless a value other than 2 is required.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_ccactivate","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_cc=2","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"2","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-4"},{"text":"Before Using ac_ccactivate","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-2"},{"text":"ac_ccactivate","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-2"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -addnode=24.54.206.138 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-2"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -addnode=24.54.206.138 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-2"},{"text":"After Using ac_ccactivate","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"ac_ccactivate","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -ac_ccactivate=140 -addnode=24.54.206.138 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -ac_ccactivate=140 -addnode=24.54.206.138 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"In this example, Antara will be available at blockheight 140 . All nodes, include the notary nodes, must relaunch the daemon with the new parameters before blockheight 140 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"140","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"140","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccactivate-3"},{"text":"ac_ccenable","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"This parameter is at the end of the beta development phase and is prepared for\npublic testing. If you are interested in adopting this feature for a\nproduction Smart Chain, please reach out to us so that we can assist you.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"The ac_ccenable parameter restricts the Smart Chain so that only indicated Antara modules can be enabled. ac_ccenable requires ac_cc to be active.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_ccenable","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_ccenable","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_cc","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"To indicate which Antara modules should be available, insert each module's eval code in decimal and separated by commas.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"The following table presents an abbreviated list of EVAL codes. For more information, please see this linked content .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"this linked content","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"For example, the following parameters create a Smart Chain where only the faucet and rewards modules are active:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"faucet","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"rewards","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=0 -ac_reward=100000000 -ac_cc=2 -ac_ccenable=228,229\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=0 -ac_reward=100000000 -ac_cc=2 -ac_ccenable=228,229\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"When -ac_cc is set, but -ac_ccenable is not, all Antara modules are enabled.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"-ac_cc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"-ac_ccenable","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_ccenable disables spending utxos that are created under a non-enabled\nAntara module. We have also implemented additional functionality that disables\nAPI functions. This prevents the user from creating a utxo that ac_ccenable \nwould render unspendable. It is still possible to create raw transactions that\nbypass this security feature, and thus create utxos that are unspendable. A\nnormal user or developer relying on our API functionality should not be\nconcerned with this. However, those who experiment with raw transactions\nshould be cautious.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_ccenable","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_ccenable","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"If the developer is also using a new feature that has yet to be documented\nhere, ac_cclib , the eval codes in the libcc.so will not disable Antara API\ncalls. Therefore, there remains a risk that a disabled API call can still be\nused to create a utxo, which will then be non-spendable.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_cclib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"libcc.so","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-ccenable"},{"text":"ac_cclib","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"The ac_cclib parameter is used in conjunction with various Antara modules.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"ac_cclib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"Typically, the Smart Chain that uses the ac_cclib parameter will have a unique build process. This is described as a part of each Antara module in question. Once the Smart Chain is properly built, the terminal command to launch the chain will include the ac_cclib parameter in a manner similar to the following:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"ac_cclib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"ac_cclib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"-ac_cclib=desired_CC_module\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"-ac_cclib=desired_CC_module\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"Each Antara module uses the ac_cclib parameter differently, and therefore the reader should refer to the desired Antara module for further instructions.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"ac_cclib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-cclib"},{"text":"ac_decay","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"This is the percentage which determines the block reward decrease on each block-reward \"halving\".","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"This parameter will have no effect if ac_reward is not set.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"ac_reward","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"This is the formula that ac_decay follows:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"ac_decay","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"block_reward_after = block_reward_before * ac_decay / 100000000;\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"block_reward_after = block_reward_before * ac_decay / 100000000;\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"For example, if this parameter is set to 75000000 , at each \"halving\" the block reward will drop to 75% of its previous value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"75000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-decay"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-5"},{"text":"A 777777-coin pre-mine, with a 10-coin block reward, and the block reward decreases by 25% every 2000 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-5"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_halving=2000 -ac_decay=75000000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-5"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_halving=2000 -ac_decay=75000000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-5"},{"text":"ac_end","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-end"},{"text":"This is the block height at which block rewards will end. Every block after this height will have 0 block reward (this means that, assuming all other settings are default, the only incentive to mine a new block will be transaction fees).","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-end"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"A 777777-coin pre-mine, with a block reward of 0.0005 coin. The block reward ends at block 25000.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=50000 -ac_end=25000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=50000 -ac_end=25000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"A 777777-coin pre-mine, with a 5-coin block reward, and the block reward ends at block 200.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_end=200 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_end=200 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"A 777777-coin pre-mine, with a 5-coin block reward, the block reward decreases by 50% every 2000 blocks, and the block reward ends at block 10000.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_halving=2000 -ac_end=10000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_halving=2000 -ac_end=10000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-6"},{"text":"ac_eras","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras"},{"text":"The ac_eras parameter allows the value of a chain's block reward to vary over time.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras"},{"text":"Each different time interval is called an \"era\" and a chain can have at most seven eras.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras"},{"text":"ac_eras Combined With ac_cbmaturity","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"When active, ac_eras changes the behavior of coinbase coins (i.e., the coins that are created as a result of mining). ac_eras forces the COINBASE_MATURITY value of coinbase coins to be 100 instead of the normal value of 1 . Therefore, coinbase coins become spendable after 100 confirmations.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"COINBASE_MATURITY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"100","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"100","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"This COINBASE_MATURITY value can be explicitly changed using the ac_cbmaturity parameter. Changing this COINBASE_MATURITY value to 1 is recommended if a chain uses ac_eras in conjunction with ac_staked .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"COINBASE_MATURITY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_cbmaturity","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"COINBASE_MATURITY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_staked","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-combined-with-ac-cbmaturity"},{"text":"ac_eras Instructions","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"The ac_eras parameter accepts only one value. The value must be between 2 and 7 , inclusive. When activated, ac_eras allows certain other Smart Chain parameters to accept multiple values.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"2","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"7","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"The principle parameter that is affected by ac_eras is ac_reward . The ac_reward parameter must receive at least one value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_reward","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"Also, ac_decay , ac_halving , ac_end , and ac_notarypay can each receive multiple values and thereby affect reward functionality.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_decay","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_halving","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_notarypay","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"For every era, there must be a corresponding value in ac_end that indicates the block height at which this era ends. To set the final era to last indefinitely, set the ac_end value of that era to 0 ; the 0 setting should only be used for the last era. If the last era's ac_end value is not 0 , the chain's block rewards will stop after the final ac_end value, and every block after the final ac_end value will have no block reward.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_end","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"In all parameters receiving multiple values, the values must be preceded by a comma.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"For example:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_eras=3 -ac_reward=5000000000,7000000000,4000000000 -ac_end=1000,10000,0\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_eras=3 -ac_reward=5000000000,7000000000,4000000000 -ac_end=1000,10000,0\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"In this Smart Chain, the first era will have a reward of 5000000000, the second will have 7000000000, and the third will have 4000000000. The reward for the first era ends at block 1000, for the second era at block 10000, and the third era lasts indefinitely.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"If any of the relevant parameters has fewer distinct values than eras, the parameter's final value will carry through the remaining eras.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"For example:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"-ac_eras=2 -ac_reward=100000000,200000000 -ac_halving=100 -ac_end=10000,0\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"-ac_eras=2 -ac_reward=100000000,200000000 -ac_halving=100 -ac_end=10000,0\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"In this Smart Chain, the ac_halving value for both eras is 100 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_halving","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"100","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"One more feature of ac_eras is the ability to transition from one era to the next with a linear progression, rather than a direct switch. To achieve this effect, in the initial era (the point at which the linear progression should begin) set the ac_decay value to 100000000 and the ac_halving value to 1 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_eras","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_decay","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"100000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_halving","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"For example, the following parameters create a Smart Chain with a \"slow start\" reward:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"./komodod -ac_name=HELLOWORLD -ac_reward=0,10000000000 -ac_eras=2 -ac_end=1000,0 -ac_decay=100000000,100000000 -ac_halving=1\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"./komodod -ac_name=HELLOWORLD -ac_reward=0,10000000000 -ac_eras=2 -ac_end=1000,0 -ac_decay=100000000,100000000 -ac_halving=1\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"This chain's block reward will grow linearly from 0 to 100 over 1000 blocks, then stay at 100 indefinitely.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"Use the getblocksubsidy API method to verify your Smart Chain will work as expected at each relevant height: ./komodo-cli -ac_name=HELLOWORLD getblocksubsidy ","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"getblocksubsidy","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"./komodo-cli -ac_name=HELLOWORLD getblocksubsidy ","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-eras-instructions"},{"text":"ac_feeds","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"The ac_feeds customization is in development. Please reach out to the Komodo team for more information or to use this customization in a production environment.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"The ac_feeds parameter is directly relevant to the Prices Antara module . The Prices module also requires the inclusion of the following parameters in the launch command of a Smart Chain: -ac_cbopret , -ac_cc=n (where n >=2) .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"Prices Antara module","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"-ac_cbopret","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"-ac_cc=n (where n >=2)","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"The ac_feeds parameter supports the retrieval of data from sources accessed using the http/https protocols and which return data as a json object.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"ac_feeds","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"http/https","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"The Antara Prices Module has an internal parser that processes the json object using the RFC 6901 'Json Pointer' addressing . The internal parser extracts the value specified by the json pointer or calculates the average value for the specified value paths, as explained below.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"Antara Prices Module","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"RFC 6901 'Json Pointer' addressing","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"This parameter also allows the addition of a custom shared object library (a .so file) that has the necessary parsing function to retrieve values from the json object returned by a web api. This feature can be used when the json object returned is non-standard and the internal parser's features are not sufficient. In this event, the parsing function takes the json object and several configuration options, such as customdata , as arguments and returns the price. The configuration options inform the function about the location of the price data within the json object.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":".so","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"customdata","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"The value of this parameter is a quoted string that contains a json array of feed-configuration options.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds"},{"text":"Basic Usage","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"basic-usage"},{"text":"-ac_feeds='[{\"name\":\"stocks\", \"url\":\"https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE\", \"results\":[{\"symbol\":\"AAPL\",\"valuepath\":\"/0/price\"}, {\"symbol\":\"ADBE\",\"valuepath\":\"/1/price\"}], \"multiplier\":1000000, \"interval\":120 }, {configuration object for another feed ...}]'\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"basic-usage"},{"text":"-ac_feeds='[{\"name\":\"stocks\", \"url\":\"https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE\", \"results\":[{\"symbol\":\"AAPL\",\"valuepath\":\"/0/price\"}, {\"symbol\":\"ADBE\",\"valuepath\":\"/1/price\"}], \"multiplier\":1000000, \"interval\":120 }, {configuration object for another feed ...}]'\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"basic-usage"},{"text":"Each json object in the above json array defines a unique Feed. The json array includes details such as the Feed's name, the web api's url, the symbol for each of the items in the feed, and the path to acquire the price data for an item from the json returned from the web api.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"basic-usage"},{"text":"ac_feeds Example","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"{\n \"name\": \"stocks\",\n \"url\": \"https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE\",\n \"results\": [\n { \"symbol\": \"AAPL\", \"valuepath\": \"/0/price\" },\n { \"symbol\": \"ADBE\", \"valuepath\": \"/1/price\" }\n ],\n \"multiplier\": 1000000,\n \"interval\": 120\n}\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"{\n \"name\": \"stocks\",\n \"url\": \"https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE\",\n \"results\": [\n { \"symbol\": \"AAPL\", \"valuepath\": \"/0/price\" },\n { \"symbol\": \"ADBE\", \"valuepath\": \"/1/price\" }\n ],\n \"multiplier\": 1000000,\n \"interval\": 120\n}\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The above configuration object defines a single feed named \"stocks\" that contains prices of the symbols AAPL and ADBE retreived from the web api with the \"url\": https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"AAPL","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"ADBE","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"https://api.iextrading.com/1.0/tops/last?symbols=AAPL,ADBE","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The returned data is a json array and is processed by ac_feeds's internal parser to set the prices of the symbols AAPL and ADBE based on the data in the json array. This data is found in the results key.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"AAPL","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"ADBE","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"results","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"{ \"symbol\": \"AAPL\", \"valuepath\": \"/0/price\" }\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"{ \"symbol\": \"AAPL\", \"valuepath\": \"/0/price\" }\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The value of the key named symbol sets the symbol for the item in the price feed.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"symbol","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The value of the key named valuepath is a json \"pointer\" that indicates the method to extract the value of the price matching the symbol in the response. For example, when the parser encounters the value \"/0/price\" , the parser selects the 0th element of the json array and reads the value of the key named price .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"valuepath","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"\"/0/price\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"0th","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"price","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The value of the key named multiplier is the number by which the value extracted should be multiplied before being added to the feed. This convers numbers with decimal paces into integers.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"multiplier","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"The value of the key named interval is the time in seconds between each refresh of the data from the web api. The minimum value is 120 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"interval","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"120","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-feeds-example"},{"text":"Polling the Same url Multiple Times","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"The following example can be useful when polling the same url multiple times with a fixed subset of changing.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"-ac_feeds='[{\"name\":\"metals\", \"url\":\"https://forex-data-feed.swissquote.com/public-quotes/bboquotes/instrument/%s/USD\", \"substitutes\":[\"XAU\",\"XPT\"], \"quote\":\"USD\", \"results\":{\"averagevaluepaths\":[\"/*/spreadProfilePrices/*/ask\",\"/*/spreadProfilePrices/*/bid\"] }, \"multiplier\":10000, \"interval\":120 }]'\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"-ac_feeds='[{\"name\":\"metals\", \"url\":\"https://forex-data-feed.swissquote.com/public-quotes/bboquotes/instrument/%s/USD\", \"substitutes\":[\"XAU\",\"XPT\"], \"quote\":\"USD\", \"results\":{\"averagevaluepaths\":[\"/*/spreadProfilePrices/*/ask\",\"/*/spreadProfilePrices/*/bid\"] }, \"multiplier\":10000, \"interval\":120 }]'\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"The above example has the configuration for a single feed named \"metals\" that allows for the retrieval of the prices XAU/USD ( XAU_USD ) and XPT/USD ( XPT_USD ) symbols from the web api hosted by forex-data-feed.swissquote.com .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XAU/USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XAU_USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XPT/USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XPT_USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"forex-data-feed.swissquote.com","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"The key url has the actual address of the web api, with %s included to denote \"substitute\". All the urls formed by the substitution %s and with elements of the array stored in the key named substitues are polled. Their responses are processed and added to the feed. As before, the key named \"results\" holds the data that indicates the method for processing the responses.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"url","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"%s","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"%s","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"substitues","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"{\n \"averagevaluepaths\": [\n \"/*/spreadProfilePrices/*/ask\",\n \"/*/spreadProfilePrices/*/bid\"\n ]\n}\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"{\n \"averagevaluepaths\": [\n \"/*/spreadProfilePrices/*/ask\",\n \"/*/spreadProfilePrices/*/bid\"\n ]\n}\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"In this case, the results object indicates that the price value to be added to the feed is the average of all values retrived from the responses based on the json pointers \"/*/spreadProfilePrices/*/ask\" and \"/*/spreadProfilePrices/*/bid\" .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"results","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"\"/*/spreadProfilePrices/*/ask\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"\"/*/spreadProfilePrices/*/bid\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"Note the '*' symbols in the json pointers. These indicate that the response is an array and all the elements of the array will be used in the calculation of the average. When the key substitutes is used in the configuration, the result parameter is a json object and is applied to the resulting json response from polling each url formed by using each substitute.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"substitutes","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"result","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"There is also an optional parameter named quote which is added to the symbol of the price in the feed. For example, using the values \"quote\":\"USD\" displays the prices as XAU_USD and XPT_USD in the feed. The quote value can also be empty if the strings in the array substitutes are complete symbols.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"quote","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"\"quote\":\"USD\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XAU_USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"XPT_USD","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"quote","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"substitutes","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"polling-the-same-url-multiple-times"},{"text":"Method of Handling when the Internal Parser is Inadequate","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"When the internal parser of the ac_feeds customization is inadequate for parsing responses from a web API, the following example can be of assistance.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"ac_feeds","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"-ac_feeds='[{\"name\":\"metals\", \"url\":\"https://forex-data-feed.swissquote.com/public-quotes/bboquotes/instrument/%s/USD\", \"substitutes\":[\"XAU\",\"XPT\"], \"quote\":\"USD\", \"customlib\":\"libpricessampleparser.so\", \"results\":{\"customdata\":\"/0/spreadProfilePrices/0/ask\"}, \"multiplier\":10000, \"interval\":120 }]'\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"-ac_feeds='[{\"name\":\"metals\", \"url\":\"https://forex-data-feed.swissquote.com/public-quotes/bboquotes/instrument/%s/USD\", \"substitutes\":[\"XAU\",\"XPT\"], \"quote\":\"USD\", \"customlib\":\"libpricessampleparser.so\", \"results\":{\"customdata\":\"/0/spreadProfilePrices/0/ask\"}, \"multiplier\":10000, \"interval\":120 }]'\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"This feed configuration has a custom parser.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"The feed is differentiated from the previous feed by the customlib key, which contains the name of a shared library that contains the custom parser, and the customdata key, which is arbitraty data passed to the custom parser function in the shared library.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"customlib","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"customdata","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"method-of-handling-when-the-internal-parser-is-inadequate"},{"text":"-ac_feed Parameters","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-feed-parameters"},{"text":"Results Array Members","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"results-array-members"},{"text":"The \"results\" array must be comprised of objects if the \"substitutes\" parameter is NOT used","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-array-members"},{"text":"If no custom library (customlib) is used, the \"symbol\" property should be set","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-array-members"},{"text":"If no custom library (customlib) is used, either the \"valuepath\" or the \"averagepaths\" property should be set","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-array-members"},{"text":"Results Object Members","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"results-object-members"},{"text":"\"results\" must be an object if the \"substitutes\" parameter is used","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-object-members"},{"text":"The \"symbol\" parameter is not used in the \"results\" object as the symbol names are constructed from the strings in the \"substitutes\" array and in the optional \"quote\" property","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-object-members"},{"text":"If no custom library (customlib) is used, then either the \"valuepath\" or the \"averagepaths\" property should be set in each array item","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"results-object-members"},{"text":"Specification for the Custom Parser Library","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The custom json parser is a shared library that should be placed along with the Komodo source code with building instructions in the src/cc/priceslibs directory.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"src/cc/priceslibs","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The custom library should implement a single function written in the C-language with its declaration specified in the file pricesfeeds.h as follows:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"pricesfeeds.h","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"extern \"C\" {\n int pricesJsonParser(const char *sjson /*in*/, const char *symbol /*in*/, const char *customdata, uint32_t multiplier /*in*/, uint32_t *value /*out*/);\n}\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"extern \"C\" {\n int pricesJsonParser(const char *sjson /*in*/, const char *symbol /*in*/, const char *customdata, uint32_t multiplier /*in*/, uint32_t *value /*out*/);\n}\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"On each call, the function should retrieve a single value and place it in the '*value' variable.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The function receives the following parameters:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"A string with the json returned by web api","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The symbol to retrieve","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"Custom data from the configuration \n \n The custom data might contain hints on how to find the value in the json object \n \n","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"\n The custom data might contain hints on how to find the value in the json object \n","tagName":"ul","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The custom data might contain hints on how to find the value in the json object","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The custom data might contain hints on how to find the value in the json object","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"A multiplier used to convert the price value to integer","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"The function should return 1 for the success scenario and 0 if the function could not extract the value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"success","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"For an example implementation, see the custom parser lib example in the file named PricesResultParserSample.cpp in the directory src/cc/priceslibs in the Komodo source code.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"PricesResultParserSample.cpp","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"src/cc/priceslibs","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"specification-for-the-custom-parser-library"},{"text":"Initializing Price Feed Configuration","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"The configuration object is named feedconfig and is found in the file src/cc/pricesfeeds.cpp .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"feedconfig","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"src/cc/pricesfeeds.cpp","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"Use an existing configuration (config) item with name=\"basic\" as an example.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"name=\"basic\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"initializing-price-feed-configuration"},{"text":"ac_founders","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"The ac_founders parameter creates a \"founder's reward.\"","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"This parameter requires ac_perc . If the ac_perc value is not declared, the ac_founders value defaults to 35% . Also, either ac_pubkey OR ac_script must be set.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_perc","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"35%","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_pubkey","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_script","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"The ac_perc value determines the percentage of block rewards paid to the founder. These rewards are not paid out immediately, but rather according to the ac_founders setting.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders determines the frequency at which the founder's reward is paid.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"For example:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"-ac_reward=100000000 -ac_perc=10000000 -ac_founders=100\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"-ac_reward=100000000 -ac_perc=10000000 -ac_founders=100\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"The above parameters result in mining rewards of 100000000 satoshis (1 coin) per block, with a difference on every 100th block. On the 100th block exception, 1000000000 additional satoshis (10 coins) are paid to the founder's address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"The coins rewarded to the founder are created at the moment of payment, thus increasing the overall coin supply. See ac_perc for more details.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_perc","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"Use ac_pubkey to send the founder's reward to a normal address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"Use ac_script to send the founder's reward to a multi-signature address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"Set ac_founders=1 to stay compatible with most stratum implementations. Any other value requires team member Blackjok3r 's modifications to knomp using the disable-cb feature . Please reach out to our team on discord if you have further questions about how to set up a stratum.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders=1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"Blackjok3r","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"disable-cb feature","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"discord","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders"},{"text":"ac_founders_reward","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"The ac_founders_reward parameter functions in a manner that is similar to a combination of the ac_perc and ac_founders parameters.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"However, the value specified in the ac_founders_reward parameter is given in satoshis, as opposed to a percentage of the block reward. Also, the founder's reward does not accumulate over several blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"The ac_founders_reward parameter can be used in place of ac_perc .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"The ac_founders_reward parameter must be used in combation with ac_founders and either ac_script or ac_pubkey .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"The ac_founders_rewards value is entirely independent of the ac_reward value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_rewards","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"Consider the following combination of parameters, for example.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"-ac_reward=1000000000 -ac_perc=10000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"-ac_reward=1000000000 -ac_perc=10000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"This combination pays the pubkey address 10 coins every 10 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"Compare the above to the following combination.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_reward=1000000000 -ac_founders_reward=100000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_reward=1000000000 -ac_founders_reward=100000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"This combination pays the pubkey address 1 coin every 10 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"The ac_founders_reward parameter is not compatible with the ac_eras parameter.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_founders_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"ac_eras","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-founders-reward"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-7"},{"text":"A 777777-coin pre-mine, with a 5-coin block reward, and founder's reward of 10 coins sent to 034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f every 10 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-7"},{"text":"034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-7"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_founders_reward=1000000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-7"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_founders_reward=1000000000 -ac_founders=10 -ac_pubkey=034916536402c0c4cf53b05e3b5d948aacafede47df640b33cb89bd28179cd2d3f &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-7"},{"text":"ac_halving","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-halving"},{"text":"This is the number of blocks between each block reward halving. This parameter will have no effect if ac_reward is not set. The lowest possible value is 1440 (~1 day). If this parameter is set, but ac_decay is not, the reward will decrease by 50% each halving.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-halving"},{"text":"ac_reward","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-halving"},{"text":"1440","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-halving"},{"text":"ac_decay","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-halving"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-8"},{"text":"A 777777-coin pre-mine, with a 5-coin block reward, and the block reward decreases by 50% every 2000 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-8"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_halving=2000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-8"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000 -ac_halving=2000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-8"},{"text":"ac_name","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-name"},{"text":"This is the ticker symbol for the coin you wish to create. We recommended it consist only of numbers and uppercase letters.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-name"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-9"},{"text":"A simple Smart Chain","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-9"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-9"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-9"},{"text":"ac_notarypay","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"The ac_notarypay parameter rewards the notary nodes each time they participate in a notarization.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"ac_notarypay","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"This value should be set to the total amount of satoshis rewarded to all participating notaries in a notarization. The reward is then divided evenly between all participating notaries.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"On the KMD dPoW network the amount of notaries in a notarization is 13. Therefore, if the ac_notarypay value is set to 1300000000 , each notary receives 1 coin for each notarization they perform.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"ac_notarypay","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"1300000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"Notarizations happen on average every 10 blocks by default.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"This parameter is compatible with the ac_eras parameter.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"ac_eras","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-notarypay"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-10"},{"text":"A Smart Chain with 777777 pre-mined coins, a 5 coin block reward in the first era, a 10 coin block reward in the second era, paying 1 coin per notarization in the first era and paying 2 coins per notarization in the second era. The first era ends at block 10000. The second era ends at block 20000. After block 20000, there will be no block reward and no ac_notarypay reward.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-10"},{"text":"ac_notarypay","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-10"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000,1000000000 -ac_notarypay=1300000000,2600000000 -ac_eras=2 -ac_end=10000,20000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-10"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=500000000,1000000000 -ac_notarypay=1300000000,2600000000 -ac_eras=2 -ac_end=10000,20000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-10"},{"text":"ac_perc","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc"},{"text":"The ac_perc parameter has two different functionalities depending on the configuration of the chain parameters.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc"},{"text":"ac_perc without ac_founders","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"When ac_perc is used without -ac_founders the chain will follow an inflation-tax model. In this model, the -ac_perc parameter is the percentage added to the block reward, and the transactions that allocate these rewards are sent to the -ac_pubkey address. Naturally, for this configuration to function the -ac_pubkey parameter must be included.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_founders","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"For example, if -ac_reward=100000000 and -ac_perc=10000000 , for each block mined the miner receives 100000000 satoshis (1 coin), and the owner of the -ac_pubkey address receives 10000000 satoshis (0.1 coin, which is 10% of the miner's reward). The amount sent to the pubkey is not taken from the user, rather it is created at this point. Therefore, each transaction inflates the overall coin supply.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_reward=100000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_perc=10000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"-ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"The maximum amount of coins created via this method across all transactions per block is capped at (1000000 * ) .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"(1000000 * )","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"Vout 1 of each coinbase transaction must be the correct amount sent to the\ncorresponding pubkey. This only affects a miner trying to use a stratum. Team\nmember, Blackjok3r , developed a coinbase-override method for this purpose.\nPlease see this\nrepo for\ndetails.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"Blackjok3r","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"this\nrepo","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-without-ac-founders"},{"text":"ac_perc with ac_founders","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-with-ac-founders"},{"text":"Please see the -ac_founders documentation for this functionality.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-with-ac-founders"},{"text":"-ac_founders","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-perc-with-ac-founders"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"This example coin combines both ac_staked and ac_perc . As described in the section, \"Notes on How ac_staked Functions\" , the method of rewards for the coin will vary over time. The coins used to stake will be included in the ac_perc calculations until block height 100000 . Therefore, the pubkey that receives ac_perc block rewards will receive more for the first 100000 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"\"Notes on How ac_staked Functions\"","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"Other coin details include that it is a 777777-coin pre-mine, with a 10-coin block reward, and the chain adjusts difficulty so that 50% of the blocks are mined via PoS, and 50% via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"For the first 100000 blocks, the pubkey address receives at least 1 coin for every mined block (an additional 10% above the block reward). The pubkey address also receives at least an additional 10% for every transaction made on the chain. For example, if a transaction sends 100 coins, an additional 10 coins are created and sent to the pubkey address. This includes the additional verification transaction in PoS blocks, meaning the pubkey address receives more coins for every PoS block. The extra amount sent to the pubkey address derives from blocks that are mined via ac_staked , the rewards of which are calculated into ac_perc .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"After the first 100000 blocks, the rewards from ac_staked are no longer included in the ac_perc rewards sent to the pubkey .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_perc=10000000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=50 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_perc=10000000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=50 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-11"},{"text":"ac_prices","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-prices"},{"text":"(In Development)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-prices"},{"text":"The ac_prices parameter has to be used along with the ac_cbopret parameter to supply TICKERS of the Cryptocurrencies whose BTC prices are to be included in the DTO.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-prices"},{"text":"ac_prices","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-prices"},{"text":"ac_cbopret","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-prices"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-12"},{"text":"A Smart Chain with a DTO that brings prices of various Cryptocurrencies vs BTC on-chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-12"},{"text":"./komodod -ac_cbopret=5 -ac_name=HELLOWORLD -ac_cbopret=5 -ac_prices=\"ETH, LTC, BNB, NEO, LRC, QTUM, OMG, ZRX, STRAT, IOTA, XVG, KMD, EOS, ZEC, DASH, XRP, STORJ, XMR, BAT, BTS, LSK, ADA, WAVES, STEEM, RVN, DCR, XEM, ICX, HOT, ENJ\" -ac_cc=10797 -ac_reward=3000000000 -ac_supply=120000000 -ac_pubkey=02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 -ac_perc=77777 -ac_blocktime=120 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-12"},{"text":"./komodod -ac_cbopret=5 -ac_name=HELLOWORLD -ac_cbopret=5 -ac_prices=\"ETH, LTC, BNB, NEO, LRC, QTUM, OMG, ZRX, STRAT, IOTA, XVG, KMD, EOS, ZEC, DASH, XRP, STORJ, XMR, BAT, BTS, LSK, ADA, WAVES, STEEM, RVN, DCR, XEM, ICX, HOT, ENJ\" -ac_cc=10797 -ac_reward=3000000000 -ac_supply=120000000 -ac_pubkey=02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 -ac_perc=77777 -ac_blocktime=120 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-12"},{"text":"ac_pubkey","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"The ac_pubkey parameter designates a pubkey for receiving payments from the network. These payments can come in the genesis block, in all blocks mined thereafter, and from every transaction on the network.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"This parameter is not intended for isolated use. It should only be activated on chains that also use at least one of the following parameters: ac_perc , ac_founders , or ac_import=PUBKEY .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"ac_import=PUBKEY","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"The pubkey must be a 66 character string (a compressed pubkey). You can find this pubkey for any address by using the validateaddress command, and searching for the returned pubkey property. The first two digits of a compressed pubkey are only either 02 or 03 . (The corresponding private key must be present/imported to the wallet before using validateaddress .)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"validateaddress","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"02","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"03","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"private key","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"validateaddress","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-pubkey"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"This example coin combines both ac_staked and ac_perc . As described in the section, \"Notes on How ac_staked Functions\" , the method of rewards for the coin will vary over time. The coins used to stake will be included in the ac_perc calculations until block height 100000 . Therefore, the pubkey that receives ac_perc block rewards will receive more for the first 100000 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"\"Notes on How ac_staked Functions\"","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"Other coin details include that it is a 777777-coin pre-mine, with a 10-coin block reward, and the chain adjusts difficulty so that 50% of the blocks are mined via PoS, and 50% via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"For the first 100000 blocks, the pubkey address receives at least 1 coin for every mined block (an additional 10% above the block reward). The pubkey address also receives at least an additional 10% for every transaction made on the chain. For example, if a transaction sends 100 coins, an additional 10 coins are created and sent to the pubkey address. This includes the additional verification transaction in PoS blocks, meaning the pubkey address receives more coins for every PoS block. The extra amount sent to the pubkey address derives from blocks that are mined via ac_staked , the rewards of which are calculated into ac_perc .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"After the first 100000 blocks, the rewards from ac_staked are no longer included in the ac_perc rewards sent to the pubkey .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"100000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_perc=10000000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=50\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_perc=10000000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=50\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-13"},{"text":"ac_public","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-public"},{"text":"If ac_public is set to 1 , zk-SNARKs are disabled, and all z address functionality is disabled. Therefore, all transactions on the blockchain are public.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-public"},{"text":"ac_public","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-public"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-public"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-14"},{"text":"A public-only Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-14"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_public=1 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-14"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_public=1 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-14"},{"text":"ac_reward","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"Komodo recommends that this parameter be included on all Smart Chains. Please\nsee below for additional notes.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"This is the block reward for each mined block, given in satoshis.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"If both ac_reward and ac_staked are not set, the default block reward will be 10000 satoshis and blocks will be on-demand after block 127 (a new block will not be mined unless there is a transaction in the mempool).","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"ac_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"10000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"127","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"Komodo recommends that ac_reward be included in all Smart Chains. This prevents the Smart Chain from becoming an on-demand blockchain, and therefore this increases the Smart Chain's security.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"ac_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"To make a Smart Chain that has no block reward and is not on-demand, include the parameters: -ac_reward=1 -ac_end=1 . The Smart Chain's first block will reward only the -ac_supply value, after which the ac_reward value will be 0 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"-ac_reward=1 -ac_end=1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"-ac_supply","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"ac_reward","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-reward"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"A 777777 coin pre-mine, with a 1 coin block reward that does not end. (Note that ac_supply is given in coins, while ac_reward is given in satoshis.)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"A 0 coin pre-mine with a 1-coin block reward that does not end. This is an example of a pure PoW Smart Chain that has no pre-mined coins.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=0 -ac_reward=100000000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=0 -ac_reward=100000000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"A 777777-coin pre-mine, with a 10-coin block reward, and the block reward decreases by 25% every 2000 blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_halving=2000 -ac_decay=75000000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_halving=2000 -ac_decay=75000000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-15"},{"text":"ac_sapling","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"The ac_sapling parameter adjusts the block height of a Smart Chain's default sapling activation. (Sapling is an upstream privacy technology provided by Zcash , of which Komodo is a fork.)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"ac_sapling","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"Zcash","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"By default, sapling will activate at block 61 on a newly created Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"This can also be used to activate sapling prior to block 61. (Activating sapling prior to block 61 should not be done on a chain intended for production use.)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"To delay sapling activation, set ac_sapling to a block height far in the future. For example, -ac_sapling=5000000 will delay sapling activation to block 5000000 . At block 5000000 sapling will be activated.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"ac_sapling","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"-ac_sapling=5000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"5000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"5000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"To support private transactions from the beginning, new AC chains must include the -ac_sapling=1 parameter, otherwise these chains will not be able to send shielded transactions until sapling activation, as old Sprout proofs are no longer supported. Additionally, all Sprout transactions have been prohibited since February 15, 2019 by consensus rules.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-sapling"},{"text":"ac_script","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"The ac_script parameter enables the ac_founders reward to be sent to a multi-signature address or any p2sh address. If this parameter is used, block 1 (the \"premine\") will be mined to the ac_script address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"This parameter requires that ac_founders also be active. If ac_script is set, ac_pubkey must not be.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_founders","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_script should be set to the \"hex\" value of \"scriptPubKey\" .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"\"hex\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"\"scriptPubKey\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-script"},{"text":"Finding the scriptPubKey","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"finding-the-script-pub-key"},{"text":"To find the \"scriptPubKey\" value, first create a multi-signature address with the createmultisig command.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"finding-the-script-pub-key"},{"text":"\"scriptPubKey\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"finding-the-script-pub-key"},{"text":"createmultisig","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"finding-the-script-pub-key"},{"text":"Command","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=EXAMPLE createmultisig 2 \"[\\\"RMnZJpfLbFHUxMS3HM5gkvtFKeduhr96Ec\\\",\\\"RW2Yx4Tk9WGfUvhbJTXGFiRhr7PKcVtrm5\\\",\\\"RQ1uqBj9yk94BcxEZodbeNqb3jWv8pLeA4\\\"]\"\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=EXAMPLE createmultisig 2 \"[\\\"RMnZJpfLbFHUxMS3HM5gkvtFKeduhr96Ec\\\",\\\"RW2Yx4Tk9WGfUvhbJTXGFiRhr7PKcVtrm5\\\",\\\"RQ1uqBj9yk94BcxEZodbeNqb3jWv8pLeA4\\\"]\"\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"command"},{"text":"Response","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"response"},{"text":"{\n \"address\": \"bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV\",\n \"redeemScript\": \"522102040ce30d52ff1faae7a673c2994ed0a2c4115a40fa220ce055d9b85e8f9311ef2102a2ba4606206c032914dd48390c15f5bf996d91bf9dbd07614d972f39d93a511321026014ef4194f6c7406a475a605d6a393ae2d7a2b12a6964587299bae84172fff053ae\"\n}\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"response"},{"text":"{\n \"address\": \"bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV\",\n \"redeemScript\": \"522102040ce30d52ff1faae7a673c2994ed0a2c4115a40fa220ce055d9b85e8f9311ef2102a2ba4606206c032914dd48390c15f5bf996d91bf9dbd07614d972f39d93a511321026014ef4194f6c7406a475a605d6a393ae2d7a2b12a6964587299bae84172fff053ae\"\n}\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response"},{"text":"On a test chain, send coins to the bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"response"},{"text":"bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response"},{"text":"Command","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=EXAMPLE sendtoaddress bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV 10\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=EXAMPLE sendtoaddress bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV 10\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"command-2"},{"text":"Response (txid)","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"response-txid"},{"text":"ef0d05f14ea2a5bfa1c99142c2e3d78c851223d7476ed2e57b61b6e07f741f0f\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"response-txid"},{"text":"ef0d05f14ea2a5bfa1c99142c2e3d78c851223d7476ed2e57b61b6e07f741f0f\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response-txid"},{"text":"Observe the resulting transaction with getrawtransaction 1 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"response-txid"},{"text":"getrawtransaction 1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response-txid"},{"text":"Command","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=EXAMPLE getrawtransaction ef0d05f14ea2a5bfa1c99142c2e3d78c851223d7476ed2e57b61b6e07f741f0f 1\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=EXAMPLE getrawtransaction ef0d05f14ea2a5bfa1c99142c2e3d78c851223d7476ed2e57b61b6e07f741f0f 1\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"command-3"},{"text":"Response","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"{\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_HASH160 2706324daaac92c93420e985f55d88ea20e22ae1 OP_EQUAL\",\n \"hex\": \"a9142706324daaac92c93420e985f55d88ea20e22ae187\",\n \"reqSigs\": 1,\n \"type\": \"scripthash\",\n \"addresses\": [\"bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV\"]\n }\n}\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"{\n \"value\": 10.0,\n \"valueSat\": 1000000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_HASH160 2706324daaac92c93420e985f55d88ea20e22ae1 OP_EQUAL\",\n \"hex\": \"a9142706324daaac92c93420e985f55d88ea20e22ae187\",\n \"reqSigs\": 1,\n \"type\": \"scripthash\",\n \"addresses\": [\"bGHcUFb7KsVbSFiwcBxRufkFiSuhqTnAaV\"]\n }\n}\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"Set ac_script to the \"hex\" value from the returned json object.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"ac_script","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"\"hex\"","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"response-2"},{"text":"Command","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"command-4"},{"text":"-ac_script=a9142706324daaac92c93420e985f55d88ea20e22ae187\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"command-4"},{"text":"-ac_script=a9142706324daaac92c93420e985f55d88ea20e22ae187\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"command-4"},{"text":"ac_staked","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"ac_staked indicates the percentage of blocks the chain will aim to mine via Proof of Stake (PoS), with the remainder via Proof of Work (PoW). For example, an ac_staked=90 chain will have ~90% PoS blocks and ~10% PoW blocks.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"ac_staked=90","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Measurements of the PoS:PoW ratio are approximate; the PoW difficulty will automatically adjust based on the overall percentage of PoW-mined blocks to adhere to the approximate PoS value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"PoS:PoW","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"PoS","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"When creating a chain with the ac_staked parameter, the creation process is slightly different.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Start both the first and second nodes without -gen -genproclimit=0 .","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"without","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"-gen -genproclimit=0","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Once both are connected, execute setgenerate true 1 on the node that should receive the pre-mine.","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"setgenerate true 1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Observe the debug.log by executing tail -f ~/.komodo//debug.log","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"tail -f ~/.komodo//debug.log","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Wait for the Smart Chain to mine two blocks","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Execute setgenerate false to stop mining","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"setgenerate false","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"All of the coins (including the pre-mine) are now located on the node that mined two blocks. Do not split them with a normal transaction. Rather, split them using this tool: link .","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"link","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"On the first node use 'setgenerate true 0' to enable staking.","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"On the second node use 'setgenerate true 1' (or use a desired processor number instead '1') to enable mining.","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Use the getbalance64 method to ensure that there are coins staking in all 64 segids before block 10. The utxos may appear on any list, including both staking and nonstaking.","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"getbalance64","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Following the above instructions will ensure that the Smart Chain is stable.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"On a chain using a high percentage for PoS, it's vital to have coins staking by block 100. If too many PoW blocks are mined consecutively at the start of the chain, the PoW difficulty may increase enough to stop the chain entirely. This can prevent users from sending transactions to staking nodes.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"The Smart Chain developer must give the ac_reward parameter a value for staking to function properly.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"ac_reward","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"It is vital to stake coins in all 64 segids. You can use the genaddresses.py script in this repository to generate an address for each segid. This functionality will soon be integrated directly into the daemon.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"this repository","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"The first 100 blocks will allow PoW regardless of the ac_staked value.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"It is not possible to both PoW mine and stake on the same node. Therefore,\nwhen the chain's consensus mechanism allows both PoS and PoW, the chain\ncreator needs a minimum of two nodes mining/staking to keep the blockchain\nmoving.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-staked"},{"text":"Notes on How ac_staked Functions","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"Once staking is active, utxos available in the wallet.dat file will stake automatically.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"wallet.dat","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"On an ac_staked Smart Chain there are 64 global segments ( segid 's) to which all addresses and the corresponding utxos belong. These 64 segid 's become eligible to stake blocks in turns. The segment a utxo belongs to is determined automatically, according to the address in which the utxo resides.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"You can see which segment an address belongs to by using the validateaddress API command. You can use the getbalance64 API command to observe how your staked coins are distributed across the separate segids.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"validateaddress","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"getbalance64","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"Each staked block will have an additional transaction added to the end of the block in which the coins that staked the block are sent back to the same address. This is used to verify which coins staked the block, and this allows for compatibility with existing Komodo infrastructure.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"There are additional considerations when ac_staked is used in conjunction with ac_perc and ac_pubkey . The coins used to stake will be included in the ac_perc calculations until the Smart Chain reaches block height 1000000 . Therefore, the ac_pubkey address will receive more coins for each staked block compared to a mined block. After block 1000000 , ac_perc will no longer include the coins used for staking, and therefore the amount of coins sent to the ac_pubkey address will normalize.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_perc","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_pubkey","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"1000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_pubkey","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"1000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_perc","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"ac_pubkey","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"notes-on-how-ac-staked-functions"},{"text":"Rules for Staking a Block","tagName":"h3","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"The following are the (current) rules for staking a block:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"\n Block timestamps are used as the monotonically increasing on-chain clock. It is important to have a synced system clock. Use the following sequence to sync your clock: sudo apt-get install chrony , sudo systemctl restart chrony.service , then check timedatectl for NTP syncronized: Yes \n","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"Block timestamps are used as the monotonically increasing on-chain clock. It is important to have a synced system clock. Use the following sequence to sync your clock: sudo apt-get install chrony , sudo systemctl restart chrony.service , then check timedatectl for NTP syncronized: Yes","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"sudo apt-get install chrony","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"sudo systemctl restart chrony.service","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"timedatectl","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"NTP syncronized: Yes","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"Block timestamps are used as the monotonically increasing on-chain clock. It is important to have a synced system clock. Use the following sequence to sync your clock: sudo apt-get install chrony , sudo systemctl restart chrony.service , then check timedatectl for NTP syncronized: Yes","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"sudo apt-get install chrony","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"sudo systemctl restart chrony.service","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"timedatectl","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"NTP syncronized: Yes","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"\n A utxo is not eligible for staking until a certain amount of time has passed after its creation. By default, between blocks 1 and 2000 the amount of time required for a utxo to be eligibile is blockheight * 3 seconds . After block 2000 , the required amount of time is 6000 seconds. More precisely, after block 2000 a utxo is not eligible for staking until 100 * the expected blocktime (i.e. 1 minute) . For example, utxos on a one-minute block-time Smart Chain would be eligible for staking one-hundred minutes after their creation. \n","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"A utxo is not eligible for staking until a certain amount of time has passed after its creation. By default, between blocks 1 and 2000 the amount of time required for a utxo to be eligibile is blockheight * 3 seconds . After block 2000 , the required amount of time is 6000 seconds. More precisely, after block 2000 a utxo is not eligible for staking until 100 * the expected blocktime (i.e. 1 minute) . For example, utxos on a one-minute block-time Smart Chain would be eligible for staking one-hundred minutes after their creation.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"blockheight * 3 seconds","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"100 * the expected blocktime (i.e. 1 minute)","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"A utxo is not eligible for staking until a certain amount of time has passed after its creation. By default, between blocks 1 and 2000 the amount of time required for a utxo to be eligibile is blockheight * 3 seconds . After block 2000 , the required amount of time is 6000 seconds. More precisely, after block 2000 a utxo is not eligible for staking until 100 * the expected blocktime (i.e. 1 minute) . For example, utxos on a one-minute block-time Smart Chain would be eligible for staking one-hundred minutes after their creation.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"blockheight * 3 seconds","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"2000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"100 * the expected blocktime (i.e. 1 minute)","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"\n The segid s rotate through a queue to determine which segid has the most likely chance to stake a new block. The formula that determines this is based on the block height: (height % 64) = the segid0 for this height . For each block, the eligibility to stake a new block begins with segid[0] , and then the eligibility expands to the next segment in queue at every two-second interval until the block is staked. For example, if segid[0] has not mined a new block within two seconds, the consensus mechanism opens up the priority to include the second, segid[1] . This continues either until the block is staked, or all 64 segid 's are eligible to stake a new block. Once a block is staked, the height of the blockchain changes, pushing the segid[0] segment to the end of the queue, etc. \n","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"The segid s rotate through a queue to determine which segid has the most likely chance to stake a new block. The formula that determines this is based on the block height: (height % 64) = the segid0 for this height . For each block, the eligibility to stake a new block begins with segid[0] , and then the eligibility expands to the next segment in queue at every two-second interval until the block is staked. For example, if segid[0] has not mined a new block within two seconds, the consensus mechanism opens up the priority to include the second, segid[1] . This continues either until the block is staked, or all 64 segid 's are eligible to stake a new block. Once a block is staked, the height of the blockchain changes, pushing the segid[0] segment to the end of the queue, etc.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"(height % 64) = the segid0 for this height","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[1]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"height","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"The segid s rotate through a queue to determine which segid has the most likely chance to stake a new block. The formula that determines this is based on the block height: (height % 64) = the segid0 for this height . For each block, the eligibility to stake a new block begins with segid[0] , and then the eligibility expands to the next segment in queue at every two-second interval until the block is staked. For example, if segid[0] has not mined a new block within two seconds, the consensus mechanism opens up the priority to include the second, segid[1] . This continues either until the block is staked, or all 64 segid 's are eligible to stake a new block. Once a block is staked, the height of the blockchain changes, pushing the segid[0] segment to the end of the queue, etc.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"(height % 64) = the segid0 for this height","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[1]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"height","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid[0]","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"\n By internal design, a utxo is more likely to win a block within a segid based on age of the utxo and amount of coins. Regarding the age eligibiility, the maximum maturity level is one month (e.g. after reaching one month of age, a utxo's likelihood of staking a coin does not further increase). The age of the utxo is set by the nlocktime property of the utxo, or if nlocktime is not set, the age is determined by the utxo's blocktime property. \n","tagName":"li","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"By internal design, a utxo is more likely to win a block within a segid based on age of the utxo and amount of coins. Regarding the age eligibiility, the maximum maturity level is one month (e.g. after reaching one month of age, a utxo's likelihood of staking a coin does not further increase). The age of the utxo is set by the nlocktime property of the utxo, or if nlocktime is not set, the age is determined by the utxo's blocktime property.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"nlocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"nlocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"blocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"By internal design, a utxo is more likely to win a block within a segid based on age of the utxo and amount of coins. Regarding the age eligibiility, the maximum maturity level is one month (e.g. after reaching one month of age, a utxo's likelihood of staking a coin does not further increase). The age of the utxo is set by the nlocktime property of the utxo, or if nlocktime is not set, the age is determined by the utxo's blocktime property.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"segid","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"nlocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"nlocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"blocktime","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"rules-for-staking-a-block"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"A 777777-coin pre-mine with a 1-coin block reward. The chain adjusts difficulty to keep 90% of blocks mined via PoS, and 10% mined via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_staked=90 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_staked=90 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"A 777777 coin pre-mine with a 10-coin block reward. The chain adjusts difficulty so 2% of blocks are mined via PoS, 98% via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_staked=2 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000 -ac_staked=2 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"A 777777-coin pre-mine, with a 1-coin block reward, block reward decreases by 50% every 2000 blocks, and the chain adjusts difficulty so 10% of blocks are mined via PoS, 90% via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_havling=2000 -ac_staked=10 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000 -ac_havling=2000 -ac_staked=10 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"A 777777-coin pre-mine, a 10000-coin block reward, the block reward decreases by 40% every 2000 blocks, and the chain adjusts difficulty so 50% of blocks are mined via PoS, 50% via PoW.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000000 -ac_halving=2000 -ac_decay=60000000 -ac_staked=50 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=1000000000000 -ac_halving=2000 -ac_decay=60000000 -ac_staked=50 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"A 777777-coin pre-mine, a 1000-coin block reward, the block reward decreases by 25% every 100000 blocks, the block reward ends at block 1000000, and the chain adjusts difficulty so 1% of blocks are mined via PoS, 99% via PoW. The pubkey address receives an additional 0.5% above the block reward for each mined block. For example, before the first halving, the pubkey address will receive 5 coins (0.5% of 1000 coin block reward) for every mined block. After the first halving, the pubkey address will receive 3.75 coins for every mined block (0.5% of 750-block reward). The pubkey address receives an additional 0.5% for every transaction made on the chain. For example, if a transaction sends 100 coins, an additional 0.5 coins are created and sent to the pubkey address. This includes the additional verification transaction in PoS blocks, meaning the pubkey address receives more coins for every PoS block.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000000 -ac_halving=100000 -ac_decay=75000000 -ac_end=1000000 -ac_perc=500000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=1 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=100000000000 -ac_halving=100000 -ac_decay=75000000 -ac_end=1000000 -ac_perc=500000 -ac_pubkey=DO_NOT_USE_5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 -ac_staked=1 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-16"},{"text":"ac_stocks","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"(In development)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"The ac_stocks parameter has to be used along with the ac_cbopret parameter to supply TICKERS of the Stocks (available at https://api.iextrading.com/1.0/tops/last ) whose USD prices are to be included in the DTO.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"ac_stocks","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"ac_cbopret","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"https://api.iextrading.com/1.0/tops/last","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-stocks"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-17"},{"text":"A Smart Chain with a DTO that brings prices of various Stocks vs USD on-chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-17"},{"text":"./komodod -ac_cbopret=9 -ac_name=HELLOWORLD -ac_cbopret=9 -ac_stocks=\"AAPL,ADBE,ADSK,AKAM,AMD,AMZN,ATVI,BB,CDW,CRM,CSCO,CYBR,DBX,EA,FB,GDDY,GOOG,GRMN,GSAT,HPQ,IBM,INFY,INTC,INTU,JNPR,MSFT,MSI,MU,MXL,NATI,NCR,NFLX,NTAP,NVDA,ORCL,PANW,PYPL,QCOM,RHT,S,SHOP,SNAP,SPOT,SYMC,SYNA,T,TRIP,TWTR,TXN,VMW,VOD,VRSN,VZ,WDC,XRX,YELP,YNDX,ZEN,BRK.A\" -ac_cc=10797 -ac_reward=3000000000 -ac_supply=120000000 -ac_pubkey=02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 -ac_perc=77777 -ac_blocktime=120 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-17"},{"text":"./komodod -ac_cbopret=9 -ac_name=HELLOWORLD -ac_cbopret=9 -ac_stocks=\"AAPL,ADBE,ADSK,AKAM,AMD,AMZN,ATVI,BB,CDW,CRM,CSCO,CYBR,DBX,EA,FB,GDDY,GOOG,GRMN,GSAT,HPQ,IBM,INFY,INTC,INTU,JNPR,MSFT,MSI,MU,MXL,NATI,NCR,NFLX,NTAP,NVDA,ORCL,PANW,PYPL,QCOM,RHT,S,SHOP,SNAP,SPOT,SYMC,SYNA,T,TRIP,TWTR,TXN,VMW,VOD,VRSN,VZ,WDC,XRX,YELP,YNDX,ZEN,BRK.A\" -ac_cc=10797 -ac_reward=3000000000 -ac_supply=120000000 -ac_pubkey=02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 -ac_perc=77777 -ac_blocktime=120 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-17"},{"text":"ac_supply","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"This is the amount of pre-mined coins you would like the chain to have.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"The node that sets gen during the creation process will mine these coins in the genesis block.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"gen","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"If ac_supply is not set, ac_reward must be set, and a default value of 10 coins will be used in the genesis block. If ac_founders is set, the pre-mined coins will be mined to the founder's reward address.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_supply","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_reward","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_founders","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"The ac_supply parameter should be set to a whole number without any decimals places. It should also be set to less than 2000000000 to avoid 64-bit overflows.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_supply","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"2000000000","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"An additional fraction of a coin will be added to the initial supply based on\nthe Smart Chain's parameters. This is used by nodes to verify the genesis\nblock. For example, the DEX chain's ac_supply parameter is set to 999999 ,\nbut in reality the genesis block was 999999.13521376 . When using\n ac_staked , the additional amount may be more than a full coin, and can add\nup to two digits left of the decimal point.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_supply","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"999999","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"999999.13521376","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-supply"},{"text":"📌 Examples","tagName":"h4","path":"antara/setup/antara-customizations","closestElementReference":"examples-18"},{"text":"A simple Smart Chain with pre-mined coins and a block reward of 0.0005.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"examples-18"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=50000 &\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"examples-18"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=777777 -ac_reward=50000 &\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"examples-18"},{"text":"ac_snapshot","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-snapshot"},{"text":"The ac_snapshot parameter defines the frequency with which a Smart Chain creates snapshots of the address - balance data.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-snapshot"},{"text":"ac_snapshot","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-snapshot"},{"text":"address - balance","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-snapshot"},{"text":"Example","tagName":"h6","path":"antara/setup/antara-customizations","closestElementReference":"example"},{"text":"The following example instructs the Smart Chain to execute a snapshot once every 1440 blocks. (Approximately one snapshot per day.)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"example"},{"text":"1440","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"example"},{"text":"-ac_snapshot=1440\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"example"},{"text":"-ac_snapshot=1440\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"example"},{"text":"Payments Module Functionality","tagName":"h5","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"The ac_snapshot parameter is required by the paymentsairdrop method of the Payments Antara Module.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"ac_snapshot","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"paymentsairdrop","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"The user first executes the paymentsairdrop method to create a Payments plan that is designed to distribute airdrops to addresses on the chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"paymentsairdrop","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"The user then executes the paymentsrelease method to release payments based on the amounts in the addresses in the most recent snapshot, as recorded by the ac_snapshot customization.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"paymentsrelease","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"ac_snapshot","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"The Payments Module features several customizations to control the nature of these automated airdrops.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"payments-module-functionality"},{"text":"ac_timelock...","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"-ac_timeunlockgte=satoshis -ac_timelockfrom=height -ac_timelockto=height","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"-ac_timeunlockgte=satoshis -ac_timelockfrom=height -ac_timelockto=height","tagName":"strong","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"The ac_timelock... parameters enforce \"coinbase locking\".","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"ac_timelock...","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"In coinbase locking, the Smart Chain's block-reward feature behaves in a different manner compared to a default Smart Chain. Any block reward that is greater than or equal to the ac_timeunlockgte satoshi amount is temporarily locked. It will be unlocked (and therefore spendable) on a random block between the ac_timelockfrom and ac_timelockto heights.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"ac_timeunlockgte","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"ac_timelockfrom","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"ac_timelockto","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"The random unlock time for each reward is independent of the unlock time of other rewards.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"For example:","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=0 -ac_reward=10000000000 -ac_halving=10000 -ac_timelockgte=10000000000 -ac_timeunlockfrom=10000 -ac_timeunlockto=100000\n","tagName":"pre","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"./komodod -ac_name=HELLOWORLD -ac_supply=0 -ac_reward=10000000000 -ac_halving=10000 -ac_timelockgte=10000000000 -ac_timeunlockfrom=10000 -ac_timeunlockto=100000\n","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"For the first 10000 blocks, any rewards that are greater than or equal to 10000000000 are locked until a random block between 10000 and 100000.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-timelock"},{"text":"ac_txpow","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"This parameter is in its final testing stages. Please reach out to us if you\nwould like to use it on a production chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"Setting -ac_txpow=1 enforces a transaction-rate limiter. This can help to prevent spam transactions on a Smart Chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"-ac_txpow=1","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"ac_txpow forces all transactions (other than coinbase transactions) to have a txid starting and ending with 00 .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"ac_txpow","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"00","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"This parameter is currently a proof of concept. Many of the traditional API commands, such as sendtoaddress or sendmany , are not currently supported. Instead, use createrawtransaction and signrawtransaction .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"sendtoaddress","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"sendmany","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"createrawtransaction","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"signrawtransaction","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-txpow"},{"text":"ac_veruspos","tagName":"h2","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"This parameter is in its final testing stages. Please reach out to us if you\nwould like to use it on a production chain.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"The ac_veruspos parameter is an alternative to ac_staked .","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"ac_veruspos","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"ac_staked","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"When activated, the chain uses Verus 's proof of stake implementation instead.","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"Verus","tagName":"a","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"The only valid value for this parameter is -ac_veruspos=50 . ( ac_veruspos does not have the same segid mechanism as -ac_staked .)","tagName":"p","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"-ac_veruspos=50","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"ac_veruspos","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"},{"text":"-ac_staked","tagName":"code","path":"antara/setup/antara-customizations","closestElementReference":"ac-veruspos"}],"antara/setup":[{"text":"Antara Setup","tagName":"h1","path":"antara/setup","closestElementReference":"antara-setup"},{"text":"This section of the documentation contains information required to Setup Antara based Smart Chains.","tagName":"p","path":"antara/setup","closestElementReference":"antara-setup"}],"antara/tutorials/activate-antara-smartchain":[{"text":"How to Activate Custom Consensus modules on an Existing Komodo Smartchain","tagName":"h1","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"how-to-activate-custom-consensus-modules-on-an-existing-komodo-smartchain"},{"text":"If you have an existing smartchain based on Komodo platform without Custom Consensus modules enabled, you can activate it at any time. Komodo daemon now supports the command-line parameter -ac_ccactivate=height , using which you can activate CC on a non-CC enabled chain in a future block height.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"how-to-activate-custom-consensus-modules-on-an-existing-komodo-smartchain"},{"text":"-ac_ccactivate=height","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"how-to-activate-custom-consensus-modules-on-an-existing-komodo-smartchain"},{"text":"Example","tagName":"h2","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"The first existing chain which doesn't have CC enabled, whose startup command looks like this","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -addnode=24.54.206.138 &\n","tagName":"pre","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -addnode=24.54.206.138 &\n","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"It was a very easy way to start a chain using Komodo technology, with very few parameters. In order to activate CC in this chain, all we have to do is the following:","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -ac_ccactivate=140 -addnode=24.54.206.138 &\n","tagName":"pre","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"./komodod -ac_name=EXAMPLE -ac_supply=72000000 -ac_ccactivate=140 -addnode=24.54.206.138 &\n","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_ccactivate=140 means, Custom Consensus modules are activated at block 140. You can set this parameter to any block height you want the CC to be activated.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_ccactivate=140","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"As this is a hardforking change, all nodes must update. If the chain is being notarized, Notary Nodes need to update to the new parameters as well for the notarization to continue without disruption past the activation block.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"Once CC is activated on a chain, do not change the startup script. If you do, that will create a new fork.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"By default, -ac_ccactivate=height uses -ac_cc=2 (If you recall , -ac_cc is the parameter that defines the cluster of chains which can have cross chain Custom Consensus modules). But, you cant add -ac_cc=2 to the command line, as this will create a new fork. -ac_ccactivate=height will take care of those things automagically.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_ccactivate=height","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_cc=2","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"recall","tagName":"a","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_cc","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_ccactivate=height","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"Also, addressindex=1 and spentindex=1 need to be in the configuration file, but the daemon will take care of setting this up when -ac_ccactivate=height is included as a command-line parameter.","tagName":"p","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"},{"text":"-ac_ccactivate=height","tagName":"code","path":"antara/tutorials/activate-antara-smartchain","closestElementReference":"example"}],"antara/tutorials/advanced-series-0":[{"text":"An Advanced Approach to Komodo's Antara Framework","tagName":"h1","path":"antara/tutorials/advanced-series-0","closestElementReference":"an-advanced-approach-to-komodos-antara-framework"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/advanced-series-0","closestElementReference":"introduction"},{"text":"The following content is provided for the experienced C/C++ developer who desires to create new Antara Modules for Komodo Smart Chains.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"introduction"},{"text":"The content herein provides introductory instruction that can allow the developer to more easily read existing Antara-related code and follow advanced tutorials that examine specific Antara Modules.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"introduction"},{"text":"Link to Learning Path Outline","tagName":"h2","path":"antara/tutorials/advanced-series-0","closestElementReference":"link-to-learning-path-outline"},{"text":"The following tutorial series is intended for advanced Komodo developers who intend to manipulate the default software setup. Please review the placement of this tutorial in the Learning Path Outline section.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"link-to-learning-path-outline"},{"text":"the Learning Path Outline section.","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"link-to-learning-path-outline"},{"text":"Antara Encompasses Several Technologies","tagName":"h2","path":"antara/tutorials/advanced-series-0","closestElementReference":"antara-encompasses-several-technologies"},{"text":"The Antara Framework greatly enhances blockchain functionality. Antara allows a developer to use their Smart Chain's consensus mechanism to enforce arbitrary code. Antara even allows clusters of Smart Chains to work together in this effort.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"antara-encompasses-several-technologies"},{"text":"The level of freedom this grants to the blockchain developer is sometimes difficult to comprehend until one has either seen the technology in action or engaged with the technology directly.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"antara-encompasses-several-technologies"},{"text":"The Antara Framework takes into account several different advanced technologies. To limit the scope of our introduction, for now we focus only on one crucial aspect: \"CryptoConditions,\" or \"CC\" for brevity.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"antara-encompasses-several-technologies"},{"text":"A Less Conceptual Discussion of CryptoConditions","tagName":"h2","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-less-conceptual-discussion-of-crypto-conditions"},{"text":"CryptoConditions in Brief","tagName":"h4","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-in-brief"},{"text":"CryptoConditions is a technology that allows for logical conditions and fulfillments to be evaluated as a part of consensus.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-in-brief"},{"text":"CryptoConditions is Based on an Industry-Wide Proposed Standard","tagName":"h5","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"CryptoConditions technology is not a new concept. The Interledger team originally proposed this technology in 2016.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"Interledger","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"The original proposal was that it would be an open-source industry-wide standard format. The Interledger team does not seem to have continued exploring the technology beyond the original proposal.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"original proposal","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"Komodo, on the other hand, found the CryptoConditions concept to be intriguing. In 2018, Komodo adopted this open-source technology into the suite of offerings in our Antara Framework.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"Our implementation uses many of the key ideas put forth by the Interledger team, and at the same time we depart in several significant ways. Those who are curious for specific details on this topic can explore the open-source code in the respective repositories.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-is-based-on-an-industry-wide-proposed-standard"},{"text":"A Brief Description of Komodo Enhancements","tagName":"h5","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-description-of-komodo-enhancements"},{"text":"At the simplest level, CryptoConditions operates with electronic signatures and hashes. The Komodo team enhanced CryptoCondition technology beyond the original specifications. Our implementation allows for a Smart Chain's consensus mechanism to evaluate the results of arbitrary code and to update state in the blockchain's data in a decentralized and secure fashion.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-description-of-komodo-enhancements"},{"text":"The important takeaway is that the Antara Framework encompasses several underlying technologies, one of which is CryptoConditions (CC). This technology allows a developer to add several enhancements to their Smart Chain. These enhancements include complex logical conditions and fulfillments, and arbitrary code. The enhancements rely on the consensus mechanism to ensure state integrity in a decentralized environment.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-description-of-komodo-enhancements"},{"text":"CryptoConditions Depends Upon Transactions and Booleans","tagName":"h4","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"At the most fundamental level, blockchain data is advanced only through transactions. A blockchain itself is nothing but a list of transactions, bound into blocks. By design, each transaction must be confirmed by the consensus mechanism.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"Therefore, all decentralized data that a developer wishes to create or use with their arbitrary code must first be added to a transaction. This transaction is then passed through the consensus mechanism. Transactions that are successfully confirmed are finally added to the blockchain, and therefore the data is also added.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"To take advantage of this functionality, a developer adds customized source code to the Antara Framework to form a new module. Whenever a relevant transaction occurs on the blockchain, the consensus mechanism calls the developer's module, validates the logical conditions and fulfillments as put forth by the arbitrary code, and either confirms or denies the transaction.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"To simplify this process, Antara requires that the developer build their module such that each CryptoConditions (CC) transaction returns a boolean value as a part of the final results. If the returned boolean value is true , the transaction is approved.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"With this framework in place, the developer can also add any other data to be saved as a part of the transaction. This data is included in a special part of the transaction called an OP_RETURN , or opreturn for brevity. We will discuss opreturns in greater detail further on.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"OP_RETURN","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"Through Antara, the developer receives a powerful tool for creating and executing decentralized arbitrary code. A developer can also add data to any transaction, and their Smart Chain can utilize this data in future executions of arbitrary code. The primary requirement is that the arbitrary code return a meaningful boolean value as a part of the final result.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"crypto-conditions-depends-upon-transactions-and-booleans"},{"text":"Building an Antara Module is Harder Than Creating a Balance-Based Smart Contract","tagName":"h4","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"Antara Modules are fundamentally different than the \"smart contracts\" that are familiar on other blockchain platforms. The key difference is that Antara Modules directly rely on \"unspent transactions,\" which are called \"utxos\" for brevity. Balance-based smart contracts, on the other hand, rely on the total balance of funds held within an address.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"\"unspent transactions,\"","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"Utxo-based modules are harder to create than balance-based smart contracts. However, because utxo-based modules leverage the existing Bitcoin-utxo system, they result in more powerful functionality that can even be more secure than a smart contract.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"For example, within balance-based smart contracts transactions do not have to pass a full review by the consensus mechanism of the underlying blockchain. Instead, most of the transaction verification happens within a decentralized virtual machine that executes code written by a developer.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"a decentralized virtual machine","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"In this situation, all developers involved in a smart contract must maintain a high level of programming awareness to avoid disasters, such as those seen in the Parity Attack. Furthermore, a typical smart contract has access to the full balance held in the wallets of all users who are actively engaged with the contract. If a developer makes a mistake in their code, the full balance associated with the smart contract is vulnerable.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"the Parity Attack.","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"In a utxo-based module these risks are reduced. One reason utxo-based modules are more secure is that every update of the blockchain's state must be executed as a Bitcoin-protocol based transaction — as opposed to using a virtual-machine with a developer-created transaction. Creating a transaction that passes the Bitcoin protocol's security checks, while more challenging, grants a higher level of security to the final code.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"Furthermore, any mistakes that a developer does make in a utxo-based module risk only those funds that are held in utxos that are committed to the Antara Module — as opposed to the entire balance of the wallet associated with a smart contract.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"Balance-based smart contracts that use the popular virtual-machine model cannot compare to the security measures offered by the Bitcoin-protocol's consensus mechanism that is featured in a Komodo Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"As the developer engages with Antara Module development, they can learn how utxo-based modules allow for increased speed in achieving consensus, greater simplicity in software architecture, more flexible functionality between Smart Chains, and many more superior features.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"building-an-antara-module-is-harder-than-creating-a-balance-based-smart-contract"},{"text":"A Brief Look at an Antara Module Template","tagName":"h4","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"The following file, customcc.cpp , is a blank template a developer can use when beginning the creation of a new Antara Module. Take a brief look to familiarize yourself with the essential layout.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"customcc.cpp","tagName":"code","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Link to customcc.cpp file","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Link to customcc.cpp file","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"The key takeaway is that the entrypoints to Antara's CryptoConditions technology are broken down into a few functions and tables. Once the developer grasps the nature of working with these entry points, building Antara Modules becomes a simple exercise in the common aspects of software development.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Komodo already offers many SDK functions, tutorials, and best practices to simplify the learning curve and development process, and we continue to develop more of these sources of assistance.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Before the developer can begin creating new Antara Modules, there are several key concepts to understand in the Bitcoin Protocol.","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Link to Next Tutorial in the Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"},{"text":"Link to Next Tutorial in the Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-0","closestElementReference":"a-brief-look-at-an-antara-module-template"}],"antara/tutorials/advanced-series-1":[{"text":"Advanced Series — Smart Chain Development Basics","tagName":"h1","path":"antara/tutorials/advanced-series-1","closestElementReference":"advanced-series-smart-chain-development-basics"},{"text":"Understanding Utxos is Important in Antara Modules","tagName":"h2","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"In the Learning Launchpad Outline the reader received encouragement to understand the basics of blockchain technology in preparation for this tutorial. The Core Technology Discussions section provides a useful introduction to most concepts that are necessary for blockchain engineers.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"Learning Launchpad Outline","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"Core Technology Discussions section","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"A key basic concept to understand is the unspent transaction, or utxo. For a brief reminder on the nature of a utxo, read this section in the Core Technology Discussions section.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"this section in the Core Technology Discussions section.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"Observe the data structure of a transaction.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"{\n \"hex\": \"0400008085202f890100277b16c44a997e8224cb1779688caa20f101c534e037054daa77aa6bbff6000100000049483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401feffffff02b8374c000000000023210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac404b4c00000000001976a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac8dffff5cb8dd01000000000000000000000000\",\n \"txid\": \"6d3b67086ef6964e4022654938e71eb5a248aa5a1853b999381126c7d4dd0364\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 1560280973,\n \"expiryheight\": 122296,\n \"vin\": [\n {\n \"txid\": \"00f6bf6baa77aa4d0537e034c501f120aa8c687917cb24827e994ac4167b2700\",\n \"vout\": 1,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"scriptSig\": {\n \"asm\": \"3045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac4[ALL]\",\n \"hex\": \"483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401\"\n },\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"sequence\": 4294967294\n }\n ],\n \"vout\": [\n {\n \"value\": 0.04995,\n \"valueSat\": 4995000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1ef OP_CHECKSIG\",\n \"hex\": \"210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\"]\n }\n },\n {\n \"value\": 0.05,\n \"valueSat\": 5000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f3f476150b5a0f65a0972520653e6523dc2bd5ac OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RXX78ba9g6aXuNLfeHTN24WhPWj3jWqyia\"]\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"002536f5e1cb5b9cad3952e45523d64b17bc56808483f7dc6cdfd7882d58d60d\",\n \"height\": 122276,\n \"confirmations\": 1,\n \"rawconfirmations\": 1,\n \"time\": 1560281131,\n \"blocktime\": 1560281131\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"{\n \"hex\": \"0400008085202f890100277b16c44a997e8224cb1779688caa20f101c534e037054daa77aa6bbff6000100000049483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401feffffff02b8374c000000000023210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac404b4c00000000001976a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac8dffff5cb8dd01000000000000000000000000\",\n \"txid\": \"6d3b67086ef6964e4022654938e71eb5a248aa5a1853b999381126c7d4dd0364\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 1560280973,\n \"expiryheight\": 122296,\n \"vin\": [\n {\n \"txid\": \"00f6bf6baa77aa4d0537e034c501f120aa8c687917cb24827e994ac4167b2700\",\n \"vout\": 1,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"scriptSig\": {\n \"asm\": \"3045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac4[ALL]\",\n \"hex\": \"483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401\"\n },\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"sequence\": 4294967294\n }\n ],\n \"vout\": [\n {\n \"value\": 0.04995,\n \"valueSat\": 4995000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1ef OP_CHECKSIG\",\n \"hex\": \"210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\"]\n }\n },\n {\n \"value\": 0.05,\n \"valueSat\": 5000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f3f476150b5a0f65a0972520653e6523dc2bd5ac OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RXX78ba9g6aXuNLfeHTN24WhPWj3jWqyia\"]\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"002536f5e1cb5b9cad3952e45523d64b17bc56808483f7dc6cdfd7882d58d60d\",\n \"height\": 122276,\n \"confirmations\": 1,\n \"rawconfirmations\": 1,\n \"time\": 1560281131,\n \"blocktime\": 1560281131\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"This transaction has an id, which is given as one of the first key-value pairs.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"\"txid\": \"6d3b67086ef6964e4022654938e71eb5a248aa5a1853b999381126c7d4dd0364\"\n","tagName":"pre","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"\"txid\": \"6d3b67086ef6964e4022654938e71eb5a248aa5a1853b999381126c7d4dd0364\"\n","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"The term, txid , stands for transaction id.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"txid","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"Within this transaction there are two arrays. One contains the vins and the other contains the vouts.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"A vin and a vout are short for \"vector in\" and \"vector out\".","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"The vins and vouts can be considered to be sub-transactions that take place within the main transaction.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-utxos-is-important-in-antara-modules"},{"text":"Observing the vin","tagName":"h5","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"The vins in a transaction consume unspent values from previous transactions.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"Observe the first (and only) vin in this transaction.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":" \"vin\": [\n {\n \"txid\": \"00f6bf6baa77aa4d0537e034c501f120aa8c687917cb24827e994ac4167b2700\",\n \"vout\": 1,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"scriptSig\": {\n \"asm\": \"3045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac4[ALL]\",\n \"hex\": \"483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401\"\n },\n \"value\": 0.10000000,\n \"valueSat\": 10000000,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"sequence\": 4294967294\n }\n ],\n","tagName":"pre","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":" \"vin\": [\n {\n \"txid\": \"00f6bf6baa77aa4d0537e034c501f120aa8c687917cb24827e994ac4167b2700\",\n \"vout\": 1,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"scriptSig\": {\n \"asm\": \"3045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac4[ALL]\",\n \"hex\": \"483045022100f26e8fa0fe08ad5d97fe4b2e56b409ef1126aed537878801eb1a38eb5152031d02205444da469fb12d9351b35e235e87c91db09fdbf9a7ac21c44c845046b672eac401\"\n },\n \"value\": 0.10000000,\n \"valueSat\": 10000000,\n \"address\": \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\",\n \"sequence\": 4294967294\n }\n ],\n","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"This vin takes funds from an address, RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac .","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"The amount of funds the vin takes from that address is \"value\": 0.10000000 .","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"\"value\": 0.10000000","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observing-the-vin"},{"text":"Observe the vouts","tagName":"h5","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"To spend these funds, the transaction creates the vouts.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"Observe the two vouts of this transaction.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":" \"vout\": [\n {\n \"value\": 0.04995000,\n \"valueSat\": 4995000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1ef OP_CHECKSIG\",\n \"hex\": \"210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\"\n ]\n }\n },\n {\n \"value\": 0.05000000,\n \"valueSat\": 5000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f3f476150b5a0f65a0972520653e6523dc2bd5ac OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\n \"RXX78ba9g6aXuNLfeHTN24WhPWj3jWqyia\"\n ]\n }\n }\n ],\n","tagName":"pre","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":" \"vout\": [\n {\n \"value\": 0.04995000,\n \"valueSat\": 4995000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"0275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1ef OP_CHECKSIG\",\n \"hex\": \"210275610ca15c4688cfebef16f84bce3691dc309591e23fc7298cf3683d9c3fd1efac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RMhKqTr1ssari1wFoVFSSjdLsBXPkDdAac\"\n ]\n }\n },\n {\n \"value\": 0.05000000,\n \"valueSat\": 5000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f3f476150b5a0f65a0972520653e6523dc2bd5ac OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f3f476150b5a0f65a0972520653e6523dc2bd5ac88ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\n \"RXX78ba9g6aXuNLfeHTN24WhPWj3jWqyia\"\n ]\n }\n }\n ],\n","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"The first vout sends 0.04995000 coins to the same address we saw in vin0 .","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"0.04995000","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"vin0","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"The second vout sends 0.05000000 coins to a new address.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"0.05000000","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"If we take the total value of all vins and subtract the total value of all vouts, we see that there is 0.00005000 difference.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"0.00005000","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"By design, any leftover amount not claimed by a vout is given to the miner that mines the block that contains this transaction. This is the mining fee.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"observe-the-vouts"},{"text":"Making Inferences","tagName":"h5","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"To summarize, the utxo takes 0.1 coins from an address, sends 0.04995 back to the same address, and then sends 0.05 coins to a new address. The leftover amount is automatically given to the miner of the block.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.1","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.04995","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.05","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"This suggests that the user who created this transaction desired to send 0.05 coins to the new address. The user may have created this transaction using the sendtoaddress API method.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.05","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"sendtoaddress","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"From here, the software daemon took control. The software found that within the user's wallet was an existing value of 0.1 coins. This became the vin for the transaction. The first vout the software created was sent back to the address in the user's own wallet. This 0.04995000 value is the \"change\" from the transaction. The second vout contains the 0.05 the user intended to send to the new address.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.1","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.04995000","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"0.05","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"making-inferences"},{"text":"Utxo is an Unspent Vout","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"A vout that can be spent, but has not yet been spent, is a utxo.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"To determine whether a vout is spent, the developer cannot look directly at the data in a transaction. Rather, the developer makes a requst to the software to look at all following transactions on the blockchain.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"If there is a later transaction that has a vin that consumes the 0.05 vout, that would indicate that the vout is spent. If there is no such transaction, then the vout is still a utxo.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"0.05","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"A transaction can have multiple vouts, and therefore each transaction can technically contain multiple utxos.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"Often times, in conversation developers may call a full transaction a \"utxo,\" for simplicity's purposes. Yet, for developers to truly understand the underlying concept, they should understand that \"utxo\" refers to a vout, not to a txid.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"utxo-is-an-unspent-vout"},{"text":"A Utxo is Not Spent Until Confirmation","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-utxo-is-not-spent-until-confirmation"},{"text":"A utxo is not considered spent under any circumstances until the transaction that spends it receives confirmation from the Smart Chain's consensus mechanism. Even when the spending transaction is waiting in the mempool, the utxo remains unspent until the spending transaction receives confirmation from the network.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-utxo-is-not-spent-until-confirmation"},{"text":"A useful comparison here can be found by observing people seeking to attend a ticketed event, such as a music concert. To gain acceptance into the music hall, a person must first have a ticket. We compare this to the creation of a txid. The person must wait in line. This is similar to the mempool. The person must have their ticket stamped, and this is akin to the consensus mechanism approving the transaction. Then the person may enter the music hall. This is the transaction becoming a part of the blockchain history.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-utxo-is-not-spent-until-confirmation"},{"text":"The essence of blockchain technology is that a utxo can only be spent once. In building modules for the Antara Framework, we constantly keep this principle in mind, and the consensus mechanism is our guide.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-utxo-is-not-spent-until-confirmation"},{"text":"Formation of a Transaction","tagName":"h2","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"Contrary to what one may think, a blockchain transaction is not a simple accounting entry that says, \"Address X pays Y amount of funds to address Z.\" Rather, a transaction also contains a Bitcoin script that must be satisfied before the requested funds can be spent.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"The manner in which transactions are created has evolved over time. Originally, the process consisted only of a \"Pay to Pubkey\" script, or \"P2PK\" for brevity.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"In a P2PK transaction, the software checks the cryptographic signature of the public key attempting to spend funds and if the signature is correct the transaction is approved.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"These simple transactions are common in coinbase transactions. (Recall that a coinbase transaction is the transaction that mints new coins onto a blockchain. Coinbase transactions are most frequently encountered as block rewards for miners/stakers, and in the Gensis Block of a chain.)","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"If the reader would like a more thorough technical explanation of P2PK transactions, tutorials and explanations abound across the web. Here is one such example.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"Here is one such example.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"formation-of-a-transaction"},{"text":"Quantum Computers, Cold Addresses, and Change","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"As the early Bitcoin community gained experience, Satoshi Nakamoto foresaw a potential danger. Far in the future, a quantum computer will be able to break the encryption protection of any pubkey address and thereby steal funds.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"To solve this problem, Satoshi invented a method to have a \"cold address.\" Cold addresses are based on a pubkey, but there are various cryptographic functions that separate the two.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"A user can send their funds to a cold address without revealing the associated pubkey. This allows the user to keep their pubkey private, and thus protect their funds from being spent even by a quantum computer, so long as the relationship between the cold address and the pubkey remains a secret.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"Naturally, to spend their funds, the user must utilize their pubkey to create the transaction signature, and thus they reveal the relationship between the cold address and the pubkey. Once the secret is revealed, the cold address no longer offers any protection against quantum computers.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"This encouraged Satoshi to redesign the Bitcoin protocol so that, by default, each time a utxo is spent the leftover amount in the utxo is sent to a new cold address. This is the reason for the \"change\" addresses that a user sees in their wallet each time they send funds on a default Bitcoin-based blockchain.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"quantum-computers-cold-addresses-and-change"},{"text":"Smart Chain and CryptoConditions' Pubkey Parameter Disables Change Addresses","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"An astute reader may note that in the above example transaction, the \"change\" did not go to a new address, but rather to the same address from which the 0.1 coins were taken. The reason for this pertains to CryptoConditions (CC), as the transaction was performed on a Smart Chain that utilizes CryptoConditions.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"0.1","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"When using CC technology, the user typically must provide a designated pubkey via the pubkey launch parameter. The reason for this will be discussed later.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"pubkey","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"A side effect of using this pubkey parameter is that once this is set, the software will stop creating new \"change\" addresses with each transaction. Instead, the software will send the \"change\" back to the same cold address that is associated with the pubkey.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"If a user wants to keep funds safe from quantum computers, there are separate CC-related modules that provide protection. For example, the upcoming Dilithium Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"the upcoming Dilithium Antara Module.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"smart-chain-and-crypto-conditions-pubkey-parameter-disables-change-addresses"},{"text":"Pay to Pubkey Hash Transactions","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"Transactions that send funds to a cold address are called \"Pay to Pubkey Hash\" transactions, or P2PKH for brevity.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"When performing a P2PKH transaction, the protocol has a few extra steps to perform. The protocol must check that the hash of the pubkey (which is included as a part of the cold address) is appropriately matched to the pubkey itself. The structure of a P2PKH transaction includes opreturns that instruct the daemon to perform these verification steps.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"The Internet contains many thorough explanations of P2PKH transactions. For more information, here is one such tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"here is one such tutorial.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"Once a cold address is associated with a pubkey, the Bitcoin protocol no longer attempts to use these quantum-secure P2PKH transactions, as they require an extra 25 bytes of data space. Instead, the protocol reverts to the original P2PK transactions.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"CryptoConditions typically requires the pubkey Antara Customization parameter to be enabled. One of the effects of this parameter is that each time a user makes a transaction, the \"change\" is automatically sent back not to a new cold address, but rather to the pubkey included in the pubkey parameter. Therefore, as user transactions are already always returning to a default pubkey, the Antara Module developer can simply skip P2PKH transactions altogether and use only P2PK transactions instead.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"pubkey","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-pubkey-hash-transactions"},{"text":"Pay to Script Hash Payments","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"In addition to P2PK transactions, the original Bitcoin protocol allowed for any type of script opcode in transactions. This seemed like a promising idea at first, but developers quickly discovered that this level of freedom also brought instability. Satoshi limited the options available, and P2PK and P2PKH become the overwhelming majority of all transctions.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"The community still desired the freedom to execute scripts as a part of transactions, and this eventually led to the Pay to Script Hash, or P2SH, standard.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"This method allows the user to lock their funds to the hash of a script. The script itself is typically designed to ensure that the funds are spent in a secure manner, and this is often through a P2PK or P2PKH transaction that is included in the script.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"To unlock the funds, a user provides the original script. The blockchain daemon checks that the script matches the hash, executes the script, and the funds are unlocked.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"For more information about P2SH transactions, a useful tutorial can be found here.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"a useful tutorial can be found here.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"pay-to-script-hash-payments"},{"text":"Understanding Op Codes","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"Each of the above transactions relies on an operation code, also called \"opcode\", to execute.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"For example, the P2PKH transaction relies on the OP_CHECKSIG opcode 172 to execute. The opcode is included as a part of the transaction data, typically as a header and in hex format.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"172","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"When the daemon detects the opcode in the raw data, the daemon understands what is being asked by the developer and performs the appropriate action.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"Originally, Bitcoin had many opcodes available. Satoshi disabled a large number of opcodes for stability reasons. To see a list of current opcodes in Bitcoin, visit the Bitcoin wiki.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"visit the Bitcoin wiki.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"understanding-op-codes"},{"text":"A New Op Code: OP_CheckCryptoCondition","tagName":"h4","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"The CryptoConditions standard itself relies on a new opcode, OP_CHECKCRYPTOCONDITION, or OP_CCC for brevity.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"This opcode is not included in the Bitcoin protocol. Rather, the OP_CCC standard was originally written and designed by the Interledger team. The full, original OP_CCC specification is a thirty-three page document, which you can see here.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"which you can see here.","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"There is no need to read and master the entire original proposal, however, as Komodo's Antara Framework automates much of the underlying aspects. The primary takeaway is that the developer uses OP_CCC to create a \" CryptoConditions transaction ,\" also called a \" CC transaction \" for brevity.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"A CC transaction includes several special features. This can include a logical condition that must be met for the utxo the transaction creates to be spent in the future. A CC transaction can also include a fulfillment of the logical conditions set forth in a previous CC transaction. The binary encodings of these CC transactions can be used in a Smart Chain utxo. These features are the foundation of a CC-related Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"OP_CCC provides many relatively convenient use cases, and the developer can expand on these use cases when necessary. For example, a standard use case of OP_CCC is a 1of1 CC script. This type of CC transaction requires only 1 signature, and is accompanied by a few custom constraints. Many of the current default Antara Modules rely on the 1of1 script OP_CCC.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"1of1","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"1of1","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"A more intricate use case of OP_CCC, on the other hand, can be found in the upcoming Payments Module. This module uses a 1of2 CC script, which allows for one of two signatures to sign a CC transaction, and the script also features several customized constraints.","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"Link to Next Tutorial in the Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"},{"text":"Link to Next Tutorial in the Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-1","closestElementReference":"a-new-op-code-op-check-crypto-condition"}],"antara/tutorials/advanced-series-2":[{"text":"Advanced Series — Antara Module Development Basics","tagName":"h1","path":"antara/tutorials/advanced-series-2","closestElementReference":"advanced-series-antara-module-development-basics"},{"text":"The Eval Code","tagName":"h2","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"In the Komodo source code, each Antara Module has an associated arbitrary number, called an \"eval\" code. This code can be any digit between 0 and 255 , there can be only one code per module, and each code is currently one byte in size. To add a new Antara Module, the developer begins by adding a new eval code to the table of all active eval codes on their Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"0","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"255","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"We define all eval codes in the ~/komodo/src/cc/eval.h file. The following eval codes represent the essential, default modules in a Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"~/komodo/src/cc/eval.h","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"#define FOREACH_EVAL(EVAL) \\\n EVAL(EVAL_IMPORTPAYOUT, 0xe1) \\\n EVAL(EVAL_IMPORTCOIN, 0xe2) \\\n EVAL(EVAL_ASSETS, 0xe3) \\\n EVAL(EVAL_FAUCET, 0xe4) \\\n EVAL(EVAL_REWARDS, 0xe5) \\\n EVAL(EVAL_DICE, 0xe6) \\\n EVAL(EVAL_FSM, 0xe7) \\\n EVAL(EVAL_AUCTION, 0xe8) \\\n EVAL(EVAL_LOTTO, 0xe9) \\\n EVAL(EVAL_MOFN, 0xea) \\\n EVAL(EVAL_CHANNELS, 0xeb) \\\n EVAL(EVAL_ORACLES, 0xec) \\\n EVAL(EVAL_PRICES, 0xed) \\\n EVAL(EVAL_PEGS, 0xee) \\\n EVAL(EVAL_TRIGGERS, 0xef) \\\n EVAL(EVAL_PAYMENTS, 0xf0) \\\n EVAL(EVAL_GATEWAYS, 0xf1)\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"#define FOREACH_EVAL(EVAL) \\\n EVAL(EVAL_IMPORTPAYOUT, 0xe1) \\\n EVAL(EVAL_IMPORTCOIN, 0xe2) \\\n EVAL(EVAL_ASSETS, 0xe3) \\\n EVAL(EVAL_FAUCET, 0xe4) \\\n EVAL(EVAL_REWARDS, 0xe5) \\\n EVAL(EVAL_DICE, 0xe6) \\\n EVAL(EVAL_FSM, 0xe7) \\\n EVAL(EVAL_AUCTION, 0xe8) \\\n EVAL(EVAL_LOTTO, 0xe9) \\\n EVAL(EVAL_MOFN, 0xea) \\\n EVAL(EVAL_CHANNELS, 0xeb) \\\n EVAL(EVAL_ORACLES, 0xec) \\\n EVAL(EVAL_PRICES, 0xed) \\\n EVAL(EVAL_PEGS, 0xee) \\\n EVAL(EVAL_TRIGGERS, 0xef) \\\n EVAL(EVAL_PAYMENTS, 0xf0) \\\n EVAL(EVAL_GATEWAYS, 0xf1)\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"As the eval code must range between 0 and 255 , a Smart Chain can have up to 256 total modules. The developer of a Smart Chain can determine which modules to add from the available modules in the ecosystem. At this time, we do not yet have 256 total modules, and therefore there is no need to choose.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"0","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"255","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-eval-code"},{"text":"Validation Code","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"validation-code"},{"text":"The developer adds validation code that will be executed any time the daemon encounters a transaction bearing the relevant module's eval code.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"validation-code"},{"text":"This is where the true power of CC begins. When validating a normal transaction, the daemon has access only to information included in the transaction itself. With a CC transaction, however, the daemon is running arbitrary code, and therefore anything is possible. The validation code can look through the blockchain history, observe transactions in the mempool, and even utilize Antara's cross-chain technology.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"validation-code"},{"text":"Technically, OP_CCC scripts do not have a required structure. The scripts only need to follow the general structure of the initial layout. The developer may follow the general guideline, as provided in our templates and tutorials. This allows the developer to code and debug their OP_CCC related modules in an efficient manner.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"validation-code"},{"text":"Flexbile Pubkey Expression","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"To understand how CryptoConditions (CC) manages addresses and scripts, the developer should first understand a few basic concepts regarding pubkeys.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"Originally, Bitcoin pubkeys were 64 bytes, as opposed to the 33 byte pubkeys of today. The 64 byte pubkeys had a left half and a right half which were used for internal functions in the daemon. Using cryptographic methods, a developer could derive the left half of the function from the right half, and vice versa.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"Early Bitcoin developers took advantage of the ability to derive one half of the pubkey from the other, and compressed the pubkey to a smaller size. They also instituted prefixes that informed the daemon whether the pubkey was odd, even, or large ( 02 , 03 , and 04 respectively). In the end, the developers compressed the 64 byte pubkey into a 33 byte version.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"02","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"03","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"04","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"Today, there are multiple ways to express a pubkey. There are compressed and uncompressed versions of the pubkey, and the pubkey can also be expressed as two different base58 encoded addresses. All of these are associated with the same private key.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"flexbile-pubkey-expression"},{"text":"Pubkeys and CC Addresses","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"When working with software based on the Bitcoin protocol, a common problem a developer encounters is found in creating an address that is associated with a script. A frequent solution is to hash the script and use the hash as the address. Komodo uses this solution in the Antara CC implementation. Using this method, the CC script serves as the CC address.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"With this in mind, the essential structure of a CC script is as follows. (The automatically generated content is handled by the daemon's internal functions and can be ignored.)","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"evalcode + pubkey + automatically generated content\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"evalcode + pubkey + automatically generated content\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"Each CC script utilizes the eval code of the module to which the CC script belongs. Since the CC script includes both the pubkey and the module's unique eval code, a pubkey makes a unique CC address for each module.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"Funds that are sent to a CC address can be spent only by the module with the appropriate eval code, and therefore funds created and associated with an eval code maintain scarcity within this module.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"A common and simple CC script exists in nearly all of the default Antara Modules. The structure of this script consists of a single signature from a pubkey and CC validation. This is essentially the equivalent of a P2PK Bitcoin script; the CC validation returns true or false , whereas the P2PK Bitcoin script returns 1 or 0 .","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"1","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"0","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"pubkeys-and-cc-addresses"},{"text":"Global CC Address","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"global-cc-address"},{"text":"By convention, each Antara Module has a global CC address where the privkey is publicly available. As usual, spending from this global CC address requires that the spender meet all validation rules set forth by the developer. Therefore, the lack of privacy for the private key is not an issue.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"global-cc-address"},{"text":"One purpose for this global CC address is to create a repository that is global (within the module) for information regarding specific instances of this module on the chain.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"global-cc-address"},{"text":"For example, typically the design of an Antara Module requires that each time a user initiates an instance of the module, the user also sends a small amount of funds to this global CC address. This transaction contains data about the instance the user desires to create. Other users on the network can retrieve the data in this global CC address, and thereby gain knowledge about the current state of all module instances on the Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"global-cc-address"},{"text":"Vector Inputs and Outputs","tagName":"h2","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"A transaction in the Bitcoin protocol consists of input and output vectors, called \"vins\" and \"vouts\" for brevity. The vins take funds from utxos, combine them into one \"spend\" transaction, and create new vouts. Some of the vouts may be new utxos.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"vin0 + vin1 + ... + vin[n-1] -> vout0 + vout1 + ... vout[n-1]\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"vin0 + vin1 + ... + vin[n-1] -> vout0 + vout1 + ... vout[n-1]\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"Each of the vouts has a spend script that must be satisfied before the vout can be spent.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"Suppose vout0 is a normal utxo with a small amount of funds and the receiver of this utxo desires to spend it. They create a new transaction with a vin that consumes vout0. This vin must satisfy any scripts that are contained in vout0.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"vector-inputs-and-outputs"},{"text":"CC Enhances the Script Between Vin and Vout to Advanced Levels","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"cc-enhances-the-script-between-vin-and-vout-to-advanced-levels"},{"text":"A key power of CryptoConditions (CC) is the ability to enhance the script that must be satisfied between a vin and a vout. In CC, the vout contains the logical condition, and the vin contains the logical fulfillment.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"cc-enhances-the-script-between-vin-and-vout-to-advanced-levels"},{"text":"With access to arbitrary code, CC allows the Bitcoin protocol to rival the \"smart contracts\" common on other platforms. Yet, CC accomplishes this without requiring the virtual-machine counterpart that other smart-contract platforms require. Instead, the consensus mechanism is directly engaged with the scripts in the vins and vouts of transactions.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"cc-enhances-the-script-between-vin-and-vout-to-advanced-levels"},{"text":"The Bitcoin protocol's consensus mechanism is constantly placed under the most intense of pressure in the industry, and therefore is likely the most reliable consensus mechanism available. The ability to engage the consensus mechanism in arbitrary code while not changing the consensus mechanism itself grants Antara security and stability. The utxo system of the Bitcoin protocol also reduces the likelihood that modules themselves will contain bugs internally. (The reader should note that CC cannot eliminate attack vectors altogether.)","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"cc-enhances-the-script-between-vin-and-vout-to-advanced-levels"},{"text":"The Many Possibilities of OC_CHECKCRYPTOCONDITION","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"Consider the implications of the combination of possibilities contained in this new opreturn, OP_CCC. As there can be up to 256 eval codes per Smart Chain, there can be up to 256 different types of CC outputs per chain. Each CC transaction can contain multiple vins and vouts, each of which provides CC related fulfillments and conditions. Also, each module has a globally available CC address to allow for chain-wide functionality, making the possibilities per vin or vout 257.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"Observe the essential structure of a transaction with 3 vins and 2 vouts.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"vin0 + vin1 + vin2 -> vout0 + vout1\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"vin0 + vin1 + vin2 -> vout0 + vout1\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"With the possibilities of OP_CCC, the combination allows for 1.12e+12 possibile combinations.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"257 * 257 * 257 * 257 * 257 = 1.12e+12\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"257 * 257 * 257 * 257 * 257 = 1.12e+12\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"This is a dramatic increase in the possibilities over the limits of the original Bitcoin protocol.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"While the possibilities of a transaction are essentially limitless, the developer must create validation code that ensures the module and its transactions function as intended. Therefore, in practice the developer often limits the possibilities to 1 to 3 types per vin or vout.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"1","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"3","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"the-many-possibilities-of-oc-checkcryptocondition"},{"text":"Introduction to the Remote Procedure Call (RPC)","tagName":"h2","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"A Remote Procedure Call (RPC) allows a module developer the ability to offer easy access to their module's functionality. The role of the RPC calls are to create properly signed raw transactions that are ready for broadcasting.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"The developer places the command name of each RPC they desire to create into a table in the CC source code. From this table, the built-in komodo-cli software is able to access and execute the RPC. In this manner, developers of all skills levels can integrate Antara Modules into other software.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"Antara Modules can have any RPCs the developer desires, or even have no RPCs. By convention, each Antara Modules has a few default RPCs: address , list , and info . For example, the Dice module has, diceaddress , dicelist , and diceinfo . Respectively, these RPCs return information about a CC-related address, the list of all instances of this module on the Smart Chain, and information about the chain-wide state of the module.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"address","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"list","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"info","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"diceaddress","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"dicelist","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"diceinfo","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-the-remote-procedure-call-rpc"},{"text":"Creating a Global CC Address","tagName":"h2","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"The following code from the Faucet module serves as an example of the manner in which we begin the creation of a global CC address for this module.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"const char *FaucetCCaddr = \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\";\nconst char *FaucetNormaladdr = \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\";\nchar FaucetCChexstr[67] = { \"03682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe12\" };\nuint8_t FaucetCCpriv[32] = { 0xd4, 0x4f, 0xf2, 0x31, 0x71, 0x7d, 0x28, 0x02, 0x4b, 0xc7, 0xdd, 0x71, 0xa0, 0x39, 0xc4, 0xbe, 0x1a, 0xfe, 0xeb, 0xc2, 0x46, 0xda, 0x76, 0xf8, 0x07, 0x53, 0x3d, 0x96, 0xb4, 0xca, 0xa0, 0xe9 };\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"const char *FaucetCCaddr = \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\";\nconst char *FaucetNormaladdr = \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\";\nchar FaucetCChexstr[67] = { \"03682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe12\" };\nuint8_t FaucetCCpriv[32] = { 0xd4, 0x4f, 0xf2, 0x31, 0x71, 0x7d, 0x28, 0x02, 0x4b, 0xc7, 0xdd, 0x71, 0xa0, 0x39, 0xc4, 0xbe, 0x1a, 0xfe, 0xeb, 0xc2, 0x46, 0xda, 0x76, 0xf8, 0x07, 0x53, 0x3d, 0x96, 0xb4, 0xca, 0xa0, 0xe9 };\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"For a template of this logic pattern, view the CCcustom.cpp file.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"CCcustom.cpp","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"Link to CCcustom.cpp file","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"Link to CCcustom.cpp file","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"Note that at the bottom of the file there is a switch statement. There, the above values are copied into an in-memory data structure for each CC type. This allows the entire CC codebase to access the global CC addresses in a standard manner.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"To create a global CC address for a new module, follow these steps.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"creating-a-global-cc-address"},{"text":"Create a value using getnewaddress","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"With the komodod daemon running, use the getnewaddress RPC with komodo-cli to get a new address. (You may use any Komodo Smart Chain, such as the KMD main chain, for this procedure.)","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"komodod","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"getnewaddress","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"Copy this value into the first line of the code. For example, in the Faucet code above the result is as follows.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"const char *FaucetNormaladdr = \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\";\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"const char *FaucetNormaladdr = \"RKQV4oYs4rvxAWx1J43VnT73rSTVtUeckk\";\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"create-a-value-using-getnewaddress"},{"text":"Retrieve the pubkey using validateaddress","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"Use the validateaddress RPC with komodo-cli to obtain the pubkey of the new normal address from the previous step.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"validateaddress","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"Place the returned value into the [67] line of code.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"[67]","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"char FaucetCChexstr[67] = { \"03682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe12\" };\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"char FaucetCChexstr[67] = { \"03682b255c40d0cde8faee381a1a50bbb89980ff24539cb8518e294d3a63cefe12\" };\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"retrieve-the-pubkey-using-validateaddress"},{"text":"Restart the Daemon with the pubkey","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"restart-the-daemon-with-the-pubkey"},{"text":"Stop the daemon and restart with the pubkey launch parameter enabled. Use the pubkey from the validateaddress RPC as the pubkey value.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"restart-the-daemon-with-the-pubkey"},{"text":"pubkey","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"restart-the-daemon-with-the-pubkey"},{"text":"Ensure the Myprivkey Function is Properly Enabled","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"ensure-the-myprivkey-function-is-properly-enabled"},{"text":"Check that the if ( 0 ) statement is enabled in the Myprivkey() function in the /src/cc/CCutils.cpp file.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"ensure-the-myprivkey-function-is-properly-enabled"},{"text":"if ( 0 )","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"ensure-the-myprivkey-function-is-properly-enabled"},{"text":"Myprivkey()","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"ensure-the-myprivkey-function-is-properly-enabled"},{"text":"/src/cc/CCutils.cpp","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"ensure-the-myprivkey-function-is-properly-enabled"},{"text":"Add the First RPC","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Add a line to the /src/server.h file to create the address function for the module.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"/src/server.h","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"address","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Update the commands array in the /src/server.cpp file.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"/src/server.cpp","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Add the code for address into the /src/wallet/rpcwallet.cpp source file:","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"address","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"/src/wallet/rpcwallet.cpp","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"UniValue address(const UniValue& params, bool fHelp)\n{\n struct CCcontract_info *cp,C; std::vector pubkey;\n cp = CCinit(&C,EVAL_);\n if ( fHelp || params.size() > 1 )\n throw runtime_error(\"address [pubkey]\\n\");\n if ( ensure_CCrequirements(0) < 0 )\n throw runtime_error(CC_REQUIREMENTS_MSG);\n if ( params.size() == 1 )\n pubkey = ParseHex(params[0].get_str().c_str());\n return(CCaddress(cp,(char *)\"\",pubkey));\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"UniValue address(const UniValue& params, bool fHelp)\n{\n struct CCcontract_info *cp,C; std::vector pubkey;\n cp = CCinit(&C,EVAL_);\n if ( fHelp || params.size() > 1 )\n throw runtime_error(\"address [pubkey]\\n\");\n if ( ensure_CCrequirements(0) < 0 )\n throw runtime_error(CC_REQUIREMENTS_MSG);\n if ( params.size() == 1 )\n pubkey = ParseHex(params[0].get_str().c_str());\n return(CCaddress(cp,(char *)\"\",pubkey));\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Replace with your eval code name. For example, EVAL_FAUCET or EVAL_ASSETS .","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"EVAL_FAUCET","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"EVAL_ASSETS","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Replace with your module name. For example, faucetaddress .","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"faucetaddress","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"add-the-first-rpc"},{"text":"Obtain the CCaddress","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"Execute the address RPC call and use the returned value to complete the CCaddr line of code.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"address","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"CCaddr","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"const char *FaucetCCaddr = \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\";\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"const char *FaucetCCaddr = \"R9zHrofhRbub7ER77B7NrVch3A63R39GuC\";\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-c-caddress"},{"text":"Obtain the privkey in Hex Format","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"From the response returned by the address RPC, use the hex value of the private key to complete the appropriate line of code.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"address","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"uint8_t FaucetCCpriv[32] = { 0xd4, 0x4f, 0xf2, 0x31, 0x71, 0x7d, 0x28, 0x02, 0x4b, 0xc7, 0xdd, 0x71, 0xa0, 0x39, 0xc4, 0xbe, 0x1a, 0xfe, 0xeb, 0xc2, 0x46, 0xda, 0x76, 0xf8, 0x07, 0x53, 0x3d, 0x96, 0xb4, 0xca, 0xa0, 0xe9 };\n","tagName":"pre","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"uint8_t FaucetCCpriv[32] = { 0xd4, 0x4f, 0xf2, 0x31, 0x71, 0x7d, 0x28, 0x02, 0x4b, 0xc7, 0xdd, 0x71, 0xa0, 0x39, 0xc4, 0xbe, 0x1a, 0xfe, 0xeb, 0xc2, 0x46, 0xda, 0x76, 0xf8, 0x07, 0x53, 0x3d, 0x96, 0xb4, 0xca, 0xa0, 0xe9 };\n","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"Stop the daemon and restart it using the new pubkey.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"obtain-the-privkey-in-hex-format"},{"text":"Copy the Existing Default RPCs to the New Module","tagName":"h4","path":"antara/tutorials/advanced-series-2","closestElementReference":"copy-the-existing-default-rpcs-to-the-new-module"},{"text":"From the /src/wallet/rpcwallet.cpp file, copy and paste the existing RPC functions to create new versions for the new module. Change the eval code and customize the functions as desired.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"copy-the-existing-default-rpcs-to-the-new-module"},{"text":"/src/wallet/rpcwallet.cpp","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"copy-the-existing-default-rpcs-to-the-new-module"},{"text":"Add an entry into the /src/cc/eval.h file.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"copy-the-existing-default-rpcs-to-the-new-module"},{"text":"/src/cc/eval.h","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"copy-the-existing-default-rpcs-to-the-new-module"},{"text":"Introduction to Validation","tagName":"h2","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"A large portion of Antara Module customization pertains to the manner in which the validation code constrains CC transaction input.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"The CC validation code is called at the time that the consensus mechanism is validating a CC transaction. The consensus mechanism only calls the CC validation code and waits for a response of true or false . Whether or not the CC validation code is effective is a matter for the developer to resolve.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"The developer is responsible for properly designing both the validation code and the RPC implementations. Both should work together to ensure that RPCs cannot create transactions that should not exist, and the CC validation code should only validate proper transactions.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"The CC validation code is already locked in the main loop of the Bitcoin protocol at the time the code is called. Care should be taken with the CC validation code to ensure that the code does not cause a deadlock on the chain.","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-2","closestElementReference":"introduction-to-validation"}],"antara/tutorials/advanced-series-3":[{"text":"Advanced Series — Preparing for Heir Development","tagName":"h1","path":"antara/tutorials/advanced-series-3","closestElementReference":"advanced-series-preparing-for-heir-development"},{"text":"This tutorial in the series assists the reader in preparing to later build a full simplified prototype of the default Heir Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"advanced-series-preparing-for-heir-development"},{"text":"Heir Antara Module.","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"advanced-series-preparing-for-heir-development"},{"text":"The primary aim for buildling the Heir prototype is to give the developer direct engagement with Antara Module development, with a focus on the CryptoConditions (CC) aspects. This process will give the developer a better grasp of the broad potential of the Antara framework.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"advanced-series-preparing-for-heir-development"},{"text":"Furthermore, in the process of completing this tutorial the developer will learn how the source code is organized.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"advanced-series-preparing-for-heir-development"},{"text":"A Conceptual Understanding of the Intended Product","tagName":"h2","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"To gain an idea of the intended result, read the introduction of the Heir Module API. (Read until the start of the section named Heir Module Flow and then pause.)","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"Link to Introduction to the Heir Antara Module","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"Link to Introduction to the Heir Antara Module","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"The basic concept to understand is that the Heir module allows the owner of a Smart Chain digital asset to designate an inheritor of the asset, should the owner become inactive on the chain.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"In terms of design, this is a relatively straightforward Antara Module, which is one reason we use it here.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"a-conceptual-understanding-of-the-intended-product"},{"text":"Complete the Heir Module Flow Section (Optional)","tagName":"h2","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"Before we begin the development process, it may be helpful to first experiment with the flow of RPC commands for the existing Heir module.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"This section is optional, but recommended.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"At this point in the tutorial series, the reader can either create a new default Smart Chain to test the Heir Module, or they may use an existing Smart Chain, such as DOC.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"Link to instructions to create a new default Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"Link to instructions to create a new default Smart Chain.","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"The reader will need to create a new default Smart Chain either way as a part of the tutorial, but if the reader chooses to use the DOC Smart Chain for this optional step, the reader has the opportunity to observe another Antara Module in action. This presents a learning opportunity.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"The module we refer to here is the Faucet Antara Module","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"Faucet Antara Module","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-the-heir-module-flow-section-optional"},{"text":"On the Relevance of the Faucet Module","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"The Faucet Module allows a user to tap into existing funds on a public Smart Chain. This module provides a simple example of the nature of an Antara Module for our study.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"Faucet allows a user to lock an arbitrary amount of funds within an Antara address. Other users on the network are able to withdraw funds from this Antara address in small portions. To prevent spam requests, Faucet requires a small amount of proof-of-work from the requesting user's node.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"From this outline, we observe the basic business logic of the Faucet module. The module involves storing funds in a designated address, the creation of a faucet that can disburse funds, and the ability to limit the rate at which funds are withdrawn.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"Compare this to our desired Heir module. The Heir module's business logic must allow a designated address the ability to inherit designated blockchain funds.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"In both cases, the module's business logic is bound to transactions.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"on-the-relevance-of-the-faucet-module"},{"text":"Launch the DOC Smart Chain (Optional)","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"launch-the-doc-smart-chain-optional"},{"text":"The live community test chain, DOC , has the Heir Module enabled and can serve the purpose of providing a live demonstration.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"launch-the-doc-smart-chain-optional"},{"text":"Launch the chain as follows.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"launch-the-doc-smart-chain-optional"},{"text":"./komodod -pubkey=$pubkey -ac_name=DOC -ac_supply=90000000000 -ac_reward=100000000 -ac_cc=3 -ac_staked=10 -addnode=65.21.77.109 -addnode=65.21.51.47 &\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"launch-the-doc-smart-chain-optional"},{"text":"./komodod -pubkey=$pubkey -ac_name=DOC -ac_supply=90000000000 -ac_reward=100000000 -ac_cc=3 -ac_staked=10 -addnode=65.21.77.109 -addnode=65.21.51.47 &\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"launch-the-doc-smart-chain-optional"},{"text":"Create a pubkey","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"create-a-pubkey"},{"text":"Use the following guide to create an Antara pubkey and address on the DOC Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"create-a-pubkey"},{"text":"Link to Antara pubkey creation guide","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"create-a-pubkey"},{"text":"Link to Antara pubkey creation guide","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"create-a-pubkey"},{"text":"Retrieve DOC Funds Using the Faucet Module","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"To obtain funds on the DOC Smart Chain we utilize the Faucet Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"./komodo-cli -ac_name=DOC faucetget\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"./komodo-cli -ac_name=DOC faucetget\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"This returns a raw transaction that you must now broaadcast using sendrawtransaction","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"Wait a few moments, and then use the getinfo method to verify that your wallet now contains DOC funds.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"retrieve-doc-funds-using-the-faucet-module"},{"text":"Complete Each API Method of the Heir Module","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-each-api-method-of-the-heir-module"},{"text":"With funds in your wallet, you are prepared to experiment with the API commands available in the Heir Module Flow section. We recommend experimenting with each command until you have executed each at least once.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-each-api-method-of-the-heir-module"},{"text":"Link to Heir Module Flow","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-each-api-method-of-the-heir-module"},{"text":"Link to Heir Module Flow","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"complete-each-api-method-of-the-heir-module"},{"text":"Transactions as a Data Source","tagName":"h2","path":"antara/tutorials/advanced-series-3","closestElementReference":"transactions-as-a-data-source"},{"text":"Transactions are a data source for Antara-based software.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"transactions-as-a-data-source"},{"text":"Transactions can store data in multiple forms. In the simplest form, transaction data records the movement of coins from one address to another. However, blockchain transactions are capable of storing additional data beyond simple coin movement.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"transactions-as-a-data-source"},{"text":"When we desire to place additional data into a transaction, we place this data into an OP_RETURN , or \" opreturn \" for short.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"transactions-as-a-data-source"},{"text":"Observe the following transaction data structure for the existing Heir module:","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"transactions-as-a-data-source"},{"text":"Command","tagName":"h5","path":"antara/tutorials/advanced-series-3","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirfund 0 5 MyDogHeir 037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299 100 'http://billionaire.com/mywill md5=5385639869'\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"command"},{"text":"./komodo-cli -ac_name=HELLOWORLD heirfund 0 5 MyDogHeir 037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f9299 100 'http://billionaire.com/mywill md5=5385639869'\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"command"},{"text":"Response (annotated)","tagName":"h5","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"{\n \"txid\": \"9307989767c1d10b3c97834c7e9f50583387907848bc9776b4b77a705791864c\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n\n // List of transaction inputs\n // These are the references to the transaction outputs of older transactions\n // The transactions of older outputs are spent in this transaction input\n\n \"vin\": [\n {\n \"txid\": \"e5af0f5993d64e68c655e3ca9309d5fd4f10906032ab587fc2142673a3a73109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b7[ALL]\",\n \"hex\": \"483045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b701\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"0a97509be8c178c5c13903844d187148f0c10d309b7a2e260a629ea724d39395\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c[ALL]\",\n \"hex\": \"483045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n\n // List of transaction outputs\n\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDTm14n15gjwcRaj4BD94NTkJdRiRsV7N7\"]\n }\n },\n\n // This is a cryptocondition output\n // It contains a fingerprinted condition\n\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n\n // A normal output (i.e. not a cryptocondition) with a standard OP_CHECKSIG script\n\n {\n \"value\": 999994.06084534,\n \"valueZat\": 99999406084534,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 OP_CHECKSIG\",\n \"hex\": \"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]\n }\n },\n\n // Normal output with a standard OP_CHECKSIG script\n\n {\n \"value\": 0.9998,\n \"valueZat\": 99980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 OP_CHECKSIG\",\n \"hex\": \"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]\n }\n },\n\n // At the end of the output array there is an opreturn output with serialized data\n // This is created by the Anatara Heir module\n\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea462102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756721037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea462102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756721037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"{\n \"txid\": \"9307989767c1d10b3c97834c7e9f50583387907848bc9776b4b77a705791864c\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 0,\n\n // List of transaction inputs\n // These are the references to the transaction outputs of older transactions\n // The transactions of older outputs are spent in this transaction input\n\n \"vin\": [\n {\n \"txid\": \"e5af0f5993d64e68c655e3ca9309d5fd4f10906032ab587fc2142673a3a73109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b7[ALL]\",\n \"hex\": \"483045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b701\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"0a97509be8c178c5c13903844d187148f0c10d309b7a2e260a629ea724d39395\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c[ALL]\",\n \"hex\": \"483045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n\n // List of transaction outputs\n\n \"vout\": [\n {\n \"value\": 5.0,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDTm14n15gjwcRaj4BD94NTkJdRiRsV7N7\"]\n }\n },\n\n // This is a cryptocondition output\n // It contains a fingerprinted condition\n\n {\n \"value\": 0.0001,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"]\n }\n },\n\n // A normal output (i.e. not a cryptocondition) with a standard OP_CHECKSIG script\n\n {\n \"value\": 999994.06084534,\n \"valueZat\": 99999406084534,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 OP_CHECKSIG\",\n \"hex\": \"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]\n }\n },\n\n // Normal output with a standard OP_CHECKSIG script\n\n {\n \"value\": 0.9998,\n \"valueZat\": 99980000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 OP_CHECKSIG\",\n \"hex\": \"2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\"]\n }\n },\n\n // At the end of the output array there is an opreturn output with serialized data\n // This is created by the Anatara Heir module\n\n {\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN ea462102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756721037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"hex\": \"6a4c85ea462102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b4756721037736c263991316c6a23397a982a1f8c18ae8642e944448162a93a824c31f92996400000000000000094d79446f67486569722c687474703a2f2f62696c6c696f6e616972652e636f6d2f6d7977696c6c206d64353d35333835363339383639\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": []\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"The opreturn is the last output in a transaction, and this output is never spendable under any circumstances. The opreturn is the location where all Antara Module data is stored. We will demonstrate how this is accomplished further on.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"The opreturn vout contains two key-value pairs that are related to each other, asm and hex . The first, asm , is simply a less encoded version of the hex value.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"asm","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"hex","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"asm","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"hex","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"In the above example data structure, note how the value for the key, asm , begins with OP_RETURN ... , and is followed by additional hex-encoded data. The additional hex-encoded data is arbitrary, and can be used for any purposes a developer sees fit.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"asm","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"OP_RETURN ... ","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"Taking the value in the fully encoded key-value pair, hex , here is an approximate breakdown of the data.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"hex","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"In all modules, some of the hex-encoded data can be decoded using the decodeccopret command on the data contained in the hex key-value pair. In our example, the decoded data is as follows.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"decodeccopret","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"hex","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"EVAL_HEIR\",\n \"function\": \"F\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"EVAL_HEIR\",\n \"function\": \"F\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"When an Antara Module instance begins its life cycle an initial transaction is created. In our example, the transaction we see above is an initial transaction of a full, non-simplified Heir module.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"Note that the transaction takes value from normal inputs and sends it to CC outputs, as indicated in the type key-value pair.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"type","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"response-annotated"},{"text":"Value Taken From Normal vins","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-taken-from-normal-vins"},{"text":" \"vin\": [\n {\n \"txid\": \"e5af0f5993d64e68c655e3ca9309d5fd4f10906032ab587fc2142673a3a73109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b7[ALL]\",\n \"hex\": \"483045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b701\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"0a97509be8c178c5c13903844d187148f0c10d309b7a2e260a629ea724d39395\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c[ALL]\",\n \"hex\": \"483045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-taken-from-normal-vins"},{"text":" \"vin\": [\n {\n \"txid\": \"e5af0f5993d64e68c655e3ca9309d5fd4f10906032ab587fc2142673a3a73109\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b7[ALL]\",\n \"hex\": \"483045022100bae36ff4c95978379391bf1330d964d9cb6bd767386f427099185838ae30a9660220448463c41fa2a4628bde304c922c6d52618f5c427b243dfb24da9c14590118b701\"\n },\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"0a97509be8c178c5c13903844d187148f0c10d309b7a2e260a629ea724d39395\",\n \"vout\": 0,\n \"scriptSig\": {\n \"asm\": \"3045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c[ALL]\",\n \"hex\": \"483045022100b931e2928b882ebb6adafb906d3480cc3e8537f92190dd355e548bac7405e9ca022047b2c3fc8fadb8483156d05b1acbba97b4bcb357b47fefb5e3ea602205e38f5c01\"\n },\n \"sequence\": 4294967295\n }\n ],\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-taken-from-normal-vins"},{"text":"Value Sent to CC vouts","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-sent-to-cc-vouts"},{"text":"\n ...\n\n {\n \"value\": 5.00000000,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RDTm14n15gjwcRaj4BD94NTkJdRiRsV7N7\"\n ]\n }\n },\n {\n \"value\": 0.00010000,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"\n ]\n }\n },\n\n ...\n\n","tagName":"pre","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-sent-to-cc-vouts"},{"text":"\n ...\n\n {\n \"value\": 5.00000000,\n \"valueZat\": 500000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020676da179ba51a7f6398418c272945433aed27c6d255297a4724693abb5adfa2181031210008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RDTm14n15gjwcRaj4BD94NTkJdRiRsV7N7\"\n ]\n }\n },\n {\n \"value\": 0.00010000,\n \"valueZat\": 10000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c8020286b36b233cc03c91652560f4ecf9404bcf10b61033916d67edf4a216c92cf758103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\n \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\"\n ]\n }\n },\n\n ...\n\n","tagName":"code","path":"antara/tutorials/advanced-series-3","closestElementReference":"value-sent-to-cc-vouts"},{"text":"Key Takeaways","tagName":"h4","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"The important aspect to note here is that an initial transaction of a module instance typically takes value from normal inputs and sends it to CC outputs.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"As time progresses, more transactions on the Smart Chain are performed under this module instance. Each of the module instance's transactions spends from the previous transaction outputs associated with the instance and creates new unspent transactions. This process effectively creates a linked-list data structure.","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"linked-list data structure.","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"With each transaction, the opreturn output is never spent, and remains in the blockchain as a source of Antara Module data (read only).","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-3","closestElementReference":"key-takeaways"}],"antara/tutorials/advanced-series-4":[{"text":"Advanced Series — Final Conceptual Discussion","tagName":"h1","path":"antara/tutorials/advanced-series-4","closestElementReference":"advanced-series-final-conceptual-discussion"},{"text":"Up to this point in the tutorial series we have discussed the general concepts of the Antara Framework and we have discussed initial preparations to build a simplified prototype of the Heir Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"advanced-series-final-conceptual-discussion"},{"text":"This section of the tutorial series reviews many of the conceptual aspects of the Antara Framework while also diving more thoroughly into technical details.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"advanced-series-final-conceptual-discussion"},{"text":"This is the final conceptual discussion necessary before we begin writing code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"advanced-series-final-conceptual-discussion"},{"text":"Understanding CryptoConditions","tagName":"h2","path":"antara/tutorials/advanced-series-4","closestElementReference":"understanding-crypto-conditions"},{"text":"According to the industry-wide CryptoConditions standard, a CryptoCondition is a logical expression evaluated on electronic signatures and hashes of transaction data.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"understanding-crypto-conditions"},{"text":"CryptoConditions are stored in the scripts of transactions and are evaluated by a supporting CryptoCondition C library.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"understanding-crypto-conditions"},{"text":"In a Komodo Smart Chain, the default CC library is included during the installation procedure.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"understanding-crypto-conditions"},{"text":"Antara Extensions to CryptoConditions","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-extensions-to-crypto-conditions"},{"text":"In addition to the industry-standard CryptoCondition (CC) library, Komodo's implementation of CC integrates the ability to add arbitrary code into a Smart Chain's consensus mechanism. This allows developers to create essentially an unlimited number of application-specific transaction-validation rules.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-extensions-to-crypto-conditions"},{"text":"For example, in the Heir Module, if the heir attempts to claim funds, the validation code checks whether the owner of the fund has shown recent activity, according to a specified amount of time. The owner can show activity by either adding to or spending from the fund. If the owner has not shown signs of activity, the validation code allows the heir to claim the funds.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-extensions-to-crypto-conditions"},{"text":"Through CryptoConditions and Antara's extensions, the consensus mechanism can rule over the outcome of the cryptocondition logic and arbitrary validation code across the Smart Chain's decentralized network of nodes.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-extensions-to-crypto-conditions"},{"text":"Makeup of a CryptoCondition","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"A CryptoCondition consists of two parts:","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"Part I: A condition that must be met - This is stored in the transaction\noutput's scriptPubKey","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"scriptPubKey","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"Part II: A fulfillment - This is stored in the scriptSig field of the\ninput of the transaction that spends the above output","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"scriptSig","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"makeup-of-a-crypto-condition"},{"text":"Part I: Logical Condition","tagName":"h5","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"The condition contains data that checks the CryptoCondition in \"fingerprinted\" form.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"The term \"fingerprinted\" is a common term in the technology industry. To \"fingerprint\" data means to convert an arbitrary set of data to a fixed-length byte array. In this manner, a fingerprint uniquely identifies the source data. (A fingerprint is similar in nature to a hash.)","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"\"fingerprinted\"","tagName":"a","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"To fingerprint data in the CryptoConditions environment, the CC library acquires the target data, combines it with other data that the developer does not need to manage, and then creates the fingerprint.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"Fingerprints are useful in Antara Module development. For example, a logical condition can be a requirement that only a specific fingerprinted pubkey be allowed to spend a transaction output.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-i-logical-condition"},{"text":"Part II: Logical Fulfillment","tagName":"h5","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"The fulfillment contains instructions and data about how the consensus mechanism should evaluate the CryptoCondition. For example, the fulfillment could include an instruction to check a spending-transaction's electronic signature as well as the the pubkey associated with this signature.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"To spend a CC output of a transaction, a node on the network sends a spending transaction that contains a CC input that fulfills the CC output's condition. The consensus mechanism of the Smart Chain checks that the fulfillment is correct. For this it uses the C CryptoCondition library to evaluate the fulfillment of the spending transaction. The result of this evaluation is checked against the condition stored in the previous transaction output.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"For our example above of an electronic signature, the consensus mechanism runs the logical conditions and fulfillments of the CryptoCondition to verify the electronic signature with the provided pubkey. Then the validation logic calculates the fingerprint of the pubkey and checks it against the condition.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"In adding CryptoConditions to the Antara framework, Komodo extended the original CC protocol by adding an additional aspect beyond the inputs and outputs. This additional part is called the EVAL CryptoCondition, or eval code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"Each Antara Module has its own unique eval code. The eval code is a number between 0 and 255, and it identifies the specific Antara Module that is associated with a CC transaction. When the consensus validation logic encounters the Antara Module's eval code in a transaction input, the validation logic calls the module's validation function.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"The process of validation of an Antara Module's transaction is depicted on the diagram below:","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"part-ii-logical-fulfillment"},{"text":"The Simplest form of a CryptoCondition","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"The simplest CryptoCondition evaluates an electronic signature of a spending-transaction's scriptsig . Assuming the evaluation is successful, the spending-transaction is then able to spend funds from the output of another transaction.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"scriptsig","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"At first glance, you may be confused about why a CryptoCondition is useful in this event, as a normal blockchain protocol can already accomplish this task.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"The answer is that there is an important difference in the CryptoCondition implementation. When a CryptoCondition transaction output is spent, the Antara Module's code can enforce additional validation logic. This is accomplished via the eval code that is stored as a part of the CryptoCondition's inputs and outputs. We will describe this further in the Heir Module development section.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"The ability to enforce additional logic is the key difference that illuminates the power of Antara. For example, additional arbitrary validation code can include logic that allows a user to spend the output only at the appropriate time. The transaction output can be spent only via a spending transaction that has the matching fulfillment, and both the CryptoCondition and the Antara Module validation code evaluate to true .","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"Even the basic CryptoCondition features offer more complex logical expressions than a normal Bitcoin Script. For example, with CC a spending transaction could be required to have signatures from at least M of N acceptable pubkeys .","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"M","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"N","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"pubkeys","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"As logical conditions and subconditions can be added to a CryptoCondition as desired, the developer can utilize both the CryptoConditions features and customized module's validation code to build complex logic that governs the movement of Smart Chain assets. In this sense, Antara is an advanced evolution of the basic Bitcoin Script security features, such as pubkey or pubkey hash scripts. We will examine validation code in greater detail later in this tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"In this section, we became acquainted with the concept of logical conditions that are associated with transaction outputs, and logical fulfillments associated with spending-transactions. These two elements make up the rudimentary aspect of a CryptoCondition.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"There are yet other elements of an Antara-based CryptoCondition. One element is called the EVAL code, and it is stored in the CryptoCondition's inputs and outputs. We will touch on this topic soon.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-simplest-form-of-a-crypto-condition"},{"text":"Antara Module as Data and Business Logic Layer of Business Application","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-as-data-and-business-logic-layer-of-business-application"},{"text":"An Antara Module can be described as a combination of a data layer and a business-logic layer in an application. The data layer is the collection of transactions related to the Antara Module, and the business-logic layer is the module's arbitrary code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-as-data-and-business-logic-layer-of-business-application"},{"text":"These two layers tie in with other layers in an Antara-based software application. For example, the software external to the blockchain could include a presentation layer, consisting of a Graphical User Interface (GUI) and other visual elements. External applications interact with an Antara Module via its RPC calls.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-as-data-and-business-logic-layer-of-business-application"},{"text":"Also, there can often be an additional oracle layer, wherein oracle software connects nodes to external data sources across the Internet. This can be the case in Antara-based software applications that make use of the Oracles Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-as-data-and-business-logic-layer-of-business-application"},{"text":"Oracles","tagName":"a","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-as-data-and-business-logic-layer-of-business-application"},{"text":"A Global CC Address in the Antara Framework","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"Recall that each Antara Module has an associated global CC address. The private key to this global CC address is publicly available. The address can be used for such tasks as sharing funds between users of this module, and anyone can attempt to spend funds from this address.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"The following is an example of a global CC address created and assigned for the Heir module.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"const char *HeirCCaddr = \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\";\nconst char *HeirNormaladdr = \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\";\nchar HeirCChexstr[67] = { \"03c91bef3d7cc59c3a89286833a3446b29e52a5e773f738a1ad2b09785e5f4179e\" };\nuint8_t HeirCCpriv[32] = { 0x9d, 0xa1, 0xf8, 0xf7, 0xba, 0x0a, 0x91, 0x36, 0x89, 0x9a, 0x86, 0x30, 0x63, 0x20, 0xd7, 0xdf, 0xaa, 0x35, 0xe3, 0x99, 0x32, 0x2b, 0x63, 0xc0, 0x66, 0x9c, 0x93, 0xc4, 0x5e, 0x9d, 0xb9, 0xce };\n","tagName":"pre","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"const char *HeirCCaddr = \"RDVHcSekmXgeYBqRupNTmqo3Rn8QRXNduy\";\nconst char *HeirNormaladdr = \"RTPwUjKYECcGn6Y4KYChLhgaht1RSU4jwf\";\nchar HeirCChexstr[67] = { \"03c91bef3d7cc59c3a89286833a3446b29e52a5e773f738a1ad2b09785e5f4179e\" };\nuint8_t HeirCCpriv[32] = { 0x9d, 0xa1, 0xf8, 0xf7, 0xba, 0x0a, 0x91, 0x36, 0x89, 0x9a, 0x86, 0x30, 0x63, 0x20, 0xd7, 0xdf, 0xaa, 0x35, 0xe3, 0x99, 0x32, 0x2b, 0x63, 0xc0, 0x66, 0x9c, 0x93, 0xc4, 0x5e, 0x9d, 0xb9, 0xce };\n","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"In the Antara codebase, the global CC address is sometimes called the \"unspendable\" address. This is likely a reference to the fact that for any user to spend funds from this address, the spending transaction must pass the module's validation code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"For example, the global CC address could store funds shared between several users. As a global CC address's privkey is publicly available, anyone might try to spend these funds. This is where the Antara validation code will exercise control over whom is allowed to spend funds, and by which rules. The RPC aspect of the Antara Module must prevent the creation of inappropriate transactions as well.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"A transaction can also send a nominal fee to the global CC address with the intention of turning this transaction's output into a search key (called a marker). To ensure these markers remain publicly visible forever, the module's validation code can disable spending for these markers. With this combination, the developer can use the SetCCunspents SDK function to enumerate all transactions in the global CC address, and thus discover the module's transaction history.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"SetCCunspents","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"a-global-cc-address-in-the-antara-framework"},{"text":"Antara Development Checklist","tagName":"h2","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Development requirements for each Antara Module:","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Allocate a new EVAL code for your module","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Assign a global address for the module","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Define the module's transactions \n \n This includes the structure of their inputs, outputs, and opreturn format \n \n","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"\n This includes the structure of their inputs, outputs, and opreturn format \n","tagName":"ul","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"This includes the structure of their inputs, outputs, and opreturn format","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"This includes the structure of their inputs, outputs, and opreturn format","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Implement the common RPC functions that nearly all modules feature \n \n These are typically functions for retrieving a list of all of the module's initial transactions, and for retrieving user addresses and the global CC address \n \n","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"\n These are typically functions for retrieving a list of all of the module's initial transactions, and for retrieving user addresses and the global CC address \n","tagName":"ul","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"These are typically functions for retrieving a list of all of the module's initial transactions, and for retrieving user addresses and the global CC address","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"These are typically functions for retrieving a list of all of the module's initial transactions, and for retrieving user addresses and the global CC address","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Implement the module's specific RPC functions \n \n These are used to create the module-related transactions and to return relevant information about the module's data and state \n \n","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"\n These are used to create the module-related transactions and to return relevant information about the module's data and state \n","tagName":"ul","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"These are used to create the module-related transactions and to return relevant information about the module's data and state","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"These are used to create the module-related transactions and to return relevant information about the module's data and state","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Implement the module's validation code","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-development-checklist"},{"text":"Antara Module Architecture","tagName":"h2","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"From an architectural standpoint, an Antara Module is simply a C/C++ source file.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"There are two parts to the module's source file: the implementation of RPC's and the validation code. You also need to inform the basic komodod source code of your new Antara Module through the following steps.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"Allocate a new eval code for your Antara Module in src/cc/eval.h","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"src/cc/eval.h","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"add your module's global addresses and the validation code entry function into the registry of Antara Modules in src/cc/CCcustom.cpp","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"src/cc/CCcustom.cpp","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-architecture"},{"text":"RPC Implementations","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"The first part of the Antara's module source file consists of the implementation of all Remote Procedure Calls (RPC's) for this module. These typically either perform transactions or query information about state and data.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"The developer must also implement high-level functions for any desired RPC commands that are called by the RPC engine and are responsible for converting the RPC data to native C++ data types.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"These functions should be added into an existing source in the /src/rpc directory. Alternatively, the developer might create his own RPC source file.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"/src/rpc","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"A reference to the RPC-command functions should be added to the global RPC command table in the /src/rpc/server.cpp source file.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"/src/rpc/server.cpp","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"With this properly completed, the Smart Chain daemon's compiler will automatically make each RPC available at the command line through the komodo-cli software and via the curl utility.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"curl","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"Essentially all modules have at least these two RPC's.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"XXXXlist \n \n This lists all initial transactions relevant to the module \n \n","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"\n This lists all initial transactions relevant to the module \n","tagName":"ul","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"This lists all initial transactions relevant to the module","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"This lists all initial transactions relevant to the module","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"XXXXinfo \n \n This RPC typically also requires an additional input -- a transaction ID for which information is desired \n When called, the method then returns information about this transaction ID \n \n","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"\n This RPC typically also requires an additional input -- a transaction ID for which information is desired \n When called, the method then returns information about this transaction ID \n","tagName":"ul","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"This RPC typically also requires an additional input -- a transaction ID for which information is desired","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"When called, the method then returns information about this transaction ID","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"This RPC typically also requires an additional input -- a transaction ID for which information is desired","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"When called, the method then returns information about this transaction ID","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"Include other RPC implementations as desired.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"rpc-implementations"},{"text":"Antara Module Validation Code","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"The main purpose of Antara Module validation code is two-fold. First, it ensures that the structure of the sequence of Antara Module related transactions and their data is accurate. Second, the validation code prevents inappropriate Antara-related transactions from entering the chain. In other words, module validation code should protect against malicious transactions, and this is the code's most important task.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"Antara Module Validation code is triggered anytime a node attempts to add a CC spending-transaction to the chain.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"A module's validation code is activated only when a transaction has at least one CC input that bears the module's EVAL code inside the scriptSig in the transaction.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"A module's initial transaction may not have a CC input. When this happens, the validation code is not triggered. Therefore, the transaction may be handled by the normal blockchain protocol.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"As an aside, when the developer needs to write code that validates a spending transaction that spends a utxo that has no CC inputs, the code must first validate the utxo as well. If the result of the validation of the utxo is false , then the code can also reject the spending transaction. We will delve into this topic in thorough detail further in the tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-validation-code"},{"text":"The EVAL Code","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"A unique 8-bit EVAL code is attached to each Antara Module. The EVAL code is used by the core Smart Chain daemon's transaction-validation code to route any relevant transactions to the appropriate module's validation code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"The EVAL code itself is actually a simple CryptoCondition. The CryptoCondition tests for the byte value and, if the value is true , routes the result according to the core Smart Chain daemon's code.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-4","closestElementReference":"the-eval-code"},{"text":"Antara Module Transaction Structure","tagName":"h3","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"A CryptoCondition (CC) input is called a \"vin\" and a CryptoCondition output is called a \"vout\".","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"A CC transaction has one or more vins and one or more vouts.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"When creating a CC transaction, the transaction's vins can consume the vouts of previous transactions that were either related to CC, or not related.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"When they are not related to CC, the vin of the current transaction does not need to include a CC fulfillment.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"However, if the current transaction's vins are consuming vouts from a CC-related transaction, then the current transaction's vins must contain logical fulfillments that meet the requirements of the previous transaction's CC vouts. Also, the current transaction's CC vins contain the transaction id (txid) of the previous transaction.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"A CC transaction typically also has an opreturn vout that contains module data.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-transaction-structure"},{"text":"Antara Module SDK","tagName":"h4","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"Komodo is building an SDK for Antara Module development. The SDK is still in the early stages. Some of the SDK functions are already available, and can be found in the following source files:","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"CCtx.cpp","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"CCutils.cpp","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"cc.cpp","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"eval.cpp","tagName":"li","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"We will return to the SDK functions when we discuss the Heir module development process.","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-4","closestElementReference":"antara-module-sdk"}],"antara/tutorials/advanced-series-5":[{"text":"Advanced Series — Developing the Heir Module Prototype","tagName":"h1","path":"antara/tutorials/advanced-series-5","closestElementReference":"advanced-series-developing-the-heir-module-prototype"},{"text":"Heir Module Development","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-development"},{"text":"Having finished an overview of the Antara development layout, we are now prepared to create a simplified prototype of the Heir Module .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-development"},{"text":"Heir Module","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-development"},{"text":"Links to Heir Source Code and Building Instructions","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"A complete working example of this simplified Heir Antara module tutorial can be found at the following link. We invite the reader to download and review the final code while progressing through the tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"Link to Simplified Heir Module","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"Link to Simplified Heir Module","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"The source files are found in the following directories.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"src/cc/heir.cpp","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"src/cc/CCheir.h","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"src/wallet/rpcwallet.cpp","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"src/rpc/server.cpp","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"src/rpc/server.h","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"links-to-heir-source-code-and-building-instructions"},{"text":"Downloading and Installing From Source","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"downloading-and-installing-from-source"},{"text":"At this time, the reader will need to have the Komodo Smart Chain source code available. The reader begins with this default source code and adds to it to create a new Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"downloading-and-installing-from-source"},{"text":"Instructions to download and build Komodo software is found here.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"downloading-and-installing-from-source"},{"text":"Link to Instructions for Building from Source","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"downloading-and-installing-from-source"},{"text":"Link to Instructions for Building from Source","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"downloading-and-installing-from-source"},{"text":"Begin Development","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Our tasks are the following:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Add a new EVAL code to represent this module","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Create a global CC address","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Define the Heir Module transactions \n \n vouts, or logical conditions \n vins, or logical fulfillments \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"\n vouts, or logical conditions \n vins, or logical fulfillments \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"vouts, or logical conditions","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"vins, or logical fulfillments","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"vouts, or logical conditions","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"vins, or logical fulfillments","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Implement the RPC interface","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Create the validation code","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"begin-development"},{"text":"Create the EVAL Code","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"In a previous section of this advanced series, we discussed the nature of creating a new EVAL code for an Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Link to EVAL code instructions here.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Link to EVAL code instructions here.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Review the above linked section and attempt to create an EVAL code on your own for this simplified Heir Module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"When you are finished with your attempt, compare your results with the downloadable files for this tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Link to EVAL code source file in simplified Heir Module downloadables.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Link to EVAL code source file in simplified Heir Module downloadables.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"create-the-eval-code"},{"text":"Global CC Address","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"We also recently discussed the method of adding a Global CryptoCondition (CC) Address as a part of initiating a new Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Link to Global CC Address instructions here.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Link to Global CC Address instructions here.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Review the above linked section and attempt to create a Global CC Address on your own.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"When you are finished with your attempt, compare your results with the downloadable files for this tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Link to Global CC Address file in simplified Heir Module downloadables.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Link to Global CC Address file in simplified Heir Module downloadables.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"global-cc-address"},{"text":"Heir Module Transactions","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-transactions"},{"text":"We require three types of module transactions","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-transactions"},{"text":"an initial transaction with which a user creates the fund for inheritance","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-transactions"},{"text":"a transaction for additional funding","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-transactions"},{"text":"a transaction for spending funds by the owner or heir","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-transactions"},{"text":"The Initial Transaction: Creating a Fund","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"Through a funding transaction, the owner of the initial funds creates a \"plan,\" which we can also call a \"module data instance,\" and deposits funds for future spending.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"The initial funds are taken from normal utxos. The initial transaction spends these normal utxos and uses them to create an CC-related utxo. Thus, the initial transaction is the beginning of the relationship between the funds and the Heir Antara Module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"The main funds for the plan are allocated to vout.0 of our CC transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"vout.0","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"By design, and setting aside issues of timing, we desire that either the owner or the inheritor of the funds should be able to spend this utxo. We assume that the owner has one address, and the inheritor has another. To achieve this, we use an advanced CryptoConditions feature that states that either of two addresses can spend the funds. This is called a 1of2 CryptoCondition, and it is placed as a logical condition into vout.0 .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"vout.0","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"A fee is allocated to vout.1 . This is used as a marker. The marker allows a developer to use a special SDK function, SetCCunspents() , to create a list of all initial transactions for the module.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"vout.1","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"SetCCunspents()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"As usual, out of the remaining amount of our initial utxo, we need to send all that we desire to keep to our change address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"change","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"Also, we need to leave an amount as an incentive for the miner. Any remainder beyond the sum total of our new vout values will automatically be allocated in this manner. We typically leave 10000 satoshis of our Smart Chain coin, by convention.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"vout","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"10000","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"Note the F letter in the opreturn structure. The F stands for \"fund.\" By convention, the first byte of any opreturn is the EVAL code. The second byte is the transaction functional id, we use it to understand the transaction data structure in the opreturn.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"We also stored other relevant data in the opreturn:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"The owner and inheritor pubkeys","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"Inactivity time \n \n this is the amount of seconds during which the owner must exhibit activity to maintain sole control over the funds \n If the owner does not spend funds during this time period, the inheritor will gain the ability to spend these funds as well \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"\n this is the amount of seconds during which the owner must exhibit activity to maintain sole control over the funds \n If the owner does not spend funds during this time period, the inheritor will gain the ability to spend these funds as well \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"this is the amount of seconds during which the owner must exhibit activity to maintain sole control over the funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"If the owner does not spend funds during this time period, the inheritor will gain the ability to spend these funds as well","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"this is the amount of seconds during which the owner must exhibit activity to maintain sole control over the funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"If the owner does not spend funds during this time period, the inheritor will gain the ability to spend these funds as well","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"The descriptive name of this funding plan","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-initial-transaction-creating-a-fund"},{"text":"The Add Coins Transaction","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"This transaction serves the purpose of adding more funds to the owner's address. The transaction uses normal coin inputs (non-CC) and sends them to the CC 1of2 address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"We include the transaction id (txid) of the initial transaction in the opreturn to bind the add transaction to the plan.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"Note the functional id, A . This flag indicates that this transaction is an add type of funding transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"A","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"add","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"Note the HasHeirSpendingBegun flag as well. This is discussed later in the series, in the module source-code description.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"HasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-add-coins-transaction"},{"text":"The Claim Coins Transaction","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"This transaction allows either the owner or the heir to spend funds from this plan instance.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"To pay the transaction fee to the miners, the transaction has a normal input that draws from the wallet of the transaction creator.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"The transaction also has a CC input for spending the claimed value from the 1of2 fund address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"As for outputs, the claimed value is sent to the claimer's normal address, allowing the claimer to spend funds as usual. Unspent or leftover \"change\" from the transaction is returned to the 1of2 address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"We also indicate the normal change .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"change","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"The functional id, C , in the opreturn indicates that this is a \"claim\" type transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"C","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"We also include all the same opreturn data as in the A transaction, include the fundingtxid and the HasHeirSpendingBegun flag.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"A","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"HasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-claim-coins-transaction"},{"text":"Heir Module RPC Implementations","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-rpc-implementations"},{"text":"heirfund","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"For a user to call the heirfund RPC, the user will need to supply the name of the RPC and its parameters as arguments.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"heirfund","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"We model the syntax as follows:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"./komodo-cli -ac_name=YOURCHAIN heirfund amount name heirpubkey inactivitytime\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"./komodo-cli -ac_name=YOURCHAIN heirfund amount name heirpubkey inactivitytime\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirfund"},{"text":"Descriptions of the heirfund Syntax","tagName":"h5","path":"antara/tutorials/advanced-series-5","closestElementReference":"descriptions-of-the-heirfund-syntax"},{"text":"Adding the Command to the Source File","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":"To add a new command to komodo-cli we open the src/server.cpp source file add a new element to the vRPCCommands array.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":"src/server.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":"vRPCCommands","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":" { \"heir\", \"heirfund\", &heirfund, true },\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":" { \"heir\", \"heirfund\", &heirfund, true },\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-the-command-to-the-source-file"},{"text":"Add the RPC Function Declaration","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"We add the RPC function declaration in the rpc/server.h source file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"rpc/server.h","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"The declaration in this file is essentially the same across all RPC functions.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"UniValue heirfund(const UniValue& params, bool fHelp);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"UniValue heirfund(const UniValue& params, bool fHelp);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-function-declaration"},{"text":"The Two Levels of an RPC Implementation","tagName":"h3","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"There are two levels to an RPC implementation.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"The first level is a short RPC function that has the same name as the RPC command itself (such as heirfund ).","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"heirfund","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"The body of this level is added to a source file in the rpc/ subdirectory in the source code (for this example, we added the RPC functions for Heir Module in the wallet/rpcwallet.cpp).","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"rpc/","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Creating a new RPC source file for each Antara Module's RPC functions is considered a best practice.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"This function checks the RPC parameters and the needed environment, and then forwards the RPC to the second level.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"To begin the RPC command, we declare the heirfund function and clear the global error object.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"heirfund","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"// heirfund command rpc-level implementation, src/wallet/rpcwallet.cpp\nUniValue heirfund(const UniValue& params, bool fHelp)\n\n CCerror.clear(); // clear global error object\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"// heirfund command rpc-level implementation, src/wallet/rpcwallet.cpp\nUniValue heirfund(const UniValue& params, bool fHelp)\n\n CCerror.clear(); // clear global error object\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Recall that a Smart Chain must have the ac_cc and ac_ccenable customization parameters properly initiated for any Antara Module to function.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"ac_cc","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"ac_ccenable","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Therefore, we check that the wallet and Heir Module features are available in the Smart Chain. We also check the RPC parameter's required number:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Ensure that the wallet object is initialized:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" if (!EnsureWalletIsAvailable(fHelp))\n return NullUniValue;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" if (!EnsureWalletIsAvailable(fHelp))\n return NullUniValue;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Ensure that the chain parameters needed for Antara Modules are correctly set. For example, addressindex and spentindex should both be enabled. Also, ensure that the Heir Module is enabled on this chain.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"addressindex","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"spentindex","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" if (ensure_CCrequirements(EVAL_HEIR) < 0)\n throw runtime_error(\"to use Antara modules, you need to launch daemon with valid -pubkey= for an address in your wallet\\n\");\n // output help message if asked or params count is incorrect:\n if (fHelp || params.size() != 4 )\n throw runtime_error(\"heirfund funds heirname heirpubkey inactivitytime\\n\");\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" if (ensure_CCrequirements(EVAL_HEIR) < 0)\n throw runtime_error(\"to use Antara modules, you need to launch daemon with valid -pubkey= for an address in your wallet\\n\");\n // output help message if asked or params count is incorrect:\n if (fHelp || params.size() != 4 )\n throw runtime_error(\"heirfund funds heirname heirpubkey inactivitytime\\n\");\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Lock the user's wallet:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" LOCK2(cs_main, pwalletMain->cs_wallet);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" LOCK2(cs_main, pwalletMain->cs_wallet);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"The UniValue object is a special type used to pass data in RPC calls. The UniValue object is native to all blockchains based on the Bitcoin protocol. For parameters, UniValue requires an array of UniValue objects.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"UniValue","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"UniValue","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"We must convert these UniValue objects into normal C/C++ language types, and then pass them to the second level of our module implementation.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Convert the parameters from the UniValue type to their basic C++ types and add checks to ensure that the converted parameter values are correct.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"This content is abbreviated. For links to the full source code and example\nfiles, click here.\n/antara/tutorials/heir-module-tutorial#links-to-heir-source-code-and-building-instructions","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Note the method for parsing the hex representation of the pubkey parameter and converting it to a CPubKey object.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"CPubKey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" CAmount amount = atof(params[0].get_str().c_str()) * COIN; // Note conversion from satoshis to coins through a multiplication of 10E8\n if( amount < 0 )\n \tthrow runtime_error(\"amount cant be negative\");\n std::string name = params[1].get_str();\n std::vector vheirpubkey = ParseHex(params[2].get_str().c_str());\n CPubKey heirpk = pubkey2pk(vheirpubkey);\n int64_t inactivitytime = atoll(params[3].get_str().c_str());\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" CAmount amount = atof(params[0].get_str().c_str()) * COIN; // Note conversion from satoshis to coins through a multiplication of 10E8\n if( amount < 0 )\n \tthrow runtime_error(\"amount cant be negative\");\n std::string name = params[1].get_str();\n std::vector vheirpubkey = ParseHex(params[2].get_str().c_str());\n CPubKey heirpk = pubkey2pk(vheirpubkey);\n int64_t inactivitytime = atoll(params[3].get_str().c_str());\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Finally, call the Heir Module code, pass our values (now in C++ type format), and set these as the value of the final result object. Bear in mind that the returned value from the Heir Module code, HeirFund , returns a hexadecimal value.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"result","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"HeirFund","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" UniValue result = HeirFund(amount, name, heirpk, inactivitytime);\n RETURN_IF_ERROR(CCerror); // use a macro to throw runtime_error if CCerror is set in HeirFund()\n return result;\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":" UniValue result = HeirFund(amount, name, heirpk, inactivitytime);\n RETURN_IF_ERROR(CCerror); // use a macro to throw runtime_error if CCerror is set in HeirFund()\n return result;\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"See the linked source code (line number is approximate.)","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"See the linked source code (line number is approximate.)","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"the-two-levels-of-an-rpc-implementation"},{"text":"Second Level Implementation","tagName":"h3","path":"antara/tutorials/advanced-series-5","closestElementReference":"second-level-implementation"},{"text":"The second level of the RPC implementation is the transaction creation code. This resides in the src/cc/heir.cpp source file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"second-level-implementation"},{"text":"src/cc/heir.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"second-level-implementation"},{"text":"Implementing heirfund transaction creation","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"The following content displays the skeleton of the heirfund RPC implementation.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"For links to the full source code and example files, click here.\n/antara/tutorials/heir-module-tutorial#links-to-heir-source-code-and-building-instructions","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"// heirfund transaction creation code, src/cc/heir.cpp\nstd::string HeirFund(int64_t amount, std::string heirName, CPubKey heirPubkey, int64_t inactivityTimeSec)\n{\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"// heirfund transaction creation code, src/cc/heir.cpp\nstd::string HeirFund(int64_t amount, std::string heirName, CPubKey heirPubkey, int64_t inactivityTimeSec)\n{\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"Create a mutable version of a transaction object.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":" CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":" CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"Declare and initialize an CCcontract_info object with Heir Module variables, such as our global CC address, our global private key, etc.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"CCcontract_info","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-heirfund-transaction-creation"},{"text":"Adding Inputs to the Transaction","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"Add inputs to the transaction that are enough to make a deposit of the requested amount to the Heir fund. Also add one fee to serve as a marker, and another for the miners.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"By tradition, we use a constant fee of 10000 satoshis.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"10000","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"We use the pubkey from the komodod -pubkey launch parameter as the destination address for the funds withdrawn from the 1of2 plan address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"-pubkey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"We use a function in the CC SDK, AddNormalinputs , to add the normal inputs to the mutable transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"AddNormalinputs","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":" const int64_t txfee = 10000;\n CPubKey myPubkey = pubkey2pk(Mypubkey());\n if (AddNormalinputs(mtx, myPubkey, amount+2*txfee , 60) > 0) {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":" const int64_t txfee = 10000;\n CPubKey myPubkey = pubkey2pk(Mypubkey());\n if (AddNormalinputs(mtx, myPubkey, amount+2*txfee , 60) > 0) {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"The parameters passed to the AddNormalinputs() function are:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"AddNormalinputs()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"The transaction itself","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"The user's pub","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"The total value for the funding amount","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"he marker and the miner fees","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"The limit on the quantity of utxos the daemon can take from the wallet of the user \n \n Naturally, only utxos that are available via the wallet's private keys can be used for these inputs \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"\n Naturally, only utxos that are available via the wallet's private keys can be used for these inputs \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"Naturally, only utxos that are available via the wallet's private keys can be used for these inputs","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"Naturally, only utxos that are available via the wallet's private keys can be used for these inputs","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-inputs-to-the-transaction"},{"text":"Adding Outputs to the Transaction","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"According to our specification, we need two outputs: one for the funding deposit and one for the marker.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Here, we use two CC SDK functions that are designed to create CC vouts.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"In our first statement we use the MakeCC1of2vout function to create a CC vout with a threshold of 2 addresses that can spend from the plan funds.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"MakeCC1of2vout","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"We supply as arguments the two potential addresses, represented here as myPubkey and heirPubkey . Therefore, there are two pubkeys that are able to spend funds in the address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"myPubkey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"heirPubkey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"The statement of code then adds this vout to the transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Note the eval code, EVAL_HEIR . This triggers the Heir validation code whenever an Heir Module transaction occurs.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"EVAL_HEIR","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"The second statement creates a marker vout with a simple CryptoCondition.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"We always need some kind of marker for any instance of an Antara Module plan for at least the initial transaction. Otherwise, we might lose the instance's data in the blockchain. We call this a marker pattern in Antara development, and we will explore this concept in more detail later in the tutorial.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"For now, we need to obtain the global CC address so that we can both mark the transaction, and to find all Heir funding plans. To obtain the global address we use the GetUnspendable() function.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"GetUnspendable()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"We use the MakeCC1vout function to create a vout with a simple CryptoCondition that sends a transaction fee to the Heir Module global CC address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"MakeCC1vout","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"The statement then adds this vout to the transaction. This vout will be used for retrieving the list of all instances of the Heir Module via the heirlist RPC.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" mtx.vout.push_back( MakeCC1of2vout(EVAL_HEIR, amount, myPubkey, heirPubkey) );\n mtx.vout.push_back( MakeCC1vout(EVAL_HEIR, txfee, GetUnspendable(cp, NULL)) );\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" mtx.vout.push_back( MakeCC1of2vout(EVAL_HEIR, amount, myPubkey, heirPubkey) );\n mtx.vout.push_back( MakeCC1vout(EVAL_HEIR, txfee, GetUnspendable(cp, NULL)) );\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Finish the creation of the transaction by calling the FinalizeCCTx function along with its parameters from the cp object, the mtx object itself, the owner's pubkey, and the transaction fee amount.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"FinalizeCCTx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"cp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"mtx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Note the cast to uint8_t for the constants EVAL_HEIR and F function id. This is important, as the cast supposes a one-byte size for the serialization of these values. If this size was not inferred, then the type would be an int .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"uint8_t","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"EVAL_HEIR","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"int","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Also, an opreturn object with the data from this module instance is passed. To create the opreturn object, serialize the needed ids and variables to a CScript object.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"CScript","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" std::string rawhextx = FinalizeCCTx(0, cp, mtx, myPubkey, txfee,\n CScript() << OP_RETURN << (uint8_t)EVAL_HEIR << (uint8_t)'F' << myPubkey << heirPubkey << inactivityTimeSec << heirName));\n return rawhextx;\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" std::string rawhextx = FinalizeCCTx(0, cp, mtx, myPubkey, txfee,\n CScript() << OP_RETURN << (uint8_t)EVAL_HEIR << (uint8_t)'F' << myPubkey << heirPubkey << inactivityTimeSec << heirName));\n return rawhextx;\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"In case the AddNormalinputs() function cannot find sufficient owner coins for the requested amount (including the transaction fee), we set the CCerror error object.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"AddNormalinputs()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"CCerror","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" CCerror = \"not enough coins for requested amount and txfee\";\n return std::string(\"\");\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":" CCerror = \"not enough coins for requested amount and txfee\";\n return std::string(\"\");\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Note that we do not need to add the normal change output here because the FinalizeCCTx function adds the change output for us.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"FinalizeCCTx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"FinalizeCCTx also builds the transaction input scriptSigs (both normal and CC aspects), adds tx signatures to them, and returns a signed transaction in hexadecimal encoding.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"FinalizeCCTx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"scriptSigs","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Also note the E_MARSHAL() function. This serializes variables of various supported types to a byte array. The byte array is then serialized to a CScript object. The object is stored in the scriptPubKey transaction field in the last opreturn vout with transaction data.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"E_MARSHAL()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"CScript","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"scriptPubKey","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"There is also the mirror E_UNMARSHAL() function. This is used for unpacking opreturn data from a CScript object to C++ variables, and for further processing.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"E_UNMARSHAL()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"The returned transaction is ready to be sent to the Smart Chain network using the sendrawtransaction RPC.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"adding-outputs-to-the-transaction"},{"text":"Implementing the heirclaim RPC","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-the-heirclaim-rpc"},{"text":"As before, this implementation has two levels. The first level checks the required environment and converts the parameters. The second level creates the final transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementing-the-heirclaim-rpc"},{"text":"heirclaim syntax","tagName":"h5","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirclaim-syntax"},{"text":"./komodo-cli -ac_name=YOURCHAIN heirclaim fundingtxid amount\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirclaim-syntax"},{"text":"./komodo-cli -ac_name=YOURCHAIN heirclaim fundingtxid amount\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heirclaim-syntax"},{"text":"Add the RPC command to komodo-cli","tagName":"h5","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Add a new command to komodo-cli by adding a new element into the vRPCCommands array in the source file src/server.cpp .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"vRPCCommands","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"src/server.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" { \"heir\", \"heirclaim\", &heirclaim, true },\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" { \"heir\", \"heirclaim\", &heirclaim, true },\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Using the previous section of the tutorial as an example, add an heirclaim RPC implementation in the src/rpc/wallet.cpp source file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"heirclaim","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"src/rpc/wallet.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Add the heirclaim declaration in the src/rpc/server.h header file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"heirclaim","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"src/rpc/server.h","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"// heirclaim command rpc-level implementation, src/wallet/rpcwallet.cpp\n\nUniValue heirclaim(const UniValue& params, bool fHelp)\n{\n CCerror.clear(); // clear global error object\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"// heirclaim command rpc-level implementation, src/wallet/rpcwallet.cpp\n\nUniValue heirclaim(const UniValue& params, bool fHelp)\n{\n CCerror.clear(); // clear global error object\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Check that the wallet is available.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"In case the user asks for help via the --help parameter, or in case the parameters are not correctly submitted, print a help message to the console.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"--help","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"help","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Also check that Antara requirements are satisfied:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" if (!EnsureWalletIsAvailable(fHelp))\n return NullUniValue;\n if (fHelp || params.size() != 2)\n\tthrow runtime_error(\"heirclaim txfee funds fundingtxid\\n\");\n if (ensure_CCrequirements(EVAL_HEIR) < 0)\n\tthrow runtime_error(\"to use Antara modules, you need to launch daemon with valid -pubkey= for an address in your wallet\\n\");\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" if (!EnsureWalletIsAvailable(fHelp))\n return NullUniValue;\n if (fHelp || params.size() != 2)\n\tthrow runtime_error(\"heirclaim txfee funds fundingtxid\\n\");\n if (ensure_CCrequirements(EVAL_HEIR) < 0)\n\tthrow runtime_error(\"to use Antara modules, you need to launch daemon with valid -pubkey= for an address in your wallet\\n\");\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Lock the wallet:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" LOCK2(cs_main, pwalletMain->cs_wallet);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" LOCK2(cs_main, pwalletMain->cs_wallet);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Convert the parameters from UniValue to c++ type:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"UniValue","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"c++","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" uint256 fundingtxid = Parseuint256((char*)params[0].get_str().c_str());\n CAmount amount = atof(params[1].get_str().c_str()) * COIN; // Note conversion from satoshis to coins by multiplication by 10E8\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" uint256 fundingtxid = Parseuint256((char*)params[0].get_str().c_str());\n CAmount amount = atof(params[1].get_str().c_str()) * COIN; // Note conversion from satoshis to coins by multiplication by 10E8\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Call the HeirClaim transaction creation function and return the created transaction in hexadecimal.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"HeirClaim","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" UniValue result = HeirClaim(fundingtxid, amount);\n RETURN_IF_ERROR(CCerror); // use a macro to throw runtime_error if CCerror is set in HeirFund()\n return result;\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":" UniValue result = HeirClaim(fundingtxid, amount);\n RETURN_IF_ERROR(CCerror); // use a macro to throw runtime_error if CCerror is set in HeirFund()\n return result;\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"add-the-rpc-command-to-komodo-cli"},{"text":"Transaction creation code for heirclaim RPC","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Implement the HeirClaim transaction creation code in the src/cc/heir.cpp source file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"HeirClaim","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"src/cc/heir.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"// heirclaim transaction creation function, src/cc/heir.cpp\nstd::string HeirClaim(uint256 fundingtxid, int64_t amount)\n{\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"// heirclaim transaction creation function, src/cc/heir.cpp\nstd::string HeirClaim(uint256 fundingtxid, int64_t amount)\n{\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Start with creating a mutable transaction object:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Initialize the cp object:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"cp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Find the most recent owner transaction to calculate the owner's inactivity time. The helper function, FindLatestOwnerTx() , returns the latest transaction id, the owner and heir public keys, inactivity time setting value, and the hasHeirSpendingBegun flag value.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"FindLatestOwnerTx()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"owner","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"heir","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"inactivity time setting","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" const int64_t txfee = 10000;\n CPubKey ownerPubkey, heirPubkey;\n int64_t inactivityTimeSec;\n uint8_t hasHeirSpendingBegun;\n uint256 latesttxid = FindLatestOwnerTx(fundingtxid, ownerPubkey, heirPubkey, inactivityTimeSec, hasHeirSpendingBegun);\n if( latesttxid.IsNull() ) {\n CCerror = \"no funding tx found\";\n return \"\";\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" const int64_t txfee = 10000;\n CPubKey ownerPubkey, heirPubkey;\n int64_t inactivityTimeSec;\n uint8_t hasHeirSpendingBegun;\n uint256 latesttxid = FindLatestOwnerTx(fundingtxid, ownerPubkey, heirPubkey, inactivityTimeSec, hasHeirSpendingBegun);\n if( latesttxid.IsNull() ) {\n CCerror = \"no funding tx found\";\n return \"\";\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Check whether the inactivity time of the owner has surpassed the amount designated in the plan. The CCduration CC SDK function returns the time (in seconds) since the confirmation of the block that bears the provided transaction to the chain-tip block.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"CCduration","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"If hasHeirSpendingBegun is already true , there is no need to also check the owner's inactivity time.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" int32_t numBlocks; // not used\n bool isAllowedToHeir = (hasHeirSpendingBegun || CCduration(numBlocks, latesttxid) > inactivityTimeSec) ? true : false;\n CPubKey myPubkey = pubkey2pk(Mypubkey()); // pubkey2pk sdk function converts pubkey from a byte array to CPubKey object\n if( myPubkey == heirPubkey && !isAllowedToHeir ) {\n CCerror = \"spending funds is not allowed for heir yet\";\n return \"\";\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" int32_t numBlocks; // not used\n bool isAllowedToHeir = (hasHeirSpendingBegun || CCduration(numBlocks, latesttxid) > inactivityTimeSec) ? true : false;\n CPubKey myPubkey = pubkey2pk(Mypubkey()); // pubkey2pk sdk function converts pubkey from a byte array to CPubKey object\n if( myPubkey == heirPubkey && !isAllowedToHeir ) {\n CCerror = \"spending funds is not allowed for heir yet\";\n return \"\";\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Create the claim transaction inputs and outputs.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Add normal inputs for the transaction fee:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" if (AddNormalinputs(mtx, myPubkey, txfee, 3) <= txfee) {\n CCerror = \"not enough normal inputs for txfee\";\n return \"\";\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" if (AddNormalinputs(mtx, myPubkey, txfee, 3) <= txfee) {\n CCerror = \"not enough normal inputs for txfee\";\n return \"\";\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Get the address of the 1of2 threshold CryptoCondition output (where the funds were deposited). Add CC inputs for the requested amount.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" char coinaddr[65];\n GetCCaddress1of2(cp, coinaddr, ownerPubkey, heirPubkey);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" char coinaddr[65];\n GetCCaddress1of2(cp, coinaddr, ownerPubkey, heirPubkey);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Add CC inputs for this address with the use of a custom function:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" int64_t inputs;\n if( (inputs = Add1of2AddressInputs(mtx, fundingtxid, coinaddr, amount, 64)) < amount ) {\n CCerror = \"not enough funds claimed\";\n return \"\";\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" int64_t inputs;\n if( (inputs = Add1of2AddressInputs(mtx, fundingtxid, coinaddr, amount, 64)) < amount ) {\n CCerror = \"not enough funds claimed\";\n return \"\";\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Add a normal output to receive the claimed funds, and a CC change output for the remaining amount.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" mtx.vout.push_back(CTxOut(amount, CScript() << ParseHex(HexStr(myPubkey)) << OP_CHECKSIG));\n if (inputs > amount)\n mtx.vout.push_back(MakeCC1of2vout(EVAL_HEIR, inputs - amount, ownerPubkey, heirPubkey));\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" mtx.vout.push_back(CTxOut(amount, CScript() << ParseHex(HexStr(myPubkey)) << OP_CHECKSIG));\n if (inputs > amount)\n mtx.vout.push_back(MakeCC1of2vout(EVAL_HEIR, inputs - amount, ownerPubkey, heirPubkey));\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Add normal change (if any), add OP_RETURN data, and sign the transaction:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" return FinalizeCCTx(0, cp, mtx, myPubkey, txfee, CScript() << OP_RETURN << E_MARSHAL(ss << (uint8_t)EVAL_HEIR << (uint8_t)'C' << fundingtxid << (myPubkey == heirPubkey ? (uint8_t)1 : hasHeirSpendingBegun)));\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":" return FinalizeCCTx(0, cp, mtx, myPubkey, txfee, CScript() << OP_RETURN << E_MARSHAL(ss << (uint8_t)EVAL_HEIR << (uint8_t)'C' << fundingtxid << (myPubkey == heirPubkey ? (uint8_t)1 : hasHeirSpendingBegun)));\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"In the opreturn we add a pair of standard ids: the CC EVAL code, the functional id, and the fundingtxid to serve as the funding plan identifier.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"The hasHeirSpendingBegun value is a special flag. When this value is changed to 1 , it indicates that the heir has spent funds in the fund at least once. Therefore, it is no longer necessary to check the inactivity time of the owner.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"1","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Once hasHeirSpendingBegun is set to true , this flag should also be set to true in the following transaction OP_RETURN values.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"transaction-creation-code-for-heirclaim-rpc"},{"text":"Implementations for heiradd, heirlist and heirinfo","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heiradd allows a user to add more funding to a plan.","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heiradd","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heirlist is a standard RPC for all CC modules. This RPC outputs a list of all initial transaction IDs, which serve as the identifiers for each plan.","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heirlist","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heirinfo provides data about a funding plan.","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"heirinfo","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"The implementation for these RPCs can be found in the github repository with the source code of this contract.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"RPC implementation can be found here.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"RPC implementation can be found here.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"Transaction creation and retrieval code can be found here.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"Transaction creation and retrieval code can be found here.","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"implementations-for-heiradd-heirlist-and-heirinfo"},{"text":"Heir Module Helper Functions","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-helper-functions"},{"text":"Simplified Add1of2AddressInputs() Function Implementation","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"// add inputs from cc threshold=2 cryptocondition address to transaction object, src/cc/heir.cpp\nint64_t Add1of2AddressInputs(CMutableTransaction &mtx, uint256 fundingtxid, char *coinaddr, int64_t amount, int32_t maxinputs)\n{\n int64_t totalinputs = 0L;\n int32_t count = 0;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"// add inputs from cc threshold=2 cryptocondition address to transaction object, src/cc/heir.cpp\nint64_t Add1of2AddressInputs(CMutableTransaction &mtx, uint256 fundingtxid, char *coinaddr, int64_t amount, int32_t maxinputs)\n{\n int64_t totalinputs = 0L;\n int32_t count = 0;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"By default, the CC SDK function, SetCCunspents , fills the provider vector with a list of unspent cc outputs of the provided coinaddr Bitcoin address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"SetCCunspents","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"coinaddr","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"For our Heir Module, we pass the 1of2 address where the plan's funds are stored.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" std::vector> unspentOutputs;\n SetCCunspents(unspentOutputs, coinaddr, true); // get a vector of cc uxtos for the address in coinaddr[]\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" std::vector> unspentOutputs;\n SetCCunspents(unspentOutputs, coinaddr, true); // get a vector of cc uxtos for the address in coinaddr[]\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Iterate through the returned uxtos and add those that are appropriate to the transaction's vin array:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" for (std::vector>::const_iterator it = unspentOutputs.begin(); it != unspentOutputs.end(); it++) {\n CTransaction tx;\n uint256 hashBlock;\n std::vector vopret;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" for (std::vector>::const_iterator it = unspentOutputs.begin(); it != unspentOutputs.end(); it++) {\n CTransaction tx;\n uint256 hashBlock;\n std::vector vopret;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Load the current uxto's transaction and check whether it has an opreturn in the back of the array of outputs.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if (GetTransaction(it->first.txhash, tx, hashBlock, false) && tx.vout.size() > 0 && GetOpReturnData(tx.vout.back().scriptPubKey, vopret) && vopret.size() > 2)\n {\n uint8_t evalCode, funcId, hasHeirSpendingBegun;\n uint256 txid;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if (GetTransaction(it->first.txhash, tx, hashBlock, false) && tx.vout.size() > 0 && GetOpReturnData(tx.vout.back().scriptPubKey, vopret) && vopret.size() > 2)\n {\n uint8_t evalCode, funcId, hasHeirSpendingBegun;\n uint256 txid;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Check that the uxto matches this plan.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if( it->first.txhash == fundingtxid || // if this is our contract instance coins\n E_UNMARSHAL(vopret, { ss >> evalCode; ss >> funcId; ss >> txid >> hasHeirSpendingBegun; }) && // unserialize opreturn\n fundingtxid == txid ) // it is a tx from this funding plan\n {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if( it->first.txhash == fundingtxid || // if this is our contract instance coins\n E_UNMARSHAL(vopret, { ss >> evalCode; ss >> funcId; ss >> txid >> hasHeirSpendingBegun; }) && // unserialize opreturn\n fundingtxid == txid ) // it is a tx from this funding plan\n {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"To add the utxo to the transaction's vins, set the utxo's vout number and transaction id in the transactions vins. Pass an empty call to the CScript() function in the scriptSig parameter. This will be filled by the FinalizeCCtx function.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"CScript()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"scriptSig","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"FinalizeCCtx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" mtx.vin.push_back(CTxIn(it->first.txhash, it->first.index, CScript()));\n totalinputs += it->second.satoshis;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" mtx.vin.push_back(CTxIn(it->first.txhash, it->first.index, CScript()));\n totalinputs += it->second.satoshis;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Stop once sufficient CC inputs are found.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"In the event that the amount parameter is 0 , add all available inputs to calculate all available funds.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"amount","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"0","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if( amount > 0 && totalinputs >= amount || ++count > maxinputs )\n break;\n }\n }\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" if( amount > 0 && totalinputs >= amount || ++count > maxinputs )\n break;\n }\n }\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Return the total amount of inputs added to the transaction's vin array:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" return totalinputs;\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":" return totalinputs;\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-add1of2-address-inputs-function-implementation"},{"text":"Simplified Implementation of the FindLatestOwnerTx() Function","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"To calculate the owner-inactivity time and to enable the heir to claim the funds, we implement the function, FindLatestOwnerTx() .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"FindLatestOwnerTx()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"This function iterates through the transactions of this plan, (which we can also call this instance of the Heir Module) and finds the owner's latest transaction. We pass into this function the initial funding txid of the plan we desire to inspect.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"The function returns the pubkeys of both the owner and the heir, the owner inactivity time, and a flag that indicates whether the heir has already spent funds from the 1of2 address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"All returned values of the function are retrieved from the transactions' opreturns.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"// find the latest owner transaction id\n// this function also returns some values from the initial and latest transaction opreturns\n// Note: this function is also called from validation code (use non-locking calls)\n\nuint256 FindLatestOwnerTx(uint256 fundingtxid, CPubKey& ownerPubkey, CPubKey& heirPubkey, int64_t& inactivityTime, uint8_t &hasHeirSpendingBegun)\n{\n uint8_t eval, funcId;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"// find the latest owner transaction id\n// this function also returns some values from the initial and latest transaction opreturns\n// Note: this function is also called from validation code (use non-locking calls)\n\nuint256 FindLatestOwnerTx(uint256 fundingtxid, CPubKey& ownerPubkey, CPubKey& heirPubkey, int64_t& inactivityTime, uint8_t &hasHeirSpendingBegun)\n{\n uint8_t eval, funcId;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Initialize the flag as though the heir has not yet spent any of their plan's funds.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" hasHeirSpendingBegun = 0;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" hasHeirSpendingBegun = 0;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Initialize the following variables.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" CTransaction fundingtx;\n uint256 hashBlock;\n std::vector vopret;\n std::string name;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" CTransaction fundingtx;\n uint256 hashBlock;\n std::vector vopret;\n std::string name;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Load the initial funding transaction, check whether it has a correct opreturn, and de-serialize it.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Check the transaction rules. Return an empty id if the funding transaction cannot not be loaded or is incorrect.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (!myGetTransaction(fundingtxid, fundingtx, hashBlock) || // NOTE: use non-locking version of GetTransaction as we may be called from validation code\n fundingtx.vout.size() == 0 || // no vouts, even opreturn\n !GetOpReturnData(fundingtx.vout.back().scriptPubKey, vopret) || // could not get opreturn from the last vout\n !E_UNMARSHAL(vopret, ss >> eval; ss >> funcId; ss >> ownerPubkey; ss >> heirPubkey; ss >> inactivityTime; ss >> name;) || // could not unmarshal opreturn\n eval != EVAL_HEIR || // incorrect eval code in 1st byte\n funcId != 'F') // incorrect funcid in the 2nd byte\n return zeroid;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (!myGetTransaction(fundingtxid, fundingtx, hashBlock) || // NOTE: use non-locking version of GetTransaction as we may be called from validation code\n fundingtx.vout.size() == 0 || // no vouts, even opreturn\n !GetOpReturnData(fundingtx.vout.back().scriptPubKey, vopret) || // could not get opreturn from the last vout\n !E_UNMARSHAL(vopret, ss >> eval; ss >> funcId; ss >> ownerPubkey; ss >> heirPubkey; ss >> inactivityTime; ss >> name;) || // could not unmarshal opreturn\n eval != EVAL_HEIR || // incorrect eval code in 1st byte\n funcId != 'F') // incorrect funcid in the 2nd byte\n return zeroid;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Initialize the CC contract object for the Heir Module's EVAL code.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" struct CCcontract_info *cp, C;\n cp = CCinit(&C, EVAL_HEIR);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Declare the coinaddr array and use the GetCCaddress1of2 function to pass the array the 1of2 address that holds our funds.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"coinaddr","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"GetCCaddress1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" char coinaddr[64];\n GetCCaddress1of2(cp, coinaddr, ownerPubkey, heirPubkey);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" char coinaddr[64];\n GetCCaddress1of2(cp, coinaddr, ownerPubkey, heirPubkey);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Get the vector with uxtos for the 1of2 address.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" std::vector> unspentOutputs;\n SetCCunspents(unspentOutputs, coinaddr, true);\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" std::vector> unspentOutputs;\n SetCCunspents(unspentOutputs, coinaddr, true);\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Iterate through the returned uxto's to find the last funding or spending owner transaction:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" int32_t maxBlockHeight = 0;\n uint256 latesttxid = fundingtxid; // set to initial txid\n for (std::vector>::const_iterator it = unspentOutputs.begin(); it != unspentOutputs.end(); it++)\n {\n CTransaction vintx;\n uint256 blockHash;\n std::vector vopret;\n uint8_t eval, funcId, flagopret;\n uint256 txidopret;\n\n int32_t blockHeight = (int32_t)it->second.blockHeight;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" int32_t maxBlockHeight = 0;\n uint256 latesttxid = fundingtxid; // set to initial txid\n for (std::vector>::const_iterator it = unspentOutputs.begin(); it != unspentOutputs.end(); it++)\n {\n CTransaction vintx;\n uint256 blockHash;\n std::vector vopret;\n uint8_t eval, funcId, flagopret;\n uint256 txidopret;\n\n int32_t blockHeight = (int32_t)it->second.blockHeight;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Retrieve the transaction from the returned array. Check and unmarshal the transaction's opreturn and check whether this transaction is from the relevant Heir plan.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (myGetTransaction(it->first.txhash, vintx, blockHash) && // NOTE: use non-locking version of GetTransaction as we may be called from validation code\n vintx.vout.size() > 0 &&\n GetOpReturnData(vintx.vout.back().scriptPubKey, vopret) &&\n E_UNMARSHAL(vopret, ss >> eval; ss >> funcId; ss >> txidopret; ss >> flagopret) &&\n eval == EVAL_HEIR &&\n (funcId == 'C' || funcId == 'A') &&\n fundingtxid == txidopret ) {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (myGetTransaction(it->first.txhash, vintx, blockHash) && // NOTE: use non-locking version of GetTransaction as we may be called from validation code\n vintx.vout.size() > 0 &&\n GetOpReturnData(vintx.vout.back().scriptPubKey, vopret) &&\n E_UNMARSHAL(vopret, ss >> eval; ss >> funcId; ss >> txidopret; ss >> flagopret) &&\n eval == EVAL_HEIR &&\n (funcId == 'C' || funcId == 'A') &&\n fundingtxid == txidopret ) {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"As the SetCCunspents function does not return uxtos in chronological order, order them by block height to find the latest utxo.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"SetCCunspents","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (blockHeight > maxBlockHeight) {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (blockHeight > maxBlockHeight) {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Check whether this transaction indicates owner activity. Use a pair of CC SDK functions, TotalPubkeyNormalInputs() and TotalPubkeyCCInputs() , that iterate through the vin array to find if the transaction was signed with the owner's pubkey.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"TotalPubkeyNormalInputs()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"TotalPubkeyCCInputs()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (TotalPubkeyNormalInputs(vintx, ownerPubkey) > 0 || TotalPubkeyCCInputs(vintx, ownerPubkey) > 0) {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" if (TotalPubkeyNormalInputs(vintx, ownerPubkey) > 0 || TotalPubkeyCCInputs(vintx, ownerPubkey) > 0) {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"If this transaction represents owner activity, reset the latest txid to this current txid.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Set the flag for the transaction opreturn.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" latesttxid = it->first.txhash;\n\t\t hasHeirSpendingBegun = flagopret;\n maxBlockHeight = blockHeight;\n }\n }\n }\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" latesttxid = it->first.txhash;\n\t\t hasHeirSpendingBegun = flagopret;\n maxBlockHeight = blockHeight;\n }\n }\n }\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Return the latest owner txid.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" return latesttxid;\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":" return latesttxid;\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-implementation-of-the-find-latest-owner-tx-function"},{"text":"Heir Module Validation","tagName":"h2","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation"},{"text":"Simplified Validation Function Implementation","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"Validation provides the logic control of spent Antara-module value, and validation also provides the data added to the Smart Chain.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"Recall that validation code is invoked for a transaction at the time the CC-related value is spent (as opposed to only being invoked at the time the value is added). We trigger the invocation of this validation function when at least one transaction input is a CC input bearing this module's EVAL code.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"Validation code typically is not called for the Antara module's initial transaction. Instead, we invoke validatation at the time the initial transaction is spent in a second transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"One way to invoke validation for the first transaction when performing the second transaction is to load the initial transaction and validate it first. If the initial transaction turns out to be invalid, it can remain in the chain and is otherwise ignored. In this case, if a CC marker is used, it can be cleared and the transaction is removed from the initial transaction list RPC output.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"simplified-validation-function-implementation"},{"text":"Guidelines for Validation","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"In our Heir Module prototype, we have three transactions to validate: the initial funding, the adding transaction that adds more funds, and the transaction that claims the funds. The first and second of these transactions do not have any CC vins, and therefore all are validated together with the transaction that claims the funds.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Here are several common aspects of a module that require validation:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"The basic transaction structure","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"The basic data structure in the OP_RETURN \n \n Validation here ensures data integrity in the chain \n All OP_RETURNs should contain the EVAL code and functional id in the first two bytes \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"\n Validation here ensures data integrity in the chain \n All OP_RETURNs should contain the EVAL code and functional id in the first two bytes \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Validation here ensures data integrity in the chain","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"All OP_RETURNs should contain the EVAL code and functional id in the first two bytes","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Validation here ensures data integrity in the chain","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"All OP_RETURNs should contain the EVAL code and functional id in the first two bytes","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"EVAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Avoid all foreseeable attack vectors \n \n Ensure DOS attacks are eliminated, especially in the event of a malformed transaction \n Check the array size before use of any transaction data \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"\n Ensure DOS attacks are eliminated, especially in the event of a malformed transaction \n Check the array size before use of any transaction data \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Ensure DOS attacks are eliminated, especially in the event of a malformed transaction","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Check the array size before use of any transaction data","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Ensure DOS attacks are eliminated, especially in the event of a malformed transaction","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Check the array size before use of any transaction data","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Check the previous Heir Module transactions which this transaction spends and which have no cc inputs. This is accomplished by retrieving the transaction id from the opreturn and loading and validating the previous transaction","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"guidelines-for-validation"},{"text":"Heir Module Validation Rules","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"The following are the aspects of validation the Heir Module requires.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"The initial funding transaction \n \n Validate that the 1of2 address accurately matches pubkeys in the opreturn \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"\n Validate that the 1of2 address accurately matches pubkeys in the opreturn \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Validate that the 1of2 address accurately matches pubkeys in the opreturn","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"pubkeys","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Validate that the 1of2 address accurately matches pubkeys in the opreturn","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"pubkeys","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"The claiming transaction \n \n Validate that this transaction spends transactions from the same funding plan. This funding transaction id's values from the opreturn outputs of the previous transactions should match. (the previous transactions are often referred as vintx in code) \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"\n Validate that this transaction spends transactions from the same funding plan. This funding transaction id's values from the opreturn outputs of the previous transactions should match. (the previous transactions are often referred as vintx in code) \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Validate that this transaction spends transactions from the same funding plan. This funding transaction id's values from the opreturn outputs of the previous transactions should match. (the previous transactions are often referred as vintx in code)","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"vintx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Validate that this transaction spends transactions from the same funding plan. This funding transaction id's values from the opreturn outputs of the previous transactions should match. (the previous transactions are often referred as vintx in code)","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"vintx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Validate whether the heir is allowed to spend the funds \n \n Check whether the flag indicates that the Heir is already spending the funds \n Check whether enough time has passed since the last time the owner was active on the chain \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"\n Check whether the flag indicates that the Heir is already spending the funds \n Check whether enough time has passed since the last time the owner was active on the chain \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Check whether the flag indicates that the Heir is already spending the funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Check whether enough time has passed since the last time the owner was active on the chain","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Check whether the flag indicates that the Heir is already spending the funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Check whether enough time has passed since the last time the owner was active on the chain","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"When validating, separate the owner's funding transaction from any other contributions to the 1of2 address \n \n Although the Heir Module is initiated based on the owner's initial transaction, nothing prevents other users on the Smart Chain from contributing funds \n Therefore, when validating, for each utxo contained in the 1of2 address, calculate whether or not the utxo's vins contain the owner's pubkey \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"\n Although the Heir Module is initiated based on the owner's initial transaction, nothing prevents other users on the Smart Chain from contributing funds \n Therefore, when validating, for each utxo contained in the 1of2 address, calculate whether or not the utxo's vins contain the owner's pubkey \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Although the Heir Module is initiated based on the owner's initial transaction, nothing prevents other users on the Smart Chain from contributing funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Therefore, when validating, for each utxo contained in the 1of2 address, calculate whether or not the utxo's vins contain the owner's pubkey","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Although the Heir Module is initiated based on the owner's initial transaction, nothing prevents other users on the Smart Chain from contributing funds","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"Therefore, when validating, for each utxo contained in the 1of2 address, calculate whether or not the utxo's vins contain the owner's pubkey","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"During the course of validation, we fully check opreturn format","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"This validation logic is performed in the HeirValidate() function. The function is invoked whenever a CC transaction bearing the appropriate eval code occurs on the chain. When this eval code appears, the consensus mechanism calls the HeirValidate() function, executes the indicated validation code, and adds the transaction to the chain.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"HeirValidate()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"HeirValidate()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-module-validation-rules"},{"text":"HeirValidate() Implementation","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Explanation of code:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Transaction-validation entry function \n \n (This is actually a callback) \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n (This is actually a callback) \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"(This is actually a callback)","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"(This is actually a callback)","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Parameters \n \n cpHeir - Pointer to the module's variable structure \n eval - Pointer to the CC dispatching object \n \n Used to return invalid state \n \n \n tx - The transaction itself \n nIn - Not used in validation code \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n cpHeir - Pointer to the module's variable structure \n eval - Pointer to the CC dispatching object \n \n Used to return invalid state \n \n \n tx - The transaction itself \n nIn - Not used in validation code \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"cpHeir - Pointer to the module's variable structure","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"cpHeir","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"eval - Pointer to the CC dispatching object \n \n Used to return invalid state \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"eval","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n Used to return invalid state \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Used to return invalid state","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"tx - The transaction itself","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"tx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"nIn - Not used in validation code","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"nIn","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"cpHeir - Pointer to the module's variable structure","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"cpHeir","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"eval - Pointer to the CC dispatching object \n \n Used to return invalid state \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"eval","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n Used to return invalid state \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Used to return invalid state","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Used to return invalid state","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"tx - The transaction itself","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"tx","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"nIn - Not used in validation code","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"nIn","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"bool HeirValidate(struct CCcontract_info* cpHeir, Eval* eval, const CTransaction& tx, uint32_t nIn)\n{\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"bool HeirValidate(struct CCcontract_info* cpHeir, Eval* eval, const CTransaction& tx, uint32_t nIn)\n{\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Check that the basic transaction structure has the opreturn with the correct basic evalcode and funcid .","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"evalcode","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"funcid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"There is no need to check the function ids of the ( F ) funding transaction or\nthe ( A ) add transaction, as these transactions have no Heir CC vins.\nTherefore, we do not create validation code for them.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"A","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" std::vector vopret;\n if( tx.vout.size() < 1 || !GetOpReturnData(tx.vout.back().scriptPubKey, vopret) || vopret.size() < 2 || vopret.begin()[0] != EVAL_HEIR ||\n vopret.begin()[1] != 'C')\n\n // interrupt the validation and return invalid state:\n\n return eval->Invalid(\"incorrect or no opreturn data\"); // note that you should not return simply 'false'\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" std::vector vopret;\n if( tx.vout.size() < 1 || !GetOpReturnData(tx.vout.back().scriptPubKey, vopret) || vopret.size() < 2 || vopret.begin()[0] != EVAL_HEIR ||\n vopret.begin()[1] != 'C')\n\n // interrupt the validation and return invalid state:\n\n return eval->Invalid(\"incorrect or no opreturn data\"); // note that you should not return simply 'false'\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Decode the transaction's opreturn with the E_UNMARSHAL function. This function places the opreturn serialized data into several variables. One of them, the fundingtxid variable, is the transaction id (txid) of the initial funding transaction. We will use it further to find the latest owner transaction to check when the owner was last active on the chain.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"E_UNMARSHAL","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" uint8_t evalcode, funcId;\n uint256 fundingtxid; //initialized to null\n uint8_t hasHeirSpendingBegun;\n if (!E_UNMARSHAL(vopret, ss >> evalcode; ss >> funcId; ss >> fundingtxid; ss >> hasHeirSpendingBegun;))\n // return invalid state if unserializing function returned false:\n return eval->Invalid(\"incorrect opreturn data\");\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" uint8_t evalcode, funcId;\n uint256 fundingtxid; //initialized to null\n uint8_t hasHeirSpendingBegun;\n if (!E_UNMARSHAL(vopret, ss >> evalcode; ss >> funcId; ss >> fundingtxid; ss >> hasHeirSpendingBegun;))\n // return invalid state if unserializing function returned false:\n return eval->Invalid(\"incorrect opreturn data\");\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Check that the fundingtxid is a valid txid:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" if( fundingtxid.IsNull() )\n return eval->Invalid(\"incorrect funding plan id in tx opret\");\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" if( fundingtxid.IsNull() )\n return eval->Invalid(\"incorrect funding plan id in tx opret\");\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Here we come to a good place to load the initial transaction, check whether it exists, and whether it has a correctly formed opreturn.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Call the FindLatestOwnerTx() function. This function obtains the opreturn parameters and the hasHeirSpendingBegun flag, and checks the initial transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"FindLatestOwnerTx()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" CPubKey ownerPubkey, heirPubkey;\n int64_t inactivityTimeSec;\n uint8_t lastHeirSpendingBegun;\n uint256 latesttxid = FindLatestOwnerTx(fundingtxid, ownerPubkey, heirPubkey, inactivityTimeSec, lastHeirSpendingBegun);\n if (latesttxid.IsNull()) {\n return eval->Invalid(\"no or incorrect funding tx found\");\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" CPubKey ownerPubkey, heirPubkey;\n int64_t inactivityTimeSec;\n uint8_t lastHeirSpendingBegun;\n uint256 latesttxid = FindLatestOwnerTx(fundingtxid, ownerPubkey, heirPubkey, inactivityTimeSec, lastHeirSpendingBegun);\n if (latesttxid.IsNull()) {\n return eval->Invalid(\"no or incorrect funding tx found\");\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Print a log message to the console that the daemon process is in the validation code:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" std::cerr << \"HeirValidate funcid=\" << (char)funcId << \" evalcode=\" << (int)cpHeir->evalcode << std::endl;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" std::cerr << \"HeirValidate funcid=\" << (char)funcId << \" evalcode=\" << (int)cpHeir->evalcode << std::endl;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Prepare for validation rules that are specific for each function id ( F , A , and C ).","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"A","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"C","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" switch (funcId) {\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" switch (funcId) {\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For F and A , we return an invalid response, as the process should never be able to access these function ids.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"F","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"A","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" case 'F':\n case 'A':\n return eval->Invalid(\"unexpected HeirValidate for heirfund\");\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" case 'F':\n case 'A':\n return eval->Invalid(\"unexpected HeirValidate for heirfund\");\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Validation for the claiming transaction.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Check whether we are spending the correct funding transactions \n \n For example, check that the transactions are from the correct module instance, as identified by the fundingtxid \n If incorrect, return false \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n For example, check that the transactions are from the correct module instance, as identified by the fundingtxid \n If incorrect, return false \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For example, check that the transactions are from the correct module instance, as identified by the fundingtxid","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"If incorrect, return false","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For example, check that the transactions are from the correct module instance, as identified by the fundingtxid","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"fundingtxid","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"If incorrect, return false","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"If the heir is claiming the funds, check that he is allowed to do so \n \n For example, check the inactivity time of the owner and whether the heir has already spent funds from the 1of2 address \n \n","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"\n For example, check the inactivity time of the owner and whether the heir has already spent funds from the 1of2 address \n","tagName":"ul","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For example, check the inactivity time of the owner and whether the heir has already spent funds from the 1of2 address","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For example, check the inactivity time of the owner and whether the heir has already spent funds from the 1of2 address","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Check whether the new flag, hasHeirSpendingBegun , is set correctly","tagName":"li","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"hasHeirSpendingBegun","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Both of the following support functions, CheckSpentTxns and CheckInactivityTime , are in the heir.cpp source file.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"CheckSpentTxns","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"CheckInactivityTime","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"heir.cpp","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Link to heir.cpp source file","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Link to heir.cpp source file","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" case 'C':\n if (!CheckSpentTxns(cpHeir, eval, tx, fundingtxid))\n return false;\n if (!CheckInactivityTime(cpHeir, eval, tx, latesttxid, inactivityTimeSec, heirPubkey, lastHeirSpendingBegun, hasHeirSpendingBegun) )\n return false;\n break;\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" case 'C':\n if (!CheckSpentTxns(cpHeir, eval, tx, fundingtxid))\n return false;\n if (!CheckInactivityTime(cpHeir, eval, tx, latesttxid, inactivityTimeSec, heirPubkey, lastHeirSpendingBegun, hasHeirSpendingBegun) )\n return false;\n break;\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"For unsupported function ids, return an invalid state.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" default:\n std::cerr << \"HeirValidate() illegal heir funcid=\" << (char)funcId << std::endl;\n return eval->Invalid(\"unexpected HeirValidate funcid\");\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" default:\n std::cerr << \"HeirValidate() illegal heir funcid=\" << (char)funcId << std::endl;\n return eval->Invalid(\"unexpected HeirValidate funcid\");\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"If all rules pass, return a valid state.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" return eval->Valid();\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":" return eval->Valid();\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"heir-validate-implementation"},{"text":"Validation Code Errors","tagName":"h4","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"During the development of validation code, you will likely receive validation errors when any CC module validation function returns an invalid state.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"For example, when sending a raw transaction, the daemon checks the transaction while adding it to the mempool.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"During this process, if the CC validation code returns an invalid state you will see the following error:","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"error code: -26\nerror message:\n16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"error code: -26\nerror message:\n16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"When this happens, check the server output for a more specific error description. The first line of the output contains the eval->invalid() message from your validation code.","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"eval->invalid()","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"CC Eval EVAL_HEIR Invalid: incorrect opreturn data spending tx 4b6e1ed868cf941dabf9edc7f675321bdb4258692ba02f56dc21100f88981ac4\nERROR: CScriptCheck(): 7961fe4f9f3bdabef154404ea8ec7a11be1546febc34efe67faede8d930c0749:1 VerifySignature failed: Script evaluated without error but finished with a false/empty top stack element\nERROR: AcceptToMemoryPool: BUG! PLEASE REPORT THIS! ConnectInputs failed against MANDATORY but not STANDARD flags 7961fe4f9f3bdabef154404ea8ec7a11be1546febc34efe67faede8d930c0749\n","tagName":"pre","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"CC Eval EVAL_HEIR Invalid: incorrect opreturn data spending tx 4b6e1ed868cf941dabf9edc7f675321bdb4258692ba02f56dc21100f88981ac4\nERROR: CScriptCheck(): 7961fe4f9f3bdabef154404ea8ec7a11be1546febc34efe67faede8d930c0749:1 VerifySignature failed: Script evaluated without error but finished with a false/empty top stack element\nERROR: AcceptToMemoryPool: BUG! PLEASE REPORT THIS! ConnectInputs failed against MANDATORY but not STANDARD flags 7961fe4f9f3bdabef154404ea8ec7a11be1546febc34efe67faede8d930c0749\n","tagName":"code","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"p","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"},{"text":"Link to Next Tutorial in Advanced Series","tagName":"a","path":"antara/tutorials/advanced-series-5","closestElementReference":"validation-code-errors"}],"antara/tutorials/advanced-series-6":[{"text":"Advanced Series — Miscellaneous","tagName":"h1","path":"antara/tutorials/advanced-series-6","closestElementReference":"advanced-series-miscellaneous"},{"text":"This last tutorial in the Advanced Series provides miscellaneous information that our development team considered to be useful for prospective developers.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"advanced-series-miscellaneous"},{"text":"Congratulations on finishing the Advanced Series. Make sure to reach out to the Komodo team to see if there are any bounties that you can fill with your new ability to create Antara Modules. And we welcome you to the Komodo ecosystem as a prepared developer. We look forward to seeing what you create.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"advanced-series-miscellaneous"},{"text":"Terminology","tagName":"h2","path":"antara/tutorials/advanced-series-6","closestElementReference":"terminology"},{"text":"CC contract patterns","tagName":"h2","path":"antara/tutorials/advanced-series-6","closestElementReference":"cc-contract-patterns"},{"text":"The following are useful patterns during Antara module development.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"cc-contract-patterns"},{"text":"Baton Pattern","tagName":"h3","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"The baton pattern allows the developer to organize a single-linked list in a Smart Chain. This list is formed by transactions that spend the baton from previous transactions.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"To traverse a linked list using the baton method, start with the first transaction in any plan instance and iterate through the other transactions to collect properties in their opreturns.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"Example:","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"Add a baton to a transaction by sending a small fixed fee to a predefined output:","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"mtx.vout.push_back(MakeCC1vout(cp->evalcode, 10000, Mypubkey())); // BATON_VOUT\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"mtx.vout.push_back(MakeCC1vout(cp->evalcode, 10000, Mypubkey())); // BATON_VOUT\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"We use the baton on the pubkey provided by the user in the -pubkey daemon parameter.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"-pubkey","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"Iterate through the transactions marked with the baton:","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"int64_t EnumerateBatons(uint256 initialtxid)\n{\n int64_t total = 0LL;\n int32_t vini;\n int32_t height;\n int32_t retcode;\n\n uint256 batontxid;\n uint256 sourcetxid = initialtxid;\n\n // iterate through the tx spending the baton, adding up amount from the tx opreturn\n\n while ((retcode = CCgetspenttxid(batontxid, vini, height, sourcetxid, BATON_VOUT)) == 0) // find a tx which spent the baton vout\n {\n CTransaction txBaton;\n uint256 hashBlock;\n uint8_t funcId;\n int64_t amount;\n\n if (GetTransaction(batontxid, txBaton, hashBlock, true) && // load the transaction which spent the baton\n !hashBlock.IsNull() && // tx not in mempool\n txBaton.vout.size() > BATON_VOUT &&\n txBaton.vout[BATON_VOUT].nValue == 10000 && // check baton fee\n (funcId = DecodeOpReturn(txBaton.vout.back().scriptPubKey, amount)) != 0) // decode opreturn\n {\n total += amount;\n }\n else\n {\n\n // some error:\n\n return -1;\n }\n sourcetxid = batontxid;\n }\n return total;\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"int64_t EnumerateBatons(uint256 initialtxid)\n{\n int64_t total = 0LL;\n int32_t vini;\n int32_t height;\n int32_t retcode;\n\n uint256 batontxid;\n uint256 sourcetxid = initialtxid;\n\n // iterate through the tx spending the baton, adding up amount from the tx opreturn\n\n while ((retcode = CCgetspenttxid(batontxid, vini, height, sourcetxid, BATON_VOUT)) == 0) // find a tx which spent the baton vout\n {\n CTransaction txBaton;\n uint256 hashBlock;\n uint8_t funcId;\n int64_t amount;\n\n if (GetTransaction(batontxid, txBaton, hashBlock, true) && // load the transaction which spent the baton\n !hashBlock.IsNull() && // tx not in mempool\n txBaton.vout.size() > BATON_VOUT &&\n txBaton.vout[BATON_VOUT].nValue == 10000 && // check baton fee\n (funcId = DecodeOpReturn(txBaton.vout.back().scriptPubKey, amount)) != 0) // decode opreturn\n {\n total += amount;\n }\n else\n {\n\n // some error:\n\n return -1;\n }\n sourcetxid = batontxid;\n }\n return total;\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"baton-pattern"},{"text":"Marker Pattern","tagName":"h3","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"The marker pattern is used to place a mark on all similar transactions. This is accomplished by sending a small value to a common fixed address. Typically, we use the global CC address.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"You can also create either a normal marker or a CC marker for the purpose of finding transactions related to your module.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"When using normal markers, there is a small problem that is easily solved. The global CC address allows any user to spend its funds, and therefore anyone can spend your marker transaction. To overcome this, use the CC SDK function, Settxids() , to retrieve all transactions with markers in the CC contract list function.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"Settxids()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"Another method is to create an unspendable CC marker. In this method, send a small value to a CC output with a well-known address. To retrieve the list of CC-marker transactions, use the CC SDK function, SetCCunspents() . This returns a list of transactions with unspent outputs for that known address.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"SetCCunspents()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"When using the unspendable CC marker method, in the validation code you should disable spending from this address. This prevents a scenario where spending from the address causes you to lose markers. (For example, if you were to allow for spending from this address using a burn transaction, the burn transactions would take the burned markers into a hidden state, thus removing the markers from the list of initial transactions.)","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"In all cases, the CC module validation code should disable unauthorized attempts to spend any markers.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"Concerning the method that relies on the CC marker, if the global CC address is used for storing not only the marker value, but also other funds, you need to ensure that marker values are not spent.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"A code example for finding transactions marked with a normal marker:","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":" std::vector > addressIndex;\n struct CCcontract_info *cp, C;\n cp = CCinit(&C, );\n SetCCtxids(addressIndex, cp->normaladdr, false);\n for (std::vector >::const_iterator it = addressIndex.begin(); it != addressIndex.end(); it++) \t{\n CTransaction vintx;\n uint256 blockHash;\n if( GetTransaction(it->first.txhash, vintx, blockHash, false) ) {\n // check tx and add its txid to a list\n }\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":" std::vector > addressIndex;\n struct CCcontract_info *cp, C;\n cp = CCinit(&C, );\n SetCCtxids(addressIndex, cp->normaladdr, false);\n for (std::vector >::const_iterator it = addressIndex.begin(); it != addressIndex.end(); it++) \t{\n CTransaction vintx;\n uint256 blockHash;\n if( GetTransaction(it->first.txhash, vintx, blockHash, false) ) {\n // check tx and add its txid to a list\n }\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"Many other Antara modules contain examples for finding marked transactions in any CC module standard list function.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"The SetCCtxids() function requires that the Smart Chain txindex launch parameter NOT be adjusted beyond the default and automatic settings.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"txindex","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"A code example for finding transactions marked with an unspendable CC marker:","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":" std::vector > addressIndex;\n struct CCcontract_info *cp, C;\n cp = CCinit(&C, );\n SetCCunspents(addressIndexCCMarker, cp->unspendableCCaddr, true);\n for (std::vector >::const_iterator it = addressIndexCCMarker.begin(); it != addressIndexCCMarker.end(); it++) {\n CTransaction vintx;\n uint256 blockHash;\n if( GetTransaction(it->first.txhash, vintx, hashBlock, false) ) {\n // check tx and add its txid to a list\n }\n }\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":" std::vector > addressIndex;\n struct CCcontract_info *cp, C;\n cp = CCinit(&C, );\n SetCCunspents(addressIndexCCMarker, cp->unspendableCCaddr, true);\n for (std::vector >::const_iterator it = addressIndexCCMarker.begin(); it != addressIndexCCMarker.end(); it++) {\n CTransaction vintx;\n uint256 blockHash;\n if( GetTransaction(it->first.txhash, vintx, hashBlock, false) ) {\n // check tx and add its txid to a list\n }\n }\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"The CCunspents() function requires the Smart Chain addressindex and spentindex launch parameters to be set to 1 .","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"addressindex","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"spentindex","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"1","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"marker-pattern"},{"text":"Txidaddress Pattern","tagName":"h3","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"You can use the txidaddress pattern to send value to an address from which the value should never again be spent.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"The function CCtxidaddr is available for creating an address that is not associated with any known private key. This function creates a public key with no private key from a transaction id.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"CCtxidaddr","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"For example, the Payments Antara Module uses CCtxidaddr to create a non-spendable txidpk from the createtxid . Furthermore, the module also uses the GetCCaddress1of2 function to create a 1of2 address from both the Payments module global pubkey and the txid-pubkey.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"Payments","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"CCtxidaddr","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"createtxid","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"GetCCaddress1of2","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"1of2","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"This allows the module to collect funds on a special CC address that is intended only for a particular type of creation transaction. Funds are sent to this address via the MakeCC1of2vout function. Only the Payments module global pubkey and txid-pubkey can successfully create transactions that can be sent to this special address.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"MakeCC1of2vout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"txidaddress-pattern"},{"text":"Create an unspendable public key for a transaction id","tagName":"h6","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-an-unspendable-public-key-for-a-transaction-id"},{"text":"// use Antara SDK function to create a public key from some transaction id:\nCPubKey txidpk = CCtxidaddr(txidaddr, createtxid);\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-an-unspendable-public-key-for-a-transaction-id"},{"text":"// use Antara SDK function to create a public key from some transaction id:\nCPubKey txidpk = CCtxidaddr(txidaddr, createtxid);\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-an-unspendable-public-key-for-a-transaction-id"},{"text":"Create a cc vout with 1 of 2 pubkeys, one of which is txid pubkey","tagName":"h6","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-a-cc-vout-with-1-of-2-pubkeys-one-of-which-is-txid-pubkey"},{"text":"// create a cc vout with 1 of 2 pubkeys, one of which is txid pubkey\nmtx.vout.push_back(MakeCC1of2vout(EVAL_PAYMENTS, inputsum-PAYMENTS_TXFEE, Paymentspk, txidpk));\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-a-cc-vout-with-1-of-2-pubkeys-one-of-which-is-txid-pubkey"},{"text":"// create a cc vout with 1 of 2 pubkeys, one of which is txid pubkey\nmtx.vout.push_back(MakeCC1of2vout(EVAL_PAYMENTS, inputsum-PAYMENTS_TXFEE, Paymentspk, txidpk));\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"create-a-cc-vout-with-1-of-2-pubkeys-one-of-which-is-txid-pubkey"},{"text":"Spend 1 of 2 pubkey outputs with a txid pubkey in a previous transaction","tagName":"h6","path":"antara/tutorials/advanced-series-6","closestElementReference":"spend-1-of-2-pubkey-outputs-with-a-txid-pubkey-in-a-previous-transaction"},{"text":"\n// function AddPaymentsInputs adds inputs from the address of 1of2 pubkeys (global and txid pk) outputs to the mtx object (the function parameters are not important for now):\n\nif ( (inputsum= AddPaymentsInputs(true,0,cp,mtx,txidpk,newamount+2*PAYMENTS_TXFEE,CC_MAXVINS/2,createtxid,lockedblocks,minrelease,blocksleft)) >= newamount+2*PAYMENTS_TXFEE )\n{\n\n // Get the address for 1 of 2 pubkeys cc output (into `destaddress` variable):\n\n GetCCaddress1of2(cp, destaddr, Paymentspk, txidpk);\n\n // Set the pubkeys, address and global private key for spending the 1 of 2 pubkeys address (which also consists of the global and txid pk) in the previous transaction:\n\n CCaddr1of2set(cp, Paymentspk, txidpk, cp->CCpriv, destaddr);\n\n // Sign the transaction in the mtx variable:\n\n std::string rawtx = FinalizeCCTx(0, cp, mtx, mypk, PAYMENTS_TXFEE, CScript());\n\n // return `rawtx` to the user...\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"spend-1-of-2-pubkey-outputs-with-a-txid-pubkey-in-a-previous-transaction"},{"text":"\n// function AddPaymentsInputs adds inputs from the address of 1of2 pubkeys (global and txid pk) outputs to the mtx object (the function parameters are not important for now):\n\nif ( (inputsum= AddPaymentsInputs(true,0,cp,mtx,txidpk,newamount+2*PAYMENTS_TXFEE,CC_MAXVINS/2,createtxid,lockedblocks,minrelease,blocksleft)) >= newamount+2*PAYMENTS_TXFEE )\n{\n\n // Get the address for 1 of 2 pubkeys cc output (into `destaddress` variable):\n\n GetCCaddress1of2(cp, destaddr, Paymentspk, txidpk);\n\n // Set the pubkeys, address and global private key for spending the 1 of 2 pubkeys address (which also consists of the global and txid pk) in the previous transaction:\n\n CCaddr1of2set(cp, Paymentspk, txidpk, cp->CCpriv, destaddr);\n\n // Sign the transaction in the mtx variable:\n\n std::string rawtx = FinalizeCCTx(0, cp, mtx, mypk, PAYMENTS_TXFEE, CScript());\n\n // return `rawtx` to the user...\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"spend-1-of-2-pubkey-outputs-with-a-txid-pubkey-in-a-previous-transaction"},{"text":"Application Data in a CryptoCondition vout (\"cc opret\")","tagName":"h3","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"With the latest changes to the Antara SDK a developer can now add application data to a CryptoCondition output, also called a \"cc opret.\"","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"This allows more flexibility in the creation of Antara Module transactions. As cc-output content is hashed and not directly readable, cc opret creates the possibility to add identification data to a cc output. This allows the developer to distinguish this vout from other vouts.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"The SDK also now opens up the possibility to place any application data in cc vouts, instead of the last vout alone (as was the case previously). This allows a single transaction to have outputs of two or more Antara modules. For example, this can be useful when making swaps of values between modules.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"An example of cc-opret usage can be found in the Payments Module. In this module, the vData optional parameter in the MakeCC1of2vout function is used to append the opreturn data directly to the ccvout itself. This contrasts with the old method of adding the data to an actual opreturn that is the last vout in a transaction.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"Payments Module.","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"vData","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"MakeCC1of2vout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"ccvout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"vout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"std::vector> opret = EncodePaymentsMergeOpRet(createtxid); // create Antara module opreturn data\n\n// create a public key from a transaction id as it was made in 'Txidaddress pattern':\n\nCPubKey txidpk = CCtxidaddr(txidaddr, createtxid);\n\n// create vData object that will be added to cc vout:\n\nstd::vector> vData = std::vector>();\n\n// Put the opreturn into vData object:\n\nif ( makeCCopret(opret, vData) ) {\n\n // pass vData object as the last parameter in MakeCC1of2vout:\n\n mtx.vout.push_back(MakeCC1of2vout(EVAL_PAYMENTS, inputsum-PAYMENTS_TXFEE, Paymentspk, txidpk, &vData));\n}\n\n// some other stuff to prepare the parameters for signing the transaction:\nGetCCaddress1of2(cp, destaddr, Paymentspk, txidpk);\nCCaddr1of2set(cp, Paymentspk, txidpk, cp->CCpriv, destaddr);\n\n// sign the transaction:\n\nrawtx = FinalizeCCTx(0, cp, mtx, mypk, PAYMENTS_TXFEE, CScript()); // use the empty last vout opreturn, we don't need it any more\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"std::vector> opret = EncodePaymentsMergeOpRet(createtxid); // create Antara module opreturn data\n\n// create a public key from a transaction id as it was made in 'Txidaddress pattern':\n\nCPubKey txidpk = CCtxidaddr(txidaddr, createtxid);\n\n// create vData object that will be added to cc vout:\n\nstd::vector> vData = std::vector>();\n\n// Put the opreturn into vData object:\n\nif ( makeCCopret(opret, vData) ) {\n\n // pass vData object as the last parameter in MakeCC1of2vout:\n\n mtx.vout.push_back(MakeCC1of2vout(EVAL_PAYMENTS, inputsum-PAYMENTS_TXFEE, Paymentspk, txidpk, &vData));\n}\n\n// some other stuff to prepare the parameters for signing the transaction:\nGetCCaddress1of2(cp, destaddr, Paymentspk, txidpk);\nCCaddr1of2set(cp, Paymentspk, txidpk, cp->CCpriv, destaddr);\n\n// sign the transaction:\n\nrawtx = FinalizeCCTx(0, cp, mtx, mypk, PAYMENTS_TXFEE, CScript()); // use the empty last vout opreturn, we don't need it any more\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"The following content provides an example of using cc opret data for the identification of Antara module cc outputs. (Recall that a cc output's content is hashed, and therefore identifying a cc vout is challenging.)","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"Using a modification to the IsPaymentsvout function, we spend a ccvout in the Payments module back to its own address, without needing a markervout or an opreturn.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"IsPaymentsvout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"ccvout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"markervout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"// function used to check if this is a Payments module vout\n\nint64_t IsPaymentsvout(struct CCcontract_info *cp, const CTransaction& tx, int32_t v, char *cmpaddr, CScript &ccopret)\n{\n char destaddr[64];\n\n // use getCCopret instead of the former usage of IsPayToCryptoCondition() function\n// retrieve the application data from cc vout script pubkey and return it in the `ccopret` reference variable:\n\n if ( getCCopret(tx.vout[v].scriptPubKey, ccopret) )\n {\n if ( Getscriptaddress(destaddr, tx.vout[v].scriptPubKey) && (cmpaddr[0] == 0 || strcmp(destaddr, cmpaddr) == 0) )\n return(tx.vout[v].nValue);\n }\n return(0);\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"// function used to check if this is a Payments module vout\n\nint64_t IsPaymentsvout(struct CCcontract_info *cp, const CTransaction& tx, int32_t v, char *cmpaddr, CScript &ccopret)\n{\n char destaddr[64];\n\n // use getCCopret instead of the former usage of IsPayToCryptoCondition() function\n// retrieve the application data from cc vout script pubkey and return it in the `ccopret` reference variable:\n\n if ( getCCopret(tx.vout[v].scriptPubKey, ccopret) )\n {\n if ( Getscriptaddress(destaddr, tx.vout[v].scriptPubKey) && (cmpaddr[0] == 0 || strcmp(destaddr, cmpaddr) == 0) )\n return(tx.vout[v].nValue);\n }\n return(0);\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"Note, that if you need to further differentiate the cc outputs in a transaction (for example, from another Antara module vouts) you may also analyze the ccopret content, specifically the eval code stored in it.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"In place of the IsPayToCryptoCondition() function we can use the getCCopret() function. This latter function is a lower level of the former call, and will return any vData appended to the ccvout along with a true / false value that would otherwise be returned by the IsPayToCryptoCondition() function.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"IsPayToCryptoCondition()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"getCCopret()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"vData","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"ccvout","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"true","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"false","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"IsPayToCryptoCondition()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"In validation, we now have a totally different transaction type than the types that are normally available. This new type allows us to have different validation paths for different ccvouts , and it allows for multiple ccvouts of different types per transaction.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"ccvouts","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"ccvouts","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"if ( tx.vout.size() == 1 )\n{\n\n // IsPaymentsvout returns application data in the `ccopret` variable, the returned data is checked immediately:\n\n if ( IsPaymentsvout(cp, tx, 0, coinaddr, ccopret) != 0 && ccopret.size() > 2 && DecodePaymentsMergeOpRet(ccopret, createtxid) == 'M' )\n {\n fIsMerge = true;\n } else return(eval->Invalid(\"not enough vouts\"));\n}\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"if ( tx.vout.size() == 1 )\n{\n\n // IsPaymentsvout returns application data in the `ccopret` variable, the returned data is checked immediately:\n\n if ( IsPaymentsvout(cp, tx, 0, coinaddr, ccopret) != 0 && ccopret.size() > 2 && DecodePaymentsMergeOpRet(ccopret, createtxid) == 'M' )\n {\n fIsMerge = true;\n } else return(eval->Invalid(\"not enough vouts\"));\n}\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"application-data-in-a-crypto-condition-vout-cc-opret"},{"text":"Various Tips and Tricks in Antara Module Development","tagName":"h2","path":"antara/tutorials/advanced-series-6","closestElementReference":"various-tips-and-tricks-in-antara-module-development"},{"text":"Test Chain Mining Issue","tagName":"h4","path":"antara/tutorials/advanced-series-6","closestElementReference":"test-chain-mining-issue"},{"text":"On a test chain consisting of two nodes, we do not recommend that you set both nodes to mine. When there are only two nodes, a blockchain struggles more to achieve consensus, and the chain can quickly stop syncing properly. Instead, have only one node mine for the two-node test chain.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"test-chain-mining-issue"},{"text":"Limits on AddNormalInputs() Function Calls per Transaction","tagName":"h4","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"Keep the number of AddNormalInputs() function calls to one for each block of code that creates a transaction.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"AddNormalInputs()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"As an example of why we should not exceed more than one call, we can look at the FillSell() function. This function calls AddNormalInputs() two times at once. The first time the AddNormalInputs() function must add a txfee and the second time it adds coins to pay for tokens.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"FillSell()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"AddNormalInputs()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"AddNormalInputs()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"Let us suppose we have only two utxos in our wallet, one for 9,000,000 satoshis and another for 10,000 satoshis. In this case, when we execute the FillSell() function our large uxto is added during the first call and then we receive an error in the second call, filltx not enough utxos .","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"9,000,000","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"10,000","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"FillSell()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"filltx not enough utxos","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"Instead, we recommend that the developer place only one I think it is always better to combine these calls into a single call.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"limits-on-add-normal-inputs-function-calls-per-transaction"},{"text":"Troubleshooting Node Syncing on Test CC Chain","tagName":"h4","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"Sometimes, a developer may find after developing a new CC module that a node cannot sync with other nodes in their test network. Executing the getpeerinfo shows fewer synced blocks than synced heads. The developer may also see errors in the console log on the malfunctioning node.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"getpeerinfo","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"When this happens, the cause is most commonly rooted in the CC module's validation code. For example, the developer may have changed validation rules, and in so doing may have rendered old transactions invalid in the node's state.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"A quick remedy in this situation is to manually delete the blockchain data on the malfunctioning node and resync the network. Old transactions should pass validation, assuming the new validation code takes their situation into account.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"manually delete the blockchain data on the malfunctioning node and resync the network.","tagName":"a","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"When resyncing the node is not a viable solution, another option is to use code logging and the gdb debug software to investigate the cause of failure.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"Yet another solution, if necessary, is to setup the validation code to only be effective after a certain block height. See the following example.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"if (strcmp(ASSETCHAINS_SYMBOL, \"YOURCHAIN\") == 0 && chainActive.Height() <= 501)\n return true;\n","tagName":"pre","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"if (strcmp(ASSETCHAINS_SYMBOL, \"YOURCHAIN\") == 0 && chainActive.Height() <= 501)\n return true;\n","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"You may also use the hidden reconsiderblock komodo-cli command to restart the malfunctioning node's syncing process at a desired block height.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"reconsiderblock","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"troubleshooting-node-syncing-on-test-cc-chain"},{"text":"Deadlocks in Validation Code","tagName":"h4","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"},{"text":"If komodod hangs while executing Antara module validation code, consider that some blockchain functions use locks. The combination of your validation code and the locks could be causing deadlocks in the consensus mechanism. If this is the case, use functions that are non-locking instead.","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"},{"text":"For example, the GetTransaction() function is a locking function. Instead, use myGetTransaction() or eval->GetConfirmed() .","tagName":"p","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"},{"text":"GetTransaction()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"},{"text":"myGetTransaction()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"},{"text":"eval->GetConfirmed()","tagName":"code","path":"antara/tutorials/advanced-series-6","closestElementReference":"deadlocks-in-validation-code"}],"antara/tutorials/beginner-series-part-0":[{"text":"Komodo Developer Path | Preparation","tagName":"h1","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"komodo-developer-path-preparation"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"introduction"},{"text":"The following six guided tutorials cover introductory topics for a new developer in the Komodo ecosystem. This tutorial here guides the reader in creating and installing the necessary environment for the tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"introduction"},{"text":"The tutorials rely extensively on downloadable \"docker images\" of Komodo software. A downloadable docker image is an entirely self-contained virtual machine that holds installations of the software necessary to complete the tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"introduction"},{"text":"The developer does not need to alter or make any additions to the Komodo source code itself as a part of these tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"introduction"},{"text":"Full Overview of Komodo Developer Path Tutorials","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"The following is a brief summary of the docker tutorial stages.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Install Development Environment","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Create a New Blockchain (10 minutes)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Integrate the Faucet Module (5 minutes)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Connect Your Programming Language to the Tutorials (10 minutes)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Make an NFT (5 minutes)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Build a Token DEX (30 minutes)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Sync the community testnet blockchain DOC (or MARTY)","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Retrieve test coins from a website faucet","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Use a mobile wallet to send coins between your dev node and a community blockchain","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Repeat the tutorials and test with colleagues","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"full-overview-of-komodo-developer-path-tutorials"},{"text":"Menu Options in Docker Images","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"The options from the main menu of the docker image are the following.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"TUTORIALS \n \n Go through the tutorials, including starting a blockchain, run a faucet, create a token dex, use a MuSig Schnorr Signature \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"\n Go through the tutorials, including starting a blockchain, run a faucet, create a token dex, use a MuSig Schnorr Signature \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"Go through the tutorials, including starting a blockchain, run a faucet, create a token dex, use a MuSig Schnorr Signature","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"Go through the tutorials, including starting a blockchain, run a faucet, create a token dex, use a MuSig Schnorr Signature","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"DOC \n \n dPoW community testnet blockchain \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"\n dPoW community testnet blockchain \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"dPoW community testnet blockchain","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"dPoW community testnet blockchain","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"MARTY \n \n dPoW community testnet blockchain \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"\n dPoW community testnet blockchain \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"dPoW community testnet blockchain","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"dPoW community testnet blockchain","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"MAINT \n \n For basic maintenance of this guided tutorial application \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"\n For basic maintenance of this guided tutorial application \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"For basic maintenance of this guided tutorial application","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"For basic maintenance of this guided tutorial application","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"EXIT \n \n Return to shell \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"\n Return to shell \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"Return to shell","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"Return to shell","tagName":"li","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"menu-options-in-docker-images"},{"text":"Rapid Summary (TL;DR)","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"If the reader is in a hurry and does not have time to follow all of the instructions in Part I, the following three terminal commands accomplish the essential aspects of the full tutorial's objectives.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"docker pull komodocakeshop/dev-allinone-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"docker pull komodocakeshop/dev-allinone-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"docker run -it -p 127.0.0.1:9253:9253 komodocakeshop/dev-allinone-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"docker run -it -p 127.0.0.1:9253:9253 komodocakeshop/dev-allinone-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"After the last command, follow the onscreen instructions.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"From here, the reader may optionally skip all of the following content and proceed directly to the next article in this tutorial series.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"rapid-summary-tl-dr"},{"text":"The Unique Nature of the Docker-Image Tutorials","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"These guided tutorials are different from many other developer tutorials in the Komodo documentation.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"Normally, a developer builds the Komodo software from source. In the tutorials here, however, the developer downloads a \"docker image.\"","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"A docker image can be described as a complete, self-contained virtual machine that already bears all necessary software installed. This includes the Komodo software, the Zcash parameters, and any necessary instances of Smart Chains.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"Once the docker image is downloaded and initiated in the terminal, the developer can utilize all installed software as normal.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"In this tutorial, the docker container contains two starting nodes.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"If the reader is not familiar with docker, do not worry. These tutorials use docker only as a development tool, and not as a complex deployment strategy.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"The tutorial's image uses the default docker network. Advanced docker users are welcome to adjust docker settings as desired.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"the-unique-nature-of-the-docker-image-tutorials"},{"text":"Sending Commands to the Docker Image's Seed Node","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"The developer uses a text console within the docker container to controll the blockchain seed node during the guided tutorials. This text console interfaces with the 127.0.0.1 Remote Procedure Call (RPC) server.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"127.0.0.1","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"The guided tutorial features a preset chain called TUT1 . The parameters of this chain are an initial coin supply of 1000 and an RPC port of 9253 .","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"1000","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"9253","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"The docker run command specifies the RPC port as a passthrough port. This makes the port available outside the docker image, should the developer choose to integrate the docker image's Smart Chain, TUT1 , with an external programming environment, such as Python or Node.js.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"docker run","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"Supported languages include all languages that can call RPC commands in the terminal, as well as those that can implement tools such as curl, postman, insomnia, and other similar development tools.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"The docker image is suitable for testing only; do not use the image in a production setting.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"The mining node RPC port is not passed through the docker container at runtime because it is randomly generated. The developer can reconfigure this setting, but the tutorials do not cover this topic.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"sending-commands-to-the-docker-images-seed-node"},{"text":"Install Docker","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"install-docker"},{"text":"Estimated Time: 2 Minutes","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"The following instructions are written for an Ubuntu 18.04 (LTS) user with root privileges.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"After completing the following steps, a non-privileged user may continue to use the docker image without further requiring the sudo command.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt update\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt update\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt install apt-transport-https ca-certificates curl software-properties-common\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt install apt-transport-https ca-certificates curl software-properties-common\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable\"\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable\"\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt update\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt update\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"apt-cache policy docker-ce\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"apt-cache policy docker-ce\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt install docker-ce\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo apt install docker-ce\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo systemctl status docker\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo systemctl status docker\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo usermod -aG docker ${USER}\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo usermod -aG docker ${USER}\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo su - ${USER}\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"sudo su - ${USER}\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-2-minutes"},{"text":"Download Komodo Image","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"download-komodo-image"},{"text":"Estimated Time: 3 Minutes","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-3-minutes"},{"text":"The \"all-in-one\" Komodo image is available for development only.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-3-minutes"},{"text":"This image includes Komodo software and the Zcash parameters.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-3-minutes"},{"text":"docker pull komodocakeshop/dev-allinone-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-3-minutes"},{"text":"docker pull komodocakeshop/dev-allinone-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-3-minutes"},{"text":"(Optional) Install the Reduced-Size Docker Image","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-install-the-reduced-size-docker-image"},{"text":"If the reader already has the Zcash parameters installed, a smaller docker image is available. Use of this image is entirely optional; the only benefit it serves is a reduced storage-space footprint.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-install-the-reduced-size-docker-image"},{"text":"docker pull komodocakeshop/dev-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-install-the-reduced-size-docker-image"},{"text":"docker pull komodocakeshop/dev-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-install-the-reduced-size-docker-image"},{"text":"Check the Local Image","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"check-the-local-image"},{"text":"Once downloaded, check that the image is in your local docker catalogue using the  docker images command.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"check-the-local-image"},{"text":"docker images","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"check-the-local-image"},{"text":"Command","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"command"},{"text":"$ docker images\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"command"},{"text":"$ docker images\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"command"},{"text":"Expected Response","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"expected-response"},{"text":"REPOSITORY TAG IMAGE ID CREATED SIZE\nkomodocakeshop/dev-learn-kmd latest 3792dab98cce 2 days ago 992MB\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"expected-response"},{"text":"REPOSITORY TAG IMAGE ID CREATED SIZE\nkomodocakeshop/dev-learn-kmd latest 3792dab98cce 2 days ago 992MB\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"expected-response"},{"text":"Start Komodo Development Container","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"start-komodo-development-container"},{"text":"Estimated Time: 10 seconds","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-10-seconds"},{"text":"Start the container.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-10-seconds"},{"text":"This drops into a bash prompt that is ready to start the guided tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-10-seconds"},{"text":"docker run -it -p 127.0.0.1:9253:9253 komodocakeshop/dev-allinone-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-10-seconds"},{"text":"docker run -it -p 127.0.0.1:9253:9253 komodocakeshop/dev-allinone-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-10-seconds"},{"text":"(Optional, for Smaller Docker Image Only) Mount the Local Zcash Parameters","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-for-smaller-docker-image-only-mount-the-local-zcash-parameters"},{"text":"For users relying on pre-existing Zcash parameters and using the smaller Komodo docker image, mount the parameters as a read-only volume.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-for-smaller-docker-image-only-mount-the-local-zcash-parameters"},{"text":"docker run -it -p 127.0.0.1:9253:9253 -v /home/${USER}/.zcash-params:/root/.zcash-params:ro komodocakeshop/dev-learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-for-smaller-docker-image-only-mount-the-local-zcash-parameters"},{"text":"docker run -it -p 127.0.0.1:9253:9253 -v /home/${USER}/.zcash-params:/root/.zcash-params:ro komodocakeshop/dev-learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"optional-for-smaller-docker-image-only-mount-the-local-zcash-parameters"},{"text":"Follow The Guided Tutorial Blockchain Starter Kit","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"follow-the-guided-tutorial-blockchain-starter-kit"},{"text":"Estimated Time: 4 minutes","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-4-minutes"},{"text":"The guided tutorial starts by automatically creating two sets of randomly generated keys that should be used throughout the tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-4-minutes"},{"text":"Alternatively, run everything from command line using the komodo-cli.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-4-minutes"},{"text":"Begin Guided Tutorial","tagName":"h2","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"begin-guided-tutorial"},{"text":"Estimated Time: 20 seconds","tagName":"h4","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"Type  learn-kmd  to start the guided tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"learn-kmd","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"learn-kmd\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"learn-kmd\n","tagName":"code","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"The \"quick start\" menu opens with the following screen.","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"Click here to proceed to the next tutorial in this series","tagName":"p","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"},{"text":"Click here to proceed to the next tutorial in this series","tagName":"a","path":"antara/tutorials/beginner-series-part-0","closestElementReference":"estimated-time-20-seconds"}],"antara/tutorials/beginner-series-part-1":[{"text":"Komodo Developer Path | Create a Blockchain","tagName":"h1","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"komodo-developer-path-create-a-blockchain"},{"text":"Create a Blockchain","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"create-a-blockchain"},{"text":"Estimated Time: 10 minutes","tagName":"h4","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-10-minutes"},{"text":"The following tutorial uses the Komodo tutorial docker image to create a blockchain. This tutorial is part of a series.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-10-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-10-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-10-minutes"},{"text":"Select the Appropriate Tutorial from the Menu","tagName":"h4","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"select-the-appropriate-tutorial-from-the-menu"},{"text":"Begin with the first guided tutorial by selecting TUTORIALS and then TUT1 from the menu. The following screen should appear. Note the detailed instructions onscreen. You may follow these through the tutorial.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"select-the-appropriate-tutorial-from-the-menu"},{"text":"TUTORIALS","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"select-the-appropriate-tutorial-from-the-menu"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"select-the-appropriate-tutorial-from-the-menu"},{"text":"Create a Seed Node","tagName":"h4","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"create-a-seed-node"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"The guided tutorial interface follows these screens:","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"From the SEED-MENU select SPINUP-SEEDNODE","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"SPINUP-SEEDNODE","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"Enter 1000 coins as the supply when prompted","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"1000","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"Use the SEED-GETINFO menu item to query the chain's current state \n \n At this time, you will notice that although our TUT1 chain has started, the GETINFO menu item replies that the chain has 0 blocks \n This is due to the fact that the chain is still waiting for a mining node to mine blocks \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"SEED-GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"\n At this time, you will notice that although our TUT1 chain has started, the GETINFO menu item replies that the chain has 0 blocks \n This is due to the fact that the chain is still waiting for a mining node to mine blocks \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"At this time, you will notice that although our TUT1 chain has started, the GETINFO menu item replies that the chain has 0 blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"0","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"This is due to the fact that the chain is still waiting for a mining node to mine blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"At this time, you will notice that although our TUT1 chain has started, the GETINFO menu item replies that the chain has 0 blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"0","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"This is due to the fact that the chain is still waiting for a mining node to mine blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"Return to the main TUT1 menu.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute"},{"text":"Create Mining Node","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"create-mining-node"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"The TUT1 chain is designed as a blocks-on-demand Smart Chain. This type of chain uses a Proof of Work consensus mechanism for the first 128 blocks, thus forcing the mining of these first blocks, regardless of the number of transactions occurring on the chain. After block 128, the chain stops automatically mining blocks and instead waits until there are a few transactions in the mempool. This style of chain saves computing resources.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"For the TUT1 chain these settings are managed within the pre-built docker image. Later, you will learn how to adjust these settings manually.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"While the settings of the Smart Chain are set to blocks-on-demand, a node on the network has to indicate a desire to mine for the process to begin. Follow the instructions below to launch a mining node on TUT1 .","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"Go BACK in the menu until you see the options for both SEED-MENU and MINING-MENU","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"BACK","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"Select MINING-MENU , then SPINUP-MININGNODE .","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"SPINUP-MININGNODE","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"Enter 1000 coins as the supply when prompted (we assume here that you entered 1000 coins earlier).","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"1000","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"Use the GETINFO command to query blockchain state. The chain will still have 0 blocks, but should have 1 connection. This is the connection to the seed node.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"0","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-2"},{"text":"Start Mining","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"start-mining"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"From the MINING MENU select MINING-START \n \n The mining process now begins \n Mining the first several blocks requires 30 to 90 seconds \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINING MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINING-START","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"\n The mining process now begins \n Mining the first several blocks requires 30 to 90 seconds \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"The mining process now begins","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"Mining the first several blocks requires 30 to 90 seconds","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"The mining process now begins","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"Mining the first several blocks requires 30 to 90 seconds","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"From the MINING MENU select MINER-GETMININGINFO \n \n This queries the mining state of both the network and this node \n You may see approximately 1.0 solutions per second ( localsolps ) \n You should see the number of blocks increase when you repeat the MINER-GETMININGINFO menu item \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINING MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINER-GETMININGINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"\n This queries the mining state of both the network and this node \n You may see approximately 1.0 solutions per second ( localsolps ) \n You should see the number of blocks increase when you repeat the MINER-GETMININGINFO menu item \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"This queries the mining state of both the network and this node","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"You may see approximately 1.0 solutions per second ( localsolps )","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"localsolps","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"You should see the number of blocks increase when you repeat the MINER-GETMININGINFO menu item","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINER-GETMININGINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"This queries the mining state of both the network and this node","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"You may see approximately 1.0 solutions per second ( localsolps )","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"localsolps","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"You should see the number of blocks increase when you repeat the MINER-GETMININGINFO menu item","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"MINER-GETMININGINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-3"},{"text":"Validate An Address","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"validate-an-address"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"The guided tutorial in the docker image automatically creates a blockchain address for the user during the startup process.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Typically, when blockchain software creates an address for a user, the address is automatically imported into the user's wallet so that the user can use it.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"In these tutorials, however, we generate an address that is not automatically imported. This gives you a chance to import the address yourself under the tutorial guidance.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Make sure that you are still in the MINING-MENU menu.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Enter the WALLET section.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Select VALIDATE to call the validateaddress Remote Procedure Call (RPC) method.","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"VALIDATE","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"validateaddress","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"The results should be similar to the following.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Note the address in the response. This is the address that was generated for this tutorial.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"address","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"However, note that the ismine value is false . ( ismine stands for \"is mine\".)","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"ismine","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"false","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"ismine","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"The private key that was automatically generated by the docker image needs to be imported.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-4"},{"text":"Import Private Key for the Wallet","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"In the guided tutorials, you do not need to manage the private key directly. However, this is a good time to become familiar with the concept.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"A private key could look like the following.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"E9873D79C6D87DC0FB6A5778633389_SAMPLE_PRIVATE_KEY_DO_NOT_IMPORT_F4453213303DA61F20BD67FC233AA33262\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"E9873D79C6D87DC0FB6A5778633389_SAMPLE_PRIVATE_KEY_DO_NOT_IMPORT_F4453213303DA61F20BD67FC233AA33262\n","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"When you enter a private key such as the above into the blockchain software, the automated encryption will match this address with a public key, also called a \"pubkey\".","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"A pubkey can look like the following.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"04fe53c78e36b86aae8082484a4007b706d5678cabb92d178fc95020d4d8dc41ef44cfbb8dfa7a593c7910a5b6f94d079061a7766cbeed73e24ee4f654f1e51904\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"04fe53c78e36b86aae8082484a4007b706d5678cabb92d178fc95020d4d8dc41ef44cfbb8dfa7a593c7910a5b6f94d079061a7766cbeed73e24ee4f654f1e51904\n","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"The public key is the address that receives and holds money. The private key unlocks the address and allows the user to spend money.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"Keep the private key private at all times. Never share it - not even with a member of the Komodo team.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"To import the private key that was automatically generated for you, select WALLET , then IMPORT-DEV-WALLET .","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"IMPORT-DEV-WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"This automatically executes the importprivkey RPC method, importing the private key and thus the address.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"importprivkey","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"Now, when funds are sent to this address, your wallet has the keys necessary to spend them.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"import-private-key-for-the-wallet"},{"text":"Check the Wallet Balance","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"check-the-wallet-balance"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"From within the WALLET menu, select BALANCE .","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"BALANCE","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"This automatically executes the getbalance RPC method.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"getbalance","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"Note that your wallet has the full 1000 coins, and a little extra.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"1000","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"These 1000 coins were mined into your address as a reward for mining the first block of the blockchain. This is called the Genesis Block.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"1000","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"The extra fraction of a coin should be of an amount similar to the displayed .12532156 above.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":".12532156","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"This extra fraction of a coin comes in part as a reward for the blocks mined.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"By default, each block mined on a Komodo Smart Chain rewards the miner with 0.001 coins.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"0.001","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"At the time the screenshot above was taken, the mining node had mined approximately 125 blocks, thus accounting for the extra fraction of a coin.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"125","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-5"},{"text":"List Unspent Transactions (Utxos)","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"list-unspent-transactions-utxos"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"The mining node holds the funds. The funds are represented on the blockchain as \"unspent transactions,\" or \"utxos.\"","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"Utxos can be difficult for a complete beginner to understand.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"A utxo is similar in nature to a dollar bill in your physical wallet. You can have many bills in your wallet, and the total amount of bills you have determines your total amount in your wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"Likewise, you can have many utxos in your digital wallet, and the total value of all utxos determines the total amount in your digital wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"For a full discussion on utxos, turn to the Core Technology Discussions section.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"turn to the Core Technology Discussions section.","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"In this guided tutorial, we will automatically execute a command that allows us to look at the utxos in our wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"Still within the WALLET submenu, choose the LISTUNSPENT option. This executes the listunspent RPC method. The result should be similar to the following.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"LISTUNSPENT","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"listunspent","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"The number of utxos here will differ according to the number of blocks your mining node has mined. Each block mined generates a new utxo in your wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-6"},{"text":"Stop Mining","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"stop-mining"},{"text":"Estimated Time: < 1 Minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"The setgenerate RPC method tells a node to start and stop mining.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"setgenerate","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"Within the MINING menu, choose the MINING-STOP menu item.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"MINING","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"MINING-STOP","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"The screen will flash and then return to the MINING menu. This indicates that mining is stopped.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"MINING","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"Recall that in this guided tutorial there are only two nodes on the TUT1 blockchain, and that only one of the nodes is a mining node.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"As we have stopped the mining node, the blockchain itself is stopped. If we were to attempt to use the other node to send a transaction to the blockchain, no node would mine this transaction, and therefore the transaction would wait indefinitely for confirmation.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"estimated-time-1-minute-7"},{"text":"(Optional) Shut Down Both Nodes","tagName":"h2","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"If you would like to exit the tutorial at this time, you may shut down both nodes from within the docker menu.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"MINING-MENU -> SHUTDOWN-NODE-MINER","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"SHUTDOWN-NODE-MINER","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"SEED-MENU -> SHUTDOWN-NODE-SEED","tagName":"li","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"SHUTDOWN-NODE-SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"Otherwise, you may proceed with the tutorial series by clicking on the link below.","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"Link to the next tutorial in this series","tagName":"p","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"},{"text":"Link to the next tutorial in this series","tagName":"a","path":"antara/tutorials/beginner-series-part-1","closestElementReference":"optional-shut-down-both-nodes"}],"antara/tutorials/beginner-series-part-2":[{"text":"Komodo Developer Path | Using a Faucet","tagName":"h1","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"komodo-developer-path-using-a-faucet"},{"text":"Total Estimated Time: 15 minutes","tagName":"h4","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"total-estimated-time-15-minutes"},{"text":"This tutorial is part of a series.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"total-estimated-time-15-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"total-estimated-time-15-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"total-estimated-time-15-minutes"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"In the non-digital world, a faucet is a tap fitting of your regular bathroom or kitchen water supply. Faucets sometimes drip.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"A blockchain faucet is based on this concept. The digital faucet drips small amounts of coins to people that send a request to the faucet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"In this tutorial, we use a Komodo technology called an Antara Module to create a faucet on our TUT1 Smart Chain.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"There are many types of Antara Modules, and the Faucet Antara Module is but one of them.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"Faucet Antara Module","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"Transferring funds via the faucet will allow us to perform other tasks further in the tutorials.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"introduction"},{"text":"The Expected Current State of Our TUT1 Smart Chain","tagName":"h4","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"The mining node has ~1000 coins","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"The mining node has several utxos \n \n One large utxo with approximately 1000 coins \n Many small utxos, each having 0.0001 coins \n \n These utxos are rewards for mining blocks \n \n \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"\n One large utxo with approximately 1000 coins \n Many small utxos, each having 0.0001 coins \n \n These utxos are rewards for mining blocks \n \n \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"One large utxo with approximately 1000 coins","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"Many small utxos, each having 0.0001 coins \n \n These utxos are rewards for mining blocks \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"\n These utxos are rewards for mining blocks \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"These utxos are rewards for mining blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"One large utxo with approximately 1000 coins","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"Many small utxos, each having 0.0001 coins \n \n These utxos are rewards for mining blocks \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"\n These utxos are rewards for mining blocks \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"These utxos are rewards for mining blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"These utxos are rewards for mining blocks","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"Both the mining node and the seed node should be running \n \n If you stopped the nodes at the end of the last tutorial, restart them using the SPINUP functions found within each node's menu \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"\n If you stopped the nodes at the end of the last tutorial, restart them using the SPINUP functions found within each node's menu \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"If you stopped the nodes at the end of the last tutorial, restart them using the SPINUP functions found within each node's menu","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"SPINUP","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"If you stopped the nodes at the end of the last tutorial, restart them using the SPINUP functions found within each node's menu","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"SPINUP","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"The mining node should be set to mine \n \n To restart the mining node, use the MINING-START function in the MINING-MENU section \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"\n To restart the mining node, use the MINING-START function in the MINING-MENU section \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"To restart the mining node, use the MINING-START function in the MINING-MENU section","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"MINING-START","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"To restart the mining node, use the MINING-START function in the MINING-MENU section","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"MINING-START","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"the-expected-current-state-of-our-tut-1-smart-chain"},{"text":"Next Steps in the Tutorial","tagName":"h4","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"On the mining node we send some of our funds to the chain's built-in faucet \n \n To accomplish this, in this guided tutorial we use an automated version of the faucetfund Remote Procedure Call (RPC) \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"\n To accomplish this, in this guided tutorial we use an automated version of the faucetfund Remote Procedure Call (RPC) \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"To accomplish this, in this guided tutorial we use an automated version of the faucetfund Remote Procedure Call (RPC)","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"faucetfund","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"To accomplish this, in this guided tutorial we use an automated version of the faucetfund Remote Procedure Call (RPC)","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"faucetfund","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"On the seed node, which currently has 0 coins, we send a request to the faucet for funds","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"next-steps-in-the-tutorial"},{"text":"Send All Funds to Self","tagName":"h2","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"send-all-funds-to-self"},{"text":"Estimated Time: 2 minutes","tagName":"h5","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"We first consolidate all the utxos in our wallet, both large and small, into a single utxo. We send this consolidated utxo to the Antara Module that acts as a faucet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"The reason we first consolidate the utxos into one is related to a subtle nuance of Antara Module technology. One requirement of all funds entering an Antara Module is that they must have been spent at least once before. This requirement simplifies some of the underlying code of an Antara Module.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"All the utxos in our current mining wallet were generated either in the first block, or they were generated as a part of a mining reward. Therefore, they have not yet been spent.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"To consolidate them in the guided tutorial, we use an automated version of the sendtoaddress RPC.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"sendtoaddress","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Enter the MINING-MENU","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Enter the WALLET submenu and select SENDALLSELF \n \n This tutorial function performs several automated tasks \n First, the function checks our total balance using the getinfo RPC \n The function gathers the address that we saw earlier in the validateaddress RPC \n Finally, the function sends the entire amount to this address using the sendtoaddress RPC \n This sends everything in our wallet in a circular loop back into our wallet \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"SENDALLSELF","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"\n This tutorial function performs several automated tasks \n First, the function checks our total balance using the getinfo RPC \n The function gathers the address that we saw earlier in the validateaddress RPC \n Finally, the function sends the entire amount to this address using the sendtoaddress RPC \n This sends everything in our wallet in a circular loop back into our wallet \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"This tutorial function performs several automated tasks","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"First, the function checks our total balance using the getinfo RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"The function gathers the address that we saw earlier in the validateaddress RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Finally, the function sends the entire amount to this address using the sendtoaddress RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"This sends everything in our wallet in a circular loop back into our wallet","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"This tutorial function performs several automated tasks","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"First, the function checks our total balance using the getinfo RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"The function gathers the address that we saw earlier in the validateaddress RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Finally, the function sends the entire amount to this address using the sendtoaddress RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"This sends everything in our wallet in a circular loop back into our wallet","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Wait for this transaction to be mined in a block. (This process is also called \"confirming a transaction.\")","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"One way to check the status of the transaction is to use the LIST function from the last tutorial. Right after performing the SENDALLSELF function, you will have zero utxos in your wallet. Once a utxo reappears in your wallet, you know that the transaction is successfully mined.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"LIST","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"SENDALLSELF","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"When you finally have a utxo in your wallet again, you will notice that you have two utxos instead of one. This may be surprising, but this provides a good opportunity to learn about \"dust.\"","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"The mathematics behind blockchain technology are complex, and transactions are rarely able to have perfectly clean total amounts. There is often a remnant of funds in the amount of a tiny fraction of a coin. These leftover funds remain in your wallet as a separate utxo, and as they are typically of such little value, they are effectively useless. This is why they are called \"dust.\"","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-2-minutes"},{"text":"Send Funds to the Faucet","tagName":"h2","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"send-funds-to-the-faucet"},{"text":"Estimated Time: 1 minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"In this guided tutorial, we use an automated version of the faucetfund RPC. This takes any number of coins we choose from our wallet and sends them to the Faucet Antara Module.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"faucetfund","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"Once the funds are in the module, other users on the chain can request to have some of the funds. The funds are disbursed in small amounts, and the module has a feature that discourages users from spamming the faucet to drain all of the funds at once.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"From the MINING-MENU , select FAUCET","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"FAUCET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"Select the FUNDFAUCET function","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"FUNDFAUCET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"Enter 200 as the amount of coins to send \n \n (This amount is arbitrary. We choose 200 for simplicity's sake.) \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"200","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"\n (This amount is arbitrary. We choose 200 for simplicity's sake.) \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"(This amount is arbitrary. We choose 200 for simplicity's sake.)","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"200","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"(This amount is arbitrary. We choose 200 for simplicity's sake.)","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"200","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute"},{"text":"Claim a Small Amount of Funds from the Faucet","tagName":"h2","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-a-small-amount-of-funds-from-the-faucet"},{"text":"Estimated Time: 5 Minutes","tagName":"h5","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"Use the BACK function on each page until you again reach the option to choose between the MINING-MENU and the SEED-MENU .","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"BACK","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"Choose the SEED-MENU .","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-5-minutes"},{"text":"Validate the Seed Wallet","tagName":"h4","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"Just as before, we want to make sure that we've imported our tutorial private key before we send any funds to any address.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"Select WALLET and then VALIDATE","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"VALIDATE","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"If the proper ismine is false , we need to import the private key","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"ismine","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"false","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"From the WALLET submenu, select IMPORT-DEV-WALLET \n \n This automatically performs the importprivkey RPC for us \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"IMPORT-DEV-WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"\n This automatically performs the importprivkey RPC for us \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"This automatically performs the importprivkey RPC for us","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"This automatically performs the importprivkey RPC for us","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"validate-the-seed-wallet"},{"text":"Claim Funds from the Faucet","tagName":"h4","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"Return to the SEED-MENU section.","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"Select FAUCET","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"FAUCET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"Select GETFUNDS","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"GETFUNDS","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"The GETFUNDS function in this guided tutorial is yet another automated version of an RPC. This time, the RPC is the faucetget method.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"GETFUNDS","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"faucetget","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"The faucetget method requests funds from the TUT1 faucet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"The Antara Module software automatically checks a few things to make sure that we are not attempting to spam and drain the faucet. One task the Antara Module requires is a small amount of work from our computer. The CPU of our computer will perform a few complicated encryption calculations. This may take a few seconds to perform.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"The time and electricity this consumes from our computer helps to offset any incentive a malicious actor would have when trying to drain the faucet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"The Antara Module will also check to make sure that our SEED node's wallet history is relatively fresh. The SEED node is entirely separate from the MINING node's data directory, and therefore no issues are detected.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"MINING","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"claim-funds-from-the-faucet"},{"text":"Check for the Returned Coins","tagName":"h2","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"check-for-the-returned-coins"},{"text":"Estimated Time: 1 minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"There are many RPCs available to check the balance of a wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"A common RPC is the getinfo . This checks many aspects of the Smart Chain's current state, including the wallet's balance.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"One of the most common RPC's is the getbalance method. This returns only information about the wallet's balance.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"getbalance","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"A final example is the listunspent RPC, which returns infromation about all utxos in the user's wallet.","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"listunspent","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"In the SEED-MENU section, select SEED-GETINFO to perform an automated getinfo RPC \n \n In the response, look for the balance property \n There should be at least 0.1 coins in your wallet \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"SEED-GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"\n In the response, look for the balance property \n There should be at least 0.1 coins in your wallet \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"In the response, look for the balance property","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"balance","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"There should be at least 0.1 coins in your wallet","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"0.1","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"In the response, look for the balance property","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"balance","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"There should be at least 0.1 coins in your wallet","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"0.1","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"In the SEED-MENU section once again, select WALLET","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"Within the WALLET submenu, select the BALANCE function to perform an automated getbalance RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"BALANCE","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"Also within the WALLET submenu, select LIST to perform the automated listunspent RPC","tagName":"li","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"WALLET","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"LIST","tagName":"code","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"Link to next tutorial section","tagName":"p","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"},{"text":"Link to next tutorial section","tagName":"a","path":"antara/tutorials/beginner-series-part-2","closestElementReference":"estimated-time-1-minute-2"}],"antara/tutorials/beginner-series-part-3":[{"text":"Komodo Developer Path | Connecting to Another Programming Environment","tagName":"h1","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"komodo-developer-path-connecting-to-another-programming-environment"},{"text":"Total Estimated Time: ~10-20 Minutes","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"total-estimated-time-10-20-minutes"},{"text":"This tutorial is part of a series.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"total-estimated-time-10-20-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"total-estimated-time-10-20-minutes"},{"text":"To return to the previous tutorial, click here.","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"total-estimated-time-10-20-minutes"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"Until now we have relied on automated functions in the guided tutorials for assistance in executing Remote Procedure Calls (RPC's). Such RPC's include getinfo , listunspent , faucetfund , and more.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"The very purpose of an RPC is to allow another programming environment to access the functionality of the software. For example, an RPC allows Python or JavaScript source code to send a secure call to the Komodo Smart Chain with a request to perform an action, and to return information about the result.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"All RPC's are available in any mainstream programming language, and we are now prepared to experiment with this feature.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"In this tutorial, we focus on the most essential aspect of this process, the Unix curl command. Using curl to access Komodo software from the source code of another environment is relatively straightforward, depending upon the programming language itself.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"The guided-tutorial software that holds our TUT1 Smart Chain has an exposed RPC port that we use to connect to our seed node.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"introduction"},{"text":"Inquiring About Language Wrappers","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"Before we continue with the tutorial, there is a tangential point to mention.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"In the Komodo community, for many popular programming languages there are available enhancements beyond the curl command. These enhancements allow a developer to more easily integrate with Komodo.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"In these languages, someone from the Komodo community has created a language \"wrapper.\" A wrapper essentially allows a developer to import all the Komodo RPC calls directly into the source files of their chosen language.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"Therefore, the developer can often simply call the Komodo RPC suite into the source file and access each RPC on demand.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"For information regarding availability of language wrappers for your preferred language, please reach out to our team and to the community on Discord.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"Discord.","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"inquiring-about-language-wrappers"},{"text":"Obtaining the Necessary Passwords and Credentials","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"obtaining-the-necessary-passwords-and-credentials"},{"text":"Estimated Time: 1 minute","tagName":"h5","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"The Smart Chain software controls access to all your valuable assets. Allowing other software on your node to access and manipulate these assets is a potential security risk. Therefore, the Smart Chain software requires a password and username from any software that attempts to access the Smart Chain's exposed port.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"These credentials are called the rpcpassword, rpcuser, and rpcport.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"The file that holds these values is typically installed in a ~/komodo/COINNAME/COINNAME.conf file. You can change the values in this file before launching the Komodo software, and they will be loaded at runtime.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"~/komodo/COINNAME/COINNAME.conf","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"In our guided tutorial, the name of our coin is TUT1 , and therefore the name of the credential file is TUT1.conf .","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1.conf","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"We have placed the TUT1.conf file for the SEED node in a different location, to allow for the underlying tutorial software to function properly.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1.conf","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"Here is the location: /root/.komodo/TUT1/TUT1.conf","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"/root/.komodo/TUT1/TUT1.conf","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"Obtain your TUT1 RPC credentials and copy/paste them into a nearby location before continuing with the tutorial.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-1-minute"},{"text":"Using curl","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"using-curl"},{"text":"Estimated Time: 5 minutes","tagName":"h5","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"estimated-time-5-minutes"},{"text":"Conceptualizing the curl Command","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"A curl command must be sent to the Komodo software daemon through a Unix shell, or terminal.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"When using curl from another programming environment, the developer's source code first opens an instance of a Unix terminal. This is typically achieved through some type of environment enhancement. For example, a JavaScript developer might use Node.js to open a Unix terminal instance. The specific Node.js function the developer would use is child_process.exec().","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"child_process.exec().","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"The developer's source file then creates a curl command that fulfills the intended purposes of the developer's software, and sends this curl command to the Komodo software daemon.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"The curl command sends a json reply, which the developer captures in their source code and utilizes in any manner the developer desires.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"conceptualizing-the-curl-command"},{"text":"Installing jq","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"The returned json object is provided without human-friendly json formatting.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"To make json responses easier to read, Komodo developers typically make use of a third-party software called \"jq\".","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"You can download and install jq at this link.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"You can download and install jq at this link.","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"Once installed, with each curl command simply include a pipe and a call to jq, along with any desired jq optional parameters. Komodo developers typically include the -r parameter for raw outputs, to help jq interpret the raw string.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"-r","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"installing-jq"},{"text":"The Anatomy of a curl Command","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"the-anatomy-of-a-curl-command"},{"text":"Observe the anatomy of a sample curl command, as executed in the terminal. For this example, we use the getinfo RPC.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"the-anatomy-of-a-curl-command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"the-anatomy-of-a-curl-command"},{"text":"Command","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"getinfo\\\", \\\"params\\\": []}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"getinfo\\\", \\\"params\\\": []}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"The response to the getinfo RPC curl command is as follows. Note that this is a json string and the developer must actively convert the response into a json object. For example, in JavaScript the appropriate function is JSON.parse() .","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"JSON.parse()","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command"},{"text":"Response","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response"},{"text":"{\n \"version\": 2001526,\n \"protocolversion\": 170007,\n \"KMDversion\": \"0.4.0a\",\n \"synced\": false,\n \"notarized\": 0,\n \"prevMoMheight\": 0,\n \"notarizedhash\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"notarizedtxid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"notarizedtxid_height\": \"mempool\",\n \"KMDnotarized_height\": 0,\n \"notarized_confirms\": 0,\n \"walletversion\": 60000,\n \"balance\": 0,\n \"blocks\": 0,\n \"longestchain\": 0,\n \"timeoffset\": 0,\n \"tiptime\": 1231006505,\n \"connections\": 1,\n \"proxy\": \"\",\n \"difficulty\": 1,\n \"testnet\": false,\n \"keypoololdest\": 1561227622,\n \"keypoolsize\": 101,\n \"paytxfee\": 0,\n \"relayfee\": 1e-6,\n \"errors\": \"\",\n \"pubkey\": \"030746f79b31d1bb46aa10ee8ee72a06eba7375ca0aca411fa684936457363cdad\",\n \"CCid\": 2,\n \"name\": \"TUT1\",\n \"sapling\": -1,\n \"p2pport\": 9252,\n \"rpcport\": 9253,\n \"magic\": 230635964,\n \"premine\": 1000\n}\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response"},{"text":"{\n \"version\": 2001526,\n \"protocolversion\": 170007,\n \"KMDversion\": \"0.4.0a\",\n \"synced\": false,\n \"notarized\": 0,\n \"prevMoMheight\": 0,\n \"notarizedhash\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"notarizedtxid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"notarizedtxid_height\": \"mempool\",\n \"KMDnotarized_height\": 0,\n \"notarized_confirms\": 0,\n \"walletversion\": 60000,\n \"balance\": 0,\n \"blocks\": 0,\n \"longestchain\": 0,\n \"timeoffset\": 0,\n \"tiptime\": 1231006505,\n \"connections\": 1,\n \"proxy\": \"\",\n \"difficulty\": 1,\n \"testnet\": false,\n \"keypoololdest\": 1561227622,\n \"keypoolsize\": 101,\n \"paytxfee\": 0,\n \"relayfee\": 1e-6,\n \"errors\": \"\",\n \"pubkey\": \"030746f79b31d1bb46aa10ee8ee72a06eba7375ca0aca411fa684936457363cdad\",\n \"CCid\": 2,\n \"name\": \"TUT1\",\n \"sapling\": -1,\n \"p2pport\": 9252,\n \"rpcport\": 9253,\n \"magic\": 230635964,\n \"premine\": 1000\n}\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response"},{"text":"Mine on the Seed Node Using curl","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"Use curl to tell the SEED node to begin mining the TUT1 Smart Chain. Use the setgenerate RPC for this function.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"setgenerate","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"Note that this RPC requires parameters in the curl command: \\\"params\\\": [true,1]","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"curl","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"\\\"params\\\": [true,1]","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"mine-on-the-seed-node-using-curl"},{"text":"Command","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-2"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"setgenerate\\\", \\\"params\\\": [true,1]}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-2"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"setgenerate\\\", \\\"params\\\": [true,1]}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-2"},{"text":"The setgenerate RPC always returns null as a response.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-2"},{"text":"null","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-2"},{"text":"Response","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-2"},{"text":"null\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-2"},{"text":"null\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-2"},{"text":"Discover the State of Mining on the Seed Node","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"discover-the-state-of-mining-on-the-seed-node"},{"text":"Use the getmininginfo RPC to ensure that the command executed successfully.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"discover-the-state-of-mining-on-the-seed-node"},{"text":"getmininginfo","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"discover-the-state-of-mining-on-the-seed-node"},{"text":"Command","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-3"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"getmininginfo\\\", \\\"params\\\": []}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'                  \n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-3"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"getmininginfo\\\", \\\"params\\\": []}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'                  \n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"command-3"},{"text":"Response","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-3"},{"text":"{\n \"blocks\": 1,\n \"currentblocksize\": 1000,\n \"currentblocktx\": 0,\n \"difficulty\": 1,\n \"errors\": \"\",\n \"genproclimit\": 1,\n \"localsolps\": 1.041666666666667,\n \"networksolps\": 0,\n \"networkhashps\": 0,\n \"pooledtx\": 0,\n \"testnet\": false,\n \"chain\": \"main\",\n \"staking\": false,\n \"generate\": true,\n \"numthreads\": 1\n}\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-3"},{"text":"{\n \"blocks\": 1,\n \"currentblocksize\": 1000,\n \"currentblocktx\": 0,\n \"difficulty\": 1,\n \"errors\": \"\",\n \"genproclimit\": 1,\n \"localsolps\": 1.041666666666667,\n \"networksolps\": 0,\n \"networkhashps\": 0,\n \"pooledtx\": 0,\n \"testnet\": false,\n \"chain\": \"main\",\n \"staking\": false,\n \"generate\": true,\n \"numthreads\": 1\n}\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-3"},{"text":"Stop Mining on the Seed Node","tagName":"h2","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"To instruct the node to cease mining, we again use the setgenerate RPC, but this time we provide the parameter as false .","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"setgenerate","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"false","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"setgenerate\\\", \\\"params\\\": [false]}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'       \n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"curl -s --user user3044755432:passd30f503069f140e8e0ffe4d3f1645a8eae8e923b20e6011630cc98880ec5c47320 --data-binary \"{\\\"jsonrpc\\\": \\\"1.0\\\", \\\"id\\\": \\\"curl test\\\", \\\"method\\\": \\\"setgenerate\\\", \\\"params\\\": [false]}\" -H 'content-type: text/plain;' http://127.0.0.1:9253/ | jq -r '.result'       \n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"stop-mining-on-the-seed-node"},{"text":"Response","tagName":"h4","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-4"},{"text":"null\n","tagName":"pre","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-4"},{"text":"null\n","tagName":"code","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-4"},{"text":"Proceed to next tutorial article in the series.","tagName":"p","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-4"},{"text":"Proceed to next tutorial article in the series.","tagName":"a","path":"antara/tutorials/beginner-series-part-3","closestElementReference":"response-4"}],"antara/tutorials/beginner-series-part-4":[{"text":"Komodo Developer Path | Understanding Tokens","tagName":"h1","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"komodo-developer-path-understanding-tokens"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"introduction"},{"text":"Each Smart Chain in the Komodo ecosystem can act as a fully tokenizable platform. This provides many opportunities to the developer for creating on-chain assets that represent varying types of value for their users.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"introduction"},{"text":"For example, tokens can be used to represent real world assets, and users can then trade these tokens using Komodo's Token DEX and Komodo DeFi Framework features. The developer could also create tokens that provide incentives to their audience. Or, tokens can represent collectible assets. These are but a few examples of the usefulness of on-chain tokenization.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"introduction"},{"text":"Token DEX","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"introduction"},{"text":"Komodo DeFi Framework","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"introduction"},{"text":"Conceptualizing Tokens","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"conceptualizing-tokens"},{"text":"A Token is a Satoshi","tagName":"h4","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"All Smart Chain coins abide by the Bitcoin-protocol standard wherein 1 coin is divisible for up to eight decimal places: 1.00000000 . The smallest unit of a Smart Coin therefore is 0.00000001 coins. By convention it is called a \"satoshi,\" in honor of the inventor of the Bitcoin protocol.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"1.00000000","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"0.00000001","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"On a Smart Chain, each individual token is derived from one individual satoshi. Therefore, each coin can be transformed into 100,000,000 tokens.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"At the time of the creation of these tokens, the creator can define their properties, grant meta data to them, and establish the nature of their scarcity.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"All of this functionality is established and secured through the Tokens Antara Module .","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"Tokens Antara Module","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"a-token-is-a-satoshi"},{"text":"Fungible Token Creation","tagName":"h4","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"With 0.1 of our TUT1 tutorial coins, we can create 10,000,000 tokens in one creation transaction using the tokencreate RPC.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"0.1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"10,000,000","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"tokencreate","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"In the process of creation we can choose a name for these tokens.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"All of the tokens created from this single transaction are fungible one with another, and maintain scarcity across the Smart Chain.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"(It is even possible with Antara technology to maintain token scarcity across multiple chains, but this is an advanced topic that we do not cover here.)","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"(It is even possible with Antara technology to maintain token scarcity across multiple chains, but this is an advanced topic that we do not cover here.)","tagName":"em","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"fungible-token-creation"},{"text":"Non-Fungible Token Creation","tagName":"h4","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"non-fungible-token-creation"},{"text":"Alternatively, rather than creating a large collective of many fungible tokens, you could instead create non-fungible tokens. To achieve this, use the tokencreate RPC to create one token at a time. Each token requires 1 satoshi, plus transaction fees.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"non-fungible-token-creation"},{"text":"1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"non-fungible-token-creation"},{"text":"Attaching Data to Tokens","tagName":"h4","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"We can attach meta data to the tokens at their creation.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"The maximum size of data that can fit in a single Komodo transaction is 10000 bytes. This is enough to include all sorts of data, and even simple images.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"10000","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"The developer is naturally free to use their imagination in the design of this data. For example, you can describe their purpose and add a json data structure that informs other software of the properties of this token.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"Advanced developers can even add functionality to allow the tokens to gain new data over time as they are passed through transactions.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"attaching-data-to-tokens"},{"text":"Create a Token Set on TUT1 Smart Chain","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"In our guided tutorial, we now create 50,000 tokens that we give the name GOLD .","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"50,000","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"GOLD","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Enter the SEED-MENU","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Select the TOKENS submenu","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Select CREATE","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"CREATE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Enter the name GOLD","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"GOLD","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Use 0.0005 tokens","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.0005","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"For the short description Some GOLD tokens","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Some GOLD tokens","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"This creates 50,000 GOLD tokens by sending 0.0005 TUT1 coins to the Tokens Antara Module.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Tokens Antara Module.","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Wait a minute or so for the transaction to be mined and then use the GETINFO function to check the balance of our wallet. There are now 0.0993 coins remaining from the 0.1 coins we had previously.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"GETINFO","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.0993","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"We used 0.0005 coins to create the tokens.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.0005","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"We had a fee paid to the miners of 0.0001 coins.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.0001","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"We also had another fee of 0.0001 coins that were sent to a special address in the Tokens Antara Module, called the \"global address.\" The transaction for this fee had a small amount of data that permanently tells the entire TUT1 Smart Chain community that we created these tokens. Therefore, if other users or developers want to learn about our GOLD tokens, they have a starting point in this global address.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"0.0001","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"TUT1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"GOLD","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-token-set-on-tut-1-smart-chain"},{"text":"Seed or Mining Node RPC: tokenlist & tokeninfo to find details of the tokens","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"To see our tokens afterwards, we can use the tokenlist and tokeninfo RPC's.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"tokenlist","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"tokeninfo","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"In our guided tutorial, we have automated functions available to make this simpler.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"SEED-MENU > TOKENS > LIST","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"LIST","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"SEED-MENU > TOKENS > INFO > GOLD","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"SEED-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"INFO","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"GOLD","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"LIST calls the tokenlist RPC. This returns an array of token ids. A \"token id\" is the id of the transaction that created the token. We use this token id nearly every time hereafter when we transact with these tokens.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"LIST","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"INFO calls the tokeninfo RPC. This RPC requires the token id of the token we desire to inspect. In our case, we chose the GOLD token.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"INFO","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"GOLD","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"seed-or-mining-node-rpc-tokenlist-and-tokeninfo-to-find-details-of-the-tokens"},{"text":"Create SILVER Tokens","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Repeat the process to create SILVER tokens.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"SILVER","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"SEED-NODE > TOKENS > CREATE","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"SEED-NODE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"CREATE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Name: SILVER","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"SILVER","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Amount: 0.002","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"0.002","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Description: Some SILVER tokens","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Some SILVER tokens","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Wait for confirmation and then verify that our 0.0993 TUT1 balance is reduced to 0.0971 .","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"0.0993","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"0.0971","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-silver-tokens"},{"text":"Create ROCK Tokens","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"TOKENS > CREATE","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"CREATE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Name: ROCK","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"ROCK","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Amount: 0.04","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"0.04","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Description: Some ROCK Tokens","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Some ROCK Tokens","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Use the LIST function to find the token id for ROCK , and then use the TOKENS > ROCK function to retrieve the token's full information. We see the token id included as a part of the returned data.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"LIST","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"ROCK","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"ROCK","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-rock-tokens"},{"text":"Create a Non-Fungible Token","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Switch to the mining node.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Recall that to create a non-fungible token, we simply use only one satoshi of the coin.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"MINING-MENU > TOKENS","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"MINING-MENU","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"TOKENS > CREATE","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"CREATE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Name: NFT1","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"NFT1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Amount: 0.00000001","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"0.00000001","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Description: First unique token","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"First unique token","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"create-a-non-fungible-token"},{"text":"Compare the Tokens on One Node Against the Other","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"Check the balance of the NFT1 token on both the SEED node and the MINING node.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"NFT1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"SEED","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"MINING","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"TOKENS > BALANCE > NFT1","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"TOKENS","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"BALANCE","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"NFT1","tagName":"code","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"Note that the balance is different for the two.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"compare-the-tokens-on-one-node-against-the-other"},{"text":"Tutorial Series Conclusion","tagName":"h2","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Thank you for following along on this introductory tutorial.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"We have covered many topics using our guided-tutorial software.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"To learn more about any particular aspect, visit the links below.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"If you are ready to proceed with the next tutorials in our educational series, return to the Learning Launchpad section.","tagName":"p","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Learning Launchpad","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a new Smart Chain \n \n Create a Default Smart Chain \n ac_name \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"\n Create a Default Smart Chain \n ac_name \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a Default Smart Chain","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a Default Smart Chain","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_name","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_name","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a Default Smart Chain","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a Default Smart Chain","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_name","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_name","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create a coin supply \n \n ac_supply \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"\n ac_supply \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_supply","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_supply","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_supply","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"ac_supply","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create and use a faucet \n \n Faucet Antara Module \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"\n Faucet Antara Module \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Faucet Antara Module","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Faucet Antara Module","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Faucet Antara Module","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Faucet Antara Module","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Mine transactions \n \n setgenerate \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"\n setgenerate \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"setgenerate","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"setgenerate","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"setgenerate","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"setgenerate","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Create fungible and non-fungible tokens \n \n Tokens Antara Module \n \n","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"\n Tokens Antara Module \n","tagName":"ul","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Tokens Antara Module ","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Tokens Antara Module ","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Tokens Antara Module ","tagName":"li","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"},{"text":"Tokens Antara Module ","tagName":"a","path":"antara/tutorials/beginner-series-part-4","closestElementReference":"tutorial-series-conclusion"}],"antara/tutorials/dilithium-module-tutorial":[{"text":"Dilithium Module Tutorial","tagName":"h1","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"dilithium-module-tutorial"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"This tutorial provides a front-end developer all the knowledge necessary to create a graphical user interface (GUI) for the Dilithium Antara Module. The tutorial touches only briefly on the actual use cases of the Dilithium module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"This documentation does not discuss the underlying math and principles of quantum-resistant blockchain computing. Please inquire with our team for more details.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"Because quantum computing is not yet realized in the technology industry, Dilithium is listed in the documentation only for display purposes.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"The following tutorial should be considered \"Advanced,\" and we recommend that any user attempting to implement Dilithium skim the Advanced Tutorial Series to obtain a general understanding of the more technical aspects of working with Antara Module technology.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"Advanced Tutorial Series","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"introduction"},{"text":"Installation","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"installation"},{"text":"Please follow the instructions for installing Komodo software from source.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"installation"},{"text":"instructions for installing Komodo software from source.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"installation"},{"text":"This installs the normal Komodo software.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"installation"},{"text":"The MUSIG Test Smart Chain","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"In this tutorial we use the test chain MUSIG to display the Dilithium Module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"MUSIG","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"You may replace the MUSIG ticker with the relevant ticker of any Smart Chain in the tutorial komodo-cli commands and achieve the same effect.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"MUSIG","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"To launch the MUSIG Smart Chain, enter the command below in the terminal.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"MUSIG","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-musig-test-smart-chain"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 -addnode=195.201.20.230 -addnode=195.201.137.5\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 -addnode=195.201.20.230 -addnode=195.201.137.5\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command"},{"text":"Ensure that the chain is syncing properly by watching the returned values from the getinfo method. The count of blocks synced should increase.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command"},{"text":"A Note Regarding the Installation of the Necessary Libraries in the Source Code","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"Dilithium is not active on a default Komodo Smart Chain. For the Dilithium Antara Module to function on the MUSIG chain, we now add an additional feature to the default installation.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"MUSIG","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"The user must download an associated C library (also called a cclib module) and include this library in the src directory when compiling Komodo from source. (We repeat the compilation process in a moment.)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"src","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"Currently, this Dilithium cclib module is included as a part of the Soduku cclib module. This is a matter of convenience for the developers and testers.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"If a Komodo customer is interested in implementing Dilithium, please inquire with our team. We would be happy to separate Dilithium's cclib module from the Sudoku cclib module, and make Dilithium available in the default Antara Modules.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"a-note-regarding-the-installation-of-the-necessary-libraries-in-the-source-code"},{"text":"Stop the Daemon and Install the Appropriate cclib Module","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Stop the MUSIG daemon. (If the chain has not finished syncing to the network, that is okay for the moment. We can allow the syncing process to complete later.)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"MUSIG","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"./komodo-cli -ac_name=MUSIG stop\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"./komodo-cli -ac_name=MUSIG stop\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Return to the instructions for compiling Komodo software from source and follow them again until you complete the ./zcutil/build.sh step, and pause.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"./zcutil/build.sh","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Instructions for installing Komodo software from source","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Instructions for installing Komodo software from source","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Now execute the following commands. These add the necessary cclib module for Dilithium.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"cd ~/komodo/src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"cd ~/komodo/src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"stop-the-daemon-and-install-the-appropriate-cclib-module"},{"text":"Begin Walkthrough","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"The Dilithium walkthrough agenda is as follows.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"Manually create a handle (a handle is a Dilithium address that is human readable)","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"Send coins to this handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"Send coins from this handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"Show code examples for implementing Dilithium into a user interface (UI) \n \n A terminal user interface (TUI) with Dilithium functionality can me found here \n \n","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"\n A terminal user interface (TUI) with Dilithium functionality can me found here \n","tagName":"ul","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"A terminal user interface (TUI) with Dilithium functionality can me found here","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"here","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"A terminal user interface (TUI) with Dilithium functionality can me found here","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"here","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"begin-walkthrough"},{"text":"Understand the Comparison Between Q Transactions and Z Transactions","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understand-the-comparison-between-q-transactions-and-z-transactions"},{"text":"The Dilithium Module's API documentation contains an explanation of the nature of Dilithium transactions. These are called \"Q Transactions,\" and can be compared to the \"Z transactions\" that are prominently featured in privacy transactions.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understand-the-comparison-between-q-transactions-and-z-transactions"},{"text":"Q Transactions are referenced frequently throughout the tutorial. If necessary, please read the Dilithium Module's API documentation's introduction before continuing.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understand-the-comparison-between-q-transactions-and-z-transactions"},{"text":"Link to Dilithium Module API Introduction","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understand-the-comparison-between-q-transactions-and-z-transactions"},{"text":"Link to Dilithium Module API Introduction","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understand-the-comparison-between-q-transactions-and-z-transactions"},{"text":"Start the daemon with a pubkey and backup its privkey","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"privkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"Initiate komodod with an active -pubkey launch parameter.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"-pubkey","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"For instructions on launching with a pubkey, follow these linked instructions.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"follow these linked instructions.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 -addnode=195.201.20.230 -addnode=195.201.137.5 -pubkey=0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 -addnode=195.201.20.230 -addnode=195.201.137.5 -pubkey=0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"If you are using a chain other than MUSIG, and if this chain's launch commands include the -ac_pubkey parameter, do not change this ac_pubkey setting.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"-ac_pubkey","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"Simply add the -pubkey setting to the launch commands.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"The -pubkey and -ac_pubkey parameters are entirely separate parameters with different functionality.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"Once your Smart Chain's daemon finishes loading, check that the pubkey is set properly.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"privkey"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=MUSIG setpubkey\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-2"},{"text":"./komodo-cli -ac_name=MUSIG setpubkey\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-2"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response"},{"text":"{\n \"error\": \"Can only set pubkey once, to change it you need to restart your daemon.\",\n \"address\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"pubkey\": \"0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response"},{"text":"{\n \"error\": \"Can only set pubkey once, to change it you need to restart your daemon.\",\n \"address\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"pubkey\": \"0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response"},{"text":"You should see the correct pubkey in the returned json object.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response"},{"text":"Backup the Private Key to Your Pubkey","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"Use the dumpprivkey RPC to export the private key of your pubkey and save this in a safe location.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"dumpprivkey","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"Without this private key, any handles created for Dilithium will not be accessible.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"Link to dumpprivkey RPC","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"Link to dumpprivkey RPC","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"backup-the-private-key-to-your-pubkey"},{"text":"Create a Dilithium Keypair","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-dilithium-keypair"},{"text":"A Dilithium keypair is a matching set of a pubkey and privkey (private key).","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-dilithium-keypair"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-dilithium-keypair"},{"text":"privkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-dilithium-keypair"},{"text":"Use a generated random string to create a keypair.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-dilithium-keypair"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib keypair 19 \"[%22rand%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib keypair 19 \"[%22rand%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"To understand the need for the %22 strings in the command, read this linked CC Lib Formatting documentation.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"%22","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"read this linked CC Lib Formatting documentation.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-3"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-2"},{"text":"{\n \"status\": \"using random high entropy seed\",\n \"seed\": \"e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a\",\n \"pubkey\": \"81ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518\",\n \"privkey\": \"81ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6935a0b972ed823078525bf9ac8a1525f15b446fa627dfbebc9402ac0dc6a9304bf1db44574daaa1fa148e871e6bf3b7ccb7eaf04391382738298a20582144afbef76b861cb183c3ecea0a22cf1ef0c05228458c348d967182c189d3c69d2551a4421555005b055b30465d961e1963f32c16c61c296be54d980d548cd8c4ad8d24ebd0964ea9b8769d88534d845c354726d4a1d008a5254297e1605191b6c85cb199254dd694463575b7c253bdb0f520a1a4548821165b5444d8698dc5226acbc622595d96448db8860c1c561dc7a866d231eb5c0aaaa572ac389665c2098b863696d75011344d1c95613218ca92b8a90a62978959796aac32296d45f40c8c355b0a11a020ac33948893290b358065176eadbc4d18c10ddad4d1159c968b843905081740417945c18c21b041f2b06e09ab02984b44aeada89606c616d74a2657220ebb5a13572b8342aa093908aa2ac375a9702b8589e25a591b912e33a91a28378d2a3783c5d45683069aeb32a7e3dad1de088125ad4d2044501bc3c1c3a4cccc6ac0980254885a219093345387a5466b4c245489091200915023e13807e82c4aca3c90e51038a22dcaac196fcc56a26466395cb00c25ad81d8b82d05378a653355e016b7ad17af68c5a126dbc28b41978b694d0e1d241b525705dacc1d3ca71b83495b5c270b56af66aa05a9143596bc41616d058ba96d90daa5494c380920d5e5e29414897418e7cc16b4709a5d708cb9166638391e85520458b053b99158826a96ac228e508c539d98684b5505b3c6b1e83a00c8ce52052e8d0ad9341172aad1908440cf2826cd23604a72b5389e12259092985442b20a559b22c10d8ae26401498ee6a80a738438a4418b5d844dce20ba09323528d676493ac5668cb8a0eba261d1da1a4bda43ed948d5466b348d951cdd48a1a364aed862365b80e1a34719652e9127963456c22906deae80a9be751194a1264acc96a057934d3b61a44b7e5ca998494b195ad7adbea02313a0f0aab0d66588775d791882d6c31108ee2c60484c4124c082ea3c9998c1a7a5dc5922991ba1082816048909a5b2c0dcab55a444f0a02804eab71ea68234d9cc1b2652e984d21e8160a88608463b3da5b37a22109c0a1a2b9434c0a251d6f76168e300d571e8335569c549562c3694b460b625b9361570acd0c0500c40c26785d104c0c2c579090854b57d14d474e80096331e79455e69242e766198999f0a819c2540d108791cbd8ac5ae3145a20494e19448cba09681573d6d41856074b145b8618621640ad9914c52c9db32adb3c651939c26231d46b083760846d44d7298e4d781b3c67ca682c3006aca562738e87805b092e12d7245453168d408701cd320332152c2576b38964ea56a1d69848348db0069996eb582decd4881b12012d06599c94cc532c7a0aad11999c84abc5768206a94b0c86aca206c49c71a4a0d472a60ce84cd606419bf0b2d484aa54a0cac8705cd628bb68aac770141d571653810ea3c910190d1853a94117776cad5a058c96ee9431f6b8626aed64e2808a1222d9093a011415d39bc0704c6d4910477a096ab6969275b26c0da5246462478c68b97094349976f2149fc4154445f8c9ae9ce52887450833ea4e2b7c02339c1718f96da4d5ffcfd41a89084d5f8ffe6bfbbbeb8429473ce7fbc8cbe7a5bb2a8c8a9f0cfcb9cbd13b5285ed3413f1efe728a07f7f11ab5a9e739d985e3f19ab6344b4e5dd5f017c9252bcbf72e796ed430d521997a28b7051e68256cd438536b2ef747c60b2ee5f63efce8ce273d5d205c0f416b0059a4128d6e8413beef62aca7a21d268902a5238e22a5d15e10bc06f9ba985133ed713c4820d47b63c63e56021f0e0e6962cbc9fef454e3be93eb8646be713ea6447190a9139f9d6063cebfb87b777f01dfa206384c89603a6888c2e0a33de812c8ab6a0dff5647ac01530946497b9fef05dea6ebbae7b63031b88f95d986d709aee6587d0e13ff1678060863f97aae89ecad0f68634e0b65a0189186554a7d1438cb523c38c5af68e3a6531cfcaaca6637ad6e96f4e7c2fadabf057b32ffb9d7f8144facb19804b16b60e09e3bffb418ec2a60bc629f18596f43c6f88fd92777ddf7105be55e58e86e86b07439bce82adba20b6ae0430093793647500428b24828443b9e400c375252734b9518eda23e80bc05df16d905a5c68824b3c5306c3df85ba8906f3c8f789a1ea1f18e7bb8d65c304199399cb98a1664e4a93d788c5f21d301e815328336701beff0f5ad1500406574c7a70cb192e8f220ee2674b142a48213c7a9f72fc9c3419b090f3b256e2879deba5303d2cfa0e64e63a117d70a62eb5d6948bed567eca87a14e44de2c9a911bd19bb2ddff21d4492176c432724e1cb439b26d8877256888c346684f8f871255e61dd74ed3edfce45ec6d7fbb8e005127699e5733d5131f546a176204f980289763c8c527f8f5fd6c4d63eab7e61c84c23d99471bddf6c2cebba5a35c6fe0084a4a562391e5b1c395211b6db700c8da0fba8a61183fdb2f6d535bec64c712b67ce1f8338749a89b44c1bfffe310ecb87af2ca20dee5e0f18e07661b50909bc5ef5bf9d7b3ef0f1173f02fda819fb98993a9ce6a219c772fb1282216f3c81c9cb96f05b770497d6486dcf710b9e40b4b5d84dc2f8490357b3e4fffe80647e0c937c2fb790aa5d4c9bb0d8080c80e24ee384cc5c00954533225eae288369837fa68f3eca289bc51533992f718658c8dbfa48f3bc15f3eb165669fae22c15a3acec1e4ea99aa0a7192dc3697a9f24259351b290c53a32e336e85de760f6793c5c2a6dc2c7944033e9b41b841eb85ae4ae1c76376aa0e901b6cfeb3acaef197f1fb52aa765237acf4b89ff2c09e5e266185427f95a4285c164c3cf20065da2d34d645305565aeabe78502c0812b37b45eb7217ab3fa262f820209d3e1236f7fde74789275d418d90dc011b4a7de983c05822eb43525a38fa36996184027f7121306b381970ea17f72003687353b705f433774b8c1a0a8c5e0526d81a5c3086af3f70060326e0b0627187af84b1f1229c14fd6417e21b2144de6c844359dcaacf6d62dc9e55c423e4147588c347a3cb8a3feabecd39d14011b99fbafdf055014bc264f7483258290370edbd1c2b12577ddbe9486ace97ab93f76a426e7513ce5bb9644a73a95345ac9ccee7fa69d58480f4f636b2d5dabd7acfa2f615b0a9c26a7f4a5020cbd0dad0e4b46561742eba424e687b897104566a3898f6fc2d6d82f0b41feff32ed06847753757a56acdaef5e111b56cee649797e207e02789a2698a4be89567ec9eee54234ab7c8bf9c5da498c00eb91e9f04c5d63dbae096933655c48b74b7111b49f8ddb21860f5addef04657d42748d854801c159c21e4ac177d38e1a9732a1b03863afecb1b01ada6d158b5c01ff01dfb54fcceec9a2fbcc7957f2155a68ff21710f881a38122e1d4c66aa8c9668169efa0b0af314a6fd069a9290cb03a5914226af59e0f8161c762f8ea0adaf7126ba86966f55ad472cb3dbb888f96bf9b4cff9d0b293ff70621e4ae18f94d988c7b49a451541936c7a628968670d032279bb75afd3f26d02c8a7e0a72e220be6ba76685ff5fbc63bc690626bf31d4beb9a17b4c7702c6c2e8e0f4c7ead9dc97fd641a4e7a94a50b4dcf4b0a0a934077d63a43849aba2e66a95d03467f075a40fb9d36aaec2589a25d34e9ea338dfcc2a21d6d69a380638b0a8f302a98b02eec3de9ff4cb0f51b3b3d021f178d6ca3f8d9dbe3669618ad545fd4246c5118ad0264d240615c01b26505d0c67a78cca9f4d34ae57b1b54e581dd97b31bfe2415d466ef1445ac11ca3e94a276b8735cfc5b1a8b806cb157607f0800c258dcfb80d913b86b1ebd18ee72cf687d41a40995b0955e0761cbb5d8ec3192fbf841056e3909152718cace05d8cbc7ae4aebb7f156935b18c86e8b36ff8a60fc75f133bb5166ecf31511c3a3485f15f8cb8484cdf34777e8ffc2b630d9dce678d3818bbf28e77202bddfa3795c01ee27bab59b033e16d9642b2b6bef91de85f3a10ad4a45123f169f636d3cd0063cb3c656d613463a940f6432ef193f465aa01304e9d44ae9ac74b1da50e62a9b04b81539ea1aa24ce9aa371b0f8cfb86ffa53f485a75508f5fa2e6d077f406d9a1772dddbf4fa8bf2049abd6edfbf91ce6b03953480378474b538de11d5fc5d06fb4357d13687dc2290ea5eb84c4c05f556f2b70580e80d01a49a3865673d8c113639870298c8eb4327319d1005311b98e5da34e8fe6724aec3a634889e60fa4588ce03afdbf0a7e3299aee802edfd25f63ec83b21b82e59e4d536e81b25c1365bc8c863cedfc06c36e1200fecb03695c6f9070009edd48f9ebc59cd9ef4ef407ce2223ac7909281b5805e7b09a7ab64b5f6175cc4a221b125c9492ae8e15f8b85de88418c3f865c6af8804ea25b841241e3b4ba4bb2294e98e5a39227d1ea8ad742b9cc02ee9c9f9ffa5686cffa6e23ab22df7b2155ca48254dabaf3e1fca0e5ae9b511cb62fcf0e44d81e4c2ee97f12266e94835ee9da9f29f8d44c39fc4bce820d38b25f8c96478085f8d397566ea6704a51cda1021f1b23a2c7d005180ee7f5cca7b5b283dbf2087bfd30cd114617aacb38dc839306668aad026e50e6a4a73f80975e741be80e22ab8b624e3e77796a6d1b60d9b54ca712bd28bff14540fa73e1c9c0597cc65c35eff3413d917a5058695238dc1d2bcadad850dff0367ebea1525d87c3f7e5afce83b1852d048dd6a07876d472666f750e4d465fcc3eb700e293c50a1ccaf6536ed6fd617e997ab189da03ebb41f890a2ee26dd705b6108272499c6d48285522ab91b3e96fb4abb0e58f734a0f252af8484ab1a40e0523cb44d883e1fd9bd5d2af4e97c53a461682178b40238290b5a6737a228829a1308c3e5a0c311bf2e086e94ce6bbbd6c34b70ec96e4597f208956fd32e2e1fa70aa6d31139f9e4b830d7fe9d08707593bcf356ef036446483957c29349ffd382e290255a3318ccd94e6359087637abf0b8fd070fdbcf6baf151966a7d1dc9bb5e19623fd30e6ff5a8bfb48ebe5d53c2521bae51c15a408be0fd1e617ceebfb01fc0c74647d0f025fd4171abb5e8bfbc9307d39bc8123b8a9c42d4375b65cd4de271bd2cfa67a9bee370c2d8e985adf35e45fa729828747d7714044edca47326d762aef6d36b61f4412e1b12b3fbe5b10c781d8f3d794f9d711ec2da4efa5032d8fd9900753ab15dd8b9864b0f2e099b0eff791149ea86794eafa87b91c5411faa2f195bdd7dcc59dcbae26815962ad3093e16d185ad0e51585f369d084c0d88d50741d2f6059bd55e3f61df367f38805fd2f4cc136946c6203cc7cb7f8fd7fedca7cc6\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"skaddr\": \"ScrFviWo9jaJdi7EHz3w2tX1xhvHR8e9Kb\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-2"},{"text":"{\n \"status\": \"using random high entropy seed\",\n \"seed\": \"e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a\",\n \"pubkey\": \"81ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518\",\n \"privkey\": \"81ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6935a0b972ed823078525bf9ac8a1525f15b446fa627dfbebc9402ac0dc6a9304bf1db44574daaa1fa148e871e6bf3b7ccb7eaf04391382738298a20582144afbef76b861cb183c3ecea0a22cf1ef0c05228458c348d967182c189d3c69d2551a4421555005b055b30465d961e1963f32c16c61c296be54d980d548cd8c4ad8d24ebd0964ea9b8769d88534d845c354726d4a1d008a5254297e1605191b6c85cb199254dd694463575b7c253bdb0f520a1a4548821165b5444d8698dc5226acbc622595d96448db8860c1c561dc7a866d231eb5c0aaaa572ac389665c2098b863696d75011344d1c95613218ca92b8a90a62978959796aac32296d45f40c8c355b0a11a020ac33948893290b358065176eadbc4d18c10ddad4d1159c968b843905081740417945c18c21b041f2b06e09ab02984b44aeada89606c616d74a2657220ebb5a13572b8342aa093908aa2ac375a9702b8589e25a591b912e33a91a28378d2a3783c5d45683069aeb32a7e3dad1de088125ad4d2044501bc3c1c3a4cccc6ac0980254885a219093345387a5466b4c245489091200915023e13807e82c4aca3c90e51038a22dcaac196fcc56a26466395cb00c25ad81d8b82d05378a653355e016b7ad17af68c5a126dbc28b41978b694d0e1d241b525705dacc1d3ca71b83495b5c270b56af66aa05a9143596bc41616d058ba96d90daa5494c380920d5e5e29414897418e7cc16b4709a5d708cb9166638391e85520458b053b99158826a96ac228e508c539d98684b5505b3c6b1e83a00c8ce52052e8d0ad9341172aad1908440cf2826cd23604a72b5389e12259092985442b20a559b22c10d8ae26401498ee6a80a738438a4418b5d844dce20ba09323528d676493ac5668cb8a0eba261d1da1a4bda43ed948d5466b348d951cdd48a1a364aed862365b80e1a34719652e9127963456c22906deae80a9be751194a1264acc96a057934d3b61a44b7e5ca998494b195ad7adbea02313a0f0aab0d66588775d791882d6c31108ee2c60484c4124c082ea3c9998c1a7a5dc5922991ba1082816048909a5b2c0dcab55a444f0a02804eab71ea68234d9cc1b2652e984d21e8160a88608463b3da5b37a22109c0a1a2b9434c0a251d6f76168e300d571e8335569c549562c3694b460b625b9361570acd0c0500c40c26785d104c0c2c579090854b57d14d474e80096331e79455e69242e766198999f0a819c2540d108791cbd8ac5ae3145a20494e19448cba09681573d6d41856074b145b8618621640ad9914c52c9db32adb3c651939c26231d46b083760846d44d7298e4d781b3c67ca682c3006aca562738e87805b092e12d7245453168d408701cd320332152c2576b38964ea56a1d69848348db0069996eb582decd4881b12012d06599c94cc532c7a0aad11999c84abc5768206a94b0c86aca206c49c71a4a0d472a60ce84cd606419bf0b2d484aa54a0cac8705cd628bb68aac770141d571653810ea3c910190d1853a94117776cad5a058c96ee9431f6b8626aed64e2808a1222d9093a011415d39bc0704c6d4910477a096ab6969275b26c0da5246462478c68b97094349976f2149fc4154445f8c9ae9ce52887450833ea4e2b7c02339c1718f96da4d5ffcfd41a89084d5f8ffe6bfbbbeb8429473ce7fbc8cbe7a5bb2a8c8a9f0cfcb9cbd13b5285ed3413f1efe728a07f7f11ab5a9e739d985e3f19ab6344b4e5dd5f017c9252bcbf72e796ed430d521997a28b7051e68256cd438536b2ef747c60b2ee5f63efce8ce273d5d205c0f416b0059a4128d6e8413beef62aca7a21d268902a5238e22a5d15e10bc06f9ba985133ed713c4820d47b63c63e56021f0e0e6962cbc9fef454e3be93eb8646be713ea6447190a9139f9d6063cebfb87b777f01dfa206384c89603a6888c2e0a33de812c8ab6a0dff5647ac01530946497b9fef05dea6ebbae7b63031b88f95d986d709aee6587d0e13ff1678060863f97aae89ecad0f68634e0b65a0189186554a7d1438cb523c38c5af68e3a6531cfcaaca6637ad6e96f4e7c2fadabf057b32ffb9d7f8144facb19804b16b60e09e3bffb418ec2a60bc629f18596f43c6f88fd92777ddf7105be55e58e86e86b07439bce82adba20b6ae0430093793647500428b24828443b9e400c375252734b9518eda23e80bc05df16d905a5c68824b3c5306c3df85ba8906f3c8f789a1ea1f18e7bb8d65c304199399cb98a1664e4a93d788c5f21d301e815328336701beff0f5ad1500406574c7a70cb192e8f220ee2674b142a48213c7a9f72fc9c3419b090f3b256e2879deba5303d2cfa0e64e63a117d70a62eb5d6948bed567eca87a14e44de2c9a911bd19bb2ddff21d4492176c432724e1cb439b26d8877256888c346684f8f871255e61dd74ed3edfce45ec6d7fbb8e005127699e5733d5131f546a176204f980289763c8c527f8f5fd6c4d63eab7e61c84c23d99471bddf6c2cebba5a35c6fe0084a4a562391e5b1c395211b6db700c8da0fba8a61183fdb2f6d535bec64c712b67ce1f8338749a89b44c1bfffe310ecb87af2ca20dee5e0f18e07661b50909bc5ef5bf9d7b3ef0f1173f02fda819fb98993a9ce6a219c772fb1282216f3c81c9cb96f05b770497d6486dcf710b9e40b4b5d84dc2f8490357b3e4fffe80647e0c937c2fb790aa5d4c9bb0d8080c80e24ee384cc5c00954533225eae288369837fa68f3eca289bc51533992f718658c8dbfa48f3bc15f3eb165669fae22c15a3acec1e4ea99aa0a7192dc3697a9f24259351b290c53a32e336e85de760f6793c5c2a6dc2c7944033e9b41b841eb85ae4ae1c76376aa0e901b6cfeb3acaef197f1fb52aa765237acf4b89ff2c09e5e266185427f95a4285c164c3cf20065da2d34d645305565aeabe78502c0812b37b45eb7217ab3fa262f820209d3e1236f7fde74789275d418d90dc011b4a7de983c05822eb43525a38fa36996184027f7121306b381970ea17f72003687353b705f433774b8c1a0a8c5e0526d81a5c3086af3f70060326e0b0627187af84b1f1229c14fd6417e21b2144de6c844359dcaacf6d62dc9e55c423e4147588c347a3cb8a3feabecd39d14011b99fbafdf055014bc264f7483258290370edbd1c2b12577ddbe9486ace97ab93f76a426e7513ce5bb9644a73a95345ac9ccee7fa69d58480f4f636b2d5dabd7acfa2f615b0a9c26a7f4a5020cbd0dad0e4b46561742eba424e687b897104566a3898f6fc2d6d82f0b41feff32ed06847753757a56acdaef5e111b56cee649797e207e02789a2698a4be89567ec9eee54234ab7c8bf9c5da498c00eb91e9f04c5d63dbae096933655c48b74b7111b49f8ddb21860f5addef04657d42748d854801c159c21e4ac177d38e1a9732a1b03863afecb1b01ada6d158b5c01ff01dfb54fcceec9a2fbcc7957f2155a68ff21710f881a38122e1d4c66aa8c9668169efa0b0af314a6fd069a9290cb03a5914226af59e0f8161c762f8ea0adaf7126ba86966f55ad472cb3dbb888f96bf9b4cff9d0b293ff70621e4ae18f94d988c7b49a451541936c7a628968670d032279bb75afd3f26d02c8a7e0a72e220be6ba76685ff5fbc63bc690626bf31d4beb9a17b4c7702c6c2e8e0f4c7ead9dc97fd641a4e7a94a50b4dcf4b0a0a934077d63a43849aba2e66a95d03467f075a40fb9d36aaec2589a25d34e9ea338dfcc2a21d6d69a380638b0a8f302a98b02eec3de9ff4cb0f51b3b3d021f178d6ca3f8d9dbe3669618ad545fd4246c5118ad0264d240615c01b26505d0c67a78cca9f4d34ae57b1b54e581dd97b31bfe2415d466ef1445ac11ca3e94a276b8735cfc5b1a8b806cb157607f0800c258dcfb80d913b86b1ebd18ee72cf687d41a40995b0955e0761cbb5d8ec3192fbf841056e3909152718cace05d8cbc7ae4aebb7f156935b18c86e8b36ff8a60fc75f133bb5166ecf31511c3a3485f15f8cb8484cdf34777e8ffc2b630d9dce678d3818bbf28e77202bddfa3795c01ee27bab59b033e16d9642b2b6bef91de85f3a10ad4a45123f169f636d3cd0063cb3c656d613463a940f6432ef193f465aa01304e9d44ae9ac74b1da50e62a9b04b81539ea1aa24ce9aa371b0f8cfb86ffa53f485a75508f5fa2e6d077f406d9a1772dddbf4fa8bf2049abd6edfbf91ce6b03953480378474b538de11d5fc5d06fb4357d13687dc2290ea5eb84c4c05f556f2b70580e80d01a49a3865673d8c113639870298c8eb4327319d1005311b98e5da34e8fe6724aec3a634889e60fa4588ce03afdbf0a7e3299aee802edfd25f63ec83b21b82e59e4d536e81b25c1365bc8c863cedfc06c36e1200fecb03695c6f9070009edd48f9ebc59cd9ef4ef407ce2223ac7909281b5805e7b09a7ab64b5f6175cc4a221b125c9492ae8e15f8b85de88418c3f865c6af8804ea25b841241e3b4ba4bb2294e98e5a39227d1ea8ad742b9cc02ee9c9f9ffa5686cffa6e23ab22df7b2155ca48254dabaf3e1fca0e5ae9b511cb62fcf0e44d81e4c2ee97f12266e94835ee9da9f29f8d44c39fc4bce820d38b25f8c96478085f8d397566ea6704a51cda1021f1b23a2c7d005180ee7f5cca7b5b283dbf2087bfd30cd114617aacb38dc839306668aad026e50e6a4a73f80975e741be80e22ab8b624e3e77796a6d1b60d9b54ca712bd28bff14540fa73e1c9c0597cc65c35eff3413d917a5058695238dc1d2bcadad850dff0367ebea1525d87c3f7e5afce83b1852d048dd6a07876d472666f750e4d465fcc3eb700e293c50a1ccaf6536ed6fd617e997ab189da03ebb41f890a2ee26dd705b6108272499c6d48285522ab91b3e96fb4abb0e58f734a0f252af8484ab1a40e0523cb44d883e1fd9bd5d2af4e97c53a461682178b40238290b5a6737a228829a1308c3e5a0c311bf2e086e94ce6bbbd6c34b70ec96e4597f208956fd32e2e1fa70aa6d31139f9e4b830d7fe9d08707593bcf356ef036446483957c29349ffd382e290255a3318ccd94e6359087637abf0b8fd070fdbcf6baf151966a7d1dc9bb5e19623fd30e6ff5a8bfb48ebe5d53c2521bae51c15a408be0fd1e617ceebfb01fc0c74647d0f025fd4171abb5e8bfbc9307d39bc8123b8a9c42d4375b65cd4de271bd2cfa67a9bee370c2d8e985adf35e45fa729828747d7714044edca47326d762aef6d36b61f4412e1b12b3fbe5b10c781d8f3d794f9d711ec2da4efa5032d8fd9900753ab15dd8b9864b0f2e099b0eff791149ea86794eafa87b91c5411faa2f195bdd7dcc59dcbae26815962ad3093e16d185ad0e51585f369d084c0d88d50741d2f6059bd55e3f61df367f38805fd2f4cc136946c6203cc7cb7f8fd7fedca7cc6\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"skaddr\": \"ScrFviWo9jaJdi7EHz3w2tX1xhvHR8e9Kb\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-2"},{"text":"Save the seed value in a safe and secret location. Optimally, you may save the response as well.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-2"},{"text":"seed","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-2"},{"text":"Check For Handle Availability","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"check-for-handle-availability"},{"text":"Use the handleinfo RPC to check for handle availability.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"check-for-handle-availability"},{"text":"handleinfo","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"check-for-handle-availability"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoHaxor%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoHaxor%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-4"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-3"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"status\": \"available\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-3"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"status\": \"available\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-3"},{"text":"Register an Available Handle","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"register-an-available-handle"},{"text":"Use the seed to register the handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"register-an-available-handle"},{"text":"seed","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"register-an-available-handle"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib register 19 \"[%22KomodoHaxor%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib register 19 \"[%22KomodoHaxor%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-5"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"{\n \"handle\": \"KomodoHaxor\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"skaddr\": \"ScrFviWo9jaJdi7EHz3w2tX1xhvHR8e9Kb\",\n \"hex\": \"0400008085202f890273ccc419787826042c7c7d667325c5222d2d9d4fab1c142264aed0299063ad0a000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a01965268140ea59eb26a237141c38dfdafc61d50acdbdd3a8d33aaae303908aa613422cf7712de50ba7e4070334044789081a71604e671900cc7f0260be3e9a2a09d1f4842aa100af03800113a10001ffffffff0442dedd2673eb3f4cc151b1d9945f3ccc0023ba7422e9f4b6eff1ecca2cf39b010000006a47304402206d9eb56d476364409e2c3a12dcaadcaab0f9b3080cdb5bdcc09601b8b7683019022025bc2db845cdc716f9459d0f32d60e5103c3bb78267ed763733adffaa4d3c46401210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401ccd08d154e0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000fd17076a4d130713520b4b6f6d6f646f4861786f72210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bfde00681ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518000000008d6c00000000000000000000000000\",\n \"txid\": \"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"{\n \"handle\": \"KomodoHaxor\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"skaddr\": \"ScrFviWo9jaJdi7EHz3w2tX1xhvHR8e9Kb\",\n \"hex\": \"0400008085202f890273ccc419787826042c7c7d667325c5222d2d9d4fab1c142264aed0299063ad0a000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a01965268140ea59eb26a237141c38dfdafc61d50acdbdd3a8d33aaae303908aa613422cf7712de50ba7e4070334044789081a71604e671900cc7f0260be3e9a2a09d1f4842aa100af03800113a10001ffffffff0442dedd2673eb3f4cc151b1d9945f3ccc0023ba7422e9f4b6eff1ecca2cf39b010000006a47304402206d9eb56d476364409e2c3a12dcaadcaab0f9b3080cdb5bdcc09601b8b7683019022025bc2db845cdc716f9459d0f32d60e5103c3bb78267ed763733adffaa4d3c46401210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401ccd08d154e0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000fd17076a4d130713520b4b6f6d6f646f4861786f72210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bfde00681ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518000000008d6c00000000000000000000000000\",\n \"txid\": \"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"The returned hex value is a signed raw transaction and must be broadcast using sendrawtransaction .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-4"},{"text":"Broadcast the Raw Transaction","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-raw-transaction"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890273ccc419787826042c7c7d667325c5222d2d9d4fab1c142264aed0299063ad0a000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a01965268140ea59eb26a237141c38dfdafc61d50acdbdd3a8d33aaae303908aa613422cf7712de50ba7e4070334044789081a71604e671900cc7f0260be3e9a2a09d1f4842aa100af03800113a10001ffffffff0442dedd2673eb3f4cc151b1d9945f3ccc0023ba7422e9f4b6eff1ecca2cf39b010000006a47304402206d9eb56d476364409e2c3a12dcaadcaab0f9b3080cdb5bdcc09601b8b7683019022025bc2db845cdc716f9459d0f32d60e5103c3bb78267ed763733adffaa4d3c46401210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401ccd08d154e0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000fd17076a4d130713520b4b6f6d6f646f4861786f72210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bfde00681ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518000000008d6c00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-raw-transaction"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890273ccc419787826042c7c7d667325c5222d2d9d4fab1c142264aed0299063ad0a000000007b4c79a276a072a26ba067a565802102f1c7993a9bf3863c77853315af7e37c12008ea1c5c3d8722c91bc3b5a01965268140ea59eb26a237141c38dfdafc61d50acdbdd3a8d33aaae303908aa613422cf7712de50ba7e4070334044789081a71604e671900cc7f0260be3e9a2a09d1f4842aa100af03800113a10001ffffffff0442dedd2673eb3f4cc151b1d9945f3ccc0023ba7422e9f4b6eff1ecca2cf39b010000006a47304402206d9eb56d476364409e2c3a12dcaadcaab0f9b3080cdb5bdcc09601b8b7683019022025bc2db845cdc716f9459d0f32d60e5103c3bb78267ed763733adffaa4d3c46401210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bffffffff06204e000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401cc1027000000000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc00e1f50500000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401cc1027000000000000302ea22c8020979f9b424db4e028cdba433622c6cd17b9193763e68b4572cd7f3727dcd335978103120c008203000401ccd08d154e0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000fd17076a4d130713520b4b6f6d6f646f4861786f72210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bfde00681ac54913ffbe1ce5f7ed5ff3bde2284ea5d4813f422a93e7f9a9e812e19dd6916cb7c2d5446c4635ed6b21d41cfb637534226b51d1298b5880bf7cacce0cea8f7c8d2dc8204bffb7eb163540a231fc2b6db321bf93395e0911f02b30c61e1080c67d555902430166f4eaac0b0eaae63497e976fc86875f1df192a17a180c5ba778ea864a37fc549ef06182bc9d9de06b67428f055df76a9d334f71d3e20352642404aee262c66c1f50aa7e0e4436e8ba2aa2933258e7da6bc28dde2a1ca953c96b9c0dd691665e290abdaabc0b992004a3e6832d89a80523163d48aa020e163d59b5d2be24abe67dca16195b33fe85d3b965db88bc823e96590ab92aa4b320136de92aaa78329da87ec43677abde3c05693985049a22419a719de9c70684d8ed2b5f74719fbfb741c574a12bd983e2d036c26b9d0ad132ca81fa265cea9919fded009ab2447e1f10384998dd199a0803ed2953ca489477a7c96ab4b78aec1ae75aa009f77dd904e440c9696073fb15dbd7d0ae65f53c28c7e1a01e87013e66b53736988be42b07b44082af19d8e9954b24ea8c0e88f33ba5dfe991d1acc4d2ee9b018ef8adf966e351b5c59b7501f7847c61c819efd8fe77cde980a3c2d316476e117eafe93310459325eb3ae80b1044aa9a7b1f29b934159779900d723abd675950bdf8fc8d803aae01e49dc7f716d120911dee86e832b7391db82a5dc4e35d232d918b3cb8a43d8da2f6c6caea42c85e48f2cda5d590f272c1e9f654c6e37403b03095ffefa318a78d3b2094fccf200c3e1b8dc29b58705e0d5608c61c6fa244129287cb00f9da73b9c5a3079b3a06d403eda3b6a162e3040294f06b7ed31ce1365c247cf497a560bfe3aa7d1b7589f9778ec4e321ee445423b2654721d61e36ef89152b6c3a32423f2c755e571a2fe6af296a7567a9823f407f2adb2503a6b7be0d13357e285f675307db6e06eb76e5914e8844a85fae9a845c1a2b5b73a1ccde847780acac512a247e505714b1a2065d96557d444bac6c79ded6ea987123b0209a22186511b8303d1e8a70facacd4fec90b38ff4ef8ab768017914d7f1105a2957ff55bb84593ddf5fdc331f6ecd543b3acbb5a4db355103ed705710bd63646c3913f5d34b23ce29541c10c17d9c2af70d17906a4abd477261e0112503f8bf012efea33d57beec0239a4ec79f9e1ade9fcd5fe0a38ae5fa58de46b298af7260964989a45aa626313d416be8795e2eff1a04e8da09f44986faf31c556d0b116475678cd1da9cd1c8a0f767305db1d4e4ca1637487cf62276ca909c6d7d84fb393c64e3b6681f85e190dca4fc27fa94a4a1248bdb5544dde5ac34546dcd5e47c370ce2f46f32bc5c7b9a82a306f42e6dcc242dfb129ec17723fa6127527fc80ba052cc90fbf21e5028f3d580882ba62445ffc6f505d2e424920ed5afd17170681623660dd180c9a2d99366decc8a92116d45ad9a88442d370b4cd94a9eb4e3db7b6cfdd1cd3b52dce66d1d8f52c167ef10f6cf104ee2fdab965e5776eed2b9e1ef886b0a0fbb6bd6429c910b49672976dc1eea0d48c10de0ae5e3dab6ec51311f0a25428354135ae6accaa31a002746458b3975416abd87ae46ff131abdf3393134ba7c046a05c59fcf246af8919d7608092a5fc6c11e0a30da90786cacef4fe1f156df506b35916bb723c991e4f4feaef0ba8856a99a7c158731f9e09a0714797fbaee34b65ed970692821a1823321162e2cd933d2d00dd75851daa4c4f3efca43f1dcb03350b6ed319273e88a0e16bee534e1b7ed5f2b2a4ea9369312f9d72a15f91e4050c0e36c3022d7065e7078d1fe4699281465abcd9a95a7ebd046c1f8906f26796939335077ae8dcfa6ef38414da9eb00e6a06f2a87f582f530e459737dd2cc17fda6a4081255e7bbff6888c1ac606e2dc28b9865e98d55e2b2be620b24579dd18568b751f9d4eed16a69aac8b0a471ed0f029ab22c2d5e723cb0a916008de0e9854e3bab83fa63cd15df65e093e933a2e0646d42bb1b7d69377e5b9f7e9220d6f041bece11690cbb6b63499e84e3dee3858181e2ee1fd4b36f31d16a0f1f36053d6310ce86570cfc7b7585a0498445fa3688ecee962e8abd608f4b03555700576cdff0c1adba3a8b0019ee478c00f90c828033a046fbd3a73dd84b71c054e8d520bf8796f7e1848bbe6315b37975f804c6a81dcb864654c816be0a6138254408ad670ec52faae1a4d21d8714aa1a5c384b41ae85d24637f9ab5dd97526dccda66a78bba77ce0dde94bf26ebb451689715f852ebb4237c94e361a0e538fbf3a13178adfa26485e0b96e415c2436d20fe8ca9fa4469de427ecb6f8d9e97951a5bcdf89a91d61daee70b1d1e3059c42b64ed2a099af59124ad8c8dfc6f24b9470c2186a03bcbeb8c0416418f68396b25b4b481576f2ec3bfe695ba7d9c77825f8b7e81261730e5f2f5878dc20f2ff265a95f0d0090dd1e9e19c0518000000008d6c00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-raw-transaction"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-5"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-5"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-5"},{"text":"Execute the handleinfo RPC again to check that we have successfully registered the handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-5"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoHaxor%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoHaxor%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-6"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"destpubtxid\": \"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"pubkey\": \"0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoHaxor\",\n \"destpubtxid\": \"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940\",\n \"pkaddr\": \"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R\",\n \"pubkey\": \"0377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"The destpubtxid value above can be thought of as the Dilithium address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"The handle and pubkey used to create the destpubtxid are now tied to the Dilithium pkaddr public key, PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"PMrTr4qgErBbDkwxuSdfRNXkrSMoxbhb2R","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"This pkaddr keypair can be changed later.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"However, the pubkey associated with the handle cannot be changed.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-6"},{"text":"Send Coins to the Handle","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"Use the Dilithium send RPC to send coins from a t address to our new q address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"send","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"t","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"The paramters for this RPC are handle , destpubtxid , and amount .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"handle","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"amount","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-to-the-handle"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 19 \"[%22KomodoHaxor%22,%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,7.77]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 19 \"[%22KomodoHaxor%22,%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,7.77]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-7"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-8"},{"text":"{\n \"handle\": \"KomodoHaxor\",\n \"hex\": \"0400008085202f89014009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd604000000494830450221008e7c4905498d2cf1597e044dbc79a489ce48c81c5ca421b98e84f4158d876b1c022024901a2862245685fe16ab865a49c9ea939bfed7ea5a9a71d7ac12f84d42be9501ffffffff034014502e00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc8052c51f0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000246a2213784009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000936c00000000000000000000000000\",\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-8"},{"text":"{\n \"handle\": \"KomodoHaxor\",\n \"hex\": \"0400008085202f89014009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd604000000494830450221008e7c4905498d2cf1597e044dbc79a489ce48c81c5ca421b98e84f4158d876b1c022024901a2862245685fe16ab865a49c9ea939bfed7ea5a9a71d7ac12f84d42be9501ffffffff034014502e00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc8052c51f0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000246a2213784009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000936c00000000000000000000000000\",\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-8"},{"text":"Broadcast the Returned Hex Value","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-returned-hex-value"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89014009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd604000000494830450221008e7c4905498d2cf1597e044dbc79a489ce48c81c5ca421b98e84f4158d876b1c022024901a2862245685fe16ab865a49c9ea939bfed7ea5a9a71d7ac12f84d42be9501ffffffff034014502e00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc8052c51f0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000246a2213784009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000936c00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-returned-hex-value"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89014009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd604000000494830450221008e7c4905498d2cf1597e044dbc79a489ce48c81c5ca421b98e84f4158d876b1c022024901a2862245685fe16ab865a49c9ea939bfed7ea5a9a71d7ac12f84d42be9501ffffffff034014502e00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc8052c51f0200000023210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3bac0000000000000000246a2213784009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000936c00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-returned-hex-value"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-9"},{"text":"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-9"},{"text":"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-9"},{"text":"Our handle, KomodoHaxor , has 7.77 coins.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-9"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-9"},{"text":"Send Coins From One Handle to Another","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"You can specify outputs of a Qsend transaction in two ways.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"the ScriptPubKey for a given normal address \n \n this can also be called an \"R address\", as all Komodo base58 encoded addresses begin with R \n \n","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"ScriptPubKey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"\n this can also be called an \"R address\", as all Komodo base58 encoded addresses begin with R \n","tagName":"ul","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"this can also be called an \"R address\", as all Komodo base58 encoded addresses begin with R","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"this can also be called an \"R address\", as all Komodo base58 encoded addresses begin with R","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"the destpubtxid for a given Dilithium handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"In this tutorial we send 0.1 coins to the handle KomodoFan .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"0.1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"Assume this handle already exists.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"Because we are sending coins from one Q handle to another, this is a q -> q transaction, and therefore we use the Qsend RPC","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-coins-from-one-handle-to-another"},{"text":"Obtain the destpubtxid From the KomodoFan Handle","tagName":"h5","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxid-from-the-komodo-fan-handle"},{"text":"To send funds to the KomodoFan handle, we first need the destpubtxid associated with this handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxid-from-the-komodo-fan-handle"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxid-from-the-komodo-fan-handle"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxid-from-the-komodo-fan-handle"},{"text":"Use the handleinfo RPC to this effect.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxid-from-the-komodo-fan-handle"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoFan%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-7"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22KomodoFan%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-7"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-10"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoFan\",\n \"destpubtxid\": \"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6\",\n \"pkaddr\": \"PRZniLRiLY5Laoqbg7CjQSktX34x99jdCp\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-10"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"KomodoFan\",\n \"destpubtxid\": \"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6\",\n \"pkaddr\": \"PRZniLRiLY5Laoqbg7CjQSktX34x99jdCp\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-10"},{"text":"The Meaning of qUTXO","tagName":"h5","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-meaning-of-q-utxo"},{"text":"In the next step, we encounter the term \"qUTXO\" or \"qutxo\" for simplicity.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-meaning-of-q-utxo"},{"text":"A \"qutxo\" is a utxo that is related to the Dilithium Module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-meaning-of-q-utxo"},{"text":"For more general information about utxos, please read the Core Technology Disucssion section here.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-meaning-of-q-utxo"},{"text":"read the Core Technology Disucssion section here.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-meaning-of-q-utxo"},{"text":"Send Funds Using Qsend","tagName":"h5","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"The first two arguments for the Qsend RPC are the destpubtxid and seed values of the handle that is sending coins. We refer to this destpubtxid value as mypubtxid in the following examples, for simplicity's sake.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"seed","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"handle","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"mypubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"The remaining arguments in the Qsend RPC specify each output of the transaction. The inputs are chosen automatically.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"The module also automatically creates a Dilithium \"change\" output from a qutxo. (Recall that \"change\" is the amount leftover from a utxo that must be returned to the sender.) In the Dilithium module, change is sent to the \"mypubtxid\" address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"\"mypubtxid\"","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,0.1]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,0.1]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"{\n \"hex\": \"0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\",\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"{\n \"hex\": \"0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\",\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"Broadcast this transaction.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-funds-using-qsend"},{"text":"Understanding the Inputs and Outputs of a Q -> Q Transaction","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-a-q-q-transaction"},{"text":"Use the getrawtransaction RPC to observe the vins and vouts of our qutxos.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-a-q-q-transaction"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c 2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-a-q-q-transaction"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c 2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-a-q-q-transaction"},{"text":"Click Button Below to View Full Response","tagName":"h5","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"click-button-below-to-view-full-response"},{"text":"{\n \"hex\": \"0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\",\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 27809,\n \"vin\": [\n {\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"vout\": 0,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\"\n },\n \"value\": 7.77,\n \"valueSat\": 777000000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n },\n \"spentTxId\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"spentIndex\": 0,\n \"spentHeight\": 27853\n },\n {\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n },\n \"spentTxId\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"spentIndex\": 0,\n \"spentHeight\": 27878\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"008f460bf2f4895a83f7b1b7a862b3533d23d4b47b6c941e82bf6a8e84942a51\",\n \"height\": 27789,\n \"confirmations\": 92,\n \"rawconfirmations\": 92,\n \"time\": 1552871050,\n \"blocktime\": 1552871050\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"click-button-below-to-view-full-response"},{"text":"{\n \"hex\": \"0400008085202f89014885ef394eb877678ee673f904a624c4a8b276f6ddae3d59cdd6deec4c3014c3000000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001ffffffff038096980000000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401ccb056b72d00000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fdb00d6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000a16c00000000000000000000000000\",\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 27809,\n \"vin\": [\n {\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"vout\": 0,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\"\n },\n \"value\": 7.77,\n \"valueSat\": 777000000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n },\n \"spentTxId\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"spentIndex\": 0,\n \"spentHeight\": 27853\n },\n {\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n },\n \"spentTxId\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"spentIndex\": 0,\n \"spentHeight\": 27878\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"008f460bf2f4895a83f7b1b7a862b3533d23d4b47b6c941e82bf6a8e84942a51\",\n \"height\": 27789,\n \"confirmations\": 92,\n \"rawconfirmations\": 92,\n \"time\": 1552871050,\n \"blocktime\": 1552871050\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"click-button-below-to-view-full-response"},{"text":"Breaking Down the Response","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"breaking-down-the-response"},{"text":"Let's pull this apart piece by piece. We begin with the input.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"breaking-down-the-response"},{"text":"Transaction Vins (Inputs)","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"{\n \"vin\": [\n {\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"vout\": 0,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\"\n },\n \"value\": 7.77,\n \"valueSat\": 777000000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"{\n \"vin\": [\n {\n \"txid\": \"c314304cecded6cd593daeddf676b2a8c424a604f973e68e6777b84e39ef8548\",\n \"vout\": 0,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b814057c2e1283008cc9a3b140705c1550be6f691d79cadcb422714b62038ebd1b9682a124ac45c939653c66f83f0ac919deadb390b07964dade6d3b904bcbe27d339a100af03800113a10001\"\n },\n \"value\": 7.77,\n \"valueSat\": 777000000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"We see that this input comes from our transaction created in a previous step. The address RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74 is associated with our handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"An important rule to point out here is that there can be any number of inputs (technically called \"vins\"), but they all must come from the same handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"transaction-vins-inputs"},{"text":"Observe the Vouts (Outputs)","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"observe-the-vouts-outputs"},{"text":"{\n \"vout\": [\n {\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n },\n \"spentTxId\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"spentIndex\": 0,\n \"spentHeight\": 27853\n },\n {\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n },\n \"spentTxId\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"spentIndex\": 0,\n \"spentHeight\": 27878\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"observe-the-vouts-outputs"},{"text":"{\n \"vout\": [\n {\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n },\n \"spentTxId\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"spentIndex\": 0,\n \"spentHeight\": 27853\n },\n {\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n },\n \"spentTxId\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"spentIndex\": 0,\n \"spentHeight\": 27878\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"observe-the-vouts-outputs"},{"text":"The First Output (vout0)","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"In the first output (technically called a \"vout\") we see the address associated with the KomodoFan handle: RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"0.1 coins are sent to this address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"0.1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"The type key shows a value of cryptoconditions , indicating that this transaction is now associated with the Dilithium Antara Module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"type","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"cryptoconditions","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-first-output-vout0"},{"text":"(Optional) Check the Address Belongs to the Handle","tagName":"h5","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"Recall that in the Antara Framework every pubkey address has a unique Antara Address for each module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"All handles created under the same pubkey will store their Qutxos in an Antara Address that is unique both to the pubkey and to the Dilithium Module.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"Therefore, the Dilithium handle is tied to the associated Dilithium Antara Address and pubkey as well.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"Use the cclibaddress RPC to verify that we have KomodoFan's Antara Address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"cclibaddress","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"To achieve this, we use the pubkey returned from the cclib handleinfo 19 \"[%22KomodoFan%22]\" command we executed previously.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"cclib handleinfo 19 \"[%22KomodoFan%22]\"","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"optional-check-the-address-belongs-to-the-handle"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19 03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19 03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.0098,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"PubkeyCCaddress(CClib)\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"PubkeyCCbalance(CClib)\": 5.3996,\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 7.67,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.2296\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.0098,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"PubkeyCCaddress(CClib)\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"PubkeyCCbalance(CClib)\": 5.3996,\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 7.67,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.2296\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"As shown above, the \"PubkeyCCaddress(CClib)\" provides a matching address for KomodoFan .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"\"PubkeyCCaddress(CClib)\"","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-8"},{"text":"The Second Output (vout1)","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-second-output-vout1"},{"text":"The second output (also called vout1 ) is the change qutxo that sends our leftover funds back to our KomodoHaxor Antara Address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-second-output-vout1"},{"text":"vout1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-second-output-vout1"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-second-output-vout1"},{"text":"To verify that this is the correct Antara address, we can again utlize the cclibaddress RPC.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-second-output-vout1"},{"text":"Command","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-9"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"command-9"},{"text":"Response","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-11"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.0098,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 7.67,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.2296\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-11"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.0098,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 7.67,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.2296\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-11"},{"text":"The value of \"myCCAddress(CClib)\" matches the output.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-11"},{"text":"\"myCCAddress(CClib)\"","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"response-11"},{"text":"The Final Output (opreturn vout)","tagName":"h6","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"The final output (which we can also call vout2 or opreturn vout ) contains our OP_RETURN data.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"vout2","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"opreturn vout","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"This hex value of this output contains needed information about the destpubtxid of the inputs and the destpubtxids of the outputs.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxids","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"{\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"{\n \"value\": 0.0,\n \"valueZat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4dac0d13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460d27a46ee2b83f54a05dede8982e0b65247365b108e42493ddc6cedb0ad0b73c109451aecdbb5adbfbf887f078bc6f66ef9a323abf440535248e2851ccdcdb732678a10e34a5c01127696d220057227b8b078a99c31b8c51c3695c62ca82630aaba41653d4a3743044056365797ad6fed6ef1aee88e0f7e3a56b6aba07cea2e9f7890808b27f4bb825b3050f2ca526002edac45d5c7b0db51e01d203b25578d311a268766f51f3c9dcf93818f5f7c3b2df5aa66c43bcb5f4f460a1cf17fe8b201459fd6a2aed7c5a368b1ffb13ef407053b9314cdef3012e6a38d12ff43fbd7771eeceb59f0cc37d7614efbf2c3decb515e7dc7b7f7a80d8406a85c7ca088127af72a83577303275ac6a8d3d261780c3e7c4f6419809bd73e90427d89aa51477eda1c4089e6dc9f40e7aa4b22d4ac3156f4ab0d13ea589cf56507177eeac1f33830e67fd359e788e9015b8d7cca0ba6fb4d60c2d6171975965db54e94296d853d495fa3139b8638c7c7758f515e78c598a27996ae86378eff6269aa202660b7194b4784b185a5b9116b837c480d9f2c09c15f663f99d4d9464a94817f9a13e906675a979ba4f08d321a83dbbc849e243db47e903d575b5bbf693ca81ebd2f31edb09b206861dc9a4979214ce0db48c3e1254fbfd3cbc1e23ce715da0070e6126af21bdad5d54d5c7ac6f4a70877b090c9103891726797e3cdf79080eac27875aeacf5c58a3c656f6514951e201ffe97a83fec4ee0ed1b0c19b4ea86f1ffd1461003ad48e783a6e4a4bd8372171e3a8363f92aa800fa0667ce0d0802293996e318e42259d1ca30d219048e09a0ac7ee3bda103d02c9d8b5379b10a226fa4169a51a366a4b8e2c42cb55df56a55cdad844400d64daa3be042b893485010611410fa19b7e4b28d35f2a9a44505dd4b105b92612c7e65b659a18e2459d53749f0d2a08c252978f39526311fcbc13b22c816ca4ab8ea9370161aecda22d6080ab1b0e58ef67740d2ae951ef562ae90652a9260dfa68d40e93796ca1e00d1ea63d45e9e9c384b2c0c7f847c94586ddda9939553574a373d2dd8f309b39b3af5d2962e16d132959b229d590ddc79f0a292db2180712b54a74246cf428d1b1772a89346b824822b0f76290d4d32bc55607ad77b1184fdf16ee23039abf2f64e567e5e9fe97193245562284638290a5b024f170b05dcb9db843350e8c757998f003122f89207e72ada0cefe02d7e42d5aecc9044eee13de5f4282c935f2bfbc8f1e987e01cd5030c39588bcd9d4dd064a9b7e1dbab5914ff1204f2321c4d6e438496f86dc1b5b9556c75fbf3155025679c4f8ad9bc784ea58c8ace5674fc69662da2a76e10d030d3e0af2909dffa005889f01a465bfdd8944cdf4a08432377c9c751f150a430b60a665e8351ca1d708dd7be9637dd0d4deb9c1e402b15c05ffee8a1fc6fe750d5a9f49f8bb13321b30c3d14f859a322595f19800f1da8c84a5a9c036de27b014f8a070d2f2b173c33cf3cc62f799d37f125055446d9d156999e267a2a9299fb95feb99e3da76285580597374c90ac51a858933a85450716842ab56d5fb9e8dd748b04e190b18111de7d9622462fde10a1a524ca886e4f1f7a3ee2cdb590b500033da27dddc5f1879b5031cd7347469a58f0401b600f71c6b59bf9feedd9be50e76b6e7bd69247e0d1ffb75d8099ccfbae3cd86db81b8845ec37f812918bb2f61d1e92fc488ea1e8a2fac18062b8877a8833b4d1823d23792faba5ce210df7cf5b433082b9844de3bbe9552422edd0f07973ee8219512a4050834eedc1be50962565a5d4b7d5b7d05fff4b9144439b3f1d7f5c0930127a418b3298f220737a6232b06042f8058aa9805396feae77e1024c950e4f7b8ba91dcff086e28fd3bfbc0e29683dabe09a80df58d74eeeef7787ce4848b9e62acd87fa6647257f728137326b89c544bfa6b3f38d75ca151e16786e781ee7a6619b70d78f0dd84e71f6314f6d8cda21ac823db28e2303a1b44ecc3f2b5de22deb91942e758da9427452bec2a695fd9b7531cf77bdcf32f9fccd46879b3bfa9b33e4a21b485ad8d04cc6ce89ad45b7d43182975a7c458145598de71c95b803038c315c68ac3927ba6e7c14964176068b0a85bd7b50da987fa0ca2f6fe270decb81be28d54cedbd53adeceaf50cedd1fbe825811838723aa332621b0af0547b1c142e818ed5f200cd88f5d22cc83d276992182928123923a9ee66bcc91fd790bf12e0e116516fcf11137eb7c8fde1ef8269f001ffb2a9b5d12f9f643f3274eed98db6d62db35810521473b4962542706d1ac9740fc9a9fc417e06012c69462e37d724e4e86a1181d254351baf147c10ecf90274416ca86c494c66e7dad4f40d2de90b3055b7dc67c50e33ac2e81bfcf5160d8fc7ba573db2e5ad2ab10708206f59ea65523211456313d44c59b56eaaa576f6973ca1c41afd8ab88d719857c306a77af2a3ff9c37b317e778eb9cf274a920dd030ac407a7a29b57aa849b5aa2bd5416c7b1d6f4e892cdff1a26bf0822cadb4901a9d61c6453dfd419428dce701d2e569ada451cc3fbb1b527731cbd428681c8f3967d59b812d24d3437380294e766a8d74aa9185d17e150d126f4600057794a7e84722aa0fdf990bb9f271935f2c82f957a1af8ba36bdbb592193e358df04d311cd687ab57fef240443f5c0d2e443f9da2e91742d35d7995d648cdcc5961cc176b21ce4c9045a20654741551cb908f4a2237d6e2e38d1254990a60d2e2ec90305f594469a9fe347bbf20f64bcbb0983b1fec37b6c3356e0ffc7bab225249650dff4e7cc403eb2bb900faf96db6eee468cd6bb4ff40663d26c8dfb5f710036a673be8d1f3d14f6e4594771c15269b404c12f4a1a1746e8b70e5b0524515d4ff394386355e0b0df36d7c1d298d3a3757111a6519a7d8503f2efdac07112ed8f127be8d899dc5b3591b20d4305c9e3517a5ffac0b2a68c3079f7bae30fc28a2cb2d68e1d5640be3cd24ef3a7961d1c4325a2562fe412a1096a03c8f62cdd45a6be28df3e812d2c6f9e2b009fc5ec76b34e2a06df5d13a1c19f236a8a37a2303e6a0527909ec120b3f77a5a9ec3c4f3a61de00b1a02b3dcb1a1be67ba3da69a8919a331d343828b013667664e800fbfb3bc69d91e5c426089fc13517216aa6e277562b5800adccb897f096e30a08cd8f2edbc54be3ed6d37b713c789119f0af7eb88b0ca262cc7a84bcf56b4b620a140b284ef2278d05ea9de113b01724331c84f7e8a3d42c421e9856439e2aafa1e50e68104a5a9c54ebf2e8889a20553daece7dc4156324f3400c60e574d0ca4fa627afd60dd3850aa60759733a3ecbb2cb6abe61be7d92120ee2404ad8fa6185c8825b7e325937195c3bf86b5458dd1c946642565b9c7bf9cd1c4e21e9648466a9ec8581ab7644db95dcc2b386afeaeb3b39099ddf0e38a500d6c6ce7a4eb8d4647524f02a4e877cc397138a0856058e6ec0d47f2a6da3746174e56c6107a5f4b67632b3730d467fd14a848f111f09df42e53b3a80260a26fe053527b7ffe830a3399ea8b92f3c13e7b8894688bcf782ab9906c9d4154244cfdadf99043f1d3da7a95f57e07048602640268c4d871b2500e677359bbaf299a80f12d747223b8110ef5af3b29fd2669a0eb5e6dc9ad89d00aaf8588d16607057de76063b9927a6bcba45b9d92f579e232d93e3061ccab36a3ba2cbe183d95c0f28ee132de264f411f712f3fa3c12e520968e70d5635e4756d114ed96407eb4127d1c98e267e54b7d1327b0c11034d27ea761219b2e5cfe9818d86cffe99eef3dc97cc017aee64cd55cc3b73435adf2ab5bcab05a07c353572988a2eafa94df23d9eb316a690ee1fa715322df77c9646eb60615f109808697afd27d2a7a0b47de845eba0989130e198b6554e8142693937e13ee70fed08a46afcd3ed3e488145c984597da6cff5ac9b105df38d2fcdb90ac40c29db5fe5683f360564fdc715e384f9ab30bbeb690b3de0538d3891bd278245e4cbd9f0fb77c1f0c0fd53a10a2676d77ee0d4c2839631dff8e887130787bd74038d1a95159960d7b36415ac2cbc2efebdd4cf914c2fcafc3527c989658c46f71ee3d982ab03c79ea1da0b0d2e34f55753b8c47de372f41d89225374a79511ffcfd23ee5283d7f74d7a5fd1af611092afd9d62eef91a72ae605838329e0d7c5d49a0980a86b08702bd2d427d6b7069b6ae72a1dc9a51371697c0b0099208d68eff71dd4e9279908dde601043a058dfb54985ac486428239c3806da39bd19a7ec87c0ceef07438c54229bee00b16ec8fbc6c6c63e8e2e64af76188e338e72ba671748d089dcf1e59898fa1e3eb5b768f7883d69bbfac5b4ca995b6d86e3b29ba0a611ce171b66e28e2693f544d2aa083748d6682f32bb77b216658cfdf4fdd6dd0b770586f0d41382a5c9d55fcbe2e29026b136ba3b6993da0401291dbca537fa1d776e7edd9c36da8a4e8b0d43b4ff56fc24be4e975ff2aeaae233978e5453151b004242531436378838e96a2b1b2c5050b2123393f43474b546a7274828a9ebecce7f603040d1e626d818cc6d3d6dbe2e3090a1219252a2c3b5a707376787b878ccad6f6242a3943526e709facb1c7ce21294b65676d6f90acbfc7f700000000000000000000000000000000000000000000000000000000000e2230434f5bd900128a030a4584009a2a4880018077042031214040844084041004100482506c8bcaf4ac2d88019870b73ef275bea210fd3d73d32aa9c2b927f074ae1c8293adb13b4bad0c40dc02b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71af4009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"The hex value contains more information than we need. The full value is as follows: E_MARSHAL(ss << evalcode << 'Q' << destpubtxid << sig << voutpubtxids)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"E_MARSHAL(ss << evalcode << 'Q' << destpubtxid << sig << voutpubtxids)","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"For now, we are only interested in the destpubtxid and voutpubtxids values.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"voutpubtxids","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"The information is hex-encoded and provided in little-endian format. We would like to convert the data into big-endian format.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"There are many methods available for decoding a hex value, and the language of the developer often has built-in functions to accomplish this. For example, this linked Stack Exchange discussion provides possible methods for Python developers.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"this linked Stack Exchange discussion","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"Once converted to big endian, we have the following.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b602dc400cad4b3bb1ad93821cae74f027b9c2a92ad3733dfd10a2be75f23eb7709801882dacf4ca8b6c5082041004100484408440402131200477800180482a9a0084450a038a1200d95b4f4330220e0000000000000000000000000000000000000000000000000000000000f7c7bfac906f6d67654b2921cec7b1ac9f706e5243392a24f6d6ca8c877b787673705a3b2c2a2519120a09e3e2dbd6d3c68c816d621e0d0403f6e7ccbe9e8a8274726a544b47433f3923210b05c5b2b1a2968e8378634331252404b0513145e5783923aeea2aff75e9e44bc26ff54f3bd4b0e8a4a86dc3d9ede776d7a17f53cadb911240a03d99b6a36b136b02292ebefc559d5c2a38410d6f5870b7d06ddd4fdfcf5866217bb72bf382668d7483a02a4d543f69e2286eb671e11c610aba293b6ed8b695a94c5bacbf9bd683788f765bebe3a18f89591ecf9d088d7471a62be738e38861f74ae6e2e8636c6cbc8fec160be0be2942c53874f0ee0c7cc87e9ad19ba36d80c339824286c45a9854fb8d053a0401e6dd089927e9d41df7ef688d2099000b7c697113a5c91d2ae76a9b06b7d627d4d22b70086ba880099ad4c5d7e029838305e62aa791ef2ed6d9af921061afd15f7a4df7d78352ee23fdfc1f51794a372592d8412f37de478c3b75554fe3d2b0a01dea793cb02a983dee716fc45896987c52c3affcc214f94cddebefc2cbc25a41367b0d965951a9d13840d77b783071888eff1d6339284c0dee776d67a2103ad50f0c1f7cb70f9fbd4c5e2478d21b89d33805deb390b6be0bb39a4f385e71dc4f5660f38356feb59dc240ac90dbfcd238df05b1c95aff6cda9745985c1488e4d33ecdaf468ad0fe70ee137e93932614e854658b190e138909ba5e84de470b7a2a7dd2af97868009f11506b66e64c977df225371fae10e696a31ebd923df94faeaa288295753c3075ab0ca5babf2ad3534b7c35cd54ce6ae17c07cc93def9ee9ff6cd81898fe5c2e9b2161a77ed23410c1b027137d4be567e2981c7d12b47e4096ed14d156475e63d5708e9620e5123cfaf312f711f464e22d13ee280f5cd983e1cba23b6ab3ca1c06e3932d239e572fd9b945babca627993b0676de577060168d58f8aa009dd89adce6b50e9a66d29fb2f35aef10813b2247d7120fa899f2ba9b3577e600251b874d8c264026604870e0575fa9a73d1d3f0499dfdacf444215d4c90699ab82f7bc884689b8e7133c2fb9a89e39a330e8ffb7273505fe260a26803a3be542df091f118f844ad17f460d73b33276b6f4a507616ce5746174a36d2a7fd4c06e8e0556088a1397c37c874e2af0247564d4b84e7acec6d600a5380edf9d09393bebeaaf86b3c2dc95db4476ab8185eca9668464e9214e1ccdf97b9c5b564266941cdd58546bf83b5c193759327e5b82c88561fad84a40e20e12927dbe61be6acbb2cb3e3a735907a60a85d30dd6af27a64fcad074e5600c40f3246315c47dceae3d55209a88e8f2eb549c5a4a10680ee5a1af2a9e4356981e422cd4a3e8f7841c332417b013e19dea058d27f24e280b140a624b6bf5bc847acc62a20c8bb87eaff01991783c717bd3d63ebe54bcedf2d88ca0306e097f89cbdc0a80b56275276eaa16725113fc8960425c1ed969bcb3bf0f804e666736018b8243d331a319899aa63dba67bea1b1dcb3021a0be01da6f3c4c39e5a7af7b320c19e9027056a3e30a2378a6a239fc1a1135ddf062a4eb376ecc59f002b9e6f2c2d813edf28bea645dd2cf6c8036a09a112e42f56a225431c1d96a7f34ed23cbe40561d8ed6b22c8ac20fe3baf779308ca6b2c0fa5f7a51e3c905430db291355bdc99d8e87b128fed1271c0daeff203857d9a51a6117175a3d398d2c1d736dfb0e055633894f34f5d5124055b0eb7e846171a4a2fc104b46952c1714759e4f6143d1f8dbe73a63600715ffb8d6cd26306f44fbbd68c46ee6edb96af0f90bbb23e40cce7f4df50962425b2bac7ffe056336c7bc3feb18309bbbc640ff2bb47e39f9a4694f50503c92e2e0da6904925d1382e6e7d23a2f408b91c55414765205a04c9e41cb276c11c96c5dc8c645d99d7352d74912edaf943e4d2c0f5430424ef7fb57a68cd11d304df58e3932159bbbd36baf81a7a952fc8f23519279fbb90f9fda02a72847e4a79570060f426d150e1175d18a94ad7a866e794023837344dd212b8597d96f3c8818642bd1c7327b5b1fbc31c45da9a562e1d70ce8d4219d4df53641cd6a90149dbca2208bf261affcd92e8f4d6b1c71654bda25a9b84aa579ba2a707c40a03dd20a974f29ceb78e717b3379cffa3f27aa706c35798718db88afd1ac4a13c97f676a5aa6eb5594cd413634511325265ea596f200807b12aade5b23d57bac78f0d16f5fc1be8c23ae3507cc67d5b05b390ded2404fad7d6ec694c486ca16442790cf0ec147f1ba5143251d18a1864e4e727de36294c61260e017c49f9afc4097acd106275462493b4721058135db626ddb98ed4e27f343f6f9125d9b2afb1f009f26f81ede8f7ceb3711f1fc1665110e2ef10b79fd91cc6be69e3a9223819282219976d283cc225d8fd80c205fed18e842c1b14705afb0212633aa238783115882be1fddce50afcede3ad5dbce548de21bb8ec0d27fef6a20cfa87a90db5d75ba8b06860176449c1e7a67b92c38ac615c33830805bc971de98551458c4a7752918437d5bd49ae86ccc048dad85b4214a3eb3a9bfb37968d4cc9f2ff3dc7bf71c53b7d95f692aec2b452794da58e74219b9de22deb5f2c3ec441b3a30e228db23c81aa2cdd8f614631fe784ddf0780db719667aee81e78667e151a15cd7383f6bfa4b549cb826731328f7577264a67fd8ac629e8b84e47c78f7eeee748df50da809beda8396e2c0fb3bfd286e08ffdc91bab8f7e450c924107ee7ea6f390598aa58802f04062b23a63707228f29b318a4270193c0f5d7f1b3394414b9f4ff057d5b7d4b5d5a566209e51bdcee340805a4129521e83e97070fdd2e425295be3bde44982b0833b4f57cdf10e25cbafa9237d223184d3b83a877882b0618ac2f8a1eea88c42fe9d1612fbb1829817fc35e84b881db86cde3bacf9c09d875fb1f0d7e2469bde7b6760ee59bddee9fbf596b1cf700b601048fa5697434d71c03b579185fdcdd27da3300500b59db2ceea3f7f1e486a84c521a0ae1fd622462d9e71d11180b194eb048d78d9efbd556ab4268715054a83389851ac50ac974735980552876dae399eb5fb99f29a9a267e29969159d6d445550127fd399f762ccf33cc373b1f2d270a0f814b027de36c0a9a5848cdaf10098f19525329a854fd1c3301b3213bbf8499f5a0d75fec61f8aeeff055cb102e4c1b9ded4d07d63e97bdd08d7a11c35e865a6600b430a151f759c7c373284a0f4cd4489ddbf65a4019f8805a0ff9d90f20a3e0d030de1762ada6296c64f67e5acc858ea84c79badf8c47956025531bf5fc756955b1bdc866f4938e4d6c421234f20f14f91b5ba1d7e9b4a06ddd4d9bc8895c33050cd017e981e8fbcbff235c982425fde13ee4e04c9ec5a2de4d702fecea0ad727e20892f1203f09879758c0e3543b89dcb5db070f124b0a590826384225645321997fee9e567e5642fbf9a0323ee16df4f18b177ad0756c52bd3d49062f7b02248826b34892a77b1d128f46c24744ab5120718b22d290a9fc7dd90d529b25929136de162295dafb3399b308fddd273a37435553999dadd8645c947f8c7c0b284c3e9e9453da61e0de0a16c79930ed468fa0d26a95206e92a56ef51e92a0d7467ef580e1bab80602da2cdae610137a98eaba46c812cb213bcfc116352398f9752c2082a0d9f74539d45e2189a655be6c71226b905b1d45d50449a2a5fd3284b7e9ba10f411106018534892b04bea3da640d4044d8da5ca556df55cb422c8e4b6a361aa56941fa26a2109b37b5d8c9023d10da3beec70a9ae04890210da31c9d25428e316e99932280d0e07c66a00f80aa923f36a8e3712137d84b4a6e3a788ed43a006114fd1f6fa84e9bc1b0d10eeec4fe837ae9ff01e2514951f656c6a3585ccfea5a8727ac0e0879df3c7e7926178903910c097b87704a6facc7d5545dadbd21af26610e07a05d71ce231ebc3cfdfb54123e8cb40dce149297a4c91d8606b209db1ef3d2eb81ca93f6bbb575d503e947db43e249c8bb3da821d3084fba79a97566903ea1f91748a964944d9df963f6159cc0f2d980c437b816915b5a184b78b494710b6602a29a26f6ef7863e86a99278a598ce715f558777c8c63b83931fa95d453d89642e954db65599771612d0cd6b46fbaa0ccd7b815908e789e35fd670e83331facee77715056cf89a53ed1b04a6f15c34a2db2a47a0ef4c96d9e08c4a1ed7714a59ad82704e973bd099841f6c4e7c38017263d8d6aac7532307735a872af278108cac7856a40d8807a7f7bdce715b5ec3d2cbfef14767dc30c9fb5ceee7177bd3ff42fd1386a2e01f3de4c31b9537040ef13fb1f8b365a7ced2a6afd5914208bfe17cfa160f4f4b5bc436ca65adfb2c3f7f51838f9dcc9f3516f7668a211d37855b203d2011eb50d7b5c5dc4da2e0026a52c0f05b325b84b7fb2080889f7e9a2ce07ba6a6ba5e3f7e088ee1aefd6fed67a79656305443074a3d45316a4ab0a6382ca625c69c3518c1bc3998a078b7b225700226d692711c0a5340ea1782673dbdccc51288e24350544bf3a329aef666fbc78f087f8fbdb5abbcdae5194103cb7d00adbcec6dd9324e408b1657324650b2e98e8ed5da0543fb8e26ea4270d46fdd60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094051130dac4d6a\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b602dc400cad4b3bb1ad93821cae74f027b9c2a92ad3733dfd10a2be75f23eb7709801882dacf4ca8b6c5082041004100484408440402131200477800180482a9a0084450a038a1200d95b4f4330220e0000000000000000000000000000000000000000000000000000000000f7c7bfac906f6d67654b2921cec7b1ac9f706e5243392a24f6d6ca8c877b787673705a3b2c2a2519120a09e3e2dbd6d3c68c816d621e0d0403f6e7ccbe9e8a8274726a544b47433f3923210b05c5b2b1a2968e8378634331252404b0513145e5783923aeea2aff75e9e44bc26ff54f3bd4b0e8a4a86dc3d9ede776d7a17f53cadb911240a03d99b6a36b136b02292ebefc559d5c2a38410d6f5870b7d06ddd4fdfcf5866217bb72bf382668d7483a02a4d543f69e2286eb671e11c610aba293b6ed8b695a94c5bacbf9bd683788f765bebe3a18f89591ecf9d088d7471a62be738e38861f74ae6e2e8636c6cbc8fec160be0be2942c53874f0ee0c7cc87e9ad19ba36d80c339824286c45a9854fb8d053a0401e6dd089927e9d41df7ef688d2099000b7c697113a5c91d2ae76a9b06b7d627d4d22b70086ba880099ad4c5d7e029838305e62aa791ef2ed6d9af921061afd15f7a4df7d78352ee23fdfc1f51794a372592d8412f37de478c3b75554fe3d2b0a01dea793cb02a983dee716fc45896987c52c3affcc214f94cddebefc2cbc25a41367b0d965951a9d13840d77b783071888eff1d6339284c0dee776d67a2103ad50f0c1f7cb70f9fbd4c5e2478d21b89d33805deb390b6be0bb39a4f385e71dc4f5660f38356feb59dc240ac90dbfcd238df05b1c95aff6cda9745985c1488e4d33ecdaf468ad0fe70ee137e93932614e854658b190e138909ba5e84de470b7a2a7dd2af97868009f11506b66e64c977df225371fae10e696a31ebd923df94faeaa288295753c3075ab0ca5babf2ad3534b7c35cd54ce6ae17c07cc93def9ee9ff6cd81898fe5c2e9b2161a77ed23410c1b027137d4be567e2981c7d12b47e4096ed14d156475e63d5708e9620e5123cfaf312f711f464e22d13ee280f5cd983e1cba23b6ab3ca1c06e3932d239e572fd9b945babca627993b0676de577060168d58f8aa009dd89adce6b50e9a66d29fb2f35aef10813b2247d7120fa899f2ba9b3577e600251b874d8c264026604870e0575fa9a73d1d3f0499dfdacf444215d4c90699ab82f7bc884689b8e7133c2fb9a89e39a330e8ffb7273505fe260a26803a3be542df091f118f844ad17f460d73b33276b6f4a507616ce5746174a36d2a7fd4c06e8e0556088a1397c37c874e2af0247564d4b84e7acec6d600a5380edf9d09393bebeaaf86b3c2dc95db4476ab8185eca9668464e9214e1ccdf97b9c5b564266941cdd58546bf83b5c193759327e5b82c88561fad84a40e20e12927dbe61be6acbb2cb3e3a735907a60a85d30dd6af27a64fcad074e5600c40f3246315c47dceae3d55209a88e8f2eb549c5a4a10680ee5a1af2a9e4356981e422cd4a3e8f7841c332417b013e19dea058d27f24e280b140a624b6bf5bc847acc62a20c8bb87eaff01991783c717bd3d63ebe54bcedf2d88ca0306e097f89cbdc0a80b56275276eaa16725113fc8960425c1ed969bcb3bf0f804e666736018b8243d331a319899aa63dba67bea1b1dcb3021a0be01da6f3c4c39e5a7af7b320c19e9027056a3e30a2378a6a239fc1a1135ddf062a4eb376ecc59f002b9e6f2c2d813edf28bea645dd2cf6c8036a09a112e42f56a225431c1d96a7f34ed23cbe40561d8ed6b22c8ac20fe3baf779308ca6b2c0fa5f7a51e3c905430db291355bdc99d8e87b128fed1271c0daeff203857d9a51a6117175a3d398d2c1d736dfb0e055633894f34f5d5124055b0eb7e846171a4a2fc104b46952c1714759e4f6143d1f8dbe73a63600715ffb8d6cd26306f44fbbd68c46ee6edb96af0f90bbb23e40cce7f4df50962425b2bac7ffe056336c7bc3feb18309bbbc640ff2bb47e39f9a4694f50503c92e2e0da6904925d1382e6e7d23a2f408b91c55414765205a04c9e41cb276c11c96c5dc8c645d99d7352d74912edaf943e4d2c0f5430424ef7fb57a68cd11d304df58e3932159bbbd36baf81a7a952fc8f23519279fbb90f9fda02a72847e4a79570060f426d150e1175d18a94ad7a866e794023837344dd212b8597d96f3c8818642bd1c7327b5b1fbc31c45da9a562e1d70ce8d4219d4df53641cd6a90149dbca2208bf261affcd92e8f4d6b1c71654bda25a9b84aa579ba2a707c40a03dd20a974f29ceb78e717b3379cffa3f27aa706c35798718db88afd1ac4a13c97f676a5aa6eb5594cd413634511325265ea596f200807b12aade5b23d57bac78f0d16f5fc1be8c23ae3507cc67d5b05b390ded2404fad7d6ec694c486ca16442790cf0ec147f1ba5143251d18a1864e4e727de36294c61260e017c49f9afc4097acd106275462493b4721058135db626ddb98ed4e27f343f6f9125d9b2afb1f009f26f81ede8f7ceb3711f1fc1665110e2ef10b79fd91cc6be69e3a9223819282219976d283cc225d8fd80c205fed18e842c1b14705afb0212633aa238783115882be1fddce50afcede3ad5dbce548de21bb8ec0d27fef6a20cfa87a90db5d75ba8b06860176449c1e7a67b92c38ac615c33830805bc971de98551458c4a7752918437d5bd49ae86ccc048dad85b4214a3eb3a9bfb37968d4cc9f2ff3dc7bf71c53b7d95f692aec2b452794da58e74219b9de22deb5f2c3ec441b3a30e228db23c81aa2cdd8f614631fe784ddf0780db719667aee81e78667e151a15cd7383f6bfa4b549cb826731328f7577264a67fd8ac629e8b84e47c78f7eeee748df50da809beda8396e2c0fb3bfd286e08ffdc91bab8f7e450c924107ee7ea6f390598aa58802f04062b23a63707228f29b318a4270193c0f5d7f1b3394414b9f4ff057d5b7d4b5d5a566209e51bdcee340805a4129521e83e97070fdd2e425295be3bde44982b0833b4f57cdf10e25cbafa9237d223184d3b83a877882b0618ac2f8a1eea88c42fe9d1612fbb1829817fc35e84b881db86cde3bacf9c09d875fb1f0d7e2469bde7b6760ee59bddee9fbf596b1cf700b601048fa5697434d71c03b579185fdcdd27da3300500b59db2ceea3f7f1e486a84c521a0ae1fd622462d9e71d11180b194eb048d78d9efbd556ab4268715054a83389851ac50ac974735980552876dae399eb5fb99f29a9a267e29969159d6d445550127fd399f762ccf33cc373b1f2d270a0f814b027de36c0a9a5848cdaf10098f19525329a854fd1c3301b3213bbf8499f5a0d75fec61f8aeeff055cb102e4c1b9ded4d07d63e97bdd08d7a11c35e865a6600b430a151f759c7c373284a0f4cd4489ddbf65a4019f8805a0ff9d90f20a3e0d030de1762ada6296c64f67e5acc858ea84c79badf8c47956025531bf5fc756955b1bdc866f4938e4d6c421234f20f14f91b5ba1d7e9b4a06ddd4d9bc8895c33050cd017e981e8fbcbff235c982425fde13ee4e04c9ec5a2de4d702fecea0ad727e20892f1203f09879758c0e3543b89dcb5db070f124b0a590826384225645321997fee9e567e5642fbf9a0323ee16df4f18b177ad0756c52bd3d49062f7b02248826b34892a77b1d128f46c24744ab5120718b22d290a9fc7dd90d529b25929136de162295dafb3399b308fddd273a37435553999dadd8645c947f8c7c0b284c3e9e9453da61e0de0a16c79930ed468fa0d26a95206e92a56ef51e92a0d7467ef580e1bab80602da2cdae610137a98eaba46c812cb213bcfc116352398f9752c2082a0d9f74539d45e2189a655be6c71226b905b1d45d50449a2a5fd3284b7e9ba10f411106018534892b04bea3da640d4044d8da5ca556df55cb422c8e4b6a361aa56941fa26a2109b37b5d8c9023d10da3beec70a9ae04890210da31c9d25428e316e99932280d0e07c66a00f80aa923f36a8e3712137d84b4a6e3a788ed43a006114fd1f6fa84e9bc1b0d10eeec4fe837ae9ff01e2514951f656c6a3585ccfea5a8727ac0e0879df3c7e7926178903910c097b87704a6facc7d5545dadbd21af26610e07a05d71ce231ebc3cfdfb54123e8cb40dce149297a4c91d8606b209db1ef3d2eb81ca93f6bbb575d503e947db43e249c8bb3da821d3084fba79a97566903ea1f91748a964944d9df963f6159cc0f2d980c437b816915b5a184b78b494710b6602a29a26f6ef7863e86a99278a598ce715f558777c8c63b83931fa95d453d89642e954db65599771612d0cd6b46fbaa0ccd7b815908e789e35fd670e83331facee77715056cf89a53ed1b04a6f15c34a2db2a47a0ef4c96d9e08c4a1ed7714a59ad82704e973bd099841f6c4e7c38017263d8d6aac7532307735a872af278108cac7856a40d8807a7f7bdce715b5ec3d2cbfef14767dc30c9fb5ceee7177bd3ff42fd1386a2e01f3de4c31b9537040ef13fb1f8b365a7ced2a6afd5914208bfe17cfa160f4f4b5bc436ca65adfb2c3f7f51838f9dcc9f3516f7668a211d37855b203d2011eb50d7b5c5dc4da2e0026a52c0f05b325b84b7fb2080889f7e9a2ce07ba6a6ba5e3f7e088ee1aefd6fed67a79656305443074a3d45316a4ab0a6382ca625c69c3518c1bc3998a078b7b225700226d692711c0a5340ea1782673dbdccc51288e24350544bf3a329aef666fbc78f087f8fbdb5abbcdae5194103cb7d00adbcec6dd9324e408b1657324650b2e98e8ed5da0543fb8e26ea4270d46fdd60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094051130dac4d6a\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"Observe that once converted, the destpubtxid for the KomodoHaxor handle is the leading data: d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940 .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"Directly after is the destpubtxid for KomodoFan : af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6 .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"From this we verify that vout0 was addressed to the KomodoFan handle and vout1 was addressed to the KomodoHaxor handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"vout0","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"vout1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"Since we know there are 2 vouts (aside from the opreturn vout), we know that vout1 can be found at index position [:64] and vout0 is found at [64:128] .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"2","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"vout1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"[:64]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"vout0","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"[64:128]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"We again see KomodoHaxor 's destpubtxid , d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940 at [-76:-12] .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"[-76:-12]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"This indicates the destpubtxid of the inputs. The destpubtxid of the sender will always be the same position in a Qsend transaction's OP_RETURN, [-76:-12] .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"[-76:-12]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-final-output-opreturn-vout"},{"text":"Create A Complex Qsend Transaction","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"The above Q transaction was relatively simple. Let's create a complex Q transaction that includes outputs to multiple R addresses and multiple Dilithium handles.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"This transactions sends 7.6699 coins from the qUTXO of the previous transaction to the KomodoHaxor handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"7.6699","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"qUTXO","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"This transaction sends 1 coin to to the KomodoFan handle, 1.1 coins to the handle LABSLover , and 1.2 coins to the R address RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"1.1","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"1.2","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"The transaction also sends 1.3 coins to bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP , a multisig address, to demonstrate that Dilithium Qsend transctions work with essentially any script hash","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"1.3","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"Qsend transactions do have one limitation. The Dilithium Module's functionality requires that any 32-byte hex string in a transaction be the destpubtxid .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"Therefore, the Dilithium module cannot send a transaction to a 32-byte scriptPubkey .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"scriptPubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"This is an uncommon scriptPubkey under normal circumstances, and therefore this should not be an issue for most users.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"scriptPubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-complex-qsend-transaction"},{"text":"The Change Transaction to KomodoHaxor","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-change-transaction-to-komodo-haxor"},{"text":"This transaction automatically sends the change back to our handle, KomodoHaxor .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-change-transaction-to-komodo-haxor"},{"text":"KomodoHaxor","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"the-change-transaction-to-komodo-haxor"},{"text":"Obtaining the destpubtxids for Other Handles","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"Our transaction requires that we first obtain the destpubtxid for all other handles, and the ScriptPubKey for the intended R addresses.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"ScriptPubKey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"We obtained the destpubtxid to KomodoFan in the previous step.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"Use the handleinfo RPC to obtain the destpubtxid for the LABSLover handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"handleinfo","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22LABSLover%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22LABSLover%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"LABSLover\",\n \"destpubtxid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"pkaddr\": \"P8bX1ddLLaR149rZZEXkWTAbLTgczsM4vK\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"LABSLover\",\n \"destpubtxid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"pkaddr\": \"P8bX1ddLLaR149rZZEXkWTAbLTgczsM4vK\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-destpubtxids-for-other-handles"},{"text":"Obtaining the scriptPubkey for R Addresses","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"We can use the validateaddress rpc command to obtain the \"scriptPubKey value for both RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK and bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"validateaddress","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"\"scriptPubKey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"./komodo-cli -ac_name=MUSIG validateaddress RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"./komodo-cli -ac_name=MUSIG validateaddress RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\",\n \"scriptPubKey\": \"76a914b738b1730cfb58960b1dd1765c6d3276993959e188ac\",\n \"segid\": 13,\n \"ismine\": false,\n \"iswatchonly\": false,\n \"isscript\": false\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\",\n \"scriptPubKey\": \"76a914b738b1730cfb58960b1dd1765c6d3276993959e188ac\",\n \"segid\": 13,\n \"ismine\": false,\n \"iswatchonly\": false,\n \"isscript\": false\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"./komodo-cli -ac_name=MUSIG validateaddress bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"./komodo-cli -ac_name=MUSIG validateaddress bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"{\n \"isvalid\": true,\n \"address\": \"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\",\n \"scriptPubKey\": \"a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087\",\n \"segid\": 26,\n \"ismine\": false,\n \"iswatchonly\": false,\n \"isscript\": true\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"{\n \"isvalid\": true,\n \"address\": \"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\",\n \"scriptPubKey\": \"a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087\",\n \"segid\": 26,\n \"ismine\": false,\n \"iswatchonly\": false,\n \"isscript\": true\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtaining-the-script-pubkey-for-r-addresses"},{"text":"Send the Qsend Transaction","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"We now have everything we need to assemble and send the complex Qsend transaction.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,1,%22b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2%22,1.1,%2276a914b738b1730cfb58960b1dd1765c6d3276993959e188ac%22,1.2,%22a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087%22,1.3]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"./komodo-cli -ac_name=MUSIG cclib Qsend 19 \"[%22d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940%22,%22e580f34e9bdfd23108409e76475c7df3f924d149d494d5cdbc24aeb280237d4a%22,%22af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6%22,1,%22b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2%22,1.1,%2276a914b738b1730cfb58960b1dd1765c6d3276993959e188ac%22,1.2,%22a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087%22,1.3]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"send-the-qsend-transaction"},{"text":"Broadcast the Transaction Using sendrawtransaction","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-transaction-using-sendrawtransaction"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-transaction-using-sendrawtransaction"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-transaction-using-sendrawtransaction"},{"text":"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-transaction-using-sendrawtransaction"},{"text":"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"broadcast-the-transaction-using-sendrawtransaction"},{"text":"Understanding the inputs and outputs of the above transaction","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"Use the getrawtransaction RPC to observe the inputs and outputs of the response.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"getrawtransaction","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668 2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668 2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 27898,\n \"vin\": [\n {\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"vout\": 1,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001\"\n },\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 1.1,\n \"valueSat\": 110000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 1.2,\n \"valueSat\": 120000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 b738b1730cfb58960b1dd1765c6d3276993959e1 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914b738b1730cfb58960b1dd1765c6d3276993959e188ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\"]\n }\n },\n {\n \"value\": 1.3,\n \"valueSat\": 130000000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_HASH160 4d5e24fcd799f3a3fa15f98a6c69a5829596f560 OP_EQUAL\",\n \"hex\": \"a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087\",\n \"reqSigs\": 1,\n \"type\": \"scripthash\",\n \"addresses\": [\"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\"]\n }\n },\n {\n \"value\": 3.0698,\n \"valueSat\": 306980000,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 5,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"00dd330b0cdd98a8dbef975080de7a554f7907cdb72e13fda84191df049f5c68\",\n \"height\": 27878,\n \"confirmations\": 16,\n \"rawconfirmations\": 16,\n \"time\": 1552876080,\n \"blocktime\": 1552876080\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"{\n \"hex\": \"0400008085202f89016c21f44da4afe05aad8b271659c6cf8cfccb6b6e33fdb9f5f0935a0d6e8ef616010000007b4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001ffffffff0600e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc80778e0600000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc000e2707000000001976a914b738b1730cfb58960b1dd1765c6d3276993959e188ac80a4bf070000000017a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087a0244c1200000000302ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc0000000000000000fd100e6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd600000000fa6c00000000000000000000000000\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 27898,\n \"vin\": [\n {\n \"txid\": \"16f68e6e0d5a93f0f5b9fd336e6bcbfc8ccfc65916278bad5ae0afa44df4216c\",\n \"vout\": 1,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a56580210377ffe2b64443ac5e746f29b021e22411c7731d675f169d32423f8f3d6fc9ea3b8140ccb5db05dc45a4ec747705d76f2e71f3ab43830693f093536d23e6ab31c18b0c04c2906a8e600629b9264043d4534da3c22c1fe1dbe2192ebce23b8a99cf35eaa100af03800113a10001\"\n },\n \"value\": 7.6699,\n \"valueSat\": 766990000,\n \"address\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 1.1,\n \"valueSat\": 110000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 1.2,\n \"valueSat\": 120000000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 b738b1730cfb58960b1dd1765c6d3276993959e1 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914b738b1730cfb58960b1dd1765c6d3276993959e188ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RRyyejME7LRTuvdziWsXkAbSW1fdiohGwK\"]\n }\n },\n {\n \"value\": 1.3,\n \"valueSat\": 130000000,\n \"n\": 3,\n \"scriptPubKey\": {\n \"asm\": \"OP_HASH160 4d5e24fcd799f3a3fa15f98a6c69a5829596f560 OP_EQUAL\",\n \"hex\": \"a9144d5e24fcd799f3a3fa15f98a6c69a5829596f56087\",\n \"reqSigs\": 1,\n \"type\": \"scripthash\",\n \"addresses\": [\"bKnMWGuXC5HEyxk3GttsT1a9TtYWKbBpEP\"]\n }\n },\n {\n \"value\": 3.0698,\n \"valueSat\": 306980000,\n \"n\": 4,\n \"scriptPubKey\": {\n \"asm\": \"a22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c80200c0396b7e2db09ab239f0b337fbc7df888273e60323a63d0caa862116bcf51a48103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 5,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"hex\": \"6a4d0c0e13514009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6fd460de9fbac397128243cdfe192f73c9eb327fcc75338e694a94f4df8bcf7d668868731be4f2b886f5d1292e3542f31f01a390fcd7491d730b57ce1fcd6abd792efbeb4047f2cc24b98d07577f3121a74a141d1a7ce94b1e03fa69031e91baa38ef209866fb9db448445fc4794331f5efaaadd1ee58c58deac4b26012ed65f876fb056711d3902500d2d45c0e4e082d8a058a7a671a2fd2a855bd882ee5a06962ab72d93783c7f1fcfead9f712dd3af0424572ce58a36b4e558bc9c95650351794134f1d74f8f275500f19bc967a64ee0baef222bf34c50f0bb771759afee0b202a542d4a349e2224820a2fc29259192e1dc1c2648b161a31454d9a6489fb26b280ad6dd3f1916cae118150d49c52401665c8b299608760c83659f88783120974f85f22d9af9b5ea1dd4a145b29aca2929ffa0449dc821cbe0dd8f86017a37573ad8ca33901e10664822a0ff0825f957bda6148a41d8bd48ae42a7fd10e73e4f28198e767abd1b2c1297055729ddbb613d3d4476b8cf228be84248bef116546ec8d773d271b2a850711f2a8cafd3502575c94a5c258c322f1a0123f439d796239dc7a40e996ff282eb605b7bea9336fa2d6443924a3487f3275095a8fbe136918cb6a69afa2881d793d0d70433c0e16ac5218da88ce76194d86ae8c283184249cd4fc3824614f95af655556e3c3c90765358a63c411cf5df4075546c9555feb2fa1057f540a79a30ddf997248e47076418b31514607236ee23f56b8bd7ee03e09dd063199c45b0b120af1e44920b535aae890d51d0134ee24872a995b991efa31bd4bf9e551727a877d29ef269b83efc0368d042086535b6bd956c2f7bbc3b686dbd765d092a98e825911a13ea92ad2cd7604288c0e7595ee3763849a4d61c90ed7686a3902417eb90d59e40350b12353fd5fcffc53c52759ee393e68227018c924ac9c0390d3029fd26dcd93609d57f19868abfce563dbb93921837f85b092b8539447e2696a9d60345fe390200ce741eae671561b54ee0f58c32e944a954143dd274e41179907a99394c9c1c978a964555d91d0acdda655064a824c7673dc84d1d5a94f06ca6b19078dcd657acb9d84518b94c2f56e4aed02c50a1861d536fe19c29cfede262d8cdf1fba7848f017ce53bb99eb9b40d0b2e5951b47099d8d975bf3054baa8019a9299794e9c4e1f7117974d15dcd4bf1f75b732ac65cbbcd9d2c232e8445d93f422a9315d7c7627d5e4d424094d04c6e419e9805b7bb7849214d35e02139463e73989d019cd1ea3a9084f353f3145df38f88ad0baafee1f0e95477cacc7b0246db8b4ed485db10c999c508506d0bbff6185c53903f8565edd90fc16e3f6be972463e3246a73cb1e2cb294209c71838ae86732cab6f648d10459123d30a59c1bf63a2232d32c8cfe0d06c4797c883d0ad452643496dbec37f87a1a90b525a938cf3367c9917e57c506d0fa422e530753589bd9317a775af64de696857705c5efed3037ad7ad7e1a4789ef238c6473cb433eda187484592e48e5d237d73f558cfe24f68bad4ee85b77c01b9924e262534c9a2486432a5be199aea85a935f6b2424a4fbf3a5dc7afc1866692404de45f41393aecc7ca5761c25fa5922ccebeb8b0580633c75a944d473d18318fe0fb999dd61259813bd0f5c62ff50df1148c6d12757b2de3be3098e7c283eaa3acea5049f4a7e1393235dfeda7b0fdcca6cdeee5410f023bc4c1a157cda0044edacb30b4f00d3c647e83aec5b966ed4e1829eb1f9ab7da7715f34e07e17ed59e45922500f493d74ab8f8f645f3e9002d202f9c2ed14ec698548b7d0ea182c8ea9de1b9146b3a77df43e80a2d085636eb5a80f9d643682d211ae13bb6569ce3411aaca39727850155274aa842baef36ade2173aec3d6c3f4039038d55ff69a7a35ef2d08b5478106b9f0364a8c0e95cd4751bd905c4c38dca63bbcdce24538bd08fb0cc7d9cd1f5dfc1853d502e1f38adaad6c468d9e50ff81d2a6b8dd3db7602bc272675d2efb70382dc19b9039a0b32d876787f2d0e0671b11adde48aafef6d684c517e77217be631366bf99f1109e55a389436e915d847f212b07a5c6fb94db999662ba20e92e642e88bce288cdce3dbffc0d52607af784f802eb18e810d49766ca752a6534d7459a97a2bf07787c63cd836862eb05347cebd3882df760b37b873b79d935cc4fa6f444a6f4d2bae51dab832432a258c1d741d7c133e55302920527e02f1ec8b0ab2703df6fb4c3d357efa75a53c91666b59ed6135907edee5b7ce73c3730c90e235cde4e384dd51f7d7e1b82e3c7cedff649fd6a5f247e829ea9e00d58c37ffd545cd311ad369928ac396cb5dbdfad2c6de10d0a0b1047df15f26c51b225ee148d95dd9c5aea4a4da592cd59b3fcdd8478ee264ed68e61aee55585c32b6dee251f593e8a9f492b9003208af4e04d0e5ee00afee4d0d074ae9aeaa8fda26e89fdf4825da2f0211b5c9a8eae9f1070f401cd6583d0296057c9707a481983aa45b76b290aa249cc5a545fe8956000fc2d48c4803dbc642e1ef9ac3904652ddfa3b6a29e405984a2188b31eb358ea04462ac751937ef5a153d865e6b5951392dd6b4c6ee16224705486de08d380827554419ab24b37b58bd351d157194640d9eba45c13dee0bb73429b497e3885568161f286a6b6f67d8054674a717c6d26defc68c734622dacb8a2fef4dfbd425ea78575402d15eeb9d8cc6f99b0ebf33738b34e14f34b4b990deba45abe2d3c81038d4fa3352a4e904d9d6b244585ba1b0f450c9da0fe84e711255846bf56fc483755dc006f74f816bd27c408c1d4102e2882702b7afb187096a1046cd47f1be2a10400040d310b862232ec7b8419764d05ffe3833bc8462c90ea3f4b65af3fb07b885c9403434b6e0326b05188f8c05d157e0e721a9514fc189dd7c6455d261482fc46c4c206d94ba737a1e456cd22a11e3daf0f2c5716af6ba28419cc17ffa7303ee25d52675a1612ec1cc3bb708c1f0a720d9f4e4c5b47d4bca46f393eced4e6de925262ef229adb4405c44c7ba73646ded1bad4879f8024e84eec05c8bd635bcc6372e1f420be1b7e7f764d966b8715b21b73efb19c4c2d612210cd13fe06bf45d79b0886bb67c9d8f7308cdabde24127d7d3181b3283582b27ad46e0076e03c3269c11b613a6e0375992cac30acbdfb42eb99d6b3cdd845a978845dc7acf67882eaa532641b56ab5626581fca7481e4d1f54f1fb6e1accaff130a66cbb61fde59bc2052c48325a45219818648791ac33046832b02cc9e6aa587aaedb6e7f5d2e18f9b2e6727763f9511b715a43d7a4f608cb3cd037f4e26a455f8b4f9706ec408d4d435be1e6482c2db2aa2f08f23a31900128d57f210e34cb61f73dea2614cb51c220789a40cbfa35c9d565e1f9b809c81f9e3bcdfd5fd814b619b9c7a579daac86c60abcb7293de50b0a3702e3b877f828777235a49920c9dbf5ed9ce3a3f885c2bf985c620b7d0dafd7366a22554b6601af7866b5ccef7e8d67a29345598d98f946a204c128487fb672acbc68097d722d9e12f625b62e8b9affbf05539e44b62e72f6e2d917f1660033dd2a171d37387002cc04cf857d6100409a47d2ce9926c781758d0b7405d9d40086f5835685cde5648495864ac138bf81dac0f6d972096e993b49973c7dfa9a942edc9fe8fffccceb312a0e25b3a335e3b4f06c34cfbe4828597aeccf738a8164fefd1e88b62b12d76d13a5cef333bf8f16135dcbb84fa257b24eaa1e2b7d9c9e9fef6bf5d908e57a05c75d950dbd9ed6ab6f72a45f29e8fa80987406cad82c8d57c744928e3c5b5dbb054df82952b6d995d8b981b532170b311d701b1c0613787b3dbba56c254ffd8ff11270888029d9b342f08c891d185f2ec769afbc8d2b5e232c2ff3365c038102e09094d7dba19552a773f5d2fd153b24ebf7950f7d8c9b857413461cd68c464eaacdfa050b05e4b67a842727ae83a560e692fd7c473552e0b4d6c33544bb3498e4f77061bd8b06a279e68e813ba1571744328f27ad2f9d92cd0e33897c649c6cf33f235604e092d002c1f7e5fbe5cbff16b92540e33e4b3afd99e7df80bc23eca979125c0f271eb1f3e309c9a4dc48e82873b918c1b75ef029f3fa80a65d0ba9a3d7739a0763bbeee1920cc953d46921dcecb65a57f608b9092221209f5dcdddd66998f295f043114fb4c263634381cd381fd75e6c9d21620d13a4544a1ff4a9b789ca115d8108f8ee063c4ee9fd4e21886d74c3a54fefae364fc924d9a7d0994796f6753f92b7fb77be7ceae095e8de8b064aa3ac04138fc9c92a5b63714644ca35c9a12559a0b406df0dade4bc2018c029e0f5e87326ba85360788188cfb03873255c2adaa347fe8265f1fc32d0a8b90ea49dfb8aacf01c69744cf0096298559670d515540cc929480b7fe97608111f17b6a39e3e4b9c127e027d4ce00a761c3e3336b91e4bedacaf3a84b44e3f69180d8da4c7ddaed25841351096d7e822ed97c87250f901365c656671b5b80b0c182126333945516f8f9294bdc6c7cef8fd1a1e5c686e8081949a9da4aab4bde0eb0a28292f373e4c51545cf9ff11425c6b6f7a7e7f848ca1a8c2cbdcedf0fbff03192527353e3f55878fb2ccd7fc0000000000000000000000000000000000000000000000000000000000000000081b2b374a588124700005070e14a0805080a84a430004891a4412051202000440190140c06261da92a73502f904c0eab1b16b2d2b60ec32c1863d95069848bfe717ae65f8d8b718f7dc2f5b9c0605b6c4e4f03aeb278b308f22d52a00a99ec34cbc031840ee5645b5aed60f0c71afa26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004009234f4b9e071de316eb740134544ad8d72ea75c4c060705a455784d220dd6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"00dd330b0cdd98a8dbef975080de7a554f7907cdb72e13fda84191df049f5c68\",\n \"height\": 27878,\n \"confirmations\": 16,\n \"rawconfirmations\": 16,\n \"time\": 1552876080,\n \"blocktime\": 1552876080\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"As seen above, this transaction spent the qutxo created in the previous step.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"understanding-the-inputs-and-outputs-of-the-above-transaction"},{"text":"Convert the Opreturn Hex Value to Big Endian","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"Convert the hex value of the opreturn to big endian.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b605069c5b2fdcf718b7d8f865ae17e7bf489806953d86c132ec602b2d6bb1b1eac004f90235a792da6162c040011940040002120512441a890400434aa8805080a0140e070500702481584a372b1b080000000000000000000000000000000000000000000000000000000000000000fcd7ccb28f87553f3e3527251903fffbf0eddccbc2a8a18c847f7e7a6f6b5c4211fff95c54514c3e372f29280aebe0bdb4aaa49d9a9481806e685c1e1afdf8cec7c6bd94928f6f514539332621180c0bb8b57166655c3601f95072c897ed22e8d79610354158d2aeddc7a48d0d18693f4eb4843aafaced4b1eb936333e1c760ae04c7d027e129c4b3e9ea3b6171f110876e97f0b4829c90c5415d5709655986209f04c74691cf0ac8afb9da40eb9a8d032fcf16582fe47a3da2a5c257338b0cf8881786053a86b32875e0f9e028c01c24bdedaf06d400b9a55129a5ca34c641437b6a5929cfc3841c03aaa64b0e88d5e09aecee77bb77f2bf953676f7994097d9a4d92fc64e3fafe543a4cd78618e2d49feec463e08e8f10d815a19c789b4affa144453ad12016d2c9e675fd81d31c383436264cfb1431045f298f9966dddddcf509122292908b607fa565cbce1d92463d95cc2019eebe3b76a039773d9abad0650aa83f9f02ef751b8c913b87828ec44d9a9c303e1feb71f2c0259197ca3ec20bf87d9ed9afb3e4330e54926bf1bf5cbe5f7e1f2c002d094e6035f233cfc649c69738e3d02cd9f9d27af22843747115ba13e8689e276ab0d81b06774f8e49b34b54336c4d0b2e5573c4d72f690e563ae87a7242a8674b5eb050a0dfacea64c468cd61344157b8c9d8f75079bf4eb253d12f5d3f772a5519ba7d4d09092e1038c06533ffc232e2b5d2c8fb9a76ecf285d191c8082f349b9d0288082711ffd8ff54c256badbb3873761c0b101d711b37021531b988b5d996d2b9582df54b0dbb5c5e32849747cd5c882ad6c408709a88f9ef2452af7b66aedd9db50d9755ca0578e905dbff6fee9c9d9b7e2a1ea247b25fa84bbdc3561f1f83b33ef5c3ad1762db1628be8d1ef4f16a838f7ccae978582e4fb4cc3064f3b5e333a5be2a012b3ceccff8ffec9ed42a9a9dfc77399b493e99620976d0fac1df88b13ac6458494856de5c6835586f08409d5d40b7d05817786c92e92c7da4090410d657f84cc02c008773d371a1d23d0360167f912d6e2fe7624be43955f0fbafb9e8625b622fe1d922d79780c6cb2a67fb8784124c206a948fd9985534297ad6e8f7ce5c6b86f71a60b65425a26673fddad0b720c685f92b5c883f3aced95ebf9d0c92495a237787827f873b2e70a3b050de9372cbab606cc8aa9d577a9c9b614b81fdd5dfbce3f9819c809b1f5e569d5ca3bf0ca48907221cb54c61a2de731fb64ce310f2578d120019a3238ff0a22adbc282641ebe35d4d408c46e70f9b4f855a4264e7f03cdb38c604f7a3da415b711953f7627672e9b8fe1d2f5e7b6edaa87a56a9ecc022b834630c31a794886811952a42583c45220bc59de1fb6cb660a13ffcaace1b61f4ff5d1e48174ca1f582656ab561b6432a5ea8278f6acc75d8478a945d8cdb3d699eb42fbbdac30ac2c9975036e3a611bc169323ce076006ed47ab2823528b381317d7d1224deabcd08738f9d7cb66b88b0795df46be03fd10c2112d6c2c419fb3eb7215b71b866d964f7e7b7e10b421f2e37c6bc35d68b5cc0ee844e02f87948ad1bed6d6473bac7445c40b4ad29f22e2625e96d4eedec93f346ca4b7db4c5e4f4d920a7f0c108b73bccc12e61a17526d525ee0373fa7fc19c4128baf66a71c5f2f0dae3112ad26c451e7a73ba946d204c6cc42f4861d255647cdd89c14f51a921e7e057d1058c8f18056b32e0b6343440c985b807fbf35ab6f4a30ec96284bc3338fe5fd0649741b8c72e2362b810d3400040102abef147cd46106a0987b1afb7022788e202411d8c407cd26b814ff706c05d7583c46ff56b845512714ee80fdac950f4b0a15b5844b2d6d904e9a45233fad43810c8d3e2ab45bade90b9b4344fe1348b7333bf0e9bf9c68c9deb5ed102545778ea25d4fb4def2f8acbda2246738cc6ef6dd2c617a7744605d8676f6b6a281f16685588e397b42934b70bee3dc145ba9e0d649471151d35bd587bb324ab1944552708388de06d4805472216eec6b4d62d3951596b5e863d155aef371975ac6244a08e35eb318b18a28459409ea2b6a3df2d650439acf91e2e64bc3d80c4482dfc006095e85f545acc49a20a296bb745aa8319487a70c9576029d08365cd01f470109fae8e9a5c1b21f0a25d82f4fd896ea2fda8ea9aae74d0d0e4fe0ae05e0e4de0f48a2003902b499f8a3e591f25ee6d2bc38555e5ae618ed64e26ee7884ddfcb359cd92a54d4aea5a9cdd958d14ee25b2516cf215df47100b0a0de16d2caddfdbb56c39ac289936ad11d35c54fd7fc3580de0a99e827e245f6afd49f6dfcec7e3821b7e7d1fd54d384ede5c230ec930373ce77c5beeed075913d69eb56616c9535aa7ef57d3c3b46fdf0327abb0c81e2fe02705920253e533c1d741d7c158a2322483ab1de5bad2f4a644f4a64fcc35d9793b877bb360f72d88d3eb7c3405eb626883cd637c7807bfa2979a45d734652a75ca6697d410e818eb02f884f77a60520dfcbf3dcecd88e2bc882e642ee920ba629699db94fbc6a5072b217f845d916e4389a3559e10f199bf661363be1772e717c584d6f6feaa48dead111b67e0d0f28767872db3a039909bc12d3870fb2e5d6772c22b60b73dddb8a6d281ff509e8d466cadda8af3e102d55318fc5d1fcdd9c70cfb08bd3845e2dcbc3ba6dc384c5c90bd5147cd950e8c4a36f0b9068147b5082def357a9af65fd5389003f4c3d6c3ae7321de6af3ae2b84aa74521550787239caaa1134ce6965bb13ae11d28236649d0fa8b56e6385d0a2803ef47da7b346911bdea98e2c18ead0b7488569ec14edc2f902d202903e5f648f8fab743d490f502259e459ed177ee0345f71a77dabf9b19e82e1d46e965bec3ae847c6d3004f0bb3aced4400da7c151a4cbc23f01054eede6ccadc0f7bdafe5d2393137e4a9f04a5ce3aaa3e287c8e09e33bdeb25727d1c64811df50ff625c0fbd13982561dd99b90ffe1883d173d444a9753c6380058bebebcc2259fa251c76a57cccae9313f445de0424696618fc7adca5f3fba424246b5f935aa8ae99e15b2a4386249a4c5362e224991bc0775be84ead8bf624fe8c553fd737d2e5482e59847418da3e43cb73648c23ef89471a7eadd77a03d3fe5e5c70576869de64af75a71793bd89357530e522a40f6d507ce517997c36f38c935a520ba9a1877fc3be6d49432645add083c897476cd0e0cfc8322d23a263bfc1590ad3239145108d646fab2c7386ae3818c7094229cbe2b13ca746323e4672e96b3f6ec10fd9ed65853f90535c18f6bf0b6d5008c599c910db85d44e8bdb46027bccca7754e9f0e1feaa0bad888ff35d14f353f384903aead19c019d98733e463921e0354d214978bbb705989e416e4cd09440424d5e7d62c7d715932a423fd945842e232c9dcdbb5cc62a735bf7f14bcd5dd1747911f7e1c4e9949729a91980aa4b05f35b978d9d09471b95e5b2d0409beb99bb53ce17f04878ba1fdf8c2d26defe9cc219fe36d561180ac502ed4a6ef5c2948b51849dcb7a65cd8d07196bca064fa9d5d184dc73764c824a0655a6ddacd0915d5564a978c9c1c99493a9079917414e27dd4341954a942ec3580fee541b5671e6ea41e70c2090e35f34609d6a69e2479453b892b0857f832139b9db63e5fcab6898f1579d6093cd6dd29f02d390039cac24c9187022683e39ee5927c553fccf5ffd5323b15003e4590db97e4102396a68d70ec9614d9a846337ee95750e8c280476cdd22aa93ea11159828ea992d065d7db86b6c3bbf7c256d96b5b538620048d36c0ef839b26ef297d877a7251e5f94bbd31fa1e995b992a8724ee34011dd590e8aa35b52049e4f10a120b5bc4993106dd093ee07ebdb8563fe26e23074651318b417670e4487299df0da3790a547f05a12feb5f55c9465507f45dcf11c4638a356507c9c3e3565565af954f612438fcd49c248431288cae864d1976ce88da1852ac160e3c43700d3d791d88a2af696acb186913be8f5a0975327f48a3243944d6a26f33a9beb705b62e28ff96e9407adc3962799d433f12a0f122c358c2a5945c570235fdcaa8f21107852a1b273d778dec466511ef8b2484be28f28c6b47d4d313b6db9d72557029c1b2d1ab67e79881f2e4730ed17f2ae48ad48b1da44861da7b955f82f00f2a826406e10139a38cad7375a31760f8d80dbe1c82dc4904fa9f92a2ac295b144adda15e9bafd9225ff87409128387f85936c860876099b2c8651640529cd4508111ae6c91f1d36dad80b226fb89649a4d45311a168b64c2c11d2e195992c22f0a8224229e344a2d542a200beeaf591777bbf0504cf32b22efbae04ea667c99bf10055278f4fd7f1344179510365959cbc58e5b4368ae52c572404afd32d719fadfefcf1c78337d972ab6269a0e52e88bd55a8d22f1a677a8a058a2d084e0e5cd4d2002590d3116705fb76f865ed1260b2c4ea8dc558eed1adaaeff5314379c45f4448b49dfb669820ef38aa1be93190a63fe0b194cea7d141a1741a12f37775d0984bc22c7f04b4beef92d7abd6fce17cb530d79174cd0f391af0312f54e392125d6f882b4fbe31878668d6f7bcf84d4fa994e63853c7fc27b39e3cf792e1df3c24287139acfbe90d46fdd60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094051130e0c4d6a\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b605069c5b2fdcf718b7d8f865ae17e7bf489806953d86c132ec602b2d6bb1b1eac004f90235a792da6162c040011940040002120512441a890400434aa8805080a0140e070500702481584a372b1b080000000000000000000000000000000000000000000000000000000000000000fcd7ccb28f87553f3e3527251903fffbf0eddccbc2a8a18c847f7e7a6f6b5c4211fff95c54514c3e372f29280aebe0bdb4aaa49d9a9481806e685c1e1afdf8cec7c6bd94928f6f514539332621180c0bb8b57166655c3601f95072c897ed22e8d79610354158d2aeddc7a48d0d18693f4eb4843aafaced4b1eb936333e1c760ae04c7d027e129c4b3e9ea3b6171f110876e97f0b4829c90c5415d5709655986209f04c74691cf0ac8afb9da40eb9a8d032fcf16582fe47a3da2a5c257338b0cf8881786053a86b32875e0f9e028c01c24bdedaf06d400b9a55129a5ca34c641437b6a5929cfc3841c03aaa64b0e88d5e09aecee77bb77f2bf953676f7994097d9a4d92fc64e3fafe543a4cd78618e2d49feec463e08e8f10d815a19c789b4affa144453ad12016d2c9e675fd81d31c383436264cfb1431045f298f9966dddddcf509122292908b607fa565cbce1d92463d95cc2019eebe3b76a039773d9abad0650aa83f9f02ef751b8c913b87828ec44d9a9c303e1feb71f2c0259197ca3ec20bf87d9ed9afb3e4330e54926bf1bf5cbe5f7e1f2c002d094e6035f233cfc649c69738e3d02cd9f9d27af22843747115ba13e8689e276ab0d81b06774f8e49b34b54336c4d0b2e5573c4d72f690e563ae87a7242a8674b5eb050a0dfacea64c468cd61344157b8c9d8f75079bf4eb253d12f5d3f772a5519ba7d4d09092e1038c06533ffc232e2b5d2c8fb9a76ecf285d191c8082f349b9d0288082711ffd8ff54c256badbb3873761c0b101d711b37021531b988b5d996d2b9582df54b0dbb5c5e32849747cd5c882ad6c408709a88f9ef2452af7b66aedd9db50d9755ca0578e905dbff6fee9c9d9b7e2a1ea247b25fa84bbdc3561f1f83b33ef5c3ad1762db1628be8d1ef4f16a838f7ccae978582e4fb4cc3064f3b5e333a5be2a012b3ceccff8ffec9ed42a9a9dfc77399b493e99620976d0fac1df88b13ac6458494856de5c6835586f08409d5d40b7d05817786c92e92c7da4090410d657f84cc02c008773d371a1d23d0360167f912d6e2fe7624be43955f0fbafb9e8625b622fe1d922d79780c6cb2a67fb8784124c206a948fd9985534297ad6e8f7ce5c6b86f71a60b65425a26673fddad0b720c685f92b5c883f3aced95ebf9d0c92495a237787827f873b2e70a3b050de9372cbab606cc8aa9d577a9c9b614b81fdd5dfbce3f9819c809b1f5e569d5ca3bf0ca48907221cb54c61a2de731fb64ce310f2578d120019a3238ff0a22adbc282641ebe35d4d408c46e70f9b4f855a4264e7f03cdb38c604f7a3da415b711953f7627672e9b8fe1d2f5e7b6edaa87a56a9ecc022b834630c31a794886811952a42583c45220bc59de1fb6cb660a13ffcaace1b61f4ff5d1e48174ca1f582656ab561b6432a5ea8278f6acc75d8478a945d8cdb3d699eb42fbbdac30ac2c9975036e3a611bc169323ce076006ed47ab2823528b381317d7d1224deabcd08738f9d7cb66b88b0795df46be03fd10c2112d6c2c419fb3eb7215b71b866d964f7e7b7e10b421f2e37c6bc35d68b5cc0ee844e02f87948ad1bed6d6473bac7445c40b4ad29f22e2625e96d4eedec93f346ca4b7db4c5e4f4d920a7f0c108b73bccc12e61a17526d525ee0373fa7fc19c4128baf66a71c5f2f0dae3112ad26c451e7a73ba946d204c6cc42f4861d255647cdd89c14f51a921e7e057d1058c8f18056b32e0b6343440c985b807fbf35ab6f4a30ec96284bc3338fe5fd0649741b8c72e2362b810d3400040102abef147cd46106a0987b1afb7022788e202411d8c407cd26b814ff706c05d7583c46ff56b845512714ee80fdac950f4b0a15b5844b2d6d904e9a45233fad43810c8d3e2ab45bade90b9b4344fe1348b7333bf0e9bf9c68c9deb5ed102545778ea25d4fb4def2f8acbda2246738cc6ef6dd2c617a7744605d8676f6b6a281f16685588e397b42934b70bee3dc145ba9e0d649471151d35bd587bb324ab1944552708388de06d4805472216eec6b4d62d3951596b5e863d155aef371975ac6244a08e35eb318b18a28459409ea2b6a3df2d650439acf91e2e64bc3d80c4482dfc006095e85f545acc49a20a296bb745aa8319487a70c9576029d08365cd01f470109fae8e9a5c1b21f0a25d82f4fd896ea2fda8ea9aae74d0d0e4fe0ae05e0e4de0f48a2003902b499f8a3e591f25ee6d2bc38555e5ae618ed64e26ee7884ddfcb359cd92a54d4aea5a9cdd958d14ee25b2516cf215df47100b0a0de16d2caddfdbb56c39ac289936ad11d35c54fd7fc3580de0a99e827e245f6afd49f6dfcec7e3821b7e7d1fd54d384ede5c230ec930373ce77c5beeed075913d69eb56616c9535aa7ef57d3c3b46fdf0327abb0c81e2fe02705920253e533c1d741d7c158a2322483ab1de5bad2f4a644f4a64fcc35d9793b877bb360f72d88d3eb7c3405eb626883cd637c7807bfa2979a45d734652a75ca6697d410e818eb02f884f77a60520dfcbf3dcecd88e2bc882e642ee920ba629699db94fbc6a5072b217f845d916e4389a3559e10f199bf661363be1772e717c584d6f6feaa48dead111b67e0d0f28767872db3a039909bc12d3870fb2e5d6772c22b60b73dddb8a6d281ff509e8d466cadda8af3e102d55318fc5d1fcdd9c70cfb08bd3845e2dcbc3ba6dc384c5c90bd5147cd950e8c4a36f0b9068147b5082def357a9af65fd5389003f4c3d6c3ae7321de6af3ae2b84aa74521550787239caaa1134ce6965bb13ae11d28236649d0fa8b56e6385d0a2803ef47da7b346911bdea98e2c18ead0b7488569ec14edc2f902d202903e5f648f8fab743d490f502259e459ed177ee0345f71a77dabf9b19e82e1d46e965bec3ae847c6d3004f0bb3aced4400da7c151a4cbc23f01054eede6ccadc0f7bdafe5d2393137e4a9f04a5ce3aaa3e287c8e09e33bdeb25727d1c64811df50ff625c0fbd13982561dd99b90ffe1883d173d444a9753c6380058bebebcc2259fa251c76a57cccae9313f445de0424696618fc7adca5f3fba424246b5f935aa8ae99e15b2a4386249a4c5362e224991bc0775be84ead8bf624fe8c553fd737d2e5482e59847418da3e43cb73648c23ef89471a7eadd77a03d3fe5e5c70576869de64af75a71793bd89357530e522a40f6d507ce517997c36f38c935a520ba9a1877fc3be6d49432645add083c897476cd0e0cfc8322d23a263bfc1590ad3239145108d646fab2c7386ae3818c7094229cbe2b13ca746323e4672e96b3f6ec10fd9ed65853f90535c18f6bf0b6d5008c599c910db85d44e8bdb46027bccca7754e9f0e1feaa0bad888ff35d14f353f384903aead19c019d98733e463921e0354d214978bbb705989e416e4cd09440424d5e7d62c7d715932a423fd945842e232c9dcdbb5cc62a735bf7f14bcd5dd1747911f7e1c4e9949729a91980aa4b05f35b978d9d09471b95e5b2d0409beb99bb53ce17f04878ba1fdf8c2d26defe9cc219fe36d561180ac502ed4a6ef5c2948b51849dcb7a65cd8d07196bca064fa9d5d184dc73764c824a0655a6ddacd0915d5564a978c9c1c99493a9079917414e27dd4341954a942ec3580fee541b5671e6ea41e70c2090e35f34609d6a69e2479453b892b0857f832139b9db63e5fcab6898f1579d6093cd6dd29f02d390039cac24c9187022683e39ee5927c553fccf5ffd5323b15003e4590db97e4102396a68d70ec9614d9a846337ee95750e8c280476cdd22aa93ea11159828ea992d065d7db86b6c3bbf7c256d96b5b538620048d36c0ef839b26ef297d877a7251e5f94bbd31fa1e995b992a8724ee34011dd590e8aa35b52049e4f10a120b5bc4993106dd093ee07ebdb8563fe26e23074651318b417670e4487299df0da3790a547f05a12feb5f55c9465507f45dcf11c4638a356507c9c3e3565565af954f612438fcd49c248431288cae864d1976ce88da1852ac160e3c43700d3d791d88a2af696acb186913be8f5a0975327f48a3243944d6a26f33a9beb705b62e28ff96e9407adc3962799d433f12a0f122c358c2a5945c570235fdcaa8f21107852a1b273d778dec466511ef8b2484be28f28c6b47d4d313b6db9d72557029c1b2d1ab67e79881f2e4730ed17f2ae48ad48b1da44861da7b955f82f00f2a826406e10139a38cad7375a31760f8d80dbe1c82dc4904fa9f92a2ac295b144adda15e9bafd9225ff87409128387f85936c860876099b2c8651640529cd4508111ae6c91f1d36dad80b226fb89649a4d45311a168b64c2c11d2e195992c22f0a8224229e344a2d542a200beeaf591777bbf0504cf32b22efbae04ea667c99bf10055278f4fd7f1344179510365959cbc58e5b4368ae52c572404afd32d719fadfefcf1c78337d972ab6269a0e52e88bd55a8d22f1a677a8a058a2d084e0e5cd4d2002590d3116705fb76f865ed1260b2c4ea8dc558eed1adaaeff5314379c45f4448b49dfb669820ef38aa1be93190a63fe0b194cea7d141a1741a12f37775d0984bc22c7f04b4beef92d7abd6fce17cb530d79174cd0f391af0312f54e392125d6f882b4fbe31878668d6f7bcf84d4fa994e63853c7fc27b39e3cf792e1df3c24287139acfbe90d46fdd60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f23094051130e0c4d6a\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [:64] we see the destpubtxid for vout 4: d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[:64]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [64:128] is null bytes \n \n Vout 3 is addressed to a normal address, as opposed to a Dilithium handle \n \n","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[64:128]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"\n Vout 3 is addressed to a normal address, as opposed to a Dilithium handle \n","tagName":"ul","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"Vout 3 is addressed to a normal address, as opposed to a Dilithium handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"Vout 3 is addressed to a normal address, as opposed to a Dilithium handle","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [128:192] is null bytes \n \n [128:192] is vout 2 \n \n","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[128:192]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"\n [128:192] is vout 2 \n","tagName":"ul","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[128:192] is vout 2","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[128:192]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[128:192] is vout 2","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[128:192]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [192:256] we see the destpubtxid for the LABSLover handle: b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[192:256]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [256:320] we see the destpubtxid for the KomodoFan handle: af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[256:320]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"KomodoFan","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"At position [-76:-12] we see the sender's destpubtxid : d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"li","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"[-76:-12]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"d60d224d7855a40507064c5ca72ed7d84a54340174eb16e31d079e4b4f230940","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"convert-the-opreturn-hex-value-to-big-endian"},{"text":"Find the Balance of an Arbitrary Handle","tagName":"h2","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"find-the-balance-of-an-arbitrary-handle"},{"text":"To find the balance in a normal address we might use the listunspent RPC.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"find-the-balance-of-an-arbitrary-handle"},{"text":"listunspent","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"find-the-balance-of-an-arbitrary-handle"},{"text":"A handle, however, is based on a Dilithium-related Antara Address, and these are more complicated. In this section of the tutorial, we use a series of RPCs and our own customized code to find all the utxos in a public Dilithium handle of our choosing.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"find-the-balance-of-an-arbitrary-handle"},{"text":"We can call this customized action a \"Q listunspent\" function, by way of conversation.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"find-the-balance-of-an-arbitrary-handle"},{"text":"Obtain the Antara Address for the Handle","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Our target for this example is the LABSLover handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Use the handleinfo and cclibaddress RPC to obtain the Antara Address of this handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"handleinfo","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"cclibaddress","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22LABSLover%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22LABSLover%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"LABSLover\",\n \"destpubtxid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"pkaddr\": \"P8bX1ddLLaR149rZZEXkWTAbLTgczsM4vK\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"LABSLover\",\n \"destpubtxid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"pkaddr\": \"P8bX1ddLLaR149rZZEXkWTAbLTgczsM4vK\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Use the returned pubkey value with the cclibaddress RPC.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"cclibaddress","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19 03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclibaddress 19 03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.01,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"PubkeyCCaddress(CClib)\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"PubkeyCCbalance(CClib)\": 7.4996,\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 3.0699,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.22945\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"CClibCCAddress\": \"RJxChTpGrT8Y64NxTK95TVs3r8wPCwswKF\",\n \"CClibCCBalance\": 0.01,\n \"CClibNormalAddress\": \"RCUDfxQCgXpB8bKqkzwBrR4cG8HxjAzJ7Y\",\n \"CClibNormalBalance\": 0.0,\n \"CClibCCTokensAddress\": \"RJzz5iNW4fa8epQJH81CNK5vqPv8PzGz6A\",\n \"PubkeyCCaddress(CClib)\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"PubkeyCCbalance(CClib)\": 7.4996,\n \"myCCAddress(CClib)\": \"RWzd2iZT7rTU91mJVXzXpK8NWseMgZnW74\",\n \"myCCbalance(CClib)\": 3.0699,\n \"myaddress\": \"RVXJpc9N4j35psbqmRZzgpKmo98w1CnvHA\",\n \"mybalance\": 91.22945\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"The \"PubkeyCCaddress(CClib)\" value is the Antara Address for LABSLover : RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"\"PubkeyCCaddress(CClib)\"","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Use the getaddressutxos RPC to find the utxos in this PubkeyCCaddress(CClib) address.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"getaddressutxos","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"PubkeyCCaddress(CClib)","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG getaddressutxos '{\"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]}'\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG getaddressutxos '{\"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]}'\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"[\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 24921\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 24922\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000000,\n \"height\": 25034\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 429930000,\n \"height\": 25034\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 26317\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"ab91e6d67e88557e2fbc459574facdb31e4b8df6352cb564391dcfb653013372\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 9890000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 27859\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 110000000,\n \"height\": 27878\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 1000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 2,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 20000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 3,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 68990000,\n \"height\": 28175\n }\n]\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"[\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 24921\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 24922\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000000,\n \"height\": 25034\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 429930000,\n \"height\": 25034\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"af710c0fd6aeb54556ee401803bc4cc39ea9002ad5228f308b27eb3af0e4c4b6\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 26317\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"ab91e6d67e88557e2fbc459574facdb31e4b8df6352cb564391dcfb653013372\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 9890000,\n \"height\": 27853\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000,\n \"height\": 27859\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 110000000,\n \"height\": 27878\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 1000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 1,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 10000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 2,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 20000000,\n \"height\": 28175\n },\n {\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"outputIndex\": 3,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 68990000,\n \"height\": 28175\n }\n]\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"In the returned response we observe many utxos.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"We cannot assume that all of the returned utxos belong to the LABSLover handle, however. Recall that a handle must be associated with a single Antara Address, but an Antara Address can have multiple handles. Therefore, some of the above utxos belong to LABSLover , and some may belong to another handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"To ascertain which utxos belong to which handle, we must write a script that performs several tasks. First, the script iterates over each utxo and checks whether the utxo is a \"Dilithium send transaction\" or a \"Dilithium Qsend transaction\". For those that are Qsend transactions, the script then checks whether each utxo belongs to the LABSLover handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Generally, any utxo with a value of 0.0001 coins can be ignored in this circumstance. These utxos are created by the Dilithium register RPC and are used to index handles for a given pubkey.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"0.0001","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"For this example, we select one of the above utxos for closer inspection. Our first task is to ascertain whether this utxo is related to Dilithium.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000000,\n \"height\": 25034\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"outputIndex\": 0,\n \"script\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"satoshis\": 100000000,\n \"height\": 25034\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Use the getrawtransaction RPC with the txid value.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"txid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf 2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf 2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"hex\": \"0400008085202f890373510b5982b590c12b37fc743dc7749ac8f0cdb51fa72119056026ee0b50a776000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001ffffffffa137c5974e69ac63d7f3434d1a8cbde8ef3bb08d54b5689d68af945255759f33000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001ffffffffa6470a9f967e4b294127a62cffe75310012dc0487299c5a55d48425640730c5b000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001ffffffff0300e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc1036a01900000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc0000000000000000fdb00d6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad00000000dd6100000000000000000000000000\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 25053,\n \"vin\": [\n {\n \"txid\": \"76a7500bee2660051921a71fb5cdf0c89a74c73d74fc372bc190b582590b5173\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001\"\n },\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"339f75555294af689d68b5548db03befe8bd8c1a4d43f3d763ac694e97c537a1\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001\"\n },\n \"value\": 0.2999,\n \"valueSat\": 29990000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5b0c73405642485da5c5997248c02d011053e7ff2ca62741294b7e969f0a47a6\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001\"\n },\n \"value\": 4.8995,\n \"valueSat\": 489950000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 4.2993,\n \"valueSat\": 429930000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\",\n \"hex\": \"6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"002cec0850ce8435455410053ccfcd2c712705a5f0b510f1b5d9f04e018b3de5\",\n \"height\": 25034,\n \"confirmations\": 3183,\n \"rawconfirmations\": 3183,\n \"time\": 1552703495,\n \"blocktime\": 1552703495\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"hex\": \"0400008085202f890373510b5982b590c12b37fc743dc7749ac8f0cdb51fa72119056026ee0b50a776000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001ffffffffa137c5974e69ac63d7f3434d1a8cbde8ef3bb08d54b5689d68af945255759f33000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001ffffffffa6470a9f967e4b294127a62cffe75310012dc0487299c5a55d48425640730c5b000000007b4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001ffffffff0300e1f50500000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc1036a01900000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc0000000000000000fdb00d6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad00000000dd6100000000000000000000000000\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 25053,\n \"vin\": [\n {\n \"txid\": \"76a7500bee2660051921a71fb5cdf0c89a74c73d74fc372bc190b582590b5173\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140ad8f8664af1ba877d0404c206510e0f083f9a18572606c90c25ded0f9c12c80c0e9ad3711d900ec2f0258a96ba219b75a42a8f51562d8546644d19a463bc7a9fa100af03800113a10001\"\n },\n \"value\": 0.1,\n \"valueSat\": 10000000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"339f75555294af689d68b5548db03befe8bd8c1a4d43f3d763ac694e97c537a1\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61814029e181b897695bc7e747255d9dd8b46010abe885212b51ede555d3a7d9bbf6fd0d36f9c95f57241efa1b31c3a5ba37da9eb65e140069bb7aa9ccc96aa4cecb95a100af03800113a10001\"\n },\n \"value\": 0.2999,\n \"valueSat\": 29990000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n },\n {\n \"txid\": \"5b0c73405642485da5c5997248c02d011053e7ff2ca62741294b7e969f0a47a6\",\n \"vout\": 0,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"scriptSig\": {\n \"asm\": \"a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001\",\n \"hex\": \"4c79a276a072a26ba067a565802103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e618140fea184b62a5d4a5d7d812a976922814059dc64b4e1e9eac5bbafcf66e922038131cb1ded8bb8523f7f4968b8e6e5bd4167dd70d1acb3ee554055d043ab4c0785a100af03800113a10001\"\n },\n \"value\": 4.8995,\n \"valueSat\": 489950000,\n \"address\": \"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 1.0,\n \"valueSat\": 100000000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 4.2993,\n \"valueSat\": 429930000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\",\n \"hex\": \"6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"002cec0850ce8435455410053ccfcd2c712705a5f0b510f1b5d9f04e018b3de5\",\n \"height\": 25034,\n \"confirmations\": 3183,\n \"rawconfirmations\": 3183,\n \"time\": 1552703495,\n \"blocktime\": 1552703495\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Check whether this transaction has an opreturn vout. If there is no opreturn, move onto the next utxo from getaddresstxids .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"This transaction does in fact have an opreturn output.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Use the decodeccopret RPC to decode the hex value of the opreturn.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"decodeccopret","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"(The only argument for the decodeccopret RPC here should be the hex value of the opreturn output.)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG decodeccopret 6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"./komodo-cli -ac_name=MUSIG decodeccopret 6a4dac0d13516d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebadfd460d09f633110175d9f8e08a310ad7fe88d97b4a41903dd0c0db05154d01eafd2ffb4ec74a5cb468cba9b963d6005091f53bd044cae57ae44b6879e66c19791d5f52239f1d980de5f8958a6aa5869bd9efa343d3cabd170d23904efab800cb2a8497b78d702fb8bf3a312a18635dc9c905919bc3e119f919dca5421e51ba10bf3aa31e816b884187c841683ef87aebf89bf72f0b9492d20c1156e27dbfdb991b40671dbb372004f0d40398dbecc26f745a164ce14116f004d68672d4200d04106a67708293d890d88e99f381d78230245fb6a420162e9ade3e7c61e2d72e812ab4b7d439996fd1c2a659fae4658ef7fc196ec1c8017672c1bd7838e59916795fe4171e126a09322f213c306eb4b4563f72ebf1bb91b61850f451cc79dc644e51625db5a82cf1985df5e94b6ead6e92aa91f6da67e0431c843def9125c2c33db4631720ed1e3ea53a0d86f5174c842bc54f710556c9de8aae18cd545094333fe539cc6ccac859ec6dd02271437bc0ec93f511030ad79b57f168e5bbc93e6907a144cbc3fcce8dec42e26a5b9ea445a4f53a33ca7939d7db03c8637d655db9629c108198f1be4d133e5a99801ac5baebf9a8065e6fb5f34d64e0fe1bd7a4383e62134ae0a7df3bfb6f03881308925685b52d80d4f99351e71c80763605fd47c44129028ac475860070209527d626a720d79218776de338bed124fed901944db74735e9ae021474bfa98b1bfff4347e65df70d6d9dc68bab40fa071e2a73cb55f98163d32fe094de1c608836591df0158faa061211783fded36759fd27f9e950e729a4210b18390ff7d7cda94ec6d844c2aa980295bde433ddbdc870c56e7226e105327b2615734e08e688d757eb7ae5a98d9a08b4e2f10b9d77c04e1de4a489068110b7d463facb2c232561c53a97d00230ccb8c056ffd3a52d76c17baed79b8123d8d6bd6ab0641d44b4a623ef0c54bd306bc8fbc4196e9e54c615a6eb43a2243f88756b00f567ed27bdddf929894ced73bdda70813e04160cb6de9e7da2568b9c56ab884dde1ad2a219878a727301e9597de33f00cb191caf3dc358c159abdacfd0239cf96f206eba195217ae5e3b19ce0687b0991b8483da09a74b9b9c7aff6e6178bc4a23bea2069a7dc7b0003273935e2ae25e67d3c6fd4b788a0be7e4c45e378af4f7d6af047c7e938560a25610f4dfcc4a8a0998a1f32c193b026cf6344d152e4764364b57278197ae0754794bbdbf329e966563d57e5bf039cd20482f04866f6d4e8912e3a6590f639b9d487a83792cb30b394d5783df4bae3b6201b3d0d215e0a0eea21baeb41a3c88dc09abfa4cffdb2ff02867344e1e01edf7d545d5e8118471f94da80fd8aeccb507abece80c6e9ee0bb92651f2129a216e4a417b5be6ce9fdb1a608ffea107b8ab2b7f158d3eda057e8fff79b0178c61c6491e136d1946ffc3598f6d87318be6d9dd941489cc4c0e363d7771d0514e83f41e875ae0eddd4c44fa60ed34091dfbab8810a3a0b0fdef1ba21f412254e92f63343e22bedfaf4c329202f24b7158021f82a18eb8aab64a1d6ef7861ed22c515cd892f9b38b0b4e26c12efff5fce1d5605fddd00bf3b72fe04da6b27ca9e54d24a1dbe77dc3793ca1055b73e64344535abf199124c6c46661386521608a65df19598dbc57b88e6a19f6a950eff6290e11029291c579a34e0dea645f08afe76cd1b654e1a3e89efd436c5fe24a6a46cb62a3e2c1c051f6b7e13c37781d38259d82b921852fc3dc70c49d5e7c2b81bf95a442f0f0bbaa0da47406464533ec8b26a1df27143ecda9ac680fb351bf46c35c2c8be959174e78c390d9c5aacbe12635952c144e454f27f141579eff7be53b1425dbc544337acd5497ff9e95c54ba9e83330c332bcbc424c3125af4f56e367a8a76ea9277956abc474a7a641ac52142330d9cf43bebdca704b44264bc3055e4a5267a8bc726ab12d7672a3794944375019a3abf4ad25f4aa9400798a745c5d27c404a103fbe9424fa6c216e21d58b23bc584c70704e155678835773da1337eca84172d2cba605f59c9c7c09d6aa7131024299ec43704bd199b66c2362c54a50f59709ead7c7e85b88bf21ff2d46d7362c2dede76867b9b28d76e47cb6fcf0f6a248b905b0021811472bb8c0006e86115d8997c4b4e8ca7c6f76cf0105ca5da3404674d8ac7b66738eaeab719378c2a5527c0abf93265cc4d3654cd19840285a5da86827016f07e3d432cdc43c26dc050daf0fdd785c8739220f57e61c8fd549be91a4219ecd3800c1b2049b3025a2c67aadfbc0a0a852af98d507c8ff0c74edc01de88795cc4d770f4653dbbe3c2ee5dda524b5d239888e2c663512601e1c95ef466fabd717089d1e1cd07a9690ba562f1dbda071759b9fad9a2f877022052b4a177c7092385527867390523eb5b3b1e2ad302ec98391d5540f4b3a583828bfcf8d8a44324da51d81219990cd8deea7a32cc156279650fec21e1ea323a6c05239a4716016b1b4da636e042b8be781802fe2cf21adbf9aba87e99d29bc9be1b495d7b4d3db08a8eb54648aa3055e890918d092ec4dc93e9a50b7a44eeceefba2b81c7ec416c62080d390460bec13da6fe6c1cf393dfdc9ae0aa40fe8640bad6b8244740ab9fed0e6702b117590961212372c31ad90b8acabf8da9f5a3d0b9896e941619681d54636905fc8e20c034d313ad1d59ece5c74fef6cf5c21e35b212ee37536a6423643466b79667eab34fb797aebbb5c263b72014a18f172d383af03343466b5d014f35943699d8a97a30f90cebae2dc772e7d45163d60dd7025f2ee03cacd039a4caa7cffb58ce015023a8f90ae03dd2a89ea26988701a1f9b27abf4feea25de6af90649a6eab86f47869f3b0363d782b7ea939629948cbcd2d3d7db471810fd46ea9bcdcbe75df0692a8f644f0e22e56bd327cfe26e578e929b67c29d326e6e8cfa317fa4383c9a775344837009c68f29398d0b7db44ef2b5a21b6b28c9acc5b5f954b2ca52f54e9cd2b2b3d6e8ea76b3bebd3e8d5a5fade34429054a9b535c9ad7414d116ecae7abf48e67dbed24f4f122d0949c28f38a0de8dec1eb52a180dbbd36fdd0208b71fe7b0ce8fe454b958057d4d28f90ad013c321846ab9b79fbbe2c764c94b1bea1a4131502f8c6a3f198e1deb2ec1a8f478f6c8f0076c524f1c4da99416dc4f065eea6d607d0e2dbdf20e9871c998ef41fb2cd1d89e66ed36d9ea54e3b7f1d05db9451377df0eb053242a9eb7a931f786de2b35ccae9ddb0fa126bb7c2aeaa8af2d0ef7d7f105ebe71abb7b999341a5113b1f846cd1a8037c83759f46674f6491e2c0149d725a6482730ed60398d8b31d661fde40e89acd66ed547f247e42037cdd6ab1649d7fe6b2a1a28a52c5298d7c192057dcbc26ed5ab0bd2945cd67e99b2ae8a9269c904b1c22f23873fa2505b3eee45ad9666782215bb21cba019b6461e382d0e454fdf17fa871b136a5989cdc06025655ffa0af728f8679bc82d2427b8d7df82d93dcdb41f6a5d80f1932214a7ba7d7c821c9d0de3ec2d954510372c69dd4edc33f4422678f1b1962c64961dcdc850c94377d846cd5cd2f123f454fa7ad01d672a03ee5db3c4a66fc1633c3440481447435951ff6acb1c7dec1d1d31dd80a855f96a278cf8e65fc923bfddf0c407251ef8253ec426842de97022bf0cde525b7bc0011ab116ca3d7e6884fefeb3bb58c1b800f5783282f69ffc18b4b440312ec35515ab11fab9e3f6efe4b9fe0dc4d4151efcbdbce309689301dedbe25d2d22adcf13206bbcdf33775a14e3ed2edf59cdd8f5d367414b42b8439fdcff90a397fe3578f765eda874b43ca34fe26ff1e940321209c27014296682244861b7519c914e72499e6dbfd012c6b8613436bc52b3285ef869878f404d52de6516a63cd669a9f2f703b68d681973b3080428515efab1183e87f14030c1dcb52e1f984a71c7b75fc5b1e93243261f1159a18d474b14ba13997a89fbed67a8eb9b1a82dab818e79cd0151937cd68e66d2444ac1db467322a942566d0c52c45bea2a49cf1e474f16edd169c37de235b8e53ac8a4c43890017a11e08a8260433d6a0222ea4024b3fbad06a0071d0669a56bd387ed33a49e8bbde613e4ea90dc337648705c07dd44ddd4eab96fc5b4b14f1c8c5cc57dfaa742e22e6ab2ac143e0f6901c972e94bf13129daefa9b7dd3bd10e18d8a17c6e5ac1e396a6f4c651b047de66d8c13ecf7dc651558ee474fa64365720196babf3b1229442a762501d881e7395b76ae981fee7ed0ecd01fb492451d701efc7e1d6a47be75d1bf5d7ba8ba1d461e4ab7e2a53e32c2efaafc7e2ad1a94a1fa2dd01a723351ce05e4764da17b46bd447edc8e7f5919f2bdb57a67558de74683416c8974036c5999172d00d56f1463d960110e7d125acb002c64a842100feeb8f3796168677d94fa621b863d5a639298b7ae686016d44fa9d51bb95f17264a2b4b975347d56e648715f3a3dba5960c187d3962a4d0b6ef71600da022d5c696b7e9ea2a9f32c3133353c595b7689939596c8e3e6f1090c3a404a5b5c5d6f7692b1bcbec4d4f7020a27677f879ba9bec2c4f805092d35394672a2a8a9b7fe081f212c3c43464d8692999fa5ef0000000000000000000000000000000000000000000000000000000000000000000000000000000a1a2b37435112a00464600c413880a4c02210040002a1020118400a23a19668480c300210081b5b40b9554af400711620f22e412b414fd2d6df6799ab0d264e83dc6e955aa192065f24d7d1325202a9e277e8c0b88dfc54b9f0f1c6100b65a885af1268b87ad5c01e09c17e066cfc6d2339f34230623ad14db1ab4adc6aa3062516dc0403d1edd6b33b48d9adebad\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"0x13\",\n \"function\": \"Q\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"0x13\",\n \"function\": \"Q\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-antara-address-for-the-handle"},{"text":"Note the Eval Code","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"Note that there is a returned key by the name of eval_code .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"eval_code","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"By design each Antara Module has its own unique eval code. This allows a developer to recognize which specific Antara Module a transaction regards.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"The eval_code value here matches the eval code for the Dilithium Antara Module, and therefore we know that we are dealing with a Dilithium utxo.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"eval_code","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"(To learn more about eval codes, read this linked section of the Advanced Tutorial Series.)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"read this linked section of the Advanced Tutorial Series.)","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-eval-code"},{"text":"Note the Function Value","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"By design, an Antara Module has unique types of transactions. The ability to create unique transactions is a key power of the Antara Framework.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"Within an Antara Module can be numerous types of transactions, and therefore each transaction type needs its own identifier.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"The function key in the structure of the response returned above is this identifier.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"function","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"In our response above we see \"function\": \"Q\", . We need to interpret this Q value into a more common term.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"\"function\": \"Q\",","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"Q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"To obtain a list of all types of transactions for all Antara Modules on a Smart Chain, use the cclibinfo RPC.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"cclibinfo","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"./komodo-cli -ac_name=MUSIG cclibinfo\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"./komodo-cli -ac_name=MUSIG cclibinfo\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"{\n \"result\": \"success\",\n \"CClib\": \"sudoku\",\n \"methods\": [\n // ... (in this tutorial we ommit all non-Dilithium objects for brevity) ...\n\n {\n \"evalcode\": 19,\n \"funcid\": \"K\",\n \"name\": \"dilithium\",\n \"method\": \"keypair\",\n \"help\": \"[hexseed]\",\n \"params_required\": 0,\n \"params_max\": 1\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"R\",\n \"name\": \"dilithium\",\n \"method\": \"register\",\n \"help\": \"handle, [hexseed]\",\n \"params_required\": 1,\n \"params_max\": 2\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"I\",\n \"name\": \"dilithium\",\n \"method\": \"handleinfo\",\n \"help\": \"handle\",\n \"params_required\": 1,\n \"params_max\": 1\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"S\",\n \"name\": \"dilithium\",\n \"method\": \"sign\",\n \"help\": \"msg [hexseed]\",\n \"params_required\": 1,\n \"params_max\": 2\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"V\",\n \"name\": \"dilithium\",\n \"method\": \"verify\",\n \"help\": \"pubtxid msg sig\",\n \"params_required\": 3,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"x\",\n \"name\": \"dilithium\",\n \"method\": \"send\",\n \"help\": \"handle pubtxid amount\",\n \"params_required\": 3,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"y\",\n \"name\": \"dilithium\",\n \"method\": \"spend\",\n \"help\": \"sendtxid scriptPubKey [hexseed]\",\n \"params_required\": 2,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"Q\",\n \"name\": \"dilithium\",\n \"method\": \"Qsend\",\n \"help\": \"mypubtxid hexseed/'mypriv' destpubtxid,amount, ...\",\n \"params_required\": 4,\n \"params_max\": 66\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"{\n \"result\": \"success\",\n \"CClib\": \"sudoku\",\n \"methods\": [\n // ... (in this tutorial we ommit all non-Dilithium objects for brevity) ...\n\n {\n \"evalcode\": 19,\n \"funcid\": \"K\",\n \"name\": \"dilithium\",\n \"method\": \"keypair\",\n \"help\": \"[hexseed]\",\n \"params_required\": 0,\n \"params_max\": 1\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"R\",\n \"name\": \"dilithium\",\n \"method\": \"register\",\n \"help\": \"handle, [hexseed]\",\n \"params_required\": 1,\n \"params_max\": 2\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"I\",\n \"name\": \"dilithium\",\n \"method\": \"handleinfo\",\n \"help\": \"handle\",\n \"params_required\": 1,\n \"params_max\": 1\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"S\",\n \"name\": \"dilithium\",\n \"method\": \"sign\",\n \"help\": \"msg [hexseed]\",\n \"params_required\": 1,\n \"params_max\": 2\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"V\",\n \"name\": \"dilithium\",\n \"method\": \"verify\",\n \"help\": \"pubtxid msg sig\",\n \"params_required\": 3,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"x\",\n \"name\": \"dilithium\",\n \"method\": \"send\",\n \"help\": \"handle pubtxid amount\",\n \"params_required\": 3,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"y\",\n \"name\": \"dilithium\",\n \"method\": \"spend\",\n \"help\": \"sendtxid scriptPubKey [hexseed]\",\n \"params_required\": 2,\n \"params_max\": 3\n },\n {\n \"evalcode\": 19,\n \"funcid\": \"Q\",\n \"name\": \"dilithium\",\n \"method\": \"Qsend\",\n \"help\": \"mypubtxid hexseed/'mypriv' destpubtxid,amount, ...\",\n \"params_required\": 4,\n \"params_max\": 66\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"Towards the bottom we see a json object with \"funcid\": \"Q\", and \"method\": \"Qsend\", .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"\"funcid\": \"Q\",","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"\"method\": \"Qsend\",","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"This tells us that this transaction was executed using Dilithium's Qsend RPC.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"The response also confirms that the eval code for Dilithium is 19 (or 0x13 in hex).\n(We discuss each of the Dilithium-related function types in the above response later in this document.)","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"19","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"0x13","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"note-the-function-value"},{"text":"Obtain the destpubtxids of the Inputs and the Outputs","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"Now that we know this is in fact a Dilithium Qsend transaction, let's use the same process as before to get the destpubtxids of the inputs and outputs.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"destpubtxids","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"First, convert the opreturn's hex value to big endian.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236dfc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9025232d1d7245f0692a15a956edc834e260dab9967dfd6d24f412b412ef220167100f44a55b9405b1b081002300c486896a1230a40180102a10200041022c0a48038410c606404a0125143372b1a0a000000000000000000000000000000000000000000000000000000000000000000000000000000efa59f9992864d46433c2c211f08feb7a9a8a2724639352d0905f8c4c2bea99b877f67270a02f7d4c4bebcb192766f5d5c5b4a403a0c09f1e6e3c896959389765b593c3533312cf3a9a29e7e6b695c2d02da0016f76e0b4d2a96d387c16059ba3d3a5f7148e6567d3475b9b4a26472f195bb519dfa446d0186e67a8b2939a6d563b821a64fd977861696378febfe0021844ac602b0ac25d1e71001963d46f1560dd0729199c5364097c816346874de5875a657db2b9f91f5e7c8ed47d46bb417da64475ee01c3523a701dda21f4aa9d12a7efcaaefc2323ea5e2b74a1e461dbaa87b5dbfd175be476a1d7efc1e701d4592b41fd0ecd07eee1f98ae765b39e781d80125762a4429123bbfba9601726543a64f47ee581565dcf7ec138c6de67d041b654c6f6a391eace5c6178a8de110bdd37d9bfaae9d1213bf942e971c90f6e043c12aabe6222e74aadf57ccc5c8f1144b5bfc96ab4edd4dd47dc005876437c30da94e3e61debbe8493ad37e38bd569a66d071006ad0ba3f4b02a42e22a0d6330426a8081ea1170089434c8aac538e5b23de379c16dd6ef174e4f19ca4a2be452cc5d06625942a3267b41dac44246de668cd371915d09ce718b8da821a9beba867edfb897a9913ba144b478da159111f264332e9b1c55fb7c7714a981f2eb5dcc13040f1873e18b1fa5e51280408b37319688db603f7f2a969d63ca61665de524d408f8769f85e28b352bc363461b8c612d0bf6d9e49724e919c51b76148248266291470c209123240e9f16fe24fa33cb474a8ed65f87625fe97a390ffdc9f43b8424b4167d3f5d8cd59df2eede3145a7733dfbc6b2013cfad222d5de2dbde01936809e3bcbdfc1e15d4c40dfeb9e4eff6e3b9fa11ab1555c32e3140b4b418fc9ff6823278f500b8c158bbb3fefe84687e3dca16b11a01c07b5b52de0cbf2270e92d8426c43e25f81e2507c4f0ddbf23c95fe6f88c276af955a880dd311d1dec7d1ccb6aff51594347144840343c63c16fa6c4b35dee032a671dd07afa54f423f1d25ccd46d87743c950c8cd1d96642c96b1f1782642f433dc4edd692c371045952dece30d9d1c827c7dbaa7142293f1805d6a1fb4cd3dd982dfd7b827242dc89b67f828f70afa5f652560c0cd89596a131b87fa17df4f450e2d381e46b619a0cb21bb1522786696ad45ee3e5b50a23f87232fc2b104c969928aaeb2997ed65c94d20babd56ec2cb7d0592c1d798522ca5281a2a6bfed74916abd6cd3720e447f247d56ed6ac890ee4fd61d6318b8d3960ed302748a625d749012c1e49f67466f45937c837801acd46f8b113511a3499b9b7ab71be5e107f7defd0f28aaaaec2b76b12fab0dde9ca5cb3e26d781f937aeba9423205ebf07d375194db051d7f3b4ea59e6dd36ee6891dcdb21ff48e991c87e920dfdbe2d007d6a6ee65f0c46d4199dac4f124c576008f6c8f478f1aecb2dee198f1a3c6f8021513a4a1beb1944c762cbefb799bab4618323c01ad908fd2d45780954b45fee80c7bfe718b20d0fd36bddb80a152ebc1dee80d8af3289c94d022f1f424eddb678ef4abe7ca6e114d41d79a5c539b4a052944e3ad5f5a8d3ebdbeb376eae8d6b3b2d29c4ef552cab254f9b5c5acc9286b1ba2b5f24eb47d0b8d39298fc60970834453779a3c38a47f31fa8c6e6e329dc2679b928e576ee2cf27d36be5220e4f648f2a69f05de7cbcd9bea46fd101847dbd7d3d2bc8c94299693eab782d763033b9f86476fb8eaa64906f96ade25eafef4ab279b1f1a708869a29ea8d23de00af9a8235001ce58fbcfa7caa439d0ac3ce02e5f02d70dd66351d4e772c72daeeb0cf9307aa9d8993694354f015d6b464333f03a382d178fa11420b763c2b5bbae97b74fb3ea6796b766346423646a5337ee12b2351ec2f56cef4fc7e5ec591dad13d334c0208efc056963541d681916946e89b9d0a3f5a98dbfca8a0bd91ac372232161095917b102670eed9fab404724b8d6ba4086fe40aae09adcdf93f31c6cfea63dc1be6004390d08626c41ecc7812bbaefceee447a0ba5e993dcc42e098d9190e85530aa4846b58e8ab03d4d7b5d491bbec99bd2997ea8abf9db1af22cfe021878beb842e036a64d1b6b0116479a23056c3a32eae121ec0f65796215cc327aeaded80c991912d851da2443a4d8f8fc8b8283a5b3f440551d3998ec02d32a1e3b5beb230539677852852309c777a1b452200277f8a2d9fab9591707dadbf162a50b69a907cde1d1897071bdfa66f45ec9e101265163c6e28898235d4b52da5deec2e3bb3d65f470d7c45c7988de01dc4ec7f08f7c508df92a850a0abcdfaa672c5a02b349201b0c80d3ec19421ae99b54fdc8617ef5209273c885d7fdf0da50c06dc243dc2c433d7ef016708286daa585028419cd54364dcc6532f9abc027552a8c3719b7eaea3867b6c78a4d670434daa55c10f06cf7c6a78c4e4b7c99d81561e806008cbb72148121005b908b246a0fcf6fcb476ed7289b7b8676dedec262736dd4f21ff28bb8857e7cad9e70590fa5542c36c2669b19bd0437c49e29241013a76a9dc0c7c9595f60ba2c2d1784ca7e33a13d7735886755e10407c784c53bb2581de216c2a64f42e9fb03a104c4275d5c748a790094aaf425adf4aba3195037444979a372762db16a72bca867524a5e05c34b26444b70cabdbe43cfd930231452ac41a6a774c4ab567927a96ea7a867e3564faf25314c42bcbc32c33033e8a94bc5959eff9754cd7a3344c5db25143be57bff9e5741f1274f454e142c953526e1cbaac5d990c3784e1759e98b2c5cc346bf51b30f68aca9cd3e1427dfa1268bec3345460674a40daabbf0f042a495bf812b7c5e9dc470dcc32f8521b9829d25381d78373ce1b7f651c0c1e2a362cb466a4ae25f6c43fd9ee8a3e154b6d16ce7af085f64ea0d4ea379c5919202110e29f6ef50a9f6196a8eb857bc8d5919df658a602165386166c4c6249119bf5a534443e6735b05a13c79c37de7dba1244de5a97cb2a64de02fb7f30bd0dd5f60d5e1fcf5ff2ec1264e0b8bb3f992d85c512cd21e86f76e1d4ab6aab88ea1821f0258714bf20292324cafdfbe223e34632fe95422411fa21beffdb0a0a31088abfb1d0934ed60fa444cddede05a871ef4834e51d071773d360e4ccc891494ddd9e68b31876d8f59c3ff46196d131e49c6618c17b079ff8f7e05da3e8d157f2babb807a1fe8f601adb9fcee65b7b414a6e219a12f25126b90beee9c680cebe7a50cbec8afd80da941f4718815e5d547ddf1ee0e144738602ffb2fdcfa4bf9ac08dc8a341ebba21ea0e0a5e210d3d1b20b6e3baf43d78d594b330cb9237a887d4b939f690653a2e91e8d4f66648f08204d29c03bfe5573d5666e929f3dbbb944775e07a197872b5644376e452d14463cf26b093c1321f8a99a0a8c4fc4d0f61250a5638e9c747f06a7d4faf78e3454c7ebea088b7d46f3c7de625aee235392703007bdca76920ea3ba2c48b17e6f6afc7b9b9749aa03d48b891097b68e09cb1e3e57a2195a1eb06f296cf3902fdacbd9a158c35dcf3ca91b10cf033de97951e3027a77898212aade1dd84b86ac5b96825dae7e96dcb6041e01308a7dd3bd7ce949892dfdd7bd27e560fb05687f843223ab46e5a614ce5e99641bc8fbc06d34bc5f03e624a4bd44106abd66b8d3d12b879edba176cd7523afd6f058ccb0c23007da9531c5632c2b2ac3f467d0b116890484adee1047cd7b9102f4e8ba0d9985aaeb77e758d688ee0345761b22753106e22e7560c87dcdb3d43de5b2980a92a4c846dec94da7c7dff9083b110429a720e959e7fd29f7536edfd83172161a0fa5801df91658308c6e14d09fe323d16985fb53ca7e271a00fb4ba68dcd9d670df657e34f4ff1b8ba9bf741402aee93547b74d9401d9fe24d1be38e36d771892d720a726d627952070008675c48a022941c447fd053676801ce75193f9d4802db5855692081388036ffb3bdfa7e04a13623e38a4d71bfee0644df3b56f5e06a8f9ebbac51a80995a3e134dbef19881109c62b95d657d63c803dbd73979ca333af5a445a49e5b6ae242ec8dcefcc3cb44a107693ec9bbe568f1579bd70a0311f593ecc07b437122d06dec59c8ca6ccc39e53f33945054cd18ae8adec95605714fc52b844c17f5860d3aa53e1eed201763b43dc3c22591ef3d841c43e067daf691aa926ead6e4be9f55d98f12ca8b55d62514e64dc79cc51f45018b691bbf1eb723f56b4b46e303c212f32096a121e17e45f791699e53878bdc1727601c8c16e19fcf78e65e4fa59a6c2d16f9939d4b7b42a812ed7e2617c3ede9a2e1620a4b65f243082d781f3998ed890d8938270676a10040d20d47286d604f01641e14c165a746fc2ecdb9803d4f0042037bb1d67401b99dbbf7de256110cd292940b2ff79bf8eb7af83e6841c88741886b811ea33abf10ba511e42a5dc19f919e1c39b9105c9c95d63182a313abfb82f708db797842acb00b8fa4e90230d17bdcad343a3efd99b86a56a8a95f8e50d981d9f23525f1d79196ce679684be47ae5ca44d03bf5915000d663b9a9cb68b45c4ac74efb2ffdea014d1505dbc0d03d90414a7bd988fed70a318ae0f8d975011133f6090d46fdadebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d51130dac4d6a`\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236dfc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9025232d1d7245f0692a15a956edc834e260dab9967dfd6d24f412b412ef220167100f44a55b9405b1b081002300c486896a1230a40180102a10200041022c0a48038410c606404a0125143372b1a0a000000000000000000000000000000000000000000000000000000000000000000000000000000efa59f9992864d46433c2c211f08feb7a9a8a2724639352d0905f8c4c2bea99b877f67270a02f7d4c4bebcb192766f5d5c5b4a403a0c09f1e6e3c896959389765b593c3533312cf3a9a29e7e6b695c2d02da0016f76e0b4d2a96d387c16059ba3d3a5f7148e6567d3475b9b4a26472f195bb519dfa446d0186e67a8b2939a6d563b821a64fd977861696378febfe0021844ac602b0ac25d1e71001963d46f1560dd0729199c5364097c816346874de5875a657db2b9f91f5e7c8ed47d46bb417da64475ee01c3523a701dda21f4aa9d12a7efcaaefc2323ea5e2b74a1e461dbaa87b5dbfd175be476a1d7efc1e701d4592b41fd0ecd07eee1f98ae765b39e781d80125762a4429123bbfba9601726543a64f47ee581565dcf7ec138c6de67d041b654c6f6a391eace5c6178a8de110bdd37d9bfaae9d1213bf942e971c90f6e043c12aabe6222e74aadf57ccc5c8f1144b5bfc96ab4edd4dd47dc005876437c30da94e3e61debbe8493ad37e38bd569a66d071006ad0ba3f4b02a42e22a0d6330426a8081ea1170089434c8aac538e5b23de379c16dd6ef174e4f19ca4a2be452cc5d06625942a3267b41dac44246de668cd371915d09ce718b8da821a9beba867edfb897a9913ba144b478da159111f264332e9b1c55fb7c7714a981f2eb5dcc13040f1873e18b1fa5e51280408b37319688db603f7f2a969d63ca61665de524d408f8769f85e28b352bc363461b8c612d0bf6d9e49724e919c51b76148248266291470c209123240e9f16fe24fa33cb474a8ed65f87625fe97a390ffdc9f43b8424b4167d3f5d8cd59df2eede3145a7733dfbc6b2013cfad222d5de2dbde01936809e3bcbdfc1e15d4c40dfeb9e4eff6e3b9fa11ab1555c32e3140b4b418fc9ff6823278f500b8c158bbb3fefe84687e3dca16b11a01c07b5b52de0cbf2270e92d8426c43e25f81e2507c4f0ddbf23c95fe6f88c276af955a880dd311d1dec7d1ccb6aff51594347144840343c63c16fa6c4b35dee032a671dd07afa54f423f1d25ccd46d87743c950c8cd1d96642c96b1f1782642f433dc4edd692c371045952dece30d9d1c827c7dbaa7142293f1805d6a1fb4cd3dd982dfd7b827242dc89b67f828f70afa5f652560c0cd89596a131b87fa17df4f450e2d381e46b619a0cb21bb1522786696ad45ee3e5b50a23f87232fc2b104c969928aaeb2997ed65c94d20babd56ec2cb7d0592c1d798522ca5281a2a6bfed74916abd6cd3720e447f247d56ed6ac890ee4fd61d6318b8d3960ed302748a625d749012c1e49f67466f45937c837801acd46f8b113511a3499b9b7ab71be5e107f7defd0f28aaaaec2b76b12fab0dde9ca5cb3e26d781f937aeba9423205ebf07d375194db051d7f3b4ea59e6dd36ee6891dcdb21ff48e991c87e920dfdbe2d007d6a6ee65f0c46d4199dac4f124c576008f6c8f478f1aecb2dee198f1a3c6f8021513a4a1beb1944c762cbefb799bab4618323c01ad908fd2d45780954b45fee80c7bfe718b20d0fd36bddb80a152ebc1dee80d8af3289c94d022f1f424eddb678ef4abe7ca6e114d41d79a5c539b4a052944e3ad5f5a8d3ebdbeb376eae8d6b3b2d29c4ef552cab254f9b5c5acc9286b1ba2b5f24eb47d0b8d39298fc60970834453779a3c38a47f31fa8c6e6e329dc2679b928e576ee2cf27d36be5220e4f648f2a69f05de7cbcd9bea46fd101847dbd7d3d2bc8c94299693eab782d763033b9f86476fb8eaa64906f96ade25eafef4ab279b1f1a708869a29ea8d23de00af9a8235001ce58fbcfa7caa439d0ac3ce02e5f02d70dd66351d4e772c72daeeb0cf9307aa9d8993694354f015d6b464333f03a382d178fa11420b763c2b5bbae97b74fb3ea6796b766346423646a5337ee12b2351ec2f56cef4fc7e5ec591dad13d334c0208efc056963541d681916946e89b9d0a3f5a98dbfca8a0bd91ac372232161095917b102670eed9fab404724b8d6ba4086fe40aae09adcdf93f31c6cfea63dc1be6004390d08626c41ecc7812bbaefceee447a0ba5e993dcc42e098d9190e85530aa4846b58e8ab03d4d7b5d491bbec99bd2997ea8abf9db1af22cfe021878beb842e036a64d1b6b0116479a23056c3a32eae121ec0f65796215cc327aeaded80c991912d851da2443a4d8f8fc8b8283a5b3f440551d3998ec02d32a1e3b5beb230539677852852309c777a1b452200277f8a2d9fab9591707dadbf162a50b69a907cde1d1897071bdfa66f45ec9e101265163c6e28898235d4b52da5deec2e3bb3d65f470d7c45c7988de01dc4ec7f08f7c508df92a850a0abcdfaa672c5a02b349201b0c80d3ec19421ae99b54fdc8617ef5209273c885d7fdf0da50c06dc243dc2c433d7ef016708286daa585028419cd54364dcc6532f9abc027552a8c3719b7eaea3867b6c78a4d670434daa55c10f06cf7c6a78c4e4b7c99d81561e806008cbb72148121005b908b246a0fcf6fcb476ed7289b7b8676dedec262736dd4f21ff28bb8857e7cad9e70590fa5542c36c2669b19bd0437c49e29241013a76a9dc0c7c9595f60ba2c2d1784ca7e33a13d7735886755e10407c784c53bb2581de216c2a64f42e9fb03a104c4275d5c748a790094aaf425adf4aba3195037444979a372762db16a72bca867524a5e05c34b26444b70cabdbe43cfd930231452ac41a6a774c4ab567927a96ea7a867e3564faf25314c42bcbc32c33033e8a94bc5959eff9754cd7a3344c5db25143be57bff9e5741f1274f454e142c953526e1cbaac5d990c3784e1759e98b2c5cc346bf51b30f68aca9cd3e1427dfa1268bec3345460674a40daabbf0f042a495bf812b7c5e9dc470dcc32f8521b9829d25381d78373ce1b7f651c0c1e2a362cb466a4ae25f6c43fd9ee8a3e154b6d16ce7af085f64ea0d4ea379c5919202110e29f6ef50a9f6196a8eb857bc8d5919df658a602165386166c4c6249119bf5a534443e6735b05a13c79c37de7dba1244de5a97cb2a64de02fb7f30bd0dd5f60d5e1fcf5ff2ec1264e0b8bb3f992d85c512cd21e86f76e1d4ab6aab88ea1821f0258714bf20292324cafdfbe223e34632fe95422411fa21beffdb0a0a31088abfb1d0934ed60fa444cddede05a871ef4834e51d071773d360e4ccc891494ddd9e68b31876d8f59c3ff46196d131e49c6618c17b079ff8f7e05da3e8d157f2babb807a1fe8f601adb9fcee65b7b414a6e219a12f25126b90beee9c680cebe7a50cbec8afd80da941f4718815e5d547ddf1ee0e144738602ffb2fdcfa4bf9ac08dc8a341ebba21ea0e0a5e210d3d1b20b6e3baf43d78d594b330cb9237a887d4b939f690653a2e91e8d4f66648f08204d29c03bfe5573d5666e929f3dbbb944775e07a197872b5644376e452d14463cf26b093c1321f8a99a0a8c4fc4d0f61250a5638e9c747f06a7d4faf78e3454c7ebea088b7d46f3c7de625aee235392703007bdca76920ea3ba2c48b17e6f6afc7b9b9749aa03d48b891097b68e09cb1e3e57a2195a1eb06f296cf3902fdacbd9a158c35dcf3ca91b10cf033de97951e3027a77898212aade1dd84b86ac5b96825dae7e96dcb6041e01308a7dd3bd7ce949892dfdd7bd27e560fb05687f843223ab46e5a614ce5e99641bc8fbc06d34bc5f03e624a4bd44106abd66b8d3d12b879edba176cd7523afd6f058ccb0c23007da9531c5632c2b2ac3f467d0b116890484adee1047cd7b9102f4e8ba0d9985aaeb77e758d688ee0345761b22753106e22e7560c87dcdb3d43de5b2980a92a4c846dec94da7c7dff9083b110429a720e959e7fd29f7536edfd83172161a0fa5801df91658308c6e14d09fe323d16985fb53ca7e271a00fb4ba68dcd9d670df657e34f4ff1b8ba9bf741402aee93547b74d9401d9fe24d1be38e36d771892d720a726d627952070008675c48a022941c447fd053676801ce75193f9d4802db5855692081388036ffb3bdfa7e04a13623e38a4d71bfee0644df3b56f5e06a8f9ebbac51a80995a3e134dbef19881109c62b95d657d63c803dbd73979ca333af5a445a49e5b6ae242ec8dcefcc3cb44a107693ec9bbe568f1579bd70a0311f593ecc07b437122d06dec59c8ca6ccc39e53f33945054cd18ae8adec95605714fc52b844c17f5860d3aa53e1eed201763b43dc3c22591ef3d841c43e067daf691aa926ead6e4be9f55d98f12ca8b55d62514e64dc79cc51f45018b691bbf1eb723f56b4b46e303c212f32096a121e17e45f791699e53878bdc1727601c8c16e19fcf78e65e4fa59a6c2d16f9939d4b7b42a812ed7e2617c3ede9a2e1620a4b65f243082d781f3998ed890d8938270676a10040d20d47286d604f01641e14c165a746fc2ecdb9803d4f0042037bb1d67401b99dbbf7de256110cd292940b2ff79bf8eb7af83e6841c88741886b811ea33abf10ba511e42a5dc19f919e1c39b9105c9c95d63182a313abfb82f708db797842acb00b8fa4e90230d17bdcad343a3efd99b86a56a8a95f8e50d981d9f23525f1d79196ce679684be47ae5ca44d03bf5915000d663b9a9cb68b45c4ac74efb2ffdea014d1505dbc0d03d90414a7bd988fed70a318ae0f8d975011133f6090d46fdadebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d51130dac4d6a`\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"From our getrawtransaction response earlier we already know this transaction has two outputs (besides the opreturn output). Therfore, the Dilithium handle's destpubtxid for vout1 is located at position [:64] and the destpubtixd for vout0 is located at [64:128] .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"[:64]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"destpubtixd","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"[64:128]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"In vout1's position we find adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"In vout0's position we find fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9 .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"Neither of these vouts match the destpubtxid for the LABSLover handle, and therefore this utxo does not belong to the LABSLover handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"obtain-the-destpubtxids-of-the-inputs-and-the-outputs"},{"text":"Create a Customized Function to Determine the Full Handle","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"To find out which handles these do belong to, we need to write a more elaborate customized function in a programming language of our choice.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Any programming language that is capable of sending RPCs to the daemon is capable of creating this type of customized function.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"For this tutorial, we use the Python language and the python3 toolset. We also use the slickrpc library to interact with the daemon.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"python3","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"slickrpc","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"(To learn how to use the slickrpc library, visit this linked documentation.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"visit this linked documentation.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"# function to get handle from register txid\ndef handle_get(register_txid, rpc_connection):\n tx = rpc_connection.getrawtransaction(register_txid, 1)\n OP_ret = tx['vout'][-1]['scriptPubKey']['hex']\n byte_length = OP_ret[12:14]\n byte_length_int = int(byte_length, 16)\n x = (byte_length_int * 2) + 14\n return(bytes.fromhex(OP_ret[14:x]).decode('utf-8'))\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"# function to get handle from register txid\ndef handle_get(register_txid, rpc_connection):\n tx = rpc_connection.getrawtransaction(register_txid, 1)\n OP_ret = tx['vout'][-1]['scriptPubKey']['hex']\n byte_length = OP_ret[12:14]\n byte_length_int = int(byte_length, 16)\n x = (byte_length_int * 2) + 14\n return(bytes.fromhex(OP_ret[14:x]).decode('utf-8'))\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Use the getrawtransaction to obtain the opreturn for the destpubtxid : adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d 2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d 2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"[\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 5,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 1352056e657732302103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61fde0069c35399f231edecd6448d94856704085409b2c253bfeb8b5d3af5e0905e424904333942904b85236941e332252c340e4e2187e2b13434338cf4d0ed81c0d6bcf54129c2aa93397024686058823126b5b51ef1895504cab5b925c10ac0b2dbb4783b0ef1f09a07db30d01d2ffd822a0c6955a8d595f700071d0d75eaf3b0921d8b78778d939c0e7ac34e56f8709ce87725b351a7f0967b999bff1b455f2a9db10c3e59190eb224281763979d99870fce70bd3f0a4a886aabad417601354a014c2882f9f46027d9b44cd68fa3a1ed65738db951cd450ae7d0c8cb2c70e6fa8bfde217f3ae9f7768f40aa283c3cc5f1f29855ccc0e60401f014c7894fc37ad1eb77e42b6a7503b8432513f87fa2e726f7103057e19e8c19911594488809faecd2865d822f2e82763e9f3d4d51465c40f5e69314071f962bd2ed34843f47a063f292e12773b3fa63d050d328d621aa8b2d775e04744a2ceaa29a4b373a074c428d54d61dcaa4b76fe6e7e57a0fd71227a510928a49055305ab2bd5696264b9f43d6c92f8d88fc929e49f8faa6b9a6307a867af92ed97bc1fcbbd474d9c2f49b0659ea547a5ad9f31c81bf5c189c2fc51e248e60a3fd9841f08dc62c559ea7dfe6275cb02f7cebeb1258412c8d0b9ace086f286c59911ed52faa5ac8443d10845bcd3c60697a5428c023263d1a466fadd5075e4794b9dd6955450cb3d7b595658325441440876eda2caaf385dd0ef6c1bc64fc5e54d4eff2ab2e7301a99adb53e015cd130cc0ea259b332a606c8f91da629cd649ffa3d84f4866ed921b4138cd74480cbdbc238636324fa1020263ecfa7693621654de04f14218e01f831fe59b4b3db4c612141e4130438af6b9c203a8af2128a8ea1e2574bd13421caa85e054a06d5df4fb1c92def5bc782548d61bfa50ec8fd70ac17bacc885b9fedde62ad4ab8df1e56f4b9928536bb7cc8988d99d503be8a213030f9a335a8c428424a20fc7373cb141cc32bf185dd13d82d2897e3638f9e8e868f00a398e6beca60231ce568e8698fdede5f63ee32e7b7058379b4f0b83135c73ac6084474ede0e38030e5be8241f4af53188edbe4d68056f2934f717d53eed69d2cb4f1b25f16f08f2aafec71ff53e73001f111f1c9e0314870c7be32a6651f5bdf8607bb0ca35d6f33eab8bc7236f89e01a921d30b9cf562575fa4799e566620699d1e123a8795b77fadd55a16d44cb220fd2857bbb8fa8c48f65b8458e7a0faae52e62b8d0746cc5aa24366fa76c25001ee3187b894246ecb96247372668bf58ea753c996a5726ac9e6524fd03e335e5e896141089acd99b417afdf07ad7604cacc7606023fb53a5ad68630f3e08fc49b6cd59241c58c1b8a8170c00f7db4ed774d02ec07d05903f94f95766e32f4edb5c79012f4d8bad48c3d913fdc5c8950449296a55753097b3d75c5ad580feeb24eec216f3fee16ffadc2a7575b3fb11eaa31b9e4d79d19bec16bed2d86a65c694a23535630a73696def1c9f1ca43622836eafb0cb3eaa136d43cb376d1e6b50d3c4bbe8e0bfc07fa6ffce15305a8ca695fffffbf29333e7da4532647cf09b370bafa17f5e498924921fc00371a1be856324be3accd973d6495b2d8105adefeb0f6d8d36ec678c4c6a55cfbbfd704ab6cb9ac939ccb1f104036e3ff213ba5a983c2b46cba5d4ea48c9cd2d50483f5f51d72aa2ea2e8ca68b5e7e14791fa51204af13541618a2aedba47de8229f31c967a7381ec22822617d19dd460942878a2af8273f072e293017608f876566c6180704596b9be2806eb2706349c3e1e1d4c4eda819843d922870491e0f8f5cbcd12e2feb1346eb877019203525eda9c411450c660b94da968ca6a0008d76fd757ade57e00f00a4f349d9ab0b0bcc97e74e2d92b5188d1d42dca80b4c3f619729b698bb301ba0ad31fb3a8c22a69a6516ec1f19d5a7651acd8951a674abb9ffa2d2aa64dfa98286c7ea26f1629f6a5892488fd69ca1f81af0109655f1f12c8d26b74f039c52c20e7798692901c1fff0460d0e18d60c15ec42b3ee6b11bd4b27a7c919c3484e5e02da76fd16e08fd6d7b20e710056d625b93317c1ebaa08deead7534907bc371ef539a608a159296973158969c6255c8907f02f9025802ba3ff0f6ee503ed17a764a10d6d41d140f6f9433b222927e16edb5f573d28cba228f026d56ba23db7f6b17606e095c78b2e7d3ce1a65343bf4f61569372a1cd90f6a4acfbe233000de8d27139eba523ce53500a2f861609e4b45bc16a7e96c8dbc6101e11b405621dba2dde1ec3a02d9836465383d6d9ad5ed7eb0714bfba607d9d63f2f27160645a196f02b7359af59c71ce12b044627144354e16d22786c6c4b6e5ecab9d27f94a78ee3e45156b1a872178dae6ff87a9165fb6e451c515fcf81b74500a4fc8b92cb700e94575ab1b5afe788f5263d473349ea0ca00a11ba562b645d481ed19d185a41ff8f887859948ad6\",\n \"hex\": \"6a4d0d071352056e657732302103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61fde0069c35399f231edecd6448d94856704085409b2c253bfeb8b5d3af5e0905e424904333942904b85236941e332252c340e4e2187e2b13434338cf4d0ed81c0d6bcf54129c2aa93397024686058823126b5b51ef1895504cab5b925c10ac0b2dbb4783b0ef1f09a07db30d01d2ffd822a0c6955a8d595f700071d0d75eaf3b0921d8b78778d939c0e7ac34e56f8709ce87725b351a7f0967b999bff1b455f2a9db10c3e59190eb224281763979d99870fce70bd3f0a4a886aabad417601354a014c2882f9f46027d9b44cd68fa3a1ed65738db951cd450ae7d0c8cb2c70e6fa8bfde217f3ae9f7768f40aa283c3cc5f1f29855ccc0e60401f014c7894fc37ad1eb77e42b6a7503b8432513f87fa2e726f7103057e19e8c19911594488809faecd2865d822f2e82763e9f3d4d51465c40f5e69314071f962bd2ed34843f47a063f292e12773b3fa63d050d328d621aa8b2d775e04744a2ceaa29a4b373a074c428d54d61dcaa4b76fe6e7e57a0fd71227a510928a49055305ab2bd5696264b9f43d6c92f8d88fc929e49f8faa6b9a6307a867af92ed97bc1fcbbd474d9c2f49b0659ea547a5ad9f31c81bf5c189c2fc51e248e60a3fd9841f08dc62c559ea7dfe6275cb02f7cebeb1258412c8d0b9ace086f286c59911ed52faa5ac8443d10845bcd3c60697a5428c023263d1a466fadd5075e4794b9dd6955450cb3d7b595658325441440876eda2caaf385dd0ef6c1bc64fc5e54d4eff2ab2e7301a99adb53e015cd130cc0ea259b332a606c8f91da629cd649ffa3d84f4866ed921b4138cd74480cbdbc238636324fa1020263ecfa7693621654de04f14218e01f831fe59b4b3db4c612141e4130438af6b9c203a8af2128a8ea1e2574bd13421caa85e054a06d5df4fb1c92def5bc782548d61bfa50ec8fd70ac17bacc885b9fedde62ad4ab8df1e56f4b9928536bb7cc8988d99d503be8a213030f9a335a8c428424a20fc7373cb141cc32bf185dd13d82d2897e3638f9e8e868f00a398e6beca60231ce568e8698fdede5f63ee32e7b7058379b4f0b83135c73ac6084474ede0e38030e5be8241f4af53188edbe4d68056f2934f717d53eed69d2cb4f1b25f16f08f2aafec71ff53e73001f111f1c9e0314870c7be32a6651f5bdf8607bb0ca35d6f33eab8bc7236f89e01a921d30b9cf562575fa4799e566620699d1e123a8795b77fadd55a16d44cb220fd2857bbb8fa8c48f65b8458e7a0faae52e62b8d0746cc5aa24366fa76c25001ee3187b894246ecb96247372668bf58ea753c996a5726ac9e6524fd03e335e5e896141089acd99b417afdf07ad7604cacc7606023fb53a5ad68630f3e08fc49b6cd59241c58c1b8a8170c00f7db4ed774d02ec07d05903f94f95766e32f4edb5c79012f4d8bad48c3d913fdc5c8950449296a55753097b3d75c5ad580feeb24eec216f3fee16ffadc2a7575b3fb11eaa31b9e4d79d19bec16bed2d86a65c694a23535630a73696def1c9f1ca43622836eafb0cb3eaa136d43cb376d1e6b50d3c4bbe8e0bfc07fa6ffce15305a8ca695fffffbf29333e7da4532647cf09b370bafa17f5e498924921fc00371a1be856324be3accd973d6495b2d8105adefeb0f6d8d36ec678c4c6a55cfbbfd704ab6cb9ac939ccb1f104036e3ff213ba5a983c2b46cba5d4ea48c9cd2d50483f5f51d72aa2ea2e8ca68b5e7e14791fa51204af13541618a2aedba47de8229f31c967a7381ec22822617d19dd460942878a2af8273f072e293017608f876566c6180704596b9be2806eb2706349c3e1e1d4c4eda819843d922870491e0f8f5cbcd12e2feb1346eb877019203525eda9c411450c660b94da968ca6a0008d76fd757ade57e00f00a4f349d9ab0b0bcc97e74e2d92b5188d1d42dca80b4c3f619729b698bb301ba0ad31fb3a8c22a69a6516ec1f19d5a7651acd8951a674abb9ffa2d2aa64dfa98286c7ea26f1629f6a5892488fd69ca1f81af0109655f1f12c8d26b74f039c52c20e7798692901c1fff0460d0e18d60c15ec42b3ee6b11bd4b27a7c919c3484e5e02da76fd16e08fd6d7b20e710056d625b93317c1ebaa08deead7534907bc371ef539a608a159296973158969c6255c8907f02f9025802ba3ff0f6ee503ed17a764a10d6d41d140f6f9433b222927e16edb5f573d28cba228f026d56ba23db7f6b17606e095c78b2e7d3ce1a65343bf4f61569372a1cd90f6a4acfbe233000de8d27139eba523ce53500a2f861609e4b45bc16a7e96c8dbc6101e11b405621dba2dde1ec3a02d9836465383d6d9ad5ed7eb0714bfba607d9d63f2f27160645a196f02b7359af59c71ce12b044627144354e16d22786c6c4b6e5ecab9d27f94a78ee3e45156b1a872178dae6ff87a9165fb6e451c515fcf81b74500a4fc8b92cb700e94575ab1b5afe788f5263d473349ea0ca00a11ba562b645d481ed19d185a41ff8f887859948ad6\",\n \"type\": \"nulldata\"\n }\n }\n]\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"[\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 5,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 1352056e657732302103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61fde0069c35399f231edecd6448d94856704085409b2c253bfeb8b5d3af5e0905e424904333942904b85236941e332252c340e4e2187e2b13434338cf4d0ed81c0d6bcf54129c2aa93397024686058823126b5b51ef1895504cab5b925c10ac0b2dbb4783b0ef1f09a07db30d01d2ffd822a0c6955a8d595f700071d0d75eaf3b0921d8b78778d939c0e7ac34e56f8709ce87725b351a7f0967b999bff1b455f2a9db10c3e59190eb224281763979d99870fce70bd3f0a4a886aabad417601354a014c2882f9f46027d9b44cd68fa3a1ed65738db951cd450ae7d0c8cb2c70e6fa8bfde217f3ae9f7768f40aa283c3cc5f1f29855ccc0e60401f014c7894fc37ad1eb77e42b6a7503b8432513f87fa2e726f7103057e19e8c19911594488809faecd2865d822f2e82763e9f3d4d51465c40f5e69314071f962bd2ed34843f47a063f292e12773b3fa63d050d328d621aa8b2d775e04744a2ceaa29a4b373a074c428d54d61dcaa4b76fe6e7e57a0fd71227a510928a49055305ab2bd5696264b9f43d6c92f8d88fc929e49f8faa6b9a6307a867af92ed97bc1fcbbd474d9c2f49b0659ea547a5ad9f31c81bf5c189c2fc51e248e60a3fd9841f08dc62c559ea7dfe6275cb02f7cebeb1258412c8d0b9ace086f286c59911ed52faa5ac8443d10845bcd3c60697a5428c023263d1a466fadd5075e4794b9dd6955450cb3d7b595658325441440876eda2caaf385dd0ef6c1bc64fc5e54d4eff2ab2e7301a99adb53e015cd130cc0ea259b332a606c8f91da629cd649ffa3d84f4866ed921b4138cd74480cbdbc238636324fa1020263ecfa7693621654de04f14218e01f831fe59b4b3db4c612141e4130438af6b9c203a8af2128a8ea1e2574bd13421caa85e054a06d5df4fb1c92def5bc782548d61bfa50ec8fd70ac17bacc885b9fedde62ad4ab8df1e56f4b9928536bb7cc8988d99d503be8a213030f9a335a8c428424a20fc7373cb141cc32bf185dd13d82d2897e3638f9e8e868f00a398e6beca60231ce568e8698fdede5f63ee32e7b7058379b4f0b83135c73ac6084474ede0e38030e5be8241f4af53188edbe4d68056f2934f717d53eed69d2cb4f1b25f16f08f2aafec71ff53e73001f111f1c9e0314870c7be32a6651f5bdf8607bb0ca35d6f33eab8bc7236f89e01a921d30b9cf562575fa4799e566620699d1e123a8795b77fadd55a16d44cb220fd2857bbb8fa8c48f65b8458e7a0faae52e62b8d0746cc5aa24366fa76c25001ee3187b894246ecb96247372668bf58ea753c996a5726ac9e6524fd03e335e5e896141089acd99b417afdf07ad7604cacc7606023fb53a5ad68630f3e08fc49b6cd59241c58c1b8a8170c00f7db4ed774d02ec07d05903f94f95766e32f4edb5c79012f4d8bad48c3d913fdc5c8950449296a55753097b3d75c5ad580feeb24eec216f3fee16ffadc2a7575b3fb11eaa31b9e4d79d19bec16bed2d86a65c694a23535630a73696def1c9f1ca43622836eafb0cb3eaa136d43cb376d1e6b50d3c4bbe8e0bfc07fa6ffce15305a8ca695fffffbf29333e7da4532647cf09b370bafa17f5e498924921fc00371a1be856324be3accd973d6495b2d8105adefeb0f6d8d36ec678c4c6a55cfbbfd704ab6cb9ac939ccb1f104036e3ff213ba5a983c2b46cba5d4ea48c9cd2d50483f5f51d72aa2ea2e8ca68b5e7e14791fa51204af13541618a2aedba47de8229f31c967a7381ec22822617d19dd460942878a2af8273f072e293017608f876566c6180704596b9be2806eb2706349c3e1e1d4c4eda819843d922870491e0f8f5cbcd12e2feb1346eb877019203525eda9c411450c660b94da968ca6a0008d76fd757ade57e00f00a4f349d9ab0b0bcc97e74e2d92b5188d1d42dca80b4c3f619729b698bb301ba0ad31fb3a8c22a69a6516ec1f19d5a7651acd8951a674abb9ffa2d2aa64dfa98286c7ea26f1629f6a5892488fd69ca1f81af0109655f1f12c8d26b74f039c52c20e7798692901c1fff0460d0e18d60c15ec42b3ee6b11bd4b27a7c919c3484e5e02da76fd16e08fd6d7b20e710056d625b93317c1ebaa08deead7534907bc371ef539a608a159296973158969c6255c8907f02f9025802ba3ff0f6ee503ed17a764a10d6d41d140f6f9433b222927e16edb5f573d28cba228f026d56ba23db7f6b17606e095c78b2e7d3ce1a65343bf4f61569372a1cd90f6a4acfbe233000de8d27139eba523ce53500a2f861609e4b45bc16a7e96c8dbc6101e11b405621dba2dde1ec3a02d9836465383d6d9ad5ed7eb0714bfba607d9d63f2f27160645a196f02b7359af59c71ce12b044627144354e16d22786c6c4b6e5ecab9d27f94a78ee3e45156b1a872178dae6ff87a9165fb6e451c515fcf81b74500a4fc8b92cb700e94575ab1b5afe788f5263d473349ea0ca00a11ba562b645d481ed19d185a41ff8f887859948ad6\",\n \"hex\": \"6a4d0d071352056e657732302103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61fde0069c35399f231edecd6448d94856704085409b2c253bfeb8b5d3af5e0905e424904333942904b85236941e332252c340e4e2187e2b13434338cf4d0ed81c0d6bcf54129c2aa93397024686058823126b5b51ef1895504cab5b925c10ac0b2dbb4783b0ef1f09a07db30d01d2ffd822a0c6955a8d595f700071d0d75eaf3b0921d8b78778d939c0e7ac34e56f8709ce87725b351a7f0967b999bff1b455f2a9db10c3e59190eb224281763979d99870fce70bd3f0a4a886aabad417601354a014c2882f9f46027d9b44cd68fa3a1ed65738db951cd450ae7d0c8cb2c70e6fa8bfde217f3ae9f7768f40aa283c3cc5f1f29855ccc0e60401f014c7894fc37ad1eb77e42b6a7503b8432513f87fa2e726f7103057e19e8c19911594488809faecd2865d822f2e82763e9f3d4d51465c40f5e69314071f962bd2ed34843f47a063f292e12773b3fa63d050d328d621aa8b2d775e04744a2ceaa29a4b373a074c428d54d61dcaa4b76fe6e7e57a0fd71227a510928a49055305ab2bd5696264b9f43d6c92f8d88fc929e49f8faa6b9a6307a867af92ed97bc1fcbbd474d9c2f49b0659ea547a5ad9f31c81bf5c189c2fc51e248e60a3fd9841f08dc62c559ea7dfe6275cb02f7cebeb1258412c8d0b9ace086f286c59911ed52faa5ac8443d10845bcd3c60697a5428c023263d1a466fadd5075e4794b9dd6955450cb3d7b595658325441440876eda2caaf385dd0ef6c1bc64fc5e54d4eff2ab2e7301a99adb53e015cd130cc0ea259b332a606c8f91da629cd649ffa3d84f4866ed921b4138cd74480cbdbc238636324fa1020263ecfa7693621654de04f14218e01f831fe59b4b3db4c612141e4130438af6b9c203a8af2128a8ea1e2574bd13421caa85e054a06d5df4fb1c92def5bc782548d61bfa50ec8fd70ac17bacc885b9fedde62ad4ab8df1e56f4b9928536bb7cc8988d99d503be8a213030f9a335a8c428424a20fc7373cb141cc32bf185dd13d82d2897e3638f9e8e868f00a398e6beca60231ce568e8698fdede5f63ee32e7b7058379b4f0b83135c73ac6084474ede0e38030e5be8241f4af53188edbe4d68056f2934f717d53eed69d2cb4f1b25f16f08f2aafec71ff53e73001f111f1c9e0314870c7be32a6651f5bdf8607bb0ca35d6f33eab8bc7236f89e01a921d30b9cf562575fa4799e566620699d1e123a8795b77fadd55a16d44cb220fd2857bbb8fa8c48f65b8458e7a0faae52e62b8d0746cc5aa24366fa76c25001ee3187b894246ecb96247372668bf58ea753c996a5726ac9e6524fd03e335e5e896141089acd99b417afdf07ad7604cacc7606023fb53a5ad68630f3e08fc49b6cd59241c58c1b8a8170c00f7db4ed774d02ec07d05903f94f95766e32f4edb5c79012f4d8bad48c3d913fdc5c8950449296a55753097b3d75c5ad580feeb24eec216f3fee16ffadc2a7575b3fb11eaa31b9e4d79d19bec16bed2d86a65c694a23535630a73696def1c9f1ca43622836eafb0cb3eaa136d43cb376d1e6b50d3c4bbe8e0bfc07fa6ffce15305a8ca695fffffbf29333e7da4532647cf09b370bafa17f5e498924921fc00371a1be856324be3accd973d6495b2d8105adefeb0f6d8d36ec678c4c6a55cfbbfd704ab6cb9ac939ccb1f104036e3ff213ba5a983c2b46cba5d4ea48c9cd2d50483f5f51d72aa2ea2e8ca68b5e7e14791fa51204af13541618a2aedba47de8229f31c967a7381ec22822617d19dd460942878a2af8273f072e293017608f876566c6180704596b9be2806eb2706349c3e1e1d4c4eda819843d922870491e0f8f5cbcd12e2feb1346eb877019203525eda9c411450c660b94da968ca6a0008d76fd757ade57e00f00a4f349d9ab0b0bcc97e74e2d92b5188d1d42dca80b4c3f619729b698bb301ba0ad31fb3a8c22a69a6516ec1f19d5a7651acd8951a674abb9ffa2d2aa64dfa98286c7ea26f1629f6a5892488fd69ca1f81af0109655f1f12c8d26b74f039c52c20e7798692901c1fff0460d0e18d60c15ec42b3ee6b11bd4b27a7c919c3484e5e02da76fd16e08fd6d7b20e710056d625b93317c1ebaa08deead7534907bc371ef539a608a159296973158969c6255c8907f02f9025802ba3ff0f6ee503ed17a764a10d6d41d140f6f9433b222927e16edb5f573d28cba228f026d56ba23db7f6b17606e095c78b2e7d3ce1a65343bf4f61569372a1cd90f6a4acfbe233000de8d27139eba523ce53500a2f861609e4b45bc16a7e96c8dbc6101e11b405621dba2dde1ec3a02d9836465383d6d9ad5ed7eb0714bfba607d9d63f2f27160645a196f02b7359af59c71ce12b044627144354e16d22786c6c4b6e5ecab9d27f94a78ee3e45156b1a872178dae6ff87a9165fb6e451c515fcf81b74500a4fc8b92cb700e94575ab1b5afe788f5263d473349ea0ca00a11ba562b645d481ed19d185a41ff8f887859948ad6\",\n \"type\": \"nulldata\"\n }\n }\n]\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"In all destpubtxids in the Dilithium Module, the value at the position [12:14] provides the length of the handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"destpubtxids","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"[12:14]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"In this case, the value is 05 . Therefore, the 5 bytes following this value is the handle, provided in ascii format.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"05","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Observe the following 5 bytes at [14:24] and we see 6e65773230 .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"[14:24]","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"6e65773230","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Once converted from ascii to text this provides the value: new20 .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"new20","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"This should be the handle that we seek.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Use the handleinfo RPC to verify that this is the handle for the destpubtxid of the value adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22new20%22]\"\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"./komodo-cli -ac_name=MUSIG cclib handleinfo 19 \"[%22new20%22]\"\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"new20\",\n \"destpubtxid\": \"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d\",\n \"pkaddr\": \"PPYtLWAwewUY1TNwsHyJpo7GdFLgrZcf5t\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"{\n \"result\": \"success\",\n \"handle\": \"new20\",\n \"destpubtxid\": \"adebadd9483bb3d6edd10304dc162506a36adc4aabb14dd13a623042f339236d\",\n \"pkaddr\": \"PPYtLWAwewUY1TNwsHyJpo7GdFLgrZcf5t\",\n \"pubkey\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61\"\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"create-a-customized-function-to-determine-the-full-handle"},{"text":"Repeat the Same Process for vout0","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-the-same-process-for-vout0"},{"text":"Repeat the same process for vout0, where the destpubtxid is fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9 and returned response is the new21 handle.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-the-same-process-for-vout0"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-the-same-process-for-vout0"},{"text":"fc6c067ec1091ec0d57ab86812af85a8650b10c6f1f0b954fc8db8c0e877e2a9","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-the-same-process-for-vout0"},{"text":"new21","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-the-same-process-for-vout0"},{"text":"Repeat This Process on Each Utxo","tagName":"h4","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Repeat this full process on each utxo provided in the getaddressutxos output above.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"The customized approach we take for this tutorial is to use the dil_listunspent function provided in this linked repository. The source code and function here is also based on python3.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"dil_listunspent","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"provided in this linked repository.","tagName":"a","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Having executed the dil_listunspent python3 function we receive the following response for our pubkey.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"KomodoFan\": [\n {\n \"funcid\": \"Q\",\n \"height\": 27853,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"value\": 0.0989,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.6899,\n \"vout\": 3\n }\n ],\n \"LABSLover\": [\n {\n \"funcid\": \"Q\",\n \"height\": 27878,\n \"received_from\": \"KomodoHaxor\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"value\": 1.1,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.01,\n \"vout\": 0\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.1,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.2,\n \"vout\": 2\n },\n {\n \"funcid\": \"x\",\n \"height\": 28186,\n \"received_from\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"],\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"value\": 0.333,\n \"vout\": 0\n }\n ],\n \"new20\": [\n {\n \"funcid\": \"Q\",\n \"height\": 25034,\n \"received_from\": \"new20\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"value\": 4.2993,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 27853,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"value\": 0.001,\n \"vout\": 0\n }\n ],\n \"new21\": [\n {\n \"funcid\": \"Q\",\n \"height\": 24980,\n \"received_from\": \"new01\",\n \"txid\": \"6b0600623088b7328e627d7de51baa7601c83a41198b133b038100b3669a63bc\",\n \"value\": 0.0,\n \"vout\": 0\n },\n {\n \"funcid\": \"Q\",\n \"height\": 25034,\n \"received_from\": \"new20\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"value\": 1.0,\n \"vout\": 0\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"KomodoFan\": [\n {\n \"funcid\": \"Q\",\n \"height\": 27853,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"value\": 0.0989,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.6899,\n \"vout\": 3\n }\n ],\n \"LABSLover\": [\n {\n \"funcid\": \"Q\",\n \"height\": 27878,\n \"received_from\": \"KomodoHaxor\",\n \"txid\": \"5aaf4007d6d9af7883da1ad464b63fff9d97453efe0b181d19558cc15f6ff668\",\n \"value\": 1.1,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.01,\n \"vout\": 0\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.1,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 28175,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"a23579447936e891182d713be4a35c634a0785c5355bd45c81566bc01196aa98\",\n \"value\": 0.2,\n \"vout\": 2\n },\n {\n \"funcid\": \"x\",\n \"height\": 28186,\n \"received_from\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"],\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"value\": 0.333,\n \"vout\": 0\n }\n ],\n \"new20\": [\n {\n \"funcid\": \"Q\",\n \"height\": 25034,\n \"received_from\": \"new20\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"value\": 4.2993,\n \"vout\": 1\n },\n {\n \"funcid\": \"Q\",\n \"height\": 27853,\n \"received_from\": \"KomodoFan\",\n \"txid\": \"6638c62562a9a9e5cf78cdcd7c77aa54746822bddce9b318d09f5ede565145f5\",\n \"value\": 0.001,\n \"vout\": 0\n }\n ],\n \"new21\": [\n {\n \"funcid\": \"Q\",\n \"height\": 24980,\n \"received_from\": \"new01\",\n \"txid\": \"6b0600623088b7328e627d7de51baa7601c83a41198b133b038100b3669a63bc\",\n \"value\": 0.0,\n \"vout\": 0\n },\n {\n \"funcid\": \"Q\",\n \"height\": 25034,\n \"received_from\": \"new20\",\n \"txid\": \"5b5dab18abbfc0b85c6632ec6b4f71e30d7e28cbfa5e29a6a6e4d48f2fb730cf\",\n \"value\": 1.0,\n \"vout\": 0\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"The dil_listunspent python3 function also decodes this tranasaction:","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"funcid\": \"x\",\n \"height\": 28186,\n \"received_from\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"],\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"value\": 0.333,\n \"vout\": 0\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"funcid\": \"x\",\n \"height\": 28186,\n \"received_from\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"],\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"value\": 0.333,\n \"vout\": 0\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"This is a t to q Dilithium send qutxo. Here is one possible method to decode this type of transaction.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"t","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"send","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9 2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9 2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"hex\": \"0400008085202f890172330153b6cf1d3964b52c35f68d4b1eb3cdfa749545bc2f7e55887ed6e691ab04000000484730440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc901ffffffff03201efc0100000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc08ba07e901000000232103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61ac0000000000000000246a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000002e6e00000000000000000000000000\",\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 28206,\n \"vin\": [\n {\n \"txid\": \"ab91e6d67e88557e2fbc459574facdb31e4b8df6352cb564391dcfb653013372\",\n \"vout\": 4,\n \"address\": \"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\",\n \"scriptSig\": {\n \"asm\": \"30440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc9[ALL]\",\n \"hex\": \"4730440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc901\"\n },\n \"value\": 82.37875,\n \"valueSat\": 8237875000,\n \"address\": \"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.333,\n \"valueSat\": 33300000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 82.04565,\n \"valueSat\": 8204565000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61 OP_CHECKSIG\",\n \"hex\": \"2103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 1378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\",\n \"hex\": \"6a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"00860646a11f7913754c7ac53aca57c84f9125f67df7ae52114adccb8e890052\",\n \"height\": 28186,\n \"confirmations\": 1407,\n \"rawconfirmations\": 1407,\n \"time\": 1552893881,\n \"blocktime\": 1552893881\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"hex\": \"0400008085202f890172330153b6cf1d3964b52c35f68d4b1eb3cdfa749545bc2f7e55887ed6e691ab04000000484730440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc901ffffffff03201efc0100000000302ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc08ba07e901000000232103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61ac0000000000000000246a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6000000002e6e00000000000000000000000000\",\n \"txid\": \"5d15a272a3cbd07611ccd64045fd55d49fdcbb41c0fb21df3b7e8d6011e8b5a9\",\n \"overwintered\": true,\n \"version\": 4,\n \"versiongroupid\": \"892f2085\",\n \"locktime\": 0,\n \"expiryheight\": 28206,\n \"vin\": [\n {\n \"txid\": \"ab91e6d67e88557e2fbc459574facdb31e4b8df6352cb564391dcfb653013372\",\n \"vout\": 4,\n \"address\": \"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\",\n \"scriptSig\": {\n \"asm\": \"30440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc9[ALL]\",\n \"hex\": \"4730440220363c5fcb1be87a789c6cfe970c73e035742f24ff2ee7c4da642a399744ff1f240220535933764fb9e652eaabfa6fbb8df4b2c2f6075d575820dc22006f21fffc0cc901\"\n },\n \"value\": 82.37875,\n \"valueSat\": 8237875000,\n \"address\": \"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\",\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.333,\n \"valueSat\": 33300000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"a22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401 OP_CHECKCRYPTOCONDITION\",\n \"hex\": \"2ea22c802008b4a3a211fa1ecb9d245b3267827a56924653fe9bb4697510cf5d65e4bbfea98103120c008203000401cc\",\n \"reqSigs\": 1,\n \"type\": \"cryptocondition\",\n \"addresses\": [\"RGBrSwrGR4ypFFufyvHEuMMbxs7ETD8Xv7\"]\n }\n },\n {\n \"value\": 82.04565,\n \"valueSat\": 8204565000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"03cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61 OP_CHECKSIG\",\n \"hex\": \"2103cebc558e6ba1c0f56f4ad490391c93336b5ccd8b08d123f4e7f1cdd4d5d21e61ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\"REU3fRjFrfs6ir6g3qcJK1N1AzNafzCw7B\"]\n }\n },\n {\n \"value\": 0.0,\n \"valueSat\": 0,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_RETURN 1378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\",\n \"hex\": \"6a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\",\n \"type\": \"nulldata\"\n }\n }\n ],\n \"vjoinsplit\": [],\n \"valueBalance\": 0.0,\n \"vShieldedSpend\": [],\n \"vShieldedOutput\": [],\n \"blockhash\": \"00860646a11f7913754c7ac53aca57c84f9125f67df7ae52114adccb8e890052\",\n \"height\": 28186,\n \"confirmations\": 1407,\n \"rawconfirmations\": 1407,\n \"time\": 1552893881,\n \"blocktime\": 1552893881\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Use the decodeccopret RPC on this transaction's opreturn hex value and observe that the returned function value is x . This tell us that this transaction is a Dilithium send t -> q transaction.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"decodeccopret","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"function","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"x","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"t","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"q","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"./komodo-cli -ac_name=MUSIG decodeccopret 6a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"./komodo-cli -ac_name=MUSIG decodeccopret 6a221378a26465694d923ee4d490ddd090c0aa7002b6e6a7dcf0550a940ccb6480e325b6\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"0x13\",\n \"function\": \"x\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"{\n \"result\": \"success\",\n \"OpRets\": [\n {\n \"eval_code\": \"0x13\",\n \"function\": \"x\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Convert this hex value to big endian:","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"hex","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a27813226a\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a27813226a\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Take the first 32 bytes of this (position [:64]):","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\n","tagName":"pre","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"b625e38064cb0c940a55f0dca7e6b60270aac090d0dd90d4e43e924d696564a2\n","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"This is the matching destpubtxid to which vout0 was sent in our transaction.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Use the same handle_get function from the previous step and we find that this destpubtxid is associated with the handle LABSLover .","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"destpubtxid","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"LABSLover","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"Collecting all the vouts of the qutxos that belong to this handle and creating a sum of their balances provides the total balance.","tagName":"p","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"},{"text":"qutxos","tagName":"code","path":"antara/tutorials/dilithium-module-tutorial","closestElementReference":"repeat-this-process-on-each-utxo"}],"antara/tutorials/gateways-module-tutorial":[{"text":"Gateways Module Tutorial","tagName":"h1","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"gateways-module-tutorial"},{"text":"Tutorial","tagName":"h2","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"In this tutorial, we will create a gateway that can serve to represent KMD. The following are the steps in the gateway-creation process:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Create a new Smart Chain and provide representative tokens","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Prepare a special oracle to monitor Komodo's chain state","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Bind the tokens and the oracle to our gateway","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Deposit KMD into the gateway","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Exchange tokens with other tokens on-chain","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Use the tokens to withdraw KMD","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Please ensure that you have the KMD main chain downloaded and synced before continuing further in the guide.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Also, please open an empty text file and save all output transaction ids and hex-encoded data from each step. You will need the information at various stages.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"tutorial"},{"text":"Manually Compile and Install Komodo From Source","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"manually-compile-and-install-komodo-from-source"},{"text":"For this tutorial, please compile and install Komodo software from the source repositories.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"manually-compile-and-install-komodo-from-source"},{"text":"Information on manual installations can be found at this linked documentation.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"manually-compile-and-install-komodo-from-source"},{"text":"Information on manual installations can be found at this linked documentation.","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"manually-compile-and-install-komodo-from-source"},{"text":"Create a New Blockchain","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"For this tutorial we will create a temporary Smart Chain called HELLOWORLD for educational purposes.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"HELLOWORLD","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Make sure that the total ac_supply of this Smart Chain is fairly large. 777777 coins will do for our purposes.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"ac_supply","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"777777","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Follow these linked instructions before continuing.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Follow these linked instructions","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Recall also that a user must have a pubkey enabled when interacting with an Antara-related Smart Chain. View this linked material for an explanation.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"View this linked material for an explanation.","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"If desired, the reader may use an existing Smart Chain instead of a temporary educational chain. Follow this link for a list of smart-chain launch parameters.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Follow this link","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-new-blockchain"},{"text":"Create a Token to Represent an External Cryptocurrency","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-token-to-represent-an-external-cryptocurrency"},{"text":"For the GatewaysCC module to function it must have access to tokens that can represent an external cryptocurrency. We use the Tokens CC module to this effect.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-token-to-represent-an-external-cryptocurrency"},{"text":"Tokens","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-a-token-to-represent-an-external-cryptocurrency"},{"text":"Decide the Number of Tokens to Create","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"We want the number of total tokens to be the maximum possible amount of the represented cryptocurrency that we expect to hold.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"Each token is created not from a full coin, but rather from a satoshi.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"For example, 1 HELLOWORLD coin creates 100000000 tokens.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"1","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"100000000","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"The HELLOWORLD satoshis should pair on a one-to-one basis with KMD satoshis.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"For our purposes, we will use 1000 coins of HELLOWORLD.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"1000","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"decide-the-number-of-tokens-to-create"},{"text":"Creating the tokens","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"To create the tokens, execute the following command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate KMD 1000 KMD_equivalent_token_for_gatewaysCC\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate KMD 1000 KMD_equivalent_token_for_gatewaysCC\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"This creates a 100000000000 token supply of on-chain tokens with the name of KMD , which represent the external cryptocurrency, KMD .","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"100000000000","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"KMD","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"KMD","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"For more details on the above command, see tokencreate.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokencreate.","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"This command returns a hex value as a response:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000022c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c3002000000484730440220316605c400c47e2d5aa6104ac5c5229e71683b8db9482efa1655d257690d338802202344f254b208a6d724f52f4503531cf005a8ca68119bde4b6cb281ab9fccaf1101ffffffff80e66c0c47311449c5effc2782134006f05fd31e79659bc4b0608d7e247e280c0000000049483045022100ec494d3fa5c76fe0382e83980affdfd091509fb4e18b20fff8c095374e6b6bee022015ddaf95dc8b03e8cbba00ff7a377b80a7bd2200a68669718c329c617549757701ffffffff0400a0724e18090000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc01f66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\" } ```\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000022c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c3002000000484730440220316605c400c47e2d5aa6104ac5c5229e71683b8db9482efa1655d257690d338802202344f254b208a6d724f52f4503531cf005a8ca68119bde4b6cb281ab9fccaf1101ffffffff80e66c0c47311449c5effc2782134006f05fd31e79659bc4b0608d7e247e280c0000000049483045022100ec494d3fa5c76fe0382e83980affdfd091509fb4e18b20fff8c095374e6b6bee022015ddaf95dc8b03e8cbba00ff7a377b80a7bd2200a68669718c329c617549757701ffffffff0400a0724e18090000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc01f66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000\" } ```\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Select the hex value ( 01000000022c223c... ) and copy it (CTRL + SHFT + C).","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"01000000022c223c...","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Broadcast this value using sendrawtransaction:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"sendrawtransaction:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"This returns a string, and this string is our tokenid .","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Copy the tokenid into the text editor we opened at the beginning of the tutorial and keep it available for future use.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Watch the mempool using getrawmempool to verify that the tokenid is successfully mined:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Once the tokenid disappears from the mempool the transaction is mined.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"If this Smart Chain were receiving full dPoW security services, at this point it would be appropriate to wait for notarization. We can use getinfo to watch for the notarizations property to increase:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"notarizations","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD getinfo\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD getinfo\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"On this educational Smart Chain, however, we can continue without waiting for notarization.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"We can check to see that our token is successfully created on the chain using tokeninfo","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokeninfo","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo insert_token_id\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo insert_token_id\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"We can check the balance of our pubkey using tokenbalance:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"tokenbalance:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance insert_tokenid insert_pubkey\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance insert_tokenid insert_pubkey\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"creating-the-tokens"},{"text":"Create an Oracle","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"We use the Oracles Module to add external data to the blockchain.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Oracles","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"The name of our oracle should be identical to the name of our tokens, KMD , and the data format must start with Ihh (height, blockhash, merkleroot):","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"KMD","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Ihh","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Create the oracle using oraclescreate:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclescreate:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate KMD blockheaders Ihh\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate KMD blockheaders Ihh\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a hex value:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000185b76ed0fbdb9ee2bdb5693f491b6ea23de6498f42c6e83f9f36c1eaf411dd990200000049483045022100aa198a2ae959ee191e1359df48867480bf5a1a5bd4fa76b4398481c89ff3095102205034824dcd56b312183acd65c27a002a13dae84f5d22c767f1efaae09ef63a5c01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aac378740a804000000232103810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5ac00000000000000001c6a1aec43064e5957544852014c0e5765617468657220696e204e594300000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Broadcast the returned hex data using sendrawtransaction:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"sendrawtransaction:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a transaction id, which is the oracleid :","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oracleid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"0df7c4d844f08dba08abd4bb174558739f17cfe268feb005fb6333b3761d9203\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Record this in the text editor.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Before registering as an oracle publisher, we need to run the oraclesfund method:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesfund","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesfund 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesfund 7b6e7745058ffded423546eecc61dcc05069279b90776384c52692765246b64c\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Send the raw transaction by broadcasting the hex value:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 0400008085202f890124839445f1cdca84c42563fa87742a562824815729625184117c80dc2a06510e0000000049483045022100c4442ff211289ebc5967da35843f1d210c4a8985d5797a11c42e245aafdf6985022031e7dfb40e3778033f1fb92c0f1175cb4a658bb32749469d69379968fcf92be701ffffffff031027000000000000302ea22c802083071e46d28313148751bdd5e4ffd0509c4234f4770c4c0550cc48b6d45215188103120c008203000401cce0950b5402000000232102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5ac00000000000000004f6a4c4cec464cb64652769226c5846377909b276950c0dc61ccee463542edfd8f0545776e7b2102c59cc849a87ef401942abb5b5fe81c1a468454fd68c94c849c20b13f5ebd91a5102700000000000000000000b60700000000000000000000000000\n\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Response:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"ab038ff4369974d0596f13be1e69105ed97b5374f694afe7b96b664a9fe07192\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"(Use ./komodo-cli -ac_name=HELLOWORLD getrawmempool to ensure that the transaction receives confirmation.)","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD getrawmempool","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"To prepare for the oraclefeed instance, use oraclesregister to register as a publisher for the oracle. This must be done on a node which can post KMD block headers and which can execute withdrawal transactions:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesregister","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister insert_oracleid data_fee_in_satoshis`\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister insert_oracleid data_fee_in_satoshis`\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a hex value (not shown for brevity), which we now broadcast:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Retrieve the data publisher's pubkey using oraclesinfo:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesinfo:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo insert_oracleid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo insert_oracleid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"46e2dc958477160eb37de3a1ec1bb18899d77f5b47bd52b8a6f7a9ce14729157\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RNFz9HAuzXhAjx6twEJzcHXconzChfiNM6\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"46e2dc958477160eb37de3a1ec1bb18899d77f5b47bd52b8a6f7a9ce14729157\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RNFz9HAuzXhAjx6twEJzcHXconzChfiNM6\",\n \"registered\": [\n {\n \"publisher\": \"03810d28146f60a42090991b044fe630d1664f3f8f46286c61e7420523318047b5\",\n \"baton\": \"RWg43P8s8RtJatAGNa2kV8N2abhQqH93w9\",\n \"batontxid\": \"99dd11f4eac1369f3fe8c6428f49e63da26e1b493f69b5bde29edbfbd06eb785\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.01000000\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"The property, \"publisher\" , in the entry, \"registered\" , of the returned json object is the data publisher's pubkey , also called the publisherpubkey .","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"\"publisher\"","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"\"registered\"","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"publisherpubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Subscribe to the oracle using oraclessubscribe to receive utxo information for data publishing.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclessubscribe","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"The frequency of data-publishing transactions we can perform in a block is equal to the number of active subscriptions committed to the oracle. Therefore, we must have at least one subscription for the oracle to allow publishing.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe insert_oracleid insert_publisherpubkey insert_amount_of_funds_to_add\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe insert_oracleid insert_publisherpubkey insert_amount_of_funds_to_add\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a hex value (not shown for brevity), which we now broadcast:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Execute the oraclessubscribe and sendrawtransaction methods\nseveral times and with the same amount. This gives us the opportunity to\nbroadcast more than one sample of data per block. In our example, we want to\npublish data for more than one KMD-height per block.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Verify the oracle information to ensure it is properly established:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo insert_oracleid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo insert_oracleid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"create-an-oracle"},{"text":"Activating Gateway Binding","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"We now create a gateway and bind our information to it, using the gatewaysbind method.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"gatewaysbind","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"This method requires that we decide how many total gateway signatures we desire ( N ), and how many signatures are required to withdraw funds ( M ).","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"N","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"M","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"For our educational example, we may set both N and M equal to 1 , for simplicity.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"N","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"M","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"1","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"As a part of this command we will need to indicate the pubtype , p2shtype , and wiftype values for our chosen coin. For KMD, these values are 60 , 85 and 188 respectively.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"pubtype","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"p2shtype","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"wiftype","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"60","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"85","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"188","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind insert_tokenid insert_oracleid KMD insert_tokensupply 1 1 insert_gatewayspubkey 60 85 188\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind insert_tokenid insert_oracleid KMD insert_tokensupply 1 1 insert_gatewayspubkey 60 85 188\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"This method returns a hex value (not shown for brevity), which we now broadcast:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"The broadcast returns a transaction id, also called the bindtxid . Copy this information into the text editor.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"Assuming everything is properly created and executed, we may now review our new gateway using gatewaysinfo:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"gatewaysinfo:","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"Use the returned information to verify that the tokenid and oracleid match the information in our text editor.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"oracleid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"activating-gateway-binding"},{"text":"Assemble an Oracle Instance","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"An oracle instance automates the transfer of merkleroot data to our oracle. The Komodo software suite includes built-in tools for creating an oracle instance.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"Change into the correct directory (this command assumes we installed Komodo in the default directory):","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"cd ~/komodo/src/\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"cd ~/komodo/src/\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"Compile the instance:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"gcc cc/dapps/oraclefeed.c -lm -o oraclefeed\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"gcc cc/dapps/oraclefeed.c -lm -o oraclefeed\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"Run the instance:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"./oraclefeed HELLOWORLD insert_oracleid insert_mypubkey Ihh insert_bindtxid &\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"./oraclefeed HELLOWORLD insert_oracleid insert_mypubkey Ihh insert_bindtxid &\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"(succesfull oraclization of KMD heights):\nKMD ht.1023334 <- 669d0f009eaf85900be0d54fa1b5f455d49edfc1d9dcfe71c43b8be19b7927dda3ecd20c0175bc7b8eb98d857baeeef6a18fc7d6b58bd34b4eb00beaa18c5842bbe5566a\nbroadcast HELLOWORLD txid.(9484283d8d4bf28b4053e21e7b7e8210eb59c41668e9c7280c4e6c4fbf61579a)\nKMD ht.1023335 <- 679d0f00173d5dc169a64bba92e5765fde848cc620a700295ecce8837cb2a13b05000000ed71033532278f72c8f64990e27f0cb185310df163b3278faf267e87d12bf84b\nbroadcast HELLOWORLD txid.(837c132ab47f1ac1eee2e03828a9818369b919c1de128b99958ac95ffdc96551)\nKMD ht.1023336 <- 689d0f0006a53215d5a07d9ee1c9206dcdccacd1c364968b555c56cdf78f9f0c40f87d08b30fdf63299d25bd9a09a3b3fb8a26800a0a4f6e93ca6cd8cb41b98b756dd937\nbroadcast HELLOWORLD txid.(f33d5ffaec7d13f14605556cee86262299db8fad0337d1baefadc59ec24b6055)\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"(succesfull oraclization of KMD heights):\nKMD ht.1023334 <- 669d0f009eaf85900be0d54fa1b5f455d49edfc1d9dcfe71c43b8be19b7927dda3ecd20c0175bc7b8eb98d857baeeef6a18fc7d6b58bd34b4eb00beaa18c5842bbe5566a\nbroadcast HELLOWORLD txid.(9484283d8d4bf28b4053e21e7b7e8210eb59c41668e9c7280c4e6c4fbf61579a)\nKMD ht.1023335 <- 679d0f00173d5dc169a64bba92e5765fde848cc620a700295ecce8837cb2a13b05000000ed71033532278f72c8f64990e27f0cb185310df163b3278faf267e87d12bf84b\nbroadcast HELLOWORLD txid.(837c132ab47f1ac1eee2e03828a9818369b919c1de128b99958ac95ffdc96551)\nKMD ht.1023336 <- 689d0f0006a53215d5a07d9ee1c9206dcdccacd1c364968b555c56cdf78f9f0c40f87d08b30fdf63299d25bd9a09a3b3fb8a26800a0a4f6e93ca6cd8cb41b98b756dd937\nbroadcast HELLOWORLD txid.(f33d5ffaec7d13f14605556cee86262299db8fad0337d1baefadc59ec24b6055)\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"assemble-an-oracle-instance"},{"text":"Using the Gateway","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"With our gateway created and our oracle instance running as a background process, we are finally prepared to test our gateway.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"First, we need the gatewaysDepositAddress . This is the address where we will deposit our KMD on the main KMD chain.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gatewaysDepositAddress","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"ba26ba27dc17a017a2c0915378c0a8430e468dffb42c4fc1cd36abf69c88388b\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"07646d72dec393f486f8a116facd9b8a575dcf00ec99f819151fd1784015941b\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"The deposit property contains the gatewaysDepositAddress . When we send funds to this address, we receive in return HELLOWORLD KMD tokens to an on-chain address that we indicate as follows.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"deposit","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gatewaysDepositAddress","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Use the z_sendmany method to send funds to two addresses simultaneously. The first address is the normal address for the pubkey that corresponds to our pubkey on the HELLOWORLD Smart Chain which will receive tokens. The second address is the gatewaysDepositAddress on the KMD chain. We send a nominal amount into the first address, and the amount we wish to have available for trading into the second address. This is done on the external chain -- in this case, KMD.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"z_sendmany","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gatewaysDepositAddress","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli z_sendmany \"insert_address_where_KMD_funds_are_currently_held\" '[{\"address\":\"addressOfPubkeyForTokenizedKmd\",\"amount\":0.0001},{\"address\":\"gatewaysDepositAddress\",\"amount\":0.1}]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli z_sendmany \"insert_address_where_KMD_funds_are_currently_held\" '[{\"address\":\"addressOfPubkeyForTokenizedKmd\",\"amount\":0.0001},{\"address\":\"gatewaysDepositAddress\",\"amount\":0.1}]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"The returned string is the operation_id . Use this with the z_getoperationstatus method.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"operation_id","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"z_getoperationstatus","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli z_getoperationstatus '[\"insert_operation_id\"]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli z_getoperationstatus '[\"insert_operation_id\"]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Execute this every few seconds until the status property reads success . Once this occurs, find the txid value. This is our cointxid , and we copy this into our text editor.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"status","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"success","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"txid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"cointxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Wait for the transaction to be mined. Once confirmed, execute the gettransaction method with the cointxid to obtain more information we will need later.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gettransaction","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"cointxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli gettransaction insert_cointxid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli gettransaction insert_cointxid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Via the returned information from the gettransaction method, we can verify the addresses were correct by looking at the vout properties. At the bottom, there is a hex value. Copy the value to the text editor for later.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gettransaction","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"vout","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"hex","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"In the returned results there is also a blockhash value, which we can use to find out the height of the block which contains the cointtxid by using the method below.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"blockhash","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"cointtxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli getblock insert_blockhash | jq '.height'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli getblock insert_blockhash | jq '.height'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Next, execute the following command for more information:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":" ./komodo-cli gettxoutproof '[\"insert_cointxid\"]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":" ./komodo-cli gettxoutproof '[\"insert_cointxid\"]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"This returns a proof value. Transfer this to the text editor.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"proof","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"We now have the necessary data to execute the gatewaysdeposit method on the HELLOWORLD Smart Chain.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gatewaysdeposit","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"The gatewaysdeposit method broadcasts the relevant data on the Smart Chain so that the gateway nodes may validate the information and prepare to distribute the KMD tokens.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Here is the information we need for this call:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"BINDTXID : our bindtxid","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"BINDTXID","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"HEIGHT : the height value of the blockhash containing the cointxid transaction","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"HEIGHT","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"height","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"blockhash","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"cointxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"COIN : KMD for this example","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"COIN","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"COINTXID : the cointxid returned from z_sendmany","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"COINTXID","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"cointxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"z_sendmany","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"CLAIMVOUT : the vout of the claim (this value should be 0, as it is our first use)","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"CLAIMVOUT","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"vout","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"DEPOSITHEX : the hex value that is found by executing gettransaction on the cointxid","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"DEPOSITHEX","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"hex","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gettransaction","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"PROOF : the proof value returned after executing gettxoutproof on the cointxid","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"PROOF","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"proof","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"gettxoutproof","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"DESTPUB : the public key where the KMD tokens should be received on the Smart Chain (the same pubkey used earlier to retrieve the first address for the z_sendmany method)","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"DESTPUB","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"AMOUNT : the amount of the deposit (in this case 0.1)","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"AMOUNT","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit BINDTXID HEIGHT COIN COINTXID CLAIMVOUT DEPOSITHEX PROOF DESTPUB AMOUNT\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit BINDTXID HEIGHT COIN COINTXID CLAIMVOUT DEPOSITHEX PROOF DESTPUB AMOUNT\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Successfully executing this command will return a hex value.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Broadcast the hex data:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"The broadcast returns a transaction id. Copy this to the text editor. It is the deposittxid .","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"deposittxid","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"For the deposit to process successfully, the oraclefeed instance must first\nprocess the block height of the z_sendmany transaction through the oracle","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"using-the-gateway"},{"text":"Claim the Funds on the Smart Chain","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"To claim the funds we must spend the marker and the deposit asset, and perform the claim.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"This method is only available to the owner of the privkey corresponding to the pubkey used previously in the gatewaysdeposit method. The pubkey should be the -pubkey=$PUBKEY parameter used to launch the daemon.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"privkey","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"-pubkey=$PUBKEY","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"BINDTXID : our bindtxid","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"BINDTXID","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"COIN : KMD for this example","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"COIN","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"DEPOSITTXID : the transaction id returned from the gatewaysdeposit call","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"DEPOSITTXID","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"DESTPUB : the public key where these tokens should be received on the Smart Chain","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"DESTPUB","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"AMOUNT : the amount of the deposit (in this case 0.1)","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"AMOUNT","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim BINDTXID COIN DEPOSITTXID DESTPUB AMOUNT\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim BINDTXID COIN DEPOSITTXID DESTPUB AMOUNT\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"Broadcast the returned hex value:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction insert_hex_data\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"Once this transaction is successfully confirmed, the gateway will credit tokens to our indicated pubkey. These tokens are now usable as regular Token CC tokens.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"For the claim to process successfully, the deposit and bind transaction must\nbe confirmed first. This requires either 101 confirmations, or if the chain\nhas dPoW, 1 notarization.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"claim-the-funds-on-the-smart-chain"},{"text":"Withdrawing KMD Funds","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"When finished with our tokens, we may send them to the gateway and withdraw the corresponding KMD funds via the gatewayswithdraw method. Only the current owner of the KMD funds may execute the gatewayswithdraw method for these funds.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"gatewayswithdraw","tagName":"a","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"gatewayswithdraw","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Recall that for the gateway to function, the oracle instance must be running.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Before we execute gatewayswithdraw , we must first import the private key for the gatewaysdeposit address on node which has oraclefeed instance running (this is needed only once).","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"gatewayswithdraw","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"gatewaysdeposit address","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Find the gatewayDepositAddress in the deposit property of the returned values of the following command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"gatewayDepositAddress","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"deposit","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Find the private key returned from this command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD dumprivkey insert_gatewayDepositAddress\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD dumprivkey insert_gatewayDepositAddress\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Execute the following commands on the node running the oraclefeed instance:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli importprivkey \"insert_private_key\" \"label\" false\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli importprivkey \"insert_private_key\" \"label\" false\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Information for the next command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"BINDTXID : our bindtxid","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"BINDTXID","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"COIN : KMD for this example","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"COIN","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"WITHDRAWPUB : the pubkey where the withdrawn coins should appear on the external chain; in this case, the KMD pubkey","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"WITHDRAWPUB","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"AMOUNT : the amount to withdraw","tagName":"li","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"AMOUNT","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw insert_bindtxid KMD insert_withdraw_pubkey insert_desired_withdraw_amount\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw insert_bindtxid KMD insert_withdraw_pubkey insert_desired_withdraw_amount\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Once executed, the remaining portion of the withdrawal process should happen automatically.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Congratulations, you have successfully completed the cycle of the Gateways CC module.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"withdrawing-kmd-funds"},{"text":"Full Example","tagName":"h2","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"The following content provides the full terminal input and output of a complete gateway cycle.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate KMD 1 testing\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokencreate KMD 1 testing\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100ab0161028985d24b473d758ee9cbb944006c27b69eb6ec5b0625e7c72bdab400000000494830450221008914c99e55f8471d7985db10fead22d4abdd52670709da9c962e20a1dd77064c022022e1900ab245872eede0439e3acbd8e481304a9ba71039590ee4ca452a628fa801ffffffff0400e1f50500000000302ea22c802090bc95b90831a7837c7ef178f6fd47f26a933bcf8de56da4a2f62894ab6c73fc8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000326a30e36321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0034b4d440774657374696e6700000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100ab0161028985d24b473d758ee9cbb944006c27b69eb6ec5b0625e7c72bdab400000000494830450221008914c99e55f8471d7985db10fead22d4abdd52670709da9c962e20a1dd77064c022022e1900ab245872eede0439e3acbd8e481304a9ba71039590ee4ca452a628fa801ffffffff0400e1f50500000000302ea22c802090bc95b90831a7837c7ef178f6fd47f26a933bcf8de56da4a2f62894ab6c73fc8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000326a30e36321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0034b4d440774657374696e6700000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100ab0161028985d24b473d758ee9cbb944006c27b69eb6ec5b0625e7c72bdab400000000494830450221008914c99e55f8471d7985db10fead22d4abdd52670709da9c962e20a1dd77064c022022e1900ab245872eede0439e3acbd8e481304a9ba71039590ee4ca452a628fa801ffffffff0400e1f50500000000302ea22c802090bc95b90831a7837c7ef178f6fd47f26a933bcf8de56da4a2f62894ab6c73fc8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000326a30e36321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0034b4d440774657374696e6700000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100ab0161028985d24b473d758ee9cbb944006c27b69eb6ec5b0625e7c72bdab400000000494830450221008914c99e55f8471d7985db10fead22d4abdd52670709da9c962e20a1dd77064c022022e1900ab245872eede0439e3acbd8e481304a9ba71039590ee4ca452a628fa801ffffffff0400e1f50500000000302ea22c802090bc95b90831a7837c7ef178f6fd47f26a933bcf8de56da4a2f62894ab6c73fc8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702ace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000326a30e36321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0034b4d440774657374696e6700000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokeninfo 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"owner\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"name\": \"KMD\",\n \"supply\": 100000000,\n \"description\": \"testing\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"owner\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"name\": \"KMD\",\n \"supply\": 100000000,\n \"description\": \"testing\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate KMD testing Ihh\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclescreate KMD testing Ihh\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100d7be6a83f6398b2b30315d6a9fb6af048971fbdc233e36fb4307fde654ab5a0000000049483045022100a0155127857c36c35d72e718f052a8a6b2ac5003f8a67e622c006f2f071e5d020220087febeac78eba36a2b6c92a860f32141f9dc453f77988f9da6cfaa14d1e9d9001ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aace051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000146a12ec43034b4d44034968680774657374696e6700000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100d7be6a83f6398b2b30315d6a9fb6af048971fbdc233e36fb4307fde654ab5a0000000049483045022100a0155127857c36c35d72e718f052a8a6b2ac5003f8a67e622c006f2f071e5d020220087febeac78eba36a2b6c92a860f32141f9dc453f77988f9da6cfaa14d1e9d9001ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aace051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000146a12ec43034b4d44034968680774657374696e6700000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100d7be6a83f6398b2b30315d6a9fb6af048971fbdc233e36fb4307fde654ab5a0000000049483045022100a0155127857c36c35d72e718f052a8a6b2ac5003f8a67e622c006f2f071e5d020220087febeac78eba36a2b6c92a860f32141f9dc453f77988f9da6cfaa14d1e9d9001ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aace051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000146a12ec43034b4d44034968680774657374696e6700000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100d7be6a83f6398b2b30315d6a9fb6af048971fbdc233e36fb4307fde654ab5a0000000049483045022100a0155127857c36c35d72e718f052a8a6b2ac5003f8a67e622c006f2f071e5d020220087febeac78eba36a2b6c92a860f32141f9dc453f77988f9da6cfaa14d1e9d9001ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aace051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000146a12ec43034b4d44034968680774657374696e6700000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 10000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesregister 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 10000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100da09e69ee37b713b3bbc5e4cf5f7b9525766af13c86fd5bddb246aff675cbe000000004847304402202d1aa9c1c39ed4428f381d727780fdd6fddfeef616595b7add6b0c7dac66e35f022070c227072ea93b099941daa1b5a2a41afa84ea955a536727c2307c10dc5aa53c01ffffffff041027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eac1027000000000000302ea22c802070f8ca74a159596583083b3744665976848f8c9f2e6d61b962e66c8a0d6b225d8103120c008203000401ccd02a724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec52407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0102700000000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100da09e69ee37b713b3bbc5e4cf5f7b9525766af13c86fd5bddb246aff675cbe000000004847304402202d1aa9c1c39ed4428f381d727780fdd6fddfeef616595b7add6b0c7dac66e35f022070c227072ea93b099941daa1b5a2a41afa84ea955a536727c2307c10dc5aa53c01ffffffff041027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eac1027000000000000302ea22c802070f8ca74a159596583083b3744665976848f8c9f2e6d61b962e66c8a0d6b225d8103120c008203000401ccd02a724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec52407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0102700000000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100da09e69ee37b713b3bbc5e4cf5f7b9525766af13c86fd5bddb246aff675cbe000000004847304402202d1aa9c1c39ed4428f381d727780fdd6fddfeef616595b7add6b0c7dac66e35f022070c227072ea93b099941daa1b5a2a41afa84ea955a536727c2307c10dc5aa53c01ffffffff041027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eac1027000000000000302ea22c802070f8ca74a159596583083b3744665976848f8c9f2e6d61b962e66c8a0d6b225d8103120c008203000401ccd02a724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec52407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0102700000000000000000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100da09e69ee37b713b3bbc5e4cf5f7b9525766af13c86fd5bddb246aff675cbe000000004847304402202d1aa9c1c39ed4428f381d727780fdd6fddfeef616595b7add6b0c7dac66e35f022070c227072ea93b099941daa1b5a2a41afa84ea955a536727c2307c10dc5aa53c01ffffffff041027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eac1027000000000000302ea22c802070f8ca74a159596583083b3744665976848f8c9f2e6d61b962e66c8a0d6b225d8103120c008203000401ccd02a724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec52407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0102700000000000000000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"b0bbe39a33e794ecff5af817440c0cd7d92479cca74f3c763f88111383015d73\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"b0bbe39a33e794ecff5af817440c0cd7d92479cca74f3c763f88111383015d73\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclesinfo 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"name\": \"KMD\",\n \"description\": \"testing\",\n \"format\": \"Ihh\",\n \"marker\": \"RVzbTDynxQysZbYXURkq5W3TjnevyWX1fA\",\n \"registered\": [\n {\n \"publisher\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"baton\": \"RMYk1vLfWGi3aVxjGJYaAyYNZkZUvmoFJ6\",\n \"batontxid\": \"b0bbe39a33e794ecff5af817440c0cd7d92479cca74f3c763f88111383015d73\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.00010000\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"name\": \"KMD\",\n \"description\": \"testing\",\n \"format\": \"Ihh\",\n \"marker\": \"RVzbTDynxQysZbYXURkq5W3TjnevyWX1fA\",\n \"registered\": [\n {\n \"publisher\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"baton\": \"RMYk1vLfWGi3aVxjGJYaAyYNZkZUvmoFJ6\",\n \"batontxid\": \"b0bbe39a33e794ecff5af817440c0cd7d92479cca74f3c763f88111383015d73\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.00010000\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 1\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD oraclessubscribe 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 1\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100e078a6ecd74f0b1609656ea3e7ee54c4a95ae66bfd19929c2e2cdc781b0f410000000049483045022100d48c862acde5e8756d11ef14ea9aaae26cf3da4344b49eb0e496b639c91499e602204dd685b86aae4dd8685e0b14b53c8a2957f5980a61f36d30eb8886726894570401ffffffff0400e1f50500000000302ea22c8020d5ad5ece52f2a6c9dd46cd4e658abce5dc1881e9c470d5cdf1f3f71199996f788103120c008203000401cc1027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec53407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff000e1f5050000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000100e078a6ecd74f0b1609656ea3e7ee54c4a95ae66bfd19929c2e2cdc781b0f410000000049483045022100d48c862acde5e8756d11ef14ea9aaae26cf3da4344b49eb0e496b639c91499e602204dd685b86aae4dd8685e0b14b53c8a2957f5980a61f36d30eb8886726894570401ffffffff0400e1f50500000000302ea22c8020d5ad5ece52f2a6c9dd46cd4e658abce5dc1881e9c470d5cdf1f3f71199996f788103120c008203000401cc1027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec53407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff000e1f5050000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100e078a6ecd74f0b1609656ea3e7ee54c4a95ae66bfd19929c2e2cdc781b0f410000000049483045022100d48c862acde5e8756d11ef14ea9aaae26cf3da4344b49eb0e496b639c91499e602204dd685b86aae4dd8685e0b14b53c8a2957f5980a61f36d30eb8886726894570401ffffffff0400e1f50500000000302ea22c8020d5ad5ece52f2a6c9dd46cd4e658abce5dc1881e9c470d5cdf1f3f71199996f788103120c008203000401cc1027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec53407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff000e1f5050000000000000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000100e078a6ecd74f0b1609656ea3e7ee54c4a95ae66bfd19929c2e2cdc781b0f410000000049483045022100d48c862acde5e8756d11ef14ea9aaae26cf3da4344b49eb0e496b639c91499e602204dd685b86aae4dd8685e0b14b53c8a2957f5980a61f36d30eb8886726894570401ffffffff0400e1f50500000000302ea22c8020d5ad5ece52f2a6c9dd46cd4e658abce5dc1881e9c470d5cdf1f3f71199996f788103120c008203000401cc1027000000000000232102407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9eace0707c48180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac00000000000000004f6a4c4cec53407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e21024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff000e1f5050000000000000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"2e0192ed35349009581cb6be842283b472247abbbeff62d8daef6fc2acfdf808\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"2e0192ed35349009581cb6be842283b472247abbbeff62d8daef6fc2acfdf808\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 KMD 100000000 1 1 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 60 85 188\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysbind 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 KMD 100000000 1 1 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 60 85 188\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000101069d6ef8a20a726959a9802151f3367558a3e2360bb5620cf269c5949777430000000048473044022065e97dc3e0f8aee9c6bc041c728c18ab021c174b8570a8c332a170ec7a94773f022023c19d04002940298ae961d1c155e889df29ae9976bb61cfebd87715de3d7fbf01ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c5500bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d3100e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e00000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"010000000101069d6ef8a20a726959a9802151f3367558a3e2360bb5620cf269c5949777430000000048473044022065e97dc3e0f8aee9c6bc041c728c18ab021c174b8570a8c332a170ec7a94773f022023c19d04002940298ae961d1c155e889df29ae9976bb61cfebd87715de3d7fbf01ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c5500bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d3100e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e00000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000101069d6ef8a20a726959a9802151f3367558a3e2360bb5620cf269c5949777430000000048473044022065e97dc3e0f8aee9c6bc041c728c18ab021c174b8570a8c332a170ec7a94773f022023c19d04002940298ae961d1c155e889df29ae9976bb61cfebd87715de3d7fbf01ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c5500bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d3100e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e00000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 010000000101069d6ef8a20a726959a9802151f3367558a3e2360bb5620cf269c5949777430000000048473044022065e97dc3e0f8aee9c6bc041c728c18ab021c174b8570a8c332a170ec7a94773f022023c19d04002940298ae961d1c155e889df29ae9976bb61cfebd87715de3d7fbf01ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cce051724e180900002321024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0ac0000000000000000796a4c76f142034b4d443c5500bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d3100e1f5050000000001010121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0407eab204e0889bab53c76e8a1b399a79e0ff1205ed044b8af09c22744632b9e00000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD dumpprivkey RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli -ac_name=HELLOWORLD dumpprivkey RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"DONOTUSE_privkey_STRING\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"DONOTUSE_privkey_STRING\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli importprivkey \"privkey\" \"label\" false\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./komodo-cli importprivkey \"privkey\" \"label\" false\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"(corresponding address to privkey)\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"(corresponding address to privkey)\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./oraclefeed HELLOWORLD 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 Ihh 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"./oraclefeed HELLOWORLD 9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40 024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0 Ihh 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":" % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n100 671 100 671 0 0 41937 0 --:--:-- --:--:-- --:--:-- 41937\nBTC/USD 3836.4150\nPowered by CoinDesk (https://www.coindesk.com/price/) 3836.41500000\ncoin.KMD vs KMD\nset refcoin RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp <- KMD [./komodo-cli] M.1 of N.1\nbroadcast HELLOWORLD txid.(8553c068743984692dfa91bee2ce27749352c9b2aef5a06b011f1d3bd263eada)\nKMD ht.1116166 <- 060811006a039b728c305c8d98b42801cde542386fc3fba3a7dbcdfbb97e6e88a891d909976d2c4de105822f03f6b81d35f3075e08bb098553bfbd3709127aac112a7819\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":" % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n100 671 100 671 0 0 41937 0 --:--:-- --:--:-- --:--:-- 41937\nBTC/USD 3836.4150\nPowered by CoinDesk (https://www.coindesk.com/price/) 3836.41500000\ncoin.KMD vs KMD\nset refcoin RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp <- KMD [./komodo-cli] M.1 of N.1\nbroadcast HELLOWORLD txid.(8553c068743984692dfa91bee2ce27749352c9b2aef5a06b011f1d3bd263eada)\nKMD ht.1116166 <- 060811006a039b728c305c8d98b42801cde542386fc3fba3a7dbcdfbb97e6e88a891d909976d2c4de105822f03f6b81d35f3075e08bb098553bfbd3709127aac112a7819\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"full-example"},{"text":"Example Continues - From Gateway USER Node","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Make a Deposit","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli listaddressgroupings\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli listaddressgroupings\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"[\n [\n \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n 0.26455000\n ]\n]\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"[\n [\n \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n 0.26455000\n ]\n]\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD getaccountaddress \"\"\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD getaccountaddress \"\"\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"pubkey\": \"024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0\",\n \"coin\": \"KMD\",\n \"oracletxid\": \"9e2b634427c209afb844d05e20f10f9ea799b3a1e8763cb5ba89084e20ab7e40\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"deposit\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"totalsupply\": \"1.00000000\",\n \"remaining\": \"1.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli z_sendmany \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\" '[{\"address\":\"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\",\"amount\":0.0001},{\"address\":\"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\"amount\":0.1}]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli z_sendmany \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\" '[{\"address\":\"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\",\"amount\":0.0001},{\"address\":\"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\"amount\":0.1}]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli z_getoperationstatus '[\"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\"]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli z_getoperationstatus '[\"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\"]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"[\n {\n \"id\": \"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\",\n \"status\": \"success\",\n \"creation_time\": 1543366284,\n \"result\": {\n \"txid\": \"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\"\n },\n \"execution_secs\": 0.007361979,\n \"method\": \"z_sendmany\",\n \"params\": {\n \"fromaddress\": \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n \"amounts\": [\n {\n \"address\": \"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\",\n \"amount\": 0.0001\n },\n {\n \"address\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"amount\": 0.1\n }\n ],\n \"minconf\": 1,\n \"fee\": 0.0001\n }\n }\n]\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"[\n {\n \"id\": \"opid-fbe98b01-a870-4bd5-9bc9-b937b08c79b5\",\n \"status\": \"success\",\n \"creation_time\": 1543366284,\n \"result\": {\n \"txid\": \"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\"\n },\n \"execution_secs\": 0.007361979,\n \"method\": \"z_sendmany\",\n \"params\": {\n \"fromaddress\": \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n \"amounts\": [\n {\n \"address\": \"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\",\n \"amount\": 0.0001\n },\n {\n \"address\": \"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\",\n \"amount\": 0.1\n }\n ],\n \"minconf\": 1,\n \"fee\": 0.0001\n }\n }\n]\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Wait until this height is oraclized by the oraclefeed instance.","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"oraclefeed","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Find the height and hex values here:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"height","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"hex","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli getrawtransaction 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 1\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli getrawtransaction 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 1\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"hex\": \"010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b\",\n \"txid\": \"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 1543366224,\n \"vin\": [\n {\n \"txid\": \"47c7fecbd9cf6339861b563ba3e03a40cb230e9a022eb795dbc58dc616ead697\",\n \"vout\": 0,\n \"address\": \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n \"scriptSig\": {\n \"asm\": \"3045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb[ALL] 02924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436\",\n \"hex\": \"483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"interest\": 0.0,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 1b355cb6b76cab1b16cb873db8828fe5d2521ae4 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\"]\n }\n },\n {\n \"value\": 0.1,\n \"interest\": 0.0,\n \"valueSat\": 10000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f0d1fc29f8962ac2805a1659192d9ad26794d229 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\"]\n }\n },\n {\n \"value\": 0.16435,\n \"interest\": 0.0,\n \"valueSat\": 16435000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 82804b943dd6a2008af73f8ba40449c062f09351 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a91482804b943dd6a2008af73f8ba40449c062f0935188ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RMBDcZbvjhfureuAaobJmKJLSApAVbBx6g\"]\n }\n }\n ],\n \"vjoinsplit\": [],\n \"blockhash\": \"00000006396dff8e9eb78217f17dbf83711d9066a91f25917cc504c76a83a85f\",\n \"height\": 1116196,\n \"confirmations\": 1,\n \"rawconfirmations\": 1,\n \"time\": 1543366322,\n \"blocktime\": 1543366322\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"hex\": \"010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b\",\n \"txid\": \"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\",\n \"overwintered\": false,\n \"version\": 1,\n \"locktime\": 1543366224,\n \"vin\": [\n {\n \"txid\": \"47c7fecbd9cf6339861b563ba3e03a40cb230e9a022eb795dbc58dc616ead697\",\n \"vout\": 0,\n \"address\": \"RFUL6arBgucq9TUPvTaUTnpQ2DkrcxtSxx\",\n \"scriptSig\": {\n \"asm\": \"3045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb[ALL] 02924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436\",\n \"hex\": \"483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436\"\n },\n \"sequence\": 4294967295\n }\n ],\n \"vout\": [\n {\n \"value\": 0.0001,\n \"interest\": 0.0,\n \"valueSat\": 10000,\n \"n\": 0,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 1b355cb6b76cab1b16cb873db8828fe5d2521ae4 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RBm4FN3JhjhbVFaGKJ8DQgtgPHKXvhFMs3\"]\n }\n },\n {\n \"value\": 0.1,\n \"interest\": 0.0,\n \"valueSat\": 10000000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 f0d1fc29f8962ac2805a1659192d9ad26794d229 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RXEXoa1nRmKhMbuZovpcYwQMsicwzccZBp\"]\n }\n },\n {\n \"value\": 0.16435,\n \"interest\": 0.0,\n \"valueSat\": 16435000,\n \"n\": 2,\n \"scriptPubKey\": {\n \"asm\": \"OP_DUP OP_HASH160 82804b943dd6a2008af73f8ba40449c062f09351 OP_EQUALVERIFY OP_CHECKSIG\",\n \"hex\": \"76a91482804b943dd6a2008af73f8ba40449c062f0935188ac\",\n \"reqSigs\": 1,\n \"type\": \"pubkeyhash\",\n \"addresses\": [\"RMBDcZbvjhfureuAaobJmKJLSApAVbBx6g\"]\n }\n }\n ],\n \"vjoinsplit\": [],\n \"blockhash\": \"00000006396dff8e9eb78217f17dbf83711d9066a91f25917cc504c76a83a85f\",\n \"height\": 1116196,\n \"confirmations\": 1,\n \"rawconfirmations\": 1,\n \"time\": 1543366322,\n \"blocktime\": 1543366322\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli gettxoutproof '[\"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\"]'\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli gettxoutproof '[\"907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98\"]'\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 1116196 KMD 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 0 010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b 04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysdeposit 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d 1116196 KMD 907812ee8d2762b589f6ca88ee8ba18a65ebf5c7486c472df7395628d22d0d98 0 010000000197d6ea16c68dc5db95b72e029a0e23cb403ae0a33b561b863963cfd9cbfec747000000006b483045022100aca47515602989979b514b6211c375e4d0d9471dd8297c5238c12245ad01dd830220191105caf1b63313c6988194f5f03fd6f70d4a30edc7820add1185d35edff1bb012102924664b536f3710a8e8abea38bb4bf71b470a653a4dceabd50df08d7b2a38436ffffffff0310270000000000001976a9141b355cb6b76cab1b16cb873db8828fe5d2521ae488ac80969800000000001976a914f0d1fc29f8962ac2805a1659192d9ad26794d22988ac38c7fa00000000001976a91482804b943dd6a2008af73f8ba40449c062f0935188ac50e6fd5b 04000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000010db4b1686d1f27de5e2a11c793dfd30f09b296754f95ae8649858cca97d5b07a0000000049483045022100ad6bc26f0c66b89f5d63aff251c78965a50201f909a997b8ed6469da0334aa0c0220136d71f5ad1f4496785df81864f9be3ae7b8dd012dae08d59fd544869eacb3ba01ffffffff041027000000000000302ea22c80205fd998129698de9cf1455f4f4795794c9e57bf1fd5f28598b5e6c0322de5d0358103120c008203000401cc1027000000000000232102980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890acd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000fd04096a4d0009f144034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a890121024026d4ad4ecfc1f705a9b42ca64af6d2ad947509c085534a30b8861d756c6ff0012fea85ecfda42975a2aaed72e946792df41a486033af8dc45ab1e4ddcb34b1b424081100980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee12789000000000fd080230313030303030303031393764366561313663363864633564623935623732653032396130653233636234303361653061333362353631623836333936336366643963626665633734373030303030303030366234383330343530323231303061636134373531353630323938393937396235313462363231316333373565346430643934373164643832393763353233386331323234356164303164643833303232303139313130356361663162363333313363363938383139346635663033666436663730643461333065646337383230616464313138356433356564666631626230313231303239323436363462353336663337313061386538616265613338626234626637316234373061363533613464636561626435306466303864376232613338343336666666666666666630333130323730303030303030303030303031393736613931343162333535636236623736636162316231366362383733646238383238666535643235323161653438386163383039363938303030303030303030303139373661393134663064316663323966383936326163323830356131363539313932643961643236373934643232393838616333386337666130303030303030303030313937366139313438323830346239343364643661323030386166373366386261343034343963303632663039333531383861633530653666643562fd360604000000380b8fd2b9bdf570358980a4c9fc94e418ac656913999b5f9a016ec5afc46b0b188320f231637a0ded0b0bdada1f34c81ad5873b8c3f096b2014018af13f43980000000000000000000000000000000000000000000000000000000000000000b2e6fd5ba786061d57fff87a00000000000046430000000000000200000000000000000000000000fd40050035435dd2c1df5c20cb48e0617b6cee81f5349f0735b36fe93f17f82d678ad3eb374d0e398b049fddcb21a4d7ddf7345867c6a363eddcfe61f31d49dbc35652794c60da61bd5f164fd554f17b5bd669f636744412822af2ebd0f318dacb71514720164c59c392ef2b1ccc3a5dc5c9c83cd37a11f98b97c8f5170a357a972ec3cacbeb0dab34b757354883b46a598f2b93fcd735b4163db6b2b037f7d7d71a773e909ac4ce3f1228012d5bebfd9edad9842ae8c6cddf6942c543594b85013591a604c4223a3d2e007ed25f5994e9d8f6b6a704daf57cad41aea9609923612eee2fc55ad075c91c23a8cc46af9a45a7390c537d2e2302994239ae44230537ceaa2188e7f4eb6a0ab55471d152b9177e9fd90843504f29d3e92fd3d7142caae018b51318ec6b86083b7e2d155ce868f6b673b13cf1ed59107d15c6c84201441dde14074930f4755ec64975f354a99bd957021c073768f575dde3ab020dd73b488e2d03d57bc414a16d45b3e2052b24fb2360ec5f73524525fc59d2151b89310b19764541b801ad72171085bc6275832222484b8d7ee6ed91ab6a544c45af5c4d8445b0624f04a234aec6997eecf007f0e971eea33b21e45ba8f72825fa84605cdfa929aeb6dc425f2612000e7ce2ba04ff8c53061154eb38cba7f6d0bfe5dab031dadea2095e01e93f9e063d0b42e412f865572625f77aa8b10b58f7b0428ea0ff530ea10d37150496bb181e37fc5814ad524ce4618955e9158b6aebb956b02b961f920ee48eb5a08efc39d27fc2fd4ec175e38798bcca7331a7b5da2ca6c56fcb98e740c2f471eac6b67ced78125c5fcecd4f76eac1d76233aa58ed808e398b9e2b1eaa74e773d18276b732239403ce0c452cb26f0f34156a0a63e007ccfbd76f168fb941fbd2fbe23b57e519835c804ace6e22e281b3d0adda7c4b93a87d94500103315c780fe91ee67320a422eecb4a6daedc2d774567bfebc1d5b72fa693178f3443aa1eb47f18d6931f7b0fc6ec151caad4eae5f787c2a963c3963ffc924ba66a7ea1754763faf2884de0c86a0f75fe7f8dfb1265b449184668cb7348520810cf731663f5180ac31642d6b135d5ce7de88ba63d6db3d6c5dfa19492281dfed3b3765451717f3497ac2b4c040e2e4e77219b2586c227cd138b8d94ccc273fbfbb51a35523870c503e2d8527b840ced11917075e8a41ae9616f1df8d41df5bae39c6d6de5bb8d43d401bb9089723db59f0f06aa4fdf4145a905812ef799eb574abb9985de878a289e5f4b1256ca2121d553465f44065580cb5bde170459d1c22e8d388cbec9e37dc3cca07e489a9859942a9ccef4a5e45eed7228b94c86d10a233b5a1ddfcb1735cb9b16de6e8f49f3c841796acba31a8e9c90b531952ed03bd72e0b00fa3373ea4bc845d7469afae305639c772285a5223bf2d86a12c92312dc19db86400c6760b9e75af40ce4c16278bba8a804d5a69b88290dd4c2b43423bee9eb97c54261f956a32d80fdd3f421d1199ee45d42ad657e928be2e9fa54d844cff60b06bc525ce54daca9689e0616bfdbdbc36e09bea11a276d25d3ca9a80ed7109183784dfd1d23b7c791a7913a633e2d28948c655e68ade706654e38f717fe29119af4282430c8d1f702a52ea189f1e9e6faafb213205a195dab1c2d01dc6a3711f671ea118e8a3c995632903c58ebbd4eae5dbc4555b24c1649e89e03efb92134b9e24fb9fc649462f928d992fa33d45edcb4ef13f0d5c2cb6663e7dbf2414b5ed617e56b8715ace6910807e4a901ba603dab4092f9eeb46566ec3f38f3a1789c60822530c390d19b1d939217b7a691abb91454fce76cccf3557ddb3fc55bd4f44761aa9363db0f38360adf60e743ba3b902788bb254637f6074df62460400000003a973b7134b7fcbcb1fe70fdfaaf056c209a9f5dd77800eb37b065ca8317cbb3a980d2dd2285639f72d476c48c7f5eb658aa18bee88caf689b562278dee127890445df562c183ed7279f2f8e37ba249447439884d5b7030eac6485112eb07ea2d010b2102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysclaim 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 07d79e39354cc38a76dfe2ca8a5fb711432192237608ea066621662f13e0c08e 02d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d 0.1\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000030a9a982a898012f4cc982796f381f16c9e2e5fe28e0be58ad59c7c90409530f8020000004847304402207959e4befae9e917cde7d6ba6f5e62e4cf679858b1a5c8b1eb270b1c7eac7c7e0220503ea9a24245db21b4db8ae68e48da6c5d33ef436371c6d03872d45d1364047c01ffffffffc6fc3b75a37a6ed10507a1bb73f2c5d5c8f75bcb358b0aa4bab3b80b5aa39f19010000007b4c79a276a072a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140d4c46b8282d42d7e7ebe99361264c21b9ee221b7b3a47e1549e06bf06659fa194298618a2969a421543753a5994ebc3944e93ac6072a233ab617b229b3922a52a100af038001f1a10001ffffffff8ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed707000000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d8140f3938953c9087e1e25c31263c5a717dd59d2f7d6f0815cfd7c0cb01a6c4d586b630b11cca1e60a19036d937095941660e488a07494fc721471d4a53f5eb89a25a100af038001f1a10001ffffffff048096980000000000302ea22c8020abd72b18452f1bc72f4312dbb1cd341b7c7f38a994ddacd8b35412231f01cb088103120c008203000401cc804a5d0500000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc1027000000000000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000936a4c90e374bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d440d8d1f63bf680d6191b100d90992b0f6bf6ce1cc851f259da8b49e74524e7a898ec0e0132f66216606ea08762392214311b75f8acae2df768ac34c35399ed7072102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d809698000000000000000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"9bf287d544c6f5597ccf67641398718398cd79fde02caa32a4b338b5a923cb61\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"./komodo-cli -ac_name=HELLOWORLD tokenbalance 315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTjscp9uKYQ8bT3jmShC8mEbuz3qwtGWor\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"balance\": 10000000\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTjscp9uKYQ8bT3jmShC8mEbuz3qwtGWor\",\n \"tokenid\": \"315d16c2dddd737f8a48f81499908897b53d05d20fb1344e349e304fb603f6bf\",\n \"balance\": 10000000\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"example-continues-from-gateway-user-node"},{"text":"User Withdraws Funds","tagName":"h4","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328 0.1\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewayswithdraw 897a4e52749eb4a89d251f85cce16cbff6b09209d900b191610d68bf631f8d0d KMD 0271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328 0.1\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n}\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\"\n}\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"Command:","tagName":"p","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"./komodo-cli -ac_name=HELLOWORLD sendrawtransaction 01000000020e2778e5c0917b00a995ffd0e027ac896492b70b2004ca0096d5309bc1d695ce0000000048473044022072bd3e74c1fb6a56111fc34caab1d605cedfbcb0a9dcd1a4c8d0dae9db61d43902205ccea739077b3374559353af3392e637b7c462ca699f9b9dba786b5398491b4201ffffffff8425c1bf730444ceac45a47376164d66a156e6c2a48116ec14cd17a88f8ab8e5010000007b4c79a276a072a26ba067a565802102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9d814051e39b89bace8226f3ca1779b754f2b57ee480e9636b16322bb36a89ec22de967ea66cdc906debb5f6b7c26a51ac2d089966aeb92d07aacc43507b1555c02313a100af038001f1a10001ffffffff058096980000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc102700000000000023210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328ac1027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401ccd02a724e18090000232102d389e879ca68809794c0ef29869b23b4dd8e22122fcc4e8b69adb1d33752dd9dac0000000000000000536a4c50f157bff603b64f309e344e34b10fd2053db59788909914f8488a7f73ddddc2165d31034b4d44210271bc6b553f5f763ca7f64457710f8a0b3f5273b2941edc5091ca41cec39b7328809698000000000000000000\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\n","tagName":"pre","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"},{"text":"79d41ffefa359a7ae2f62adf728a3ec3f3d2653889780ed9776bf9b74fe9a6fe\n","tagName":"code","path":"antara/tutorials/gateways-module-tutorial","closestElementReference":"user-withdraws-funds"}],"antara/tutorials":[{"text":"Antara Tutorials","tagName":"h1","path":"antara/tutorials","closestElementReference":"antara-tutorials"},{"text":"This section of the documentation contains various tutorials about Antara development and setup for Smart Chains","tagName":"p","path":"antara/tutorials","closestElementReference":"antara-tutorials"}],"antara/tutorials/introduction-to-antara-tutorials":[{"text":"Introduction to Antara Tutorials","tagName":"h1","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"Welcome to the Antara tutorial documentation.","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"This section contains tutorials that are specifically designed for the aspects of Komodo Smart Chain software that deal with the Antara framework.","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"The Antara framework encompasses many of the enhancements and innovations that Komodo adds to upstream technologies. Aspects of Antara include the Antara Customizations for a Smart Chain and Antara Modules, which allow for advanced blockchain functionality.","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"For tutorials regarding other Komodo software, such as Komodo DeFi Framework , which offers cross-chain atomic-swap compatibility, please see the respective documentation centers.","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"For a targeted learning approach to Komodo's Smart Chain software, please see the Learning Launchpad.","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"Link to Learning Launchpad","tagName":"p","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"},{"text":"Link to Learning Launchpad","tagName":"a","path":"antara/tutorials/introduction-to-antara-tutorials","closestElementReference":"introduction-to-antara-tutorials"}],"antara/tutorials/musig-module-tutorial":[{"text":"Musig Module Tutorial","tagName":"h1","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"musig-module-tutorial"},{"text":"Installation","tagName":"h2","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"installation"},{"text":"MuSig is currently only available on MacOS and Linux operating systems.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"installation"},{"text":"Please check with the Komodo team on Discord for information regarding Windows functionality.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"installation"},{"text":"Discord","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"installation"},{"text":"Install Dependencies","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"Ensure that local repositories are up to date:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"Install Dependencies:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"install-dependencies"},{"text":"Build instructions","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"Build komodod by executing the following series of commands. Each line should be executed separately:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"komodod","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"git clone https://github.com/jl777/komodo\ncd komodo\ngit checkout jl777\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"git clone https://github.com/jl777/komodo\ncd komodo\ngit checkout jl777\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"Compile the appropriate library:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"cd src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake -j$(nproc)\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"cd src/cc\n./makecclib\ncp sudokucc.so ../libcc.so\ncd ../..\nmake -j$(nproc)\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"build-instructions"},{"text":"Update","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"update"},{"text":"Update the komodod daemon by executing the following series of commands. Each line should be executed separately:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"update"},{"text":"komodod","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"update"},{"text":"cd komodo\ngit checkout jl777\ngit pull\ncd src/cc\n./makecclib\ncd ../..\nmake -j$(nproc)\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"update"},{"text":"cd komodo\ngit checkout jl777\ngit pull\ncd src/cc\n./makecclib\ncd ../..\nmake -j$(nproc)\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"update"},{"text":"Launch the Smart Chain","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"Change into the ~/komodo/src directory:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"~/komodo/src","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"Launch the MuSig Smart Chain using the following launch parameters.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -pubkey= -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 &\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"./komodod -ac_name=MUSIG -ac_supply=100000 -ac_reward=10000000 -pubkey= -ac_cclib=sudoku -ac_cc=2 -addnode=5.9.102.210 &\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"launch-the-smart-chain"},{"text":"Obtain a Pubkey","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Without a pubkey, the MuSig Smart Chain will not function properly on the user's local machine. Follow these instruction for obtaining and setting a pubkey:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Instructions for obtaining and setting a pubkey","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Instructions for obtaining and setting a pubkey","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Once the Smart Chain is relaunched with the new pubkey included as a launch parameter, the MuSig Smart Chain is prepared for use.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Acquire Funds for Testing","tagName":"h3","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"The reader should launch the Smart Chain with a pubkey whose private key is already imported to the wallet. If this is not the case, restart the Smart Chain with an appropriate pubkey, or use the importprivkey method to import the private key of the desired pubkey.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"importprivkey","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"The MuSig Smart Chain has an available faucet. The faucet allows a user to obtain a nominal amount of funds for testing and orientation purposes.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Ensure that the terminal's working directory is in the ~/komodo/src directory:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"~/komodo/src","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Execute the faucetget method:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"faucetget","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG faucetget\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG faucetget\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"This method returns a hex value in the terminal. Select the entire hex value and copy it to the clipboard. (Use CTRL + SHFT + C to copy within the terminal)","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"CTRL + SHFT + C","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Broadcast the hex value using the sendrawtransaction method:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"sendrawtransaction","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction \n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction \n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Wait for the transaction to be confirmed.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Once the broadcast transaction is confirmed, check the balance using the getbalance method:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"getbalance","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG getbalance\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"./komodo-cli -ac_name=MUSIG getbalance\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"There should be a small amount of funds in the balance.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"acquire-funds-for-testing"},{"text":"Full Example","tagName":"h2","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"The aim of this example is to create a 20f2 MuSig pubkey, fund it, and spend from it.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"20f2","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"To accomplish this, two nodes are necessary.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"In this MuSig example we use the following pubkeys on our two nodes:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"Node1's daemon is launched using the pubkey: 0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"Node2's daemon is launched using the pubkey: 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"The EVALCODE for the MuSig module is 18 .","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"EVALCODE","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"18","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"For this example, we use the normal array formatting for cclib methods , as we are not creating a bash script.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"the normal array formatting for cclib methods","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"Steps 1 through 5 and 11 through 12 need to be executed only on the first node.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"full-example"},{"text":"Step 1: combine","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"Use the combine method to create a combined_pk address:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"combine","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"./komodo-cli -ac_name=MUSIG cclib combine 18 '[\"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\",\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"./komodo-cli -ac_name=MUSIG cclib combine 18 '[\"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a\",\"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"{\n \"pkhash\": \"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"{\n \"pkhash\": \"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"Copy the values of pkhash and combined_pk and save them in a secure location for later use.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-1-combine"},{"text":"Step 2: send","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"Use the send method to send 1 coin to the combined_pk address:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"send","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"1","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 18 '[\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",1]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"./komodo-cli -ac_name=MUSIG cclib send 18 '[\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",1]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"{\n \"hex\": \"0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\",\n \"txid\": \"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"{\n \"hex\": \"0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\",\n \"txid\": \"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"Copy the hex value to your clipboard.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"hex","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-2-send"},{"text":"Step 3: Broadcast the hex Value and Retrieve the sendtxid","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"Use the sendrawtransaction method to broadcast the raw hex value:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction 0400008085202f890b02b1bdd8707f82bc6f4cdeb4756eb04dfc3cc7a4b5ac38a388c0205cf8f31a0e0000000048473044022004de31b5132f03f761fc0d0d9761efbf77bb27b07ee99f2cc54928e2150f1f16022069381b36bb9839cc9cb3e1d584e00dbd52efadf7e2f3fa092e0bcca839cdce6801ffffffff04949d5bf1722c5df04f58cf2c7e662f32ab65de2f7990ce4c734df4f2991eb60000000049483045022100ab3ab2bb95ef095763dd3eeb56961d1234aa25efd91a30fa14e397717368e6a0022048d7f8268463cfb44f34467bd77eb2aee962eaec09a079741c75c5de898b4f6c01ffffffff0476a06188887bf93bec4e64a3a5681b5e271cb7055a11d0667dc565e498b6190000000048473044022022ef03c33b5942b1af16f7e4a9acd2aa485d73f6f6b5e0a01e15f70238cd85cd022063779c69511ee4eba179b40ce28d80da22d43f19110be2a9a97d0b47d6a5cca201ffffffff045587699381853735482dbfb1fe25dda8d5a7a238c05b872ecfcd97be38232f00000000484730440220051e6047dd9e82b004c29a2837bf127f94caa638c65d96c761371c18ff36170002204e73ddfbbe748f295d7a93e46d942618f291d302b7a666b78b49ab38594a89ac01ffffffff0426d8098ed0c5ee19ac8d4254ec9887ab7a231c68a8d9b024a50f417f0a94ff0000000049483045022100ebd193262a04f8c9cf1872527d2a7d4933222f8ce8ea11add90e263c483ca56a02204a29902ae6b31dc41f84b5ffad3b2076755ad19f25be47479704b2ab5e37463a01ffffffff040e294b76ca4492909b75b829566b3702b35245595e8c4806b7ef6a7f612dd6000000004847304402201573d230af50aa6d326b607ac6ba77bb15c1a143256e5141197ce6729195b0e602201301be6ad22ba5599597205cdfb7e2cf6823ce4597e5b902b6d4336958e0fbe101ffffffff03d9a453070627c94d940f57b40829713ee6b6bce4d801e591117c801221225900000000494830450221009d5eec551265274ade816fdb3a0dfee20e716a7d3f56155b698a9d0c41ccd11202202e811c4611ebf982b34db8a43002c759c54a077023ced1498421c4af2b12a0f901ffffffff03ce7cb872bdfdf264576c45ed899c00731959051cade1a19b088eabc02e07780000000049483045022100a9c8c795e34a393fafb839ef4bbf11e4adf04b4c8a8493ef0bd2353e7a1ddd430220251ff7eb5ca3d2ed4ee4145906532af803caaed756ff3d21e86ac4876333067e01ffffffff030d66186013342f71335bc67d0d87240b4a27809e67ba55e01dd72e7ae1b0af0000000049483045022100d4c82867562aa040a7695ffd53056018e0dc3a071d971b3774cdb8511b0f49aa022029b72c5af1b9c16e27d81827d478910ec3135415037cf2b3492922ff618538bc01ffffffff02f9b92abfa0324272e0ce465b856e6d9b53e3e2e0828934c8a0c8c2c10e67d5000000004847304402205df4c99c581bfe95ea95740320b16c423531663b42e25b97315d3126250c24a202206dff5da29fbb0fe21ae6ce3da7bac1e502feb8fdd7b803c0fafa6541e80ec0ff01ffffffff02bd8679e8383e6d9c4a10917b68b8918ed3f518fe2deef5b23e0012461fbf370000000049483045022100a04210427173ea0721f3cf859b99328c8e234ba39250c033aebfb37fb2c5a1d502200d5cb16ed0dccc5dfc0385a8763340cf98a162e863994069354a5fee187b8bd401ffffffff031008f60500000000302ea22c8020c71ddb3aac7f9b9e4bdacf032aaa8b8e4433c4ff9f8a43cebb9c1f5da96928a48103120c008203000401cc604898000000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000266a2412782103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a000000003f0800000000000000000000000000\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"The returned value is our sendtxid . Copy this to a secure location for later use.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"sendtxid","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-3-broadcast-the-hex-value-and-retrieve-the-sendtxid"},{"text":"Step 4: Obtain the change_script Value","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"Use the getrawtransaction method to decode the raw transaction.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"getrawtransaction","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293 1\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"./komodo-cli -ac_name=MUSIG getrawtransaction 09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293 1\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"In the response there are a series of vout values, each of which has an array of json objects. Search for the vout value that has the \"type\":\"pubkey\" key pair listed. In this object, retrieve the hex value from the scriptPubkey :","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"vout","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"vout","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"\"type\":\"pubkey\"","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"hex","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"scriptPubkey","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"\n... (omitted for brevity) ...\n\n\"vout\": [\n\n ... (omitted for brevity) ...\n\n {\n \"value\": 0.09980000,\n \"valueSat\": 9980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a OP_CHECKSIG\",\n \"hex\": \"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RUfCUd3UryKJ49baQvSuAs42wakNunvvfT\"\n ]\n }\n },\n\n ... (omitted for brevity) ...\n\n ]\n\n... (omitted for brevity) ...\n\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"\n... (omitted for brevity) ...\n\n\"vout\": [\n\n ... (omitted for brevity) ...\n\n {\n \"value\": 0.09980000,\n \"valueSat\": 9980000,\n \"n\": 1,\n \"scriptPubKey\": {\n \"asm\": \"0225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270a OP_CHECKSIG\",\n \"hex\": \"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\n \"reqSigs\": 1,\n \"type\": \"pubkey\",\n \"addresses\": [\n \"RUfCUd3UryKJ49baQvSuAs42wakNunvvfT\"\n ]\n }\n },\n\n ... (omitted for brevity) ...\n\n ]\n\n... (omitted for brevity) ...\n\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"This hex is our change_script value. Save this to a secure location for later use.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"hex","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"change_script","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-4-obtain-the-change-script-value"},{"text":"Step 5: calcmsg","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"Use the calcmsg method to calculate the msg value. The calcmsg method needs the sendtxid and change_script values retrieved from previous commands.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"calcmsg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"calcmsg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"sendtxid","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"change_script","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"cclib calcmsg 18 '[\"insert_sendtxid_here\",\"insert_change_script_here\"]'","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"cclib calcmsg 18 '[\"insert_sendtxid_here\",\"insert_change_script_here\"]'","tagName":"strong","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"./komodo-cli -ac_name=MUSIG cclib calcmsg 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"./komodo-cli -ac_name=MUSIG cclib calcmsg 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"Copy the msg value to a secure location for later use.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-5-calcmsg"},{"text":"Step 6: session","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-6-session"},{"text":"From this point forward, all steps should be executed on both nodes 1 and 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-6-session"},{"text":"After each step performed on each node, copy the relevant data to the opposing node.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-6-session"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"The following session command requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"session","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"ind : the index of the signatory in the set. In this example our current node, Node 1, is 0","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"0","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"numsigners : the number of pubkeys participating in the multi-signature transaction","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"numsigners","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"combined_pk : the combined_pk address, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"pkhash : the pkhash value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"msg : the msg to be signed, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[0,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[0,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"{\n \"myind\": 0,\n \"numsigners\": 2,\n \"commitment\": \"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"{\n \"myind\": 0,\n \"numsigners\": 2,\n \"commitment\": \"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"Copy the value of commitment both to a secure location and to Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"commitment","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"Execute the same command as before, only change the ind value from 0 to 1 to indicate Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"0","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"1","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[1,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib session 18 '[1,2,\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"{\n \"myind\": 1,\n \"numsigners\": 2,\n \"commitment\": \"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"{\n \"myind\": 1,\n \"numsigners\": 2,\n \"commitment\": \"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"Copy the commitment value both to a secure location and to Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"commitment","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2"},{"text":"Step 7: commit","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-7-commit"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"The commit method requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"commit","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"pkhash : the pkhash value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"ind : the index of the opposite node. In our example, Node 2 is 1","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"1","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"commitment : the commitment value from the opposing node","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"commitment","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"commitment","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"2854473733147ebdbf2fb70b956c8086c9d7659ca0093627fe0371098f8bc003\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"nonce\": \"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"nonce\": \"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"Copy the nonce value both to a secure location and to Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-2"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"Execute the same command as before, only change the value of ind to 0 to indicate Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"0","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"./komodo-cli -ac_name=MUSIG cclib commit 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"a886a3a3c57efec161f6f72554b66f837de89ffdabe0acc46ae4cd59aab8129e\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"{\n \"added_index\": 0,\n \"myind\": 1,\n \"nonce\": \"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"{\n \"added_index\": 0,\n \"myind\": 1,\n \"nonce\": \"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"Copy the nonce value both to a secure location and to Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-2"},{"text":"Step 8: nonce","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-8-nonce"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"The nonce method requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"pkhash : the pkhash value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"ind : the index of the opposing node. In our example, the index of Node 2 is 1 .","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"1","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"nonce : the nonce from the opposing node","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"02402fe26abd7ed2cf22d872a6b22ced4309aac8ec273b9c89e0f8f5b77f1574db\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"partialsig\": \"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"{\n \"added_index\": 1,\n \"myind\": 0,\n \"partialsig\": \"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"Copy the partialsig value both to a secure location and to Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-3"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"Execute the same command, only change the ind value to 0 to indicate Node 1, and change the nonce to the value retrieved from Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"0","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"nonce","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"./komodo-cli -ac_name=MUSIG cclib nonce 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"0379f6f42cf4c2cb30d064a6cac22ab6ffb3d93388d49b07f0623ff9bc8d191f89\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"{\n \"added_index\": 0,\n \"myind\": 1,\n \"partialsig\": \"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"{\n \"added_index\": 0,\n \"myind\": 1,\n \"partialsig\": \"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"Copy the partialsig value both to a secure location and to Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-3"},{"text":"Step 9: partialsig","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-9-partialsig"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"The partialsig method requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"pkhash : the pkhash value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"pkhash","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"ind : the index of the opposing node. In our example, the index of Node 2 is 1","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"1","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"partialsig : the partialsig retrieved from the opposing node","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",1,\"9e964dfd402f973ea1e9407e19918b1c3897ff6544d60dcdb19cfb0e5bc4c0c1\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"{\n \"added_index\": 1,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"{\n \"added_index\": 1,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"Copy the combinedsig value both to a secure location and to Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-4"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"Execute the same command, but change the ind value to 0 to indicate Node 1, and change the partialsig to the value retrieved from Node 1 previously.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"ind","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"0","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"partialsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"./komodo-cli -ac_name=MUSIG cclib partialsig 18 '[\"8897e150bfb07d3f967ffadb4b0f3c84ea73a94c0d715c4b7e6d9c816c5113a9\",0,\"dc913a9e7532c8edf2f822f482afdcf48c61919bf905fb77f6684a2d7e58d972\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"{\n \"added_index\": 0,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"{\n \"added_index\": 0,\n \"result\": \"success\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"Copy the combinedsig value to a secure location.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"If the values of combinedsig produced by both nodes is the same, then you have followed the example without any errors to this point. Visually verify that this combinedsig value matches with the combinedsig value returned on Node 1.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-4"},{"text":"Step 10: verify","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-10-verify"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"The verify method requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"verify","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"msg : the msg value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"msg","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combined_pk : the combined_pk value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combined_pk","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combinedsig : the combinedsig value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-5"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"Execute the same command on Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"./komodo-cli -ac_name=MUSIG cclib verify 18 '[\"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"The response from both nodes should display a \"result\": \"success\" key pair. If this is not the case, you made an error in a previous step.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"\"result\": \"success\"","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-5"},{"text":"Step 11: spend","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-11-spend"},{"text":"Currently, each node will output different raw transaction values, as both\nnodes are attempting to spend funds to their own wallets. Of the two, the node\nthat broadcasts its returned raw transaction value first will receive the\ncoins. The other node does not need to create or broadcast a transaction\nvalue.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-11-spend"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"We are now prepared to execute the spend method.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"spend","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"The spend method requires an array of arguments. The arguments are as follows:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"spend","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"sendtxid : the sendtxid , retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"sendtxid","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"sendtxid","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"change_script : the change_script value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"change_script","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"change_script","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"combinedsig : the combinedsig value, retrieved previously","tagName":"li","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"combinedsig","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"Command:","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"./komodo-cli -ac_name=MUSIG cclib spend 18 '[\"09daa45cb6e17028f9568347291a993cbf29c152a527b53e9ac0925d4900c293\",\"210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac\",\"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\"]'\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"hex\": \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a8140878ae4c7520e729e74339e1d463d8aabc1e63c0f726c868adcf7ceab268ef62870596c7c87bdd9382bd364749662ffc79e6ee094a155678b7c2127480960b631a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000460800000000000000000000000000\",\n \"txid\": \"332373cd0e4cbdddd3916e827a408ba4a175eb5039cc5a43725a50b83cb74e52\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"{\n \"msg\": \"3ef43614242afd3c57e02a75a3bc99342fea7c731f6190b791c0f99826789603\",\n \"combined_pk\": \"03d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a\",\n \"combinedsig\": \"4b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f2\",\n \"hex\": \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a8140878ae4c7520e729e74339e1d463d8aabc1e63c0f726c868adcf7ceab268ef62870596c7c87bdd9382bd364749662ffc79e6ee094a155678b7c2127480960b631a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000460800000000000000000000000000\",\n \"txid\": \"332373cd0e4cbdddd3916e827a408ba4a175eb5039cc5a43725a50b83cb74e52\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"Copy the hex value to a secure location.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"hex","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-6"},{"text":"Node 2","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-6"},{"text":"In this example, our desire is to receive the transferred coins on Node 1, not on Node 2.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-6"},{"text":"Therefore, it is not necessary to execute the spend method again, nor is it necessary for Node 2 to execute the following step.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-6"},{"text":"spend","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-2-6"},{"text":"Step 12: sendrawtransaction","tagName":"h4","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"step-12-sendrawtransaction"},{"text":"Node 1","tagName":"h5","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"Broadcast the hex value using sendrawtransaction :","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"hex","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a81401272d03e011f002a464aa75e8c3d093d45a2c4865b7b334998c8dc2fbaa814c17a2f34c9746d2921483b884d577b86465095ce64a4716b4b5d2f0b578860e149a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000470800000000000000000000000000\"\n","tagName":"pre","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"./komodo-cli -ac_name=MUSIG sendrawtransaction \"0400008085202f890193c200495d92c09a3eb527a552c129bf3c991a29478356f92870e1b65ca4da09000000007b4c79a276a072a26ba067a5658021032d29d6545a2aafad795d9cf50912ecade549137163934dfb2895ebc0e211ce8a81401272d03e011f002a464aa75e8c3d093d45a2c4865b7b334998c8dc2fbaa814c17a2f34c9746d2921483b884d577b86465095ce64a4716b4b5d2f0b578860e149a100af03800112a10001ffffffff0200e1f5050000000023210225f1cbbda1a0c406bb8f6dc7a589d88b2f9e28cd4fdb3f59139f8aff1f5d270aac0000000000000000686a4c6512792103d31479e789014a96ba6dd60d50210045aa8292fe693f293d44615929f04cf57a404b3a9b2b162802bc6c2cca2d22e70ab1cf738a9d4f5692f4f881d0cce0319c137b27889bb562602c94e163729c4168120a4ab41a8e936909e832e6af09e758f200000000470800000000000000000000000000\"\n","tagName":"code","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"Once the broadcast transaction is mined and notarized, the MuSig transaction is complete.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"},{"text":"You have now successfully executed a full cycle of the MuSig module.","tagName":"p","path":"antara/tutorials/musig-module-tutorial","closestElementReference":"node-1-7"}],"antara/tutorials/overview-of-antara-modules-part-i":[{"text":"Overview of Antara Modules - Part I","tagName":"h1","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"overview-of-antara-modules-part-i"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"Welcome to an Overview of Antara Modules - Part I.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"Part I of this discussion covers the basic aspects of Antara modules, without delving deeply into the technical aspects of the technology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"The conversation should be attainable for a normal developer in the Komodo ecosystem, as well as for non-developers who otherwise possess experience in the blockchain industry.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"A later discussion, Overview of Antara Modules - Part II , covers additional conceptual aspects of this technology. Part II is recommended for anyone who intends to utilize Antara technology in a development environment.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"Overview of Antara Modules - Part II","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introduction"},{"text":"Smart Contracts on the Komodo Platform","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"smart-contracts-on-the-komodo-platform"},{"text":"Komodo is built on the Bitcoin protocol, which features a simple programming language, called Bitcoin Script, that allows a developer to perform rudimentary scripting tasks.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"smart-contracts-on-the-komodo-platform"},{"text":"Traditionally, Bitcoin Script is considered to be incapable of supporting the complex \"smart contracts\" found on other blockchain platforms. This limitation is mostly from the fact that Bitcoin Script is (intentionally) not Turing complete.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"smart-contracts-on-the-komodo-platform"},{"text":"Now, the capabilities of extending Bitcoin Script into a competitive, and arguably stronger, method for creating smart-contract-like modules is changing through Komodo's Antara Framework. This framework integrates a broader technology, called CryptoConditions, which allows for complex utxo-based logic.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"smart-contracts-on-the-komodo-platform"},{"text":"As is often the case, Komodo Platform is leading the blockchain industry in this brand new technology. This section will explain Antara's implementation of CryptoConditions, how it works, and how utxo-based smart contracts will dramatically alter the blockchain landscape.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"smart-contracts-on-the-komodo-platform"},{"text":"A Brief Review of Bitcoin Script","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-brief-review-of-bitcoin-script"},{"text":"The very first block in the Bitcoin blockchain was mined on or around January 3, 2009. Since then, this revolutionary technology has exploded, forever changing the way we think of money and currency. We owe many of these developments to Satoshi Nakamoto and his original Bitcoin-core code.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-brief-review-of-bitcoin-script"},{"text":"The Bitcoin-core code itself is written in C++. A time-tested and well-known programming language, C++ is Turing complete and can therefore do all that any other Turing complete programming language can do.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-brief-review-of-bitcoin-script"},{"text":"However, Bitcoin transactions are not executed with C++. Instead, transactions are carried out with a special protocol called Bitcoin Script. This scripting language has a number of \"opcodes\", or commands, that tell nodes how to deal with any specific transaction request.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-brief-review-of-bitcoin-script"},{"text":"While most computer programming languages are considered Turing complete, Bitcoin Script is not. It’s widely accepted that this was an intentional decision. But before we can discuss the relative merits of making a programming language Turing complete, let’s take a moment to understand what exactly \"Turing complete\" means.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-brief-review-of-bitcoin-script"},{"text":"Turing Completeness","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"In 1936, a British computer scientist and mathematician named Alan Turing published an academic paper called “On Computable Numbers, with an Application to the Entscheidungsproblem.” It is a seminal essay in the fields of computer science and computational theory.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"In the essay, Turing describes a hypothetical machine that, when granted a few basic assumptions, can theoretically “compute any computable sequence.” This basically means it can solve any mathematical problem that uses only computable numbers. According to Turing’s definition, “a number is computable if its decimal can be written down by a machine.”","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"Turing called this device a “universal machine” but it is now better known as a “Turing machine.”","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"Turing machines are generally described in this way: Imagine a simple device that can read and write numbers. This device also has the ability to store data. (Turing assumes that the device has an infinitely large storage capacity, but this is not essential to understanding the concept of Turing completeness.)","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"Now, imagine that this simple machine moves from left to right along a thin, infinitely long piece of tape. It reads a number, decides what to do based on a series of instructions to which it is bound, and then executes the instructions accordingly.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"In simply reading numbers, executing commands, and writing numbers, this simple machine can solve any computational sequence. It may take an arbitrarily long period of time but, theoretically, the machine would eventually solve the problem.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"So what does all of this actually mean? Why is it important?","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"The idea of something being “Turing complete” is derived from this idea of a Turing machine. While we know that no machine has an infinitely large memory, we can use the basic theoretical framework to decide whether or not a machine can solve any computable sequence.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"It is in this sense that computer languages are said to be Turing complete. A language is Turing complete if it can solve any mathematical problem made up of computable numbers.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"As we noted above, Bitcoin Script is not Turing complete. This means that there are some problems and sequences that Bitcoin Script is not capable of solving.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"turing-completeness"},{"text":"Gas-based Smart Contract Platforms","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"This is where the gas-based smart contract platforms of Ethereum, EOS, NEO, and many other blockchain platforms enter the picture. We will focus on Ethereum, as it is the originator of this model, and it is currently the most popular.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"In December 2013, Vitalik Buterin released Ethereum’s first white paper. One of the major contributions Ethereum offered was a Turing complete programming language, called Solidity, that can be used to write smart contracts.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"Ethereum’s first white paper.","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"In fact, Buterin makes this perfectly clear on the first page of the white paper:","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"“What Ethereum intends to provide is a blockchain with a built-in fully fledged Turing-complete programming language that can be used to create 'contracts' that can be used to encode arbitrary state transition functions, allowing users to create any of the systems described above, as well as many others that we have not yet imagined, simply by writing up the logic in a few lines of code.”","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"In many ways, Ethereum's 'smart-contract' language is an improvement over Bitcoin Script. It allows “systems which automatically move digital assets according to arbitrary pre-specified rules”, and this opened up a new world of possibilities for blockchain technology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"At the same time, Turing completeness creates a few vulnerabilities. Let’s discuss.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-based-smart-contract-platforms"},{"text":"Pros and Cons of Turing Completeness","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"Any Turing complete programming language has the ability to create “loops.” A loop just means that a certain operation or set of commands can be written once but commanded to execute an arbitrary number of times.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"In a language that is not Turing complete, like Bitcoin Script, loops are not available. A programmer needs to copy and paste the same piece of code X number of times when he wants a computer to execute the operation X times.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"X","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"X","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"While loops are beneficial in some ways, they also present vulnerabilities. A programmer may accidentally write an infinite loop into a smart contract, unnecessarily burdening the network with an infinite number of meaningless operations to perform.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"If malicious spammers want to attack an unprepared network that runs on a Turing-complete language, they can unleash a great number of smart contracts each bearing infinite loops. These pointless, endless operations can cause crippling congestion.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"To avoid this possibility, Buterin introduced the idea of “gas” to the Ethereum network.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"pros-and-cons-of-turing-completeness"},{"text":"Gas: A Way to Avoid Infinite Loops","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-a-way-to-avoid-infinite-loops"},{"text":"In short, users must pay a fee for every single operation that they want the network’s nodes to perform. These fees are simply called “gas.” Gas prices discourage malicious actors from spamming the network. It also encourages developers to write efficient contracts that require as few processes as possible.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-a-way-to-avoid-infinite-loops"},{"text":"Moreover, gas prevents an accidental infinite loop from wreaking havoc on the network, because once all the gas is used up, the network stops processing the contract. The loop runs out of gas and the nodes stop executing the loop.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-a-way-to-avoid-infinite-loops"},{"text":"An important benefit the gas-based platform brought to the world is that it broke the barrier for allowing developers to decentralize software execution in a p2p environment.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-a-way-to-avoid-infinite-loops"},{"text":"For example, in a non-decentralized p2p software application, users typically must rely on a centralized server or other impersonal third-party to maintain sanity in the execution of software instructions. Decentralized applications allow users to interact with software while relying not on a centralized server, but on the decentralized blockchain.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"gas-a-way-to-avoid-infinite-loops"},{"text":"The Problem with the Gas-based Model","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"While the concept of gas is a clever innovation, it also makes complex applications prohibitively expensive, and it hinders innovation and audience growth.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"If a particular contract or dApp needs the network to perform a large number of operations to function as designed, it costs too much money to keep it running.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Take these two competing statements from Buterin by way of illustration. In January of 2014 he said, “...Our goal is to provide a platform for decentralized applications – an android of the cryptocurrency world, where all efforts can share a common set of APIs, trustless interactions and no compromises.” But later, in July 2018, Buterin had this to say: “If you want to build a decentralized Uber and Lyft on top of an unscalable Ethereum, you are screwed. Full stop.”","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"But later, in July 2018, Buterin had this to say:","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"The \"Uber\" reference is to a popular phone app where users can hail and share a freelance-taxi service. On average, this app processes 12 financial transactions per second. At the time of Buterin's statement, Ethereum can process 15 transactions per second. Let's make a rough analysis of the cost to maintain this one dApp on Ethereum.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"The value of the gas fees for an Uber-like decentralized app would have to cover ~80% of the cost of maintaining the Ethereum blockchain ( (12 txs / 15 txs) * 100 = 80% ). Today (cr. 2018-2019), it costs about $150,000 USD per hour to maintain the Ethereum hash rate. The dApp developer and their end-users would be responsible for 80% of this, so they would have to pay gas fees of at least $120,000 per hour, which translates to ~$30 per second.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"(12 txs / 15 txs) * 100 = 80%","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"$150,000 USD per hour","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Therefore, looking only at the costs, and not at the lack of space for multiple dApps, we begin to see the enormous flaws of the gas-based model. While existing large corporations and their customer bases may be able to afford this financial burn rate, it is difficult to conceive of a startup that can afford it. The ongoing gas fees to continually maintain the functionality of this dApp are simply too expensive.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"All this is assuming that the dApp only processes one transaction per ride, per customer. If the dApp is instead a game that has a looping function, the gas fees can grow even more absurd.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Furthermore, all dApps on the Ethereum platform have to share the same gas, and the same blockchain, and this compounds the problem. If an existing business running a dApp on the platform becomes suddenly popular, the surge of people wanting to use the dApp must purchase gas, and this causes the price of gas to rapidly rise. The burst of activity can also cause the blockchain to grind to a halt.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"While the spike in the price of gas can be advantageous for financial speculation, the spike is arguably terrible for many necessary blockchain use cases. For example, a startup business that wants to serve a new customer base using the same gas-based platform must now convince their potential customers to purchase the platform's gas at an unpredictably high price.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Until blockchain technology is capable of processing potentially billions, if not trillions, of transactions per second on a single blockchain, the gas-based blockchain platform is fundamentally flawed for today's market. The more popular a gas-based platform becomes, the more difficult, expensive, and prohibitive it is for businesses to develop on it, and for users to buy into it.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Having observed crucial flaws in the currently popular gas-based smart-contract platform, we are now prepared to turn to the smart-contract solution Komodo proposes.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"the-problem-with-the-gas-based-model"},{"text":"Introducing Antara Modules","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"Recall that Satoshi Nakamoto's Bitcoin Script is not Turing complete. This choice was deliberate. Leaving Bitcoin Script in a simple form was a quicker, safer alternative to a Turing complete language. This is true because it removes the possibility of infinite loops clogging the Bitcoin network.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"However, at the same time, the lack of Turing completeness also prevented smart-contract like functionality on Bitcoin-protocol based blockchains — until now.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"Komodo now offers Antara Modules. These modules allow for the same functionalities found in smart contracts, and even more advanced features. This new technology is compatible with Bitcoin-protocol based blockchains, and this includes all Komodo Smart Chains.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"Furthermore, Antara Modules gain more usefulness when combined with Komodo's unique design. Recall that Komodo is built not to require all developers and users to function on the main Komodo blockchain. Rather, Komodo empowers developers with their own independent blockchain, each secured with the hash rate of Bitcoin. This facilitates an interconnected network between all Smart Chains through Komodo's other technologies, such as atomic-swaps, cross-chain syncing, and more.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"This combination of Komodo technologies overcomes the challenges of the currently popular, gas-based, single-blockchain platforms.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"With Antara Modules, the developer can maintain interactivity with the Komodo ecosystem, while also being able to run on a private blockchain. Because the developer has the full blockchain all to themselves, they are able to safely occupy the full transaction capacity without fear of interruption by activity elsewhere in the ecosystem. Developers of highly active blockchains can even split their single blockchain into multiple blockchains, using the Antara framework.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"Likewise, end-users of a blockchain service in the Komodo ecosystem need only purchase the currency of the developer's Smart Chain; there is no need to purchase KMD. Therefore, for the end-user, the price of participating in the developer's business is tied only to the design and success of the developer's blockchain software, and not to the unpredictability of the ecosystem at large.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"In short, if you want to use blockchain technology to compete with the Uber taxi app, Komodo is the platform for you.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"introducing-antara-modules"},{"text":"Antara Modules are Based on Utxo Technology","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"Antara Modules function in a completely different manner from the popular gas-based model of other platforms. Before we can explain how Antara Modules work, we must first briefly explain the concept of an \"unspent transaction\", also called a \"utxo,\" for short. Utxos are integral to a blockchain's functionality, but many users do not know they exist.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"A utxo is simply a bill of value sitting in your digital wallet — much like the many small fiat dollar bills you may have sitting in your physical wallet. The collection of utxos in your digital wallet make up the total balance.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"For example, a user could have in their digital wallet a utxo worth 1 KMD, another utxo worth 2 KMD, and another worth 7 KMD. Altogether, in the software interface the user would see that they have 10 KMD total. Most users would never know that they actually have three separate utxos that make up the full balance, as utxos are typically managed automatically by blockchain software.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"When the user spends money, the blockchain software automatically splits the money they spend into new utxos. If our user desires to spend 6 KMD, the software splits the 7 KMD utxo into two pieces: a 6 KMD utxo is sent to the destination address, as the user instructed, and the remaining 1 KMD is returned to the user as \"change.\"","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"The user now has a 1 KMD utxo, a 2 KMD utxo, and another 1 KMD utxo. The total that they see in their wallet is 4 KMD.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-are-based-on-utxo-technology"},{"text":"Antara Modules: Utxo-based Smart Contracts","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"Coming to this from a programmer's perspective, a utxo is a programmable object. As with many objects, it allows software to add and subtract properties from it, including properties that allow for Turing-complete programming. In Komodo, utxos allow us to create a smart-contract functionality that is dramatically cheaper to utilize, and more secure in practice; than the gas-based models of other platforms.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"In its simplest form, an Antara Module locks a utxo in a publicly-known address and prevents it from being spent until a certain set of conditions are met. Once the conditions are fulfilled, the utxo is unlocked and sent to the appropriate address. The idea behind it really is that simple.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"It is fundamentally different than the gas-based model. In the gas-based model, a user has a total balance and they instruct their blockchain software to execute a smart-contract either until the contract is complete, or their total balance is gone.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"With Komodo's Antara Modules, a user locks a series of utxos in a contract with a set of instructions that must be met before the utxo can be sent to its final destination.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"This is a dramatically more secure setup. Only the utxos that have been indicated as belonging to an instance of an Antara Module can be spent. This is different from the gas-based model, where a bug in the software can (and frequently does) allow a faulty smart contract to drain the full balance of a wallet.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"Before diving any deeper into Antara Modules, we need to understand a few things about Bitcoin Scripts.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-utxo-based-smart-contracts"},{"text":"How Antara Modules Interact with Bitcoin Script","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"how-antara-modules-interact-with-bitcoin-script"},{"text":"There are several different ways to execute a Bitcoin payment. In particular, there are pay-to-pubkey payments, pay-to-pubkey-hash payments, and pay-to-script-hash payments. These three payment types represent the overwhelming majority of Bitcoin transactions, and each type of payment is limited in the possibilities it allows to the user and the developer.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"how-antara-modules-interact-with-bitcoin-script"},{"text":"Now, Komodo has implemented an additional type of payment script that designates a utxo as belonging to a specific instance of an Antara Module. In other words, this new payment script puts constraints on the utxo. The name of this new script is called a \"CryptoCondition,\" and we explore the specifications of this script in later articles.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"how-antara-modules-interact-with-bitcoin-script"},{"text":"Antara Modules Maintain Scarcity Within the Module","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-maintain-scarcity-within-the-module"},{"text":"Every Antara Module has its own unique code, called an \"EVAL\" code, and this keeps funds in one module separate from another, and separate from the main Smart Chain's coins.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-maintain-scarcity-within-the-module"},{"text":"When a user spends funds in a manner that links a utxo with an Antara Module, the utxo is locked to this EVAL code in the utxo-data structure.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-maintain-scarcity-within-the-module"},{"text":"This keeps the utxo associated with the Antara Module, and thus the utxo is not free to enter into another Antara Module unless the current module allows this behavior.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"antara-modules-maintain-scarcity-within-the-module"},{"text":"A User Has a Unique Address for Each Antara Module","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-user-has-a-unique-address-for-each-antara-module"},{"text":"For each Antara Module, the user has a unique address that can only be used with funds created as a part of this module. This keeps funds that are created within an Antara Module separate from funds that are created in other Antara Modules. In this manner, there is never any confusion about where funds are sent.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"a-user-has-a-unique-address-for-each-antara-module"},{"text":"Each Module Has a Global Address","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"each-module-has-a-global-address"},{"text":"Each Antara Module also has a global address that is known and usable by everyone. Even the private key to this address is public.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"each-module-has-a-global-address"},{"text":"Making the private key public allows users to interact with the module using lite-mode software (i.e. syncing the blockchain is not required). Also, the global address serves as a repository of information for all users within the module.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"each-module-has-a-global-address"},{"text":"The global address allows all users to query the state of the module and discover current and past behavior.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"each-module-has-a-global-address"},{"text":"Developers Set the Rules for Each Module-Related Transaction","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"developers-set-the-rules-for-each-module-related-transaction"},{"text":"At the same time, the funds within this module cannot be moved until all the conditions of the module are satisfied.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"developers-set-the-rules-for-each-module-related-transaction"},{"text":"For example, the module can require that funds only be spent to a specific and approved address, as set in advance by a group of collaborating users. This is similar to the Bitcoin Lightning Network's intended effect, yet dramatically simpler in design.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"developers-set-the-rules-for-each-module-related-transaction"},{"text":"With these rules in place, an Antara Module effectively becomes a miniature consensus mechanism. The module forces consensus for its participants, just like the master consensus mechanism of the Smart Chain.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"developers-set-the-rules-for-each-module-related-transaction"},{"text":"Now let's take a closer look at the many advantages of Antara Modules.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"developers-set-the-rules-for-each-module-related-transaction"},{"text":"Advantages Of Antara Modules","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"advantages-of-antara-modules"},{"text":"Access to Established and Turing Complete Languages","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"access-to-established-and-turing-complete-languages"},{"text":"Antara Modules are hard-coded into the Komodo code base, which means they can be written in C and C++. They can also be written in any compiled programming language that can create a linkable library capable of calling and being called by C/C++ functions. In that sense, Komodo’s utxo-based contracts are language agnostic.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"access-to-established-and-turing-complete-languages"},{"text":"The C and C++ programming languages are widely understood, time-tested, and, perhaps most importantly, Turing complete. Thus, utxo-based smart contracts can be programmed to do anything that any other existing program or application is able to do.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"access-to-established-and-turing-complete-languages"},{"text":"No Need for a Virtual Machine","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"no-need-for-a-virtual-machine"},{"text":"Because Antara Modules on Komodo run in the daemon, developers can avoid the limitations and hassles of having to run code in a virtual machine, as is the case with the many gas-based smart contract platforms. On Komodo, you have far more speed, flexibility, and power. This is made possible by our unique design of connecting independent blockchains together, rather than forcing all users to run on a layer-one main chain.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"no-need-for-a-virtual-machine"},{"text":"Utxos are More Secure Than Balance-Based Programming","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"utxos-are-more-secure-than-balance-based-programming"},{"text":"Utxo-based modules are more secure than balance-based smart contracts. This is true in several ways. For example, because Komodo’s modules are utxo-based, it is far more difficult, if not impossible, to use a module to flood the main chain's coin supply with illegitimate coins.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"utxos-are-more-secure-than-balance-based-programming"},{"text":"This is not the case with balance-based smart contracts. Because the smart contracts are linked to balances, rather than blockchain-enforced utxos, a malicious actor can manipulate balances to disastrous ends. We have seen this happen again and again and again.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"utxos-are-more-secure-than-balance-based-programming"},{"text":"RPCs Make Module Consumption Easy","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"rpcs-make-module-consumption-easy"},{"text":"Utxo-based smart contracts are also essentially an extension of the Bitcoin protocol, so a series of Remote Procedure Calls (RPCs) can be established. With an RPC, a normal developer can bring the functionality of an existing Antara Module into a foreign software environment with a simple command.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"rpcs-make-module-consumption-easy"},{"text":"With many Antara Modules, a Graphic User Interface (GUI) can allow non-technical users to make use of the technology without needing to work through the command line. Eventually, once a large variety of RPC calls are available, a normal developer should be able to build decentralized software using RPC calls alone.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"rpcs-make-module-consumption-easy"},{"text":"Instantaneous Confirmation","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"instantaneous-confirmation"},{"text":"A challenge that many developers face in the blockchain industry is the aspect of creating software that must wait for decentralized consensus before the software's users can assume finality.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"instantaneous-confirmation"},{"text":"Antara Modules allow the developer to overcome this challenge. Antara Modules allow for zero-confirmation micro-payments. These micro-payments are secured by Komodo’s delayed Proof of Work security mechanism. The payments are fully peer-to-peer, and are considered confirmed as soon as they are initiated.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"instantaneous-confirmation"},{"text":"No Need for Gas","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"no-need-for-gas"},{"text":"Antara Modules do not require a shared “gas” coin for every process executed. Recall that the smart contracts and dApps built on Ethereum must pay in Ethereum's ecosystem-wide gas (Ether) for every single step of progress. The tremendous expense placed on common users and developers makes complex blockchain-based software nigh impossible.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"no-need-for-gas"},{"text":"Komodo, on the other hand, is far more scalable as the cost of blockchain processing is tied only to an individual Smart Chain's native coin, and not to the main Komodo coin (KMD) that ties the ecosystem together.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"no-need-for-gas"},{"text":"Difficult to Create, but Easy to Reuse","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"Creating a new Antara Module is more difficult than creating a new smart contract on a gas-based platform. However, the functionality of a module need only be programmed once, and then other users in the Komodo ecosystem can reuse the finished module.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"Building and designing a new Antara Module requires a strong proficiency in blockchain technology and in advanced programming techniques. The module must be stable and secure enough to withstand the pressure of the wild-open Internet.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"However, once created, other users may rely on the module's RPC commands to utilize the module's functionality without having to understand how the module functions.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"For example, consider how the MuSig Antara Module serves non-blockchain developers. This module relies on Antara to enable a complicated technology called Schnorr Signatures, which are a new method for creating multi-signature blockchain transactions. The RPC's for this module allow any developer of essentially any skill level to adopt the MuSig functionality into the developer's software without having to gain an in-depth understanding of Schnorr technology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"See the MuSig module documentation here","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"See the MuSig module documentation here","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"As the library of available modules grows, so too do the advantages to the many types of developers in the Komodo ecosystem. For this reason, members of the Komodo community express gratitude to the more experienced blockchain developers who build and share Antara Modules via open-source ideology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"difficult-to-create-but-easy-to-reuse"},{"text":"Komodo is Developing and Testing Default Modules","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"The Komodo team has already created many Antara Modules that are freely available for all developers in the Komodo ecosystem. The team is also exhaustively testing the Antara Modules' code prior to implementation, to ensure a quality and bug-free environment.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"Once complete, the modules are embedded into the default source code of a Komodo Smart Chain. This technology is provided using open-source philosophy, and thus anyone can verify the code of the modules.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"If you would like to have an Antara Module available that is not already in the code base, submit a Pull Request to the Komodo repository on Github with the details of your desired module. If accepted, Komodo will write the module and make it available to all users during our next hard fork. This occurs on an annual or semi-annual basis.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"To our knowledge, no other blockchain project has successfully implemented utxo-based contracts on a live chain. Considering atomic swaps, on-demand scalability, cross-chain interoperability syncing, and utxo-based modules, the Komodo team continues to develop technologies at the bleeding edge of the blockchain industry.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"Join us for Part II of this discussion. Part II delves a little deeper into the methods of Antara Module functionality, and continues preparing the developer for Antara Module utilization.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"Link to Part II of an Overview of Antara Modules","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"},{"text":"Link to Part II of an Overview of Antara Modules","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-i","closestElementReference":"komodo-is-developing-and-testing-default-modules"}],"antara/tutorials/overview-of-antara-modules-part-ii":[{"text":"Overview of Antara Modules - Part II","tagName":"h1","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"overview-of-antara-modules-part-ii"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"introduction"},{"text":"Welcome to an Overview of Antara Modules - Part II.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"introduction"},{"text":"The following content is provided for developers desiring to discover deeper levels of potential in Komodo software. The content covers technical aspects of Antara Modules that are not necessary for a common user to understand. Learning this content can help any developer in the Komodo ecosystem utilize or create new Antara Modules.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"introduction"},{"text":"Assumptions for this Content","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"This discussion is intended for developers who feel confident in at least one mainstream programming language, and who understand the core concepts of blockchain and Komodo technology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Other readers, such as business or marketing developers, may also find the content useful, although some topics may be difficult to understand. We invite any interested reader to reach out to our team on Discord with questions.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Discord","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Consider reading the following resources, if necessary.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Overview of Antara Modules - Part I","tagName":"li","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Overview of Antara Modules - Part I","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Core Technology Discussions","tagName":"li","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Core Technology Discussions","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Mastering Bitcoin","tagName":"li","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Mastering Bitcoin","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"assumptions-for-this-content"},{"text":"Before We Begin: A Brief Note for Normal Developers","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"Creating a new Antara Module is challenging. Fortunately, not every developer in the Komodo ecosystem is expected to program new modules from scratch. Rather, Komodo anticipates that many developers will consume existing modules without attempting to create new modules.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"Each module built on the Antara framework can be designed to have Remote Procedure Calls (RPC's) that can be called quickly and easily from other software and programming languages.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"A good example can be seen in the MuSig module. This module uses the Antara framework to enable a complicated and useful technology called Schnorr Signatures. The RPC's for this module allow any developer of essentially any skill level to adopt MuSig functionality into their software without having to gain an in-depth understanding of Schnorr technology.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"See the MuSig module documentation here","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"See the MuSig module documentation here","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"As the library of available modules grows, so too do the advantages to the many types of developers in the Komodo ecosystem.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"before-we-begin-a-brief-note-for-normal-developers"},{"text":"Understanding the Problem that Antara Modules Solve","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"understanding-the-problem-that-antara-modules-solve"},{"text":"Antara is Komodo's technology framework that developers use while creating decentralized software. Antara Modules are but one aspect of the wider Antara framework. The modules are a crucial element of the framework, as they allow any capable developer to directly add arbitrary code into the Smart Chain itself.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"understanding-the-problem-that-antara-modules-solve"},{"text":"The reader may better understand the purpose and use case of Antara Modules by first understanding the key problem that they solve.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"understanding-the-problem-that-antara-modules-solve"},{"text":"A Consensus Mechanism Is Not Easy to Create or Change","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"Adding new code into a blockchain's consensus mechanism (CM) is a challenging task. Creating an entirely new CM is more difficult by an order of magnitude. Yet, despite these facts, often when an experienced developer first approaches blockchain technology with creative intent, their initial impulse is to dive directly into the CM itself. As time passes, the developer can come to a realization that they are attempting to solve a problem that is too large for any one person.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"Consider the Bitcoin consensus mechanism. This protocol is approximately ten years old and receives perhaps more attention than all other blockchain protocols combined. Every year, thousands upon thousands of the world's most intelligent developers, mathematicians, and cryptographers pore over the intricacies of this profitable technology. Yet, despite this valuable insight, mistakes in the code continue to reveal themselves: in 2018, the Bitcoin Core and Bitcoin Cash teams together discovered a flaw in the code that would have allowed a malicious user to print an arbitrary number of new Bitcoins.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"discovered a flaw in the code","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"Mistakes in the code of a CM can cause economic instability, and volatility of this nature can wreak havoc on the lives of the CM's users. For this reason, seasoned blockchain engineers often avoid changing the CM altogether, once it is relatively stable.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"For those few projects that create a useful and unique consensus mechanism, a new challenge immediately presents itself. If the CM relies on a Proof of Work type model, the project team must attract a sufficient number of miners. If the CM is more akin to Proof of Stake, the team must ensure the blockchain's total stake is distributed in a manner that ensures trustlessness. Neither of these tasks are easy to achieve.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"In light of these challenges, the blockchain engineer finds themselves confronted with a paradox. The engineer desires to create something new, and at the same time, they cannot easily change the core software.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-consensus-mechanism-is-not-easy-to-create-or-change"},{"text":"A Popular, But Flawed Solution: The Decentralized Virtual Machine","tagName":"h4","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"A popular solution to this paradox is to associate the consensus mechanism (CM) with a virtual machine (VM). This method was made popular by the Ethereum project.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"In this model, the CM's design can be similar to existing and stable CM's, but it has one difference. The CM listens to instructions given by an external VM that is decentralized across all validating nodes. While code inside the VM can be arbitrary, the CM does not listen to the code's execution. Instead, the CM only listens to the same data as before: the history of transactions and associated meta data.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"This solution is more effective than writing an entirely new CM, yet the solution is limited. The limitations include: the requirement of working in the mandatory VM programming language, such as Solidity; an excessive dependency on the core-software development team; volatile economics, and a lack of blockchain processing and storage capacity.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"The requirement of the limited programming language derives from security concerns. All validating nodes in the decentralized VM must run all blockchain-related code in the ecosystem. Having this code written in a unique language designed for the VM reduces the available opportunities to malicious actors. While the limitation provides baseline security, the customized and often unstable nature of the VM programming language can make the creative process difficult. Also, the need to master a new language adds an additional burden to the developer.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"The dependency on the blockchain's core engineers also slows creative progress for ecosystem developers. When the ecosystem developer discovers a new core-level technology that would increase the developer's productivity and creativity, they must convince the main chain's core-software team to implement the new feature. The core-software engineers, however, may have conflicting interests, as their decisions must meet the needs of all developers and users in their ecosystem.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"In many of the VM-based models, economics for blockchain usage can be volatile. The underlying \"gas\" token that the VM requires (such as Ether) can change in price and value according to the interests of the uneducated masses. This may sound advantageous to a speculator, but a practical business will find that the volatility scares away new users.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"The fact that the VM frequently relies on a single blockchain further hinders developers and users. Block space can be in short supply due to high demand on popular chains. Furthermore, data that is entirely irrelevant to the developer can become required baggage.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"These challenges make the VM model unpleasant for many experienced blockchain engineers. In fact, before Komodo existed, these very concerns inspired the Komodo engineers to avoid the VM model in search of a better solution.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"Antara Modules provide this solution through Komodo's integration of a technology called CryptoConditions.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"a-popular-but-flawed-solution-the-decentralized-virtual-machine"},{"text":"CryptoConditions: An Industry-Wide Standard","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"CryptoConditions is a technology that allows for arbitrary logical conditions and fulfillments to be evaluated as a part of consensus. This allows for a Smart Chain's consensus mechanism to evaluate the results of arbitrary code and update state in the blockchain's data in a decentralized and secure fashion.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"CryptoConditions technology is not a new concept. The Interledger team originally proposed this technology in 2016.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"Interledger","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"The original proposal was that it would be an open-source industry-wide standard format. The Interledger team does not seem to have continued exploring the technology beyond the original proposal.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"original proposal","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"Komodo, on the other hand, found the CryptoConditions concept to be intriguing. In 2018, Komodo adopted this open-source technology into the suite of offerings in our Antara framework.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"Our implementation uses many of the key ideas put forth by the Interledger team, and at the same time we depart in several significant ways. Those who are curious for specific details on this topic can explore the open-source code in the respective repositories.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"The important takeaway is that Antara Modules rely on a core technology called, CryptoConditions (CC). This technology allows a developer to add arbitrary logical conditions and fulfillment to their Smart Chain, and to rely on the consensus mechanism to ensure state integrity in a decentralized environment.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"crypto-conditions-an-industry-wide-standard"},{"text":"Creativity at the Consensus Level, Without Losing the Consensus Mechanism","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"Antara Modules and CryptoConditions together allow a developer to add arbitrary code at the consensus level, and within the core software's daemon, without interfering with the existing consensus mechanism (CM). This grants the developer the ability to add core-level features and innovations without waiting for the approval of other members of the Komodo ecosystem. Combined with Komodo's Bitcoin-hash rate security, the simplicity of Antara Modules provides the developer with a competitive level of creative freedom.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"The entry point between Antara Modules and the CM is a new Bitcoin-script operation code , \"OP_CHECKCRYPTOCONDITIONS\", or OP_CCC for short. When executed, OP_CCC is able to initiate additional arbitrary code that is written in any programming language, assuming the language can call and execute C/C++ code in return. The arbitrary code is separate from the CM, thus maintaining the CM's reliability. When the arbitrary code completes, OP_CCC returns a true or false statement to the daemon. If the returned OP_CCC value is true , the daemon performs a transaction.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"operation code","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"true","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"false","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"true","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"The transaction can contain meta data in the normal manner. Therefore, these transactions can also implement other data-storage features of Komodo software. Examples include the key-value storage feature, the Oracles Antara Module , or the native vout and batontxid key-value pairs.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"key-value storage","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"Oracles Antara Module","tagName":"a","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"vout","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"batontxid","tagName":"code","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"With access to the meta data established, Antara Modules are able to act as an application-state manager. State-related data is held in utxos that are accessible to the CM. As application-state management is based on the utxo model, the management also follows the CM's rules for consensus. This powerful combination allows the developer to collect, organize, and act upon data in a securely decentralized manner.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"In addition, once the data is notarized, it can also be called by other Komodo-based Smart Chains, depending on the manner in which the developer(s) form their chain. This allows developers to form clusters of blockchains to enhance their software, as opposed to relying on a single blockchain, or on a single child chain. The speed and data-storage capabilities of a cluster are thus exponentially greater than the offerings of many VM-based competitors.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"Also of note is the simplicity of the Antara Module architecture. All new code created for an individual Antara Module is contained in an optional library. Modules from the library are included in compilation only on participating blockchains. In this manner, developers who desire a module's functionality can include the necessary libraries, and those who do not require the module can avoid this excess baggage.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"The Komodo daemon has no need of an external VM. This eliminates what would otherwise be a cumbersome requirement for the developer and the core engineers. At the same time, the daemon offers all the capabilities of a VM-based blockchain — ⁠and arguably more.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"creativity-at-the-consensus-level-without-losing-the-consensus-mechanism"},{"text":"Antara Modules In Action: Accomplishing Years' Worth of Work In But A Weekend","tagName":"h2","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"Examples of the power of Antara Modules can be found by observing existing modules. Consider how Antara allowed the Komodo ecosystem to swiftly and easily upgrade the Komodo consensus mechanism (CM) to include quantum-proofing capabilities.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"In years past, other blockchain projects in the cryptocurrency community had focused on manually upgrading their CM for quantum-proofing protection. Although this feature appeared to be an advantage, this was not true. Adding customized code to the CM itself to protect addresses from quantum-capable computers was a time-consuming and expensive process.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"Paradoxically, once the new quantum-proof CM was achieved, it only served to isolate the project team. The code itself was untested and unreliable, and the users of the cryptocurrency community had to endure these roadblocks. Furthermore, the customized CM was often incompatible with much of the activity in the open-source blockchain ecosystem; for each industry-wide technological advancement, the team often had to adapt their customized CM on their own.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"Komodo's engineers chose not to spend energy building a new quantum-proof CM, but rather they worked to add Antara Modules first. Once this technology was available, the Komodo core software team took existing quantum-proofing technology, read summaries published by academics and researchers, and created a new Antara Module to add quantum-proofing functionality to the Komodo CM.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"The time between project initiation and releasing a beta version for community testing was approximately one weekend. Only one core developer's attention was required. The Komodo daemon remains compatible with all other software features as before, able to quickly adopt new ideas from others in the open-source community as soon as they arrive. At the same time, users who desire quantum proofing for their long-term financial interests have a module readily available, and users who are not interested have not experienced an interruption in their blockchain services.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"},{"text":"The ability to adopt the ideas of others quickly, while maintaining the accomplishments, security, and compatibilities of one's predecessors, makes Antara Modules a wise choice for experienced developers who wish to have the most advanced technology available without a significant hassle.","tagName":"p","path":"antara/tutorials/overview-of-antara-modules-part-ii","closestElementReference":"antara-modules-in-action-accomplishing-years-worth-of-work-in-but-a-weekend"}],"antara/tutorials/pegs-module-creator-tutorial":[{"text":"Pegs Module Creator Tutorial","tagName":"h1","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"The Pegs Module is in the final stages of production.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"The following tutorial is currently only compatible with computer-hardware setups that are running Linux OS's Ubuntu/Debian-based distributions.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"For questions and assistance, please reach out to the Komodo team using the #cc-pegs channel on the Komodo Discord live-chat server. Thank you.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"#cc-pegs","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"Komodo Discord","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"pegs-module-creator-tutorial"},{"text":"Tutorial Overview","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-overview"},{"text":"This tutorial assists the reader in discovering the process of creating a new Smart Chain with an active stablecoin using the Pegs Antara Module.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-overview"},{"text":"Pegs Antara Module.","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-overview"},{"text":"Tutorial Outline","tagName":"h4","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Launch a new test Smart Chain ( CREATORUSDK ) to activate the Pegs Module","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Peg the test chain's coins to USD and create a pathway for users to back the stablecoin with KMD","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"USD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Create tokens to represent the KMD coins","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Create an oracle, register as a publisher, and subscribe to it","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Create a gateway and bind the previously created token and oracle to it","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Start the oraclefeed software to bring the blockheader data from the KMD chain to the CREATORUSDK chain through the oracle","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"oraclefeed","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"blockheader","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Create a peg by attaching the gateway to it","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Upon completion of this tutorial, the reader may follow the user tutorial and use the Smart Chain created here to discover the possibilities of the Pegs Module.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"user tutorial","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"tutorial-outline"},{"text":"Installation","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"installation"},{"text":"The following installation procedure creates a version of the Komodo software daemon that should not be used for any purpose other than testing. Several of the customizations active on this particular version of the daemon are intended for testing purposes only.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"installation"},{"text":"Dependencies","tagName":"h4","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"dependencies"},{"text":"Execute the following commands to install the necessary dependencies.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl clang libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl clang libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"dependencies"},{"text":"Create a Swap Partition (Optional)","tagName":"h4","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"For tutorial users using a VPS with a low amount of RAM, create a swap partition.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"On the VPS, execute the following commands to create a 4GB SWAP file. (If sufficient space is available, consider creating an 8GB swap file instead, as this can facilitate better software performance.)","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"sudo swapon --show\nfree -h\ndf -h\nsudo fallocate -l 4G /swapfile\nls -lh /swapfile\nsudo chmod 600 /swapfile\nls -lh /swapfile\nsudo mkswap /swapfile\nsudo swapon /swapfile\nsudo swapon --show\nfree -h\nsudo cp /etc/fstab /etc/fstab.bak\necho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab\nsudo sysctl vm.swappiness=10 # This setting will persist until the next reboot. We can set this value automatically at restart by adding the line to our /etc/sysctl.conf file:\nsudo nano /etc/sysctl.conf\nvm.swappiness=10\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"sudo swapon --show\nfree -h\ndf -h\nsudo fallocate -l 4G /swapfile\nls -lh /swapfile\nsudo chmod 600 /swapfile\nls -lh /swapfile\nsudo mkswap /swapfile\nsudo swapon /swapfile\nsudo swapon --show\nfree -h\nsudo cp /etc/fstab /etc/fstab.bak\necho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab\nsudo sysctl vm.swappiness=10 # This setting will persist until the next reboot. We can set this value automatically at restart by adding the line to our /etc/sysctl.conf file:\nsudo nano /etc/sysctl.conf\nvm.swappiness=10\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"Build the Komodo daemon","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"Execute the following commands to build the Komodo daemon.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"git clone https://github.com/Mixa84/komodo\ncd komodo\ngit checkout pegsCC\nexport CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' # Tweaks some settings to make it easy for testing\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\ncd src\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"git clone https://github.com/Mixa84/komodo\ncd komodo\ngit checkout pegsCC\nexport CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' # Tweaks some settings to make it easy for testing\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\ncd src\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"This tutorial requires that the tutorial reader compile the Komodo daemon from source code. For more instructions, please see the installation section .If you have access to two VPS, follow this guide . If you want to launch this Smart Chain in your Personal Computer or using a single VPS, follow this guide","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"installation section","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"this guide","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"this guide","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"Obtain a pubkey","tagName":"h4","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Recall also that a user must have a pubkey enabled when interacting with an Antara-related Smart Chain. View this linked material for an explanation.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"View this linked material for an explanation.","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"obtain-a-pubkey"},{"text":"Launch the Test Smart Chain","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"The command below creates and launches a new Smart Chain.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"The following list explains a few of the Smart Chain customizations that are necessary and desirable for a Smart Chain designed for testing purposes.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_name=CREATORUSDK — the name of this Smart Chain is set to CREATORUSDK","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_name=CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_import=PEGSCC — the key customization that activated the Pegs Antara Module on the new Smart Chain","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_import=PEGSCC","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_end=1 — sets the mining block reward to zero (after the first block)","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_end=1","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-debug — a debug parameter that instructs the daemon to track various information for console output","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-debug","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-printoconsole — instructs the daemon to print the information from the debug parameter to the console","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-printoconsole","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"debug","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_supply=1000000 — the amount of intial coin supply for the chain (an arbitrary amount here that includes enough coin to manage testing purposes of the chain)","tagName":"li","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"-ac_supply=1000000","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"Consult the Antara Customizations documentation for explanations of the other parameters in the command.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"Antara Customizations","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=CREATORUSDK -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=CREATORUSDK -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"launch-the-test-smart-chain"},{"text":"Create a Token to Represent KMD Coins","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"To create tokens that are capable of representing KMD (although the tokens are not yet tied to actual KMD ), execute the following command on the test chain.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokencreate KMD 100000 \"KMD_BTC,BTC_USD,*,1\"\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokencreate KMD 100000 \"KMD_BTC,BTC_USD,*,1\"\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"This creates a total of 100000 * 10^8 tokens named KMD on the CREATORUSDK chain. Each token is capable of representing a single satoshi of the external coin KMD .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"100000 * 10^8","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"All the tokens combined allow up to 100000 KMD coins on the CREATORUSDK chain.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"100000","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"The description of the token, \"KMD_BTC,BTC_USD,*,1\" specifies the synthetic price to be used by a peg (not yet created).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"\"KMD_BTC,BTC_USD,*,1\"","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"\"KMD_BTC,BTC_USD,*,1\" means (KMD/BTC) * (BTC/USD) * 1 . This simplifies to KMD/USD , which provides an exchange price between the two currencies. This provides the necessary information to peg the CREATORUSDK stablecoin to USD and to back the coin using KMD .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"\"KMD_BTC,BTC_USD,*,1\"","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"(KMD/BTC) * (BTC/USD) * 1","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD/USD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"USD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"The command returns a hex value as a response.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001c05c55f5183a412750a912579bf5f915a261b68d51b2ce5e2664659e9dcce3010000000049483045022100e4a0fffaf4aa10be58716561a1f2043dfdc2c3a4b595e74031582bac9edcc7690220211a5984f8ab480ff7641073f9dc8622b02ee602228fe27fda788443cd6aadb401ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc00a0724e18090000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc1f0493c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000426a40f2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567074b4d4454455354134b4d445f4254432c4254435f5553442c2a2c3100000000\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"{\n \"result\": \"success\",\n \"hex\": \"0100000001c05c55f5183a412750a912579bf5f915a261b68d51b2ce5e2664659e9dcce3010000000049483045022100e4a0fffaf4aa10be58716561a1f2043dfdc2c3a4b595e74031582bac9edcc7690220211a5984f8ab480ff7641073f9dc8622b02ee602228fe27fda788443cd6aadb401ffffffff041027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc00a0724e18090000302ea22c80205dcc33b0b3f0573b306ab85ffa9ce8622fbcb81cb6ad8ec00f366935bbf500f78103120c008203000401cc1f0493c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac0000000000000000426a40f2632102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567074b4d4454455354134b4d445f4254432c4254435f5553442c2a2c3100000000\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Select the hex value ( 0100000001c05c55f5183a412750a... ) and copy it using (CTRL + SHFT + C).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"0100000001c05c55f5183a412750a...","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Broadcast this value using sendrawtransaction.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"sendrawtransaction.","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"The value of the response is called the tokenid .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Copy the tokenid into a text editor and keep it available for future use.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Watch the mempool using getrawmempool to verify that the tokenid is successfully mined.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK getrawmempool\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK getrawmempool\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Once the tokenid disappears from the mempool the transaction is mined.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Use tokeninfo to check that the token is successfully created.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokeninfo","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokeninfo 0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokeninfo 0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\",\n \"owner\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"name\": \"KMD\",\n \"supply\": 10000000000000,\n \"description\": \"KMD_BTC,BTC_USD,*,1\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\",\n \"owner\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"name\": \"KMD\",\n \"supply\": 10000000000000,\n \"description\": \"KMD_BTC,BTC_USD,*,1\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"The tutorial reader may now check the balance of the pubkey used to launch the daemon using tokenbalance .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"tokenbalance","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokenbalance insert_tokenid insert_pubkey\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"./komodo-cli -ac_name=CREATORUSDK tokenbalance insert_tokenid insert_pubkey\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-a-token-to-represent-kmd-coins"},{"text":"Create an Oracle","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"The Oracles Module is able to add external data to a blockchain. This modules allows the Pegs module to obtain the information needed regarding user activity and accurate prices.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Oracles","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"When creating a new oracle, the name of the oracle is identical to the name of the tokens, KMD and the data format starts with Ihh (height, blockhash, merkleroot).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Ihh","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Create the oracle using oraclescreate .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclescreate","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclescreate KMD blockheaders Ihh\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclescreate KMD blockheaders Ihh\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"The response is a hex value.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"hex\": \"0400008085202f890112a78e8450576dd6126c9676d61ff2570693ff441993127a75a0cc3521d14609020000004847304402206d05f874b04808f5d989325e140e0a618de8081909bc20db24fd70ebfd53fedc02205f88c98f2399119ab680a246ac0613dffabb4a77022cc755b9fca6c96f50c52d01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aacffb592c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000001d6a1bec43074b4d4454455354034968680c626c6f636b6865616465727300000000280100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"hex\": \"0400008085202f890112a78e8450576dd6126c9676d61ff2570693ff441993127a75a0cc3521d14609020000004847304402206d05f874b04808f5d989325e140e0a618de8081909bc20db24fd70ebfd53fedc02205f88c98f2399119ab680a246ac0613dffabb4a77022cc755b9fca6c96f50c52d01ffffffff0310270000000000002321038c1d42db6a45a57eccb8981b078fb7857b9b496293fe299d2b8d120ac5b5691aacffb592c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000001d6a1bec43074b4d4454455354034968680c626c6f636b6865616465727300000000280100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Broadcast the returned hex value using sendrawtransaction .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_data\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_data\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"The response is a transaction id, called the oracleid .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oracleid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Record this value in the text editor.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Execute the oraclesfund method to fund the oracle.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesfund","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesfund ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesfund ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"hex\": \"0400008085202f89010e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee01000000494830450221008f3db99deddacc6cf6c39260faac62aa00395a808715923e0301d6063a23618d022044565a478e2fbf316f843ac96c2921f267da71701f51fd0c244aff1aedb00ed101ffffffff031027000000000000302ea22c8020de1ac583c081d079fd4118ec0c29fe975121739d8fba70103e5fb45614913cbe8103120c008203000401ccdf6792c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4cec460e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567102700000000000000000000290100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"hex\": \"0400008085202f89010e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee01000000494830450221008f3db99deddacc6cf6c39260faac62aa00395a808715923e0301d6063a23618d022044565a478e2fbf316f843ac96c2921f267da71701f51fd0c244aff1aedb00ed101ffffffff031027000000000000302ea22c8020de1ac583c081d079fd4118ec0c29fe975121739d8fba70103e5fb45614913cbe8103120c008203000401ccdf6792c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4cec460e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567102700000000000000000000290100000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Send the raw transaction by broadcasting the hex value.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction 0400008085202f89010e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee01000000494830450221008f3db99deddacc6cf6c39260faac62aa00395a808715923e0301d6063a23618d022044565a478e2fbf316f843ac96c2921f267da71701f51fd0c244aff1aedb00ed101ffffffff031027000000000000302ea22c8020de1ac583c081d079fd4118ec0c29fe975121739d8fba70103e5fb45614913cbe8103120c008203000401ccdf6792c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4cec460e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567102700000000000000000000290100000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction 0400008085202f89010e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee01000000494830450221008f3db99deddacc6cf6c39260faac62aa00395a808715923e0301d6063a23618d022044565a478e2fbf316f843ac96c2921f267da71701f51fd0c244aff1aedb00ed101ffffffff031027000000000000302ea22c8020de1ac583c081d079fd4118ec0c29fe975121739d8fba70103e5fb45614913cbe8103120c008203000401ccdf6792c2da510000232102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567ac00000000000000004f6a4c4cec460e7a96165cbbc6655cf07f2c6ccfd18193406ccaa9956359af1d67d3744668ee2102d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567102700000000000000000000290100000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Response:","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"4f87b9769300282ce706eb0bd75d534d7cbbc940b04c1a7131c70e4b35f7c240\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"4f87b9769300282ce706eb0bd75d534d7cbbc940b04c1a7131c70e4b35f7c240\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Optionally use the getrawmempool method to ensure that the transaction receives confirmation.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"To prepare for the oraclefeed instance, use oraclesregister to register as a publisher for the oracle. This command must be executed on a node which can post KMD block headers and which can execute withdrawal transactions.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesregister","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesregister insert_oracleid data_fee_in_satoshis`\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesregister insert_oracleid data_fee_in_satoshis`\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a hex value which must be broadcast using sendrawtransaction . (Not shown for brevity)","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Retrieve the data publisher's pubkey using oraclesinfo .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclesinfo","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesinfo insert_oracleid\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesinfo insert_oracleid\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RKbG81CYx6Qtxnu59edtQS6isycKbbFB1o\",\n \"registered\": [\n {\n \"publisher\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"baton\": \"RSY69ZqzUADpqSeVNR7o3Jdo2UnXjMCbjq\",\n \"batontxid\": \"1bfbdbc1062921b3e2620d57af2f7d6989ccc5dce5e6bdb2d8c2809ec98bdc44\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.00100000\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RKbG81CYx6Qtxnu59edtQS6isycKbbFB1o\",\n \"registered\": [\n {\n \"publisher\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"baton\": \"RSY69ZqzUADpqSeVNR7o3Jdo2UnXjMCbjq\",\n \"batontxid\": \"1bfbdbc1062921b3e2620d57af2f7d6989ccc5dce5e6bdb2d8c2809ec98bdc44\",\n \"lifetime\": \"0.00000000\",\n \"funds\": \"0.00000000\",\n \"datafee\": \"0.00100000\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"The key, \"publisher\" , in the entry, \"registered\" , of the returned json object is the data publisher's pubkey , also called the publisherpubkey .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"\"publisher\"","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"\"registered\"","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"publisherpubkey","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Subscribe to the oracle using oraclessubscribe to receive utxo information for data publishing.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"oraclessubscribe","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"The frequency of data-publishing transactions that can be included in a block is equal to the number of active subscriptions committed to the oracle. Therefore, there must be at least one subscription for the oracle to allow publishing.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Subscribe to the oracle using the following command.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclessubscribe insert_oracleid insert_publisherpubkey insert_amount_of_funds_to_add\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclessubscribe insert_oracleid insert_publisherpubkey insert_amount_of_funds_to_add\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"This returns a hex value that must be broadcast using sendrawtransaction (not shown for brevity).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"In this tutorial example, the tutorial reader needs to be able to publish data more than once per block. Therefore, execute the oraclessubscribe and sendrawtransaction methods several times and with the same amount.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Verify the oracle information to ensure it is properly established.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesinfo insert_oracleid\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"./komodo-cli -ac_name=CREATORUSDK oraclesinfo insert_oracleid\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RKbG81CYx6Qtxnu59edtQS6isycKbbFB1o\",\n \"registered\": [\n {\n \"publisher\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"baton\": \"RSY69ZqzUADpqSeVNR7o3Jdo2UnXjMCbjq\",\n \"batontxid\": \"1bfbdbc1062921b3e2620d57af2f7d6989ccc5dce5e6bdb2d8c2809ec98bdc44\",\n \"lifetime\": \"4.00000000\",\n \"funds\": \"4.00000000\",\n \"datafee\": \"0.00100000\"\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"{\n \"result\": \"success\",\n \"txid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"name\": \"KMD\",\n \"description\": \"blockheaders\",\n \"format\": \"Ihh\",\n \"marker\": \"RKbG81CYx6Qtxnu59edtQS6isycKbbFB1o\",\n \"registered\": [\n {\n \"publisher\": \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\",\n \"baton\": \"RSY69ZqzUADpqSeVNR7o3Jdo2UnXjMCbjq\",\n \"batontxid\": \"1bfbdbc1062921b3e2620d57af2f7d6989ccc5dce5e6bdb2d8c2809ec98bdc44\",\n \"lifetime\": \"4.00000000\",\n \"funds\": \"4.00000000\",\n \"datafee\": \"0.00100000\"\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-an-oracle"},{"text":"Bind the Token and Oracle to a Gateway","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"Create a gateway and bind the data from this tutorial to the gateway using the gatewaysbind method.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"gatewaysbind","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"This method requires that tutorial reader decide how many total gateway signatures are desired (represented by the value N ), and how many signatures are required to withdraw funds (represented by the value M ).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"N","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"M","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"For this tutorial, the reader may set both N and M equal to 1 for simplicity.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"N","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"M","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"1","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"The gatewaysbind command requires that the user indicate the pubtype , p2shtype , and wiftype values for the chosen coin. For Smart Chains, these values are 60 , 85 and 188 respectively.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"pubtype","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"p2shtype","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"wiftype","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"60","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"85","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"188","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=CREATORUSDK gatewaysbind insert_tokenid insert_oracleid KMD insert_tokensupply 1 1 insert_gatewayspubkey 60 85 188\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=CREATORUSDK gatewaysbind insert_tokenid insert_oracleid KMD insert_tokensupply 1 1 insert_gatewayspubkey 60 85 188\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"This method returns a hex value that must be broadcast using sendrawtransaction (not shown for brevity).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"The broadcast returns a transaction id, also called the bindtxid . Copy this information to the text editor.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"Assuming everything is properly created and executed, review the new gateway using gatewaysinfo .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"gatewaysinfo","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"./komodo-cli -ac_name=HELLOWORLD gatewaysinfo insert_bindtxid\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"M\": 1,\n \"N\": 1,\n \"pubkeys\": [\n \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"\n ],\n \"coin\": \"KMD\",\n \"oracletxid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"wiftype\": 188,\n \"deposit\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"tokenid\": \"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\",\n \"totalsupply\": \"100000.00000000\",\n \"remaining\": \"100000.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"M\": 1,\n \"N\": 1,\n \"pubkeys\": [\n \"02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567\"\n ],\n \"coin\": \"KMD\",\n \"oracletxid\": \"ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"wiftype\": 188,\n \"deposit\": \"RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa\",\n \"tokenid\": \"0946d12135cca0757a12931944ff930657f21fd676966c12d66d5750848ea712\",\n \"totalsupply\": \"100000.00000000\",\n \"remaining\": \"100000.00000000\",\n \"issued\": \"0.00000000\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"Use the returned information to verify that the tokenid and oracleid match the information copied from this tutorial to the text editor.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"tokenid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"oracleid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"bind-the-token-and-oracle-to-a-gateway"},{"text":"Start the oraclefeed software","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"The oraclefeed software instance automates the transfer of merkleroot data from the KMD chain to the oracle on the CREATORUSDK chain.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"oraclefeed","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"Change into the directory where komodod and komodo-cli are compiled.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"komodod","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"komodo-cli","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"cd ~/komodo/src/\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"cd ~/komodo/src/\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"Compile the oraclefeed software instance.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"oraclefeed","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"gcc cc/dapps/oraclefeed.c -lm -o oraclefeed\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"gcc cc/dapps/oraclefeed.c -lm -o oraclefeed\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"Initiate the instance.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"./oraclefeed CREATORUSDK insert_oracleid insert_mypubkey Ihh insert_bindtxid \"cli command to access te external coin(KMD)\"\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"./oraclefeed CREATORUSDK insert_oracleid insert_mypubkey Ihh insert_bindtxid \"cli command to access te external coin(KMD)\"\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"Inserting the values.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"./oraclefeed CREATORUSDK ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 Ihh 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786 \"./komodo-cli\"\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"./oraclefeed CREATORUSDK ee684674d3671daf596395a9ca6c409381d1cf6c2c7ff05c65c6bb5c16967a0e 02d3431950c2f0f9654217b6ce3d44468d3a9ca7255741767fdeee7c5ec6b47567 Ihh 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786 \"./komodo-cli\"\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"BTC/USD 8469.7417\nPowered by CoinDesk (https://www.coindesk.com/price/) 8469.74170000\nmust supply reference coin\nset refcoin RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa <- KMD [./komodo-cli] M.1 of N.1\nbroadcast CREATORUSDK txid.(13bb4ba78686ae65894c79e67e346e8f8c0bde96dda8d041d4653ce203423b17)\nKMD ht.16 <- 10000000f7a5a84d008a6c4107c3bbad442a879355bd7f951e4bf5ac48b8458afa6a1600bbf054d5a9219e8034990f764106c719f9bfc278b1d909be4486ff52d8523ca6\nbroadcast CREATORUSDK txid.(2eaef55baf9895b4a5b45f0450cc8b4b8e6f95563bc4c0d95086b3ff0d4d394a)\nKMD ht.17 <- 1100000010da30ab6d70443dc881c8ee85b02869b3520d016fcd076e4a1e67543a3a9c0714d4bad1c68f74d6d65b7e26ed821fc38aed36f03c101d117440e094823fb2fa\nbroadcast CREATORUSDK txid.(eff38402e9669ffe7521ab98368e114e44fa8c5ec7a98d57bf600d6ba1cac45d)\nKMD ht.18 <- 1200000018d4169fde5fc716b9ebc44da85fa3cfe5d64adf94d4bee09d97bbbebaaeb80e098c0417881230d51281346f29d2566cd164b7ef0e6a6c08332f969f690e10c9\nbroadcast CREATORUSDK txid.(388c23187083cdc789483d9b8af90c4a4ce3ecaf856785b86f00bf37db900ede)\nKMD ht.19 <- 13000000f1fea637bf33149d161bd5a1d20e0ad8911a3710cf941a318b68fa973d4d9403bb5521d6171bcb1d65d6cadff6916e96814b46ae2487d100987820367b702c2f\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"BTC/USD 8469.7417\nPowered by CoinDesk (https://www.coindesk.com/price/) 8469.74170000\nmust supply reference coin\nset refcoin RN727JeeiZ6NXic7PUKTCiHT1HvuBN4RDa <- KMD [./komodo-cli] M.1 of N.1\nbroadcast CREATORUSDK txid.(13bb4ba78686ae65894c79e67e346e8f8c0bde96dda8d041d4653ce203423b17)\nKMD ht.16 <- 10000000f7a5a84d008a6c4107c3bbad442a879355bd7f951e4bf5ac48b8458afa6a1600bbf054d5a9219e8034990f764106c719f9bfc278b1d909be4486ff52d8523ca6\nbroadcast CREATORUSDK txid.(2eaef55baf9895b4a5b45f0450cc8b4b8e6f95563bc4c0d95086b3ff0d4d394a)\nKMD ht.17 <- 1100000010da30ab6d70443dc881c8ee85b02869b3520d016fcd076e4a1e67543a3a9c0714d4bad1c68f74d6d65b7e26ed821fc38aed36f03c101d117440e094823fb2fa\nbroadcast CREATORUSDK txid.(eff38402e9669ffe7521ab98368e114e44fa8c5ec7a98d57bf600d6ba1cac45d)\nKMD ht.18 <- 1200000018d4169fde5fc716b9ebc44da85fa3cfe5d64adf94d4bee09d97bbbebaaeb80e098c0417881230d51281346f29d2566cd164b7ef0e6a6c08332f969f690e10c9\nbroadcast CREATORUSDK txid.(388c23187083cdc789483d9b8af90c4a4ce3ecaf856785b86f00bf37db900ede)\nKMD ht.19 <- 13000000f1fea637bf33149d161bd5a1d20e0ad8911a3710cf941a318b68fa973d4d9403bb5521d6171bcb1d65d6cadff6916e96814b46ae2487d100987820367b702c2f\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"start-the-oraclefeed-software"},{"text":"Create the Peg","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"Create a peg that will create CREATORUSDK coins pegged to USD and backed by KMD using the pegscreate method.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegscreate","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"The pegscreate method is capable of creating a peg that is backed by more than one external coin. This is accomplished by adding more than one bindtxid to the pegscreate command.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegscreate","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"Each associated gateway requires a unique token, oracle, and a running instance of the oraclefeed software, as previously described in this tutorial.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"oraclefeed","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"For the sake of simplicity, this tutorial utilizes only one gateway (bound to KMD coins).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli -ac_name=CREATORUSDK pegscreate 100000 1 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli -ac_name=CREATORUSDK pegscreate 100000 1 0b5716554e523aa4678112a8ac3d15039e0aae6f4812b9d4c631cc9cfbf48786\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"This method returns a hex value that must be broadcast using sendrawtransaction (not shown for brevity).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli -ac_name=CREATORUSDK sendrawtransaction insert_hex_value\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"The broadcast returns a transaction id, also called the pegstxid . Copy this information to the text editor.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegstxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"The pegstxid is the reference to the peg created in this tutorial. To make sure all the nodes running the CREATORUSDK chain are aware of the correct pegs contract, after the pegstxid transaction is mined the reader must shutdown any daemons running the chain. The tutorial reader then restarts the nodes, but with a slightly modified version of the launch parameters. The parameters now include -earlytxid , and this parameter is set equal to the value of pegstxid .","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegstxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegstxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"-earlytxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegstxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"In the following command, replace the text with the pegstxid from this tutorial.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"pegstxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=CREATORUSDK -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1 -earkytxid=\n","tagName":"pre","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=CREATORUSDK -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1 -earkytxid=\n","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"For any Smart Chain, the -earlytxid must be added to the launch parameters before the chain reaches a total block height of 100 . The tutorial reader may control the pace of mining on a Smart Chain with the commands ./komodo-cli setgenerate true 1 (starting) and ./komodo-cli setgenerate false (stopping).","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"-earlytxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"100","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli setgenerate true 1","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"./komodo-cli setgenerate false","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"Any new node joining the CREATORUSDK network must use the new launch parameters with the -earlytxid included.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"CREATORUSDK","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"-earlytxid","tagName":"code","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"create-the-peg"},{"text":"Test the Setup","tagName":"h2","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"test-the-setup"},{"text":"Follow the Pegs Module Tutorial - User documentation to continue learning about the Pegs Antara Module.","tagName":"p","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"test-the-setup"},{"text":"Pegs Module Tutorial - User","tagName":"a","path":"antara/tutorials/pegs-module-creator-tutorial","closestElementReference":"test-the-setup"}],"antara/tutorials/pegs-module-user-tutorial":[{"text":"Pegs Module User Tutorial","tagName":"h1","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"The Pegs Module is in the final stages of production.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"The following tutorial is currently only compatible with computer-hardware setups that are running Linux OS's Ubuntu/Debian-based distributions.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"For questions and assistance, please reach out to the Komodo team using the #cc-pegs channel of the Komodo Discord live-chat server. Thank you.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"#cc-pegs","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"Komodo Discord","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"pegs-module-user-tutorial"},{"text":"Tutorial Overview","tagName":"h2","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-overview"},{"text":"This tutorial uses the USDKTEST test and development Smart Chain to introduce the process and workflow of a user of the Pegs Antara Module.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-overview"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-overview"},{"text":"Pegs Antara Module.","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-overview"},{"text":"Tutorial Outline","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Connect to the test Smart Chain USDKTEST","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Deposit KMD coins (on the KMD Smart Chain) in the address associated with the USDKTEST Gateways Module","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Claim tokenized KMD on the USDKTEST chain","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Lock tokenized KMD in the Pegs Module and receive USDK coins","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"USDK","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Redeem tokenized KMD using the pegsredeem method","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"pegsredeem","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Return tokenized KMD to the Gateway to receive KMD coins on the KMD Smart Chain","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"tutorial-outline"},{"text":"Installation","tagName":"h2","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"installation"},{"text":"The following installation procedure creates a version of the Komodo software daemon that should not be used for any purpose other than testing. Several of the customizations active on this particular version of the daemon are intended for testing purposes only.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"installation"},{"text":"Dependencies","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"dependencies"},{"text":"Execute the following commands in the Unix terminal.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl clang libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"dependencies"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl clang libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"dependencies"},{"text":"Create a Swap Partition (Optional)","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"For tutorial users using a VPS with a low amount of RAM, create a swap partition.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"On the VPS, execute the following commands to create a 4GB SWAP file. (If sufficient space is available, consider creating an 8GB swap file instead, as this can facilitate better software performance.)","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"sudo swapon --show\nfree -h\ndf -h\nsudo fallocate -l 4G /swapfile\nls -lh /swapfile\nsudo chmod 600 /swapfile\nls -lh /swapfile\nsudo mkswap /swapfile\nsudo swapon /swapfile\nsudo swapon --show\nfree -h\nsudo cp /etc/fstab /etc/fstab.bak\necho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab\nsudo sysctl vm.swappiness=10 # This setting persists until the next reboot of the VPS. To instead set this value automatically at restart, execute the following lines to edit the /etc/sysctl.conf file:\nsudo nano /etc/sysctl.conf\nvm.swappiness=10\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"sudo swapon --show\nfree -h\ndf -h\nsudo fallocate -l 4G /swapfile\nls -lh /swapfile\nsudo chmod 600 /swapfile\nls -lh /swapfile\nsudo mkswap /swapfile\nsudo swapon /swapfile\nsudo swapon --show\nfree -h\nsudo cp /etc/fstab /etc/fstab.bak\necho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab\nsudo sysctl vm.swappiness=10 # This setting persists until the next reboot of the VPS. To instead set this value automatically at restart, execute the following lines to edit the /etc/sysctl.conf file:\nsudo nano /etc/sysctl.conf\nvm.swappiness=10\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"create-a-swap-partition-optional"},{"text":"Build the Komodo daemon","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"git clone https://github.com/Mixa84/komodo\ncd komodo\ngit checkout pegsCC\nexport CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' # Tweaks some settings to make it easy for testing\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\ncd src\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"git clone https://github.com/Mixa84/komodo\ncd komodo\ngit checkout pegsCC\nexport CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' # Tweaks some settings to make it easy for testing\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\ncd src\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"build-the-komodo-daemon"},{"text":"Connect and Sync to USDKTEST and KMD","tagName":"h2","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Navigate to the source directory.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Execute the following launch parameters.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"In the following command, replace the text, , with the appropriate pubkey. To learn more about setting a proper pubkey, please read this linked article from the Komodo documentation.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"To learn more about setting a proper pubkey, please read this linked article from the Komodo documentation.","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=USDKTEST -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1 -addnode=116.203.17.140 -addnode=116.203.17.141 -earlytxid=a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 -pubkey= &\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodod -ac_supply=1000000 -ac_reward=10000 -ac_name=USDKTEST -ac_cc=2 -ac_import=PEGSCC -ac_end=1 -ac_perc=0 -ac_cbopret=5 -debug=pegscc-2 -debug=importcoin -debug=cctokens -debug=gatewayscc -printtoconsole=1 -addnode=116.203.17.140 -addnode=116.203.17.141 -earlytxid=a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 -pubkey= &\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Import the private key corresponding to the pubkey used to start the USDKTEST chain. Note the text that must be replaced in the following command.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST importprivkey \n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST importprivkey \n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Allow the chain to sync.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Check the sync status using the getinfo method. When the keys blocks and longestchain have the same value, the chain is synced. Once the chain is synced, begin mining the USDKTEST chain.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"blocks","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"longestchain","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Mine until the balance returned from the getinfo method is at least 30k satoshis. This requires mining approximately 3 blocks.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"getinfo","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"30k","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"3","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST setgenerate true 1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST setgenerate true 1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"connect-and-sync-to-usdktest-and-kmd"},{"text":"Sync the KMD Smart Chain","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"In a new terminal, change into the Komodo source directory and execute the following command.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"./komodod &\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"./komodod &\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"Use the getinfo method, as before, while waiting until the blockchain syncs.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"./komodo-cli getinfo\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"./komodo-cli getinfo\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"sync-the-kmd-smart-chain"},{"text":"Start Testing","tagName":"h2","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Key Information for this Tutorial","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"The following key information is used throughout this tutorial. Refer back to this content as often as needed.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"KMD token (tokenid): 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Oracle (oracletxid): a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Gateways (bindtxid): 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Faucet: 7bc2dafc4d71c7e178b3a2a89e7ddc894cb14dbeff5937fa869915adf1af5108","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Pegs (pegstxid): a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"The types of transactions performed in this tutorial require at least one confirmation from the network before the user should proceed to the next step in the outline.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"When performing cross-chain operations, the user may need to wait for two or three confirmations on the source chain before any related activity will appear on the destination chain.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"start-testing"},{"text":"Deposit KMD in the Associated USDKTEST Gateways Address","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"Execute the following command to discover the address associated with the Gateways Module.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysinfo 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysinfo 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"Response:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"M\": 2,\n \"N\": 2,\n \"pubkeys\": [\n \"038814d60d99a594b4b1092247df4384bc21a50733d3acd0e29499e5f03737374d\",\n \"023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab\"\n ],\n \"coin\": \"KMD\",\n \"oracletxid\": \"a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"wiftype\": 188,\n \"deposit\": \"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"totalsupply\": \"100000.00000000\",\n \"remaining\": \"99999.86000000\",\n \"issued\": \"0.14000000\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"{\n \"result\": \"success\",\n \"name\": \"Gateways\",\n \"M\": 2,\n \"N\": 2,\n \"pubkeys\": [\n \"038814d60d99a594b4b1092247df4384bc21a50733d3acd0e29499e5f03737374d\",\n \"023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab\"\n ],\n \"coin\": \"KMD\",\n \"oracletxid\": \"a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a\",\n \"taddr\": 0,\n \"prefix\": 60,\n \"prefix2\": 85,\n \"wiftype\": 188,\n \"deposit\": \"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"totalsupply\": \"100000.00000000\",\n \"remaining\": \"99999.86000000\",\n \"issued\": \"0.14000000\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"The deposit address is bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p .","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"deposit","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"Go to the KMD chain and execute one transaction that sends a few KMD coins to two addresses.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"The first address is the address above, and this should receive the majority of the KMD sent in this transaction.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"The second address is the address corresponding to the tutorial user's pubkey used to launch the USDKTEST Smart Chain. This second address requires only a small amount of KMD (a few satoshis); this part of the transaction creates a marker that indicates to the Gateways Module the owner of the KMD funds.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"The z_sendmany allows the user to send coins to two addresses in a single address, as follows.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"z_sendmany","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli z_sendmany \"FROM_ADDRESS\" '[{\"address\":\"ADDRESS_CORRESPONDING_TO_USER_PUBLIC_KEY\",\"amount\":SMALL_MARKER_AMOUNT},{\"address\":\"GATEWAYS_MULTISIG_ADDRESS\",\"amount\":MAIN_AMOUNT_TO_DEPOSIT}]'\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli z_sendmany \"FROM_ADDRESS\" '[{\"address\":\"ADDRESS_CORRESPONDING_TO_USER_PUBLIC_KEY\",\"amount\":SMALL_MARKER_AMOUNT},{\"address\":\"GATEWAYS_MULTISIG_ADDRESS\",\"amount\":MAIN_AMOUNT_TO_DEPOSIT}]'\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"Observe the following example.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli z_sendmany \"RSVF6SecrtU1ppBGPm3SyNw2D8nSpFcA57\" '[{\"address\":\"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\"amount\":0.0001},{\"address\":\"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\"amount\":0.01}]'\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"./komodo-cli z_sendmany \"RSVF6SecrtU1ppBGPm3SyNw2D8nSpFcA57\" '[{\"address\":\"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\"amount\":0.0001},{\"address\":\"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\"amount\":0.01}]'\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposit-kmd-in-the-associated-usdktest-gateways-address"},{"text":"Obtain the txid of the Deposit Transaction","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"The z_sendmany returns an operation id, opid . Use this opid to obtain the txid of the transaction.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"z_sendmany","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"opid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"opid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"(Alternatively, check the website explorer for the txid by searching for any of the addresses associated with the transaction and searching for the most recent transaction.)","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"explorer","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"Use the opid as follows to obtain the txid of the transaction.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"opid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"./komodo-cli z_getoperationstatus '[\"opid-4b661588-9924-47ba-bbba-4884eff36395\"]'\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"./komodo-cli z_getoperationstatus '[\"opid-4b661588-9924-47ba-bbba-4884eff36395\"]'\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"[\n {\n \"id\": \"opid-4b661588-9924-47ba-bbba-4884eff36395\",\n \"status\": \"success\",\n \"creation_time\": 1573737131,\n \"result\": {\n \"txid\": \"5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\"\n },\n \"execution_secs\": 0.009735896000000001,\n \"method\": \"z_sendmany\",\n \"params\": {\n \"fromaddress\": \"RSVF6SecrtU1ppBGPm3SyNw2D8nSpFcA57\",\n \"amounts\": [\n {\n \"address\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"amount\": 0.0001\n },\n {\n \"address\": \"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\n \"amount\": 0.01\n }\n ],\n \"minconf\": 1,\n \"fee\": 0.0001\n }\n }\n]\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"[\n {\n \"id\": \"opid-4b661588-9924-47ba-bbba-4884eff36395\",\n \"status\": \"success\",\n \"creation_time\": 1573737131,\n \"result\": {\n \"txid\": \"5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\"\n },\n \"execution_secs\": 0.009735896000000001,\n \"method\": \"z_sendmany\",\n \"params\": {\n \"fromaddress\": \"RSVF6SecrtU1ppBGPm3SyNw2D8nSpFcA57\",\n \"amounts\": [\n {\n \"address\": \"RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb\",\n \"amount\": 0.0001\n },\n {\n \"address\": \"bPFkXSYYYDWBLbp8AxfY5KKGgxt5RPfN9p\",\n \"amount\": 0.01\n }\n ],\n \"minconf\": 1,\n \"fee\": 0.0001\n }\n }\n]\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"obtain-the-txid-of-the-deposit-transaction"},{"text":"Wait for the Deposit Transaction to Reach the Oracle","tagName":"h2","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-reach-the-oracle"},{"text":"Wait for the Deposit Transaction to be Mined","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"Before the transaction can reach the Oracle, a miner on the KMD chain must mine the transaction.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"Use the getrawmempool method to obtain a list of transactions waiting to be mined and search for the txid of the deposit transaction. If the txid is not there, a miner has mined the transaction.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"./komodo-cli getrawmempool\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"./komodo-cli getrawmempool\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"Once the transaction is mined, use the getrawtransaction method to find the block height at which the transaction was mined.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"getrawtransaction","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"In the following command, replace the text with the deposit txid retrieved earlier.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"./komodo-cli getrawtransaction \"\" 1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"./komodo-cli getrawtransaction \"\" 1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"From the response, take note of the value associated with the height key. The txid transaction was mined at this height.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"height","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"wait-for-the-deposit-transaction-to-be-mined"},{"text":"Observe the txid Reach the Oracle","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Check whether the block header associated with the KMD block of height height has been submitted to the Oracle on the USDKTEST chain.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"height","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Find the pubkey of the publisher associated with the Token, Gateway, and Peg using the tokeninfo method.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"tokeninfo","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST tokeninfo 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST tokeninfo 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Take note of the value of the owner key in the response. This is the pubkey of the publisher.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"owner","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Use the oraclesinfo method to find the baton address for this publiser.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"oraclesinfo","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST oraclesinfo a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST oraclesinfo a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Among the registered publishers in the response, notice that there is a publisher whose pubkey matches the one we took note from the tokeninfo call. The value of the key named baton is needed to get the past samples published by this publisher.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"tokeninfo","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"baton","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"In the following command, replace the text with the baton from the previous step.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"baton","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST oraclessamples a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a 5\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"./komodo-cli -ac_name=USDKTEST oraclessamples a6a59fbdc0ba8b138a4d14ff334a533f0358144091aa999ef45fd7498ab4189a 5\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"This returns the 5 latest data points published by the publisher associated with the Peg system.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"5","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Note the block height in the returned data points. Wait until the highest block height is >= greater than or equal to the block height of the deposit transaction discovered earlier in the tutorial. (This is the process of transferring information between the KMD and USDKTEST chains.)","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":">=","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"observe-the-txid-reach-the-oracle"},{"text":"Inform the Gateways Module and Claim the Tokenized KMD","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"Use the gatewaysdeposit method to inform the Gateways Module of the deposit.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"gatewaysdeposit","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"Structure of the command to be executed:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"gatewaysdeposit bindtxid height coin cointxid claimvout deposithex proof destpub amount","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"gatewaysdeposit bindtxid height coin cointxid claimvout deposithex proof destpub amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"inform-the-gateways-module-and-claim-the-tokenized-kmd"},{"text":"Details","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"gatewaysdeposit — The name of the method, submitted as-is","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"bindtxid — The Gateway's bindtxid (see above)","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"height — The height of the block in which the deposit txid was confirmed in the earlier step","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"height","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"height","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"coin — Ticker of the coin deposited ( KMD in this example)","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"cointxid — txid of the deposit","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"cointxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"claimvout — The marker utxo's vout number in the external deposit transaction; this value is always 0 when the z_sendmany method is used, as shown in this tutorial","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"claimvout","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"0","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"z_sendmany","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"deposithex — The hex value from gettransaction call for the deposited txid (the method for retrieving this value is shown in the following section)","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"deposithex","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"gettransaction","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"proof — The proof value returned from the gettxoutproof method using the deposit txid (the method for retrieving this value is shown in the following section)","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"proof","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"proof","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"gettxoutproof","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"destpub — The user's pubkey used to launch the USDKTEST Smart Chain","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"destpub","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"amount — The amount of coin ( KMD ) deposited","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"The following commands retrieve the missing information.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details"},{"text":"deposithex","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"The following command returns the deposithex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"deposithex","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"./komodo-cli getrawtransaction 5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"./komodo-cli getrawtransaction 5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"Response:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"0400008085202f89010cacb0895bbd5cbbe12a13875c06dac59ad6154780df59d86b28d1da0d64c3c5000000006b483045022100cabf2fc63cebf2eecb186e92053da1d4cebf984980ca645ac050b1fb49e0fc43022070f59307d8f442c295dea500d93a4545a650f1b80d06dab9154562af7c3a28c1012102decc2e49c24ca9f06b96665e8e39836ea1d8c73671166fa6ee917b4bcb307b44ffffffff0310270000000000001976a9144726f2838fc4d6ac66615e10604e18926e9b556e88ac40420f000000000017a9147374f811b053e81a4b4e6e282a2421aaf170afaa8798db2d36000000001976a91408ba4152fe80ffc33f805b166ec9c03c288109b488ac6f52cd5d87b118000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"0400008085202f89010cacb0895bbd5cbbe12a13875c06dac59ad6154780df59d86b28d1da0d64c3c5000000006b483045022100cabf2fc63cebf2eecb186e92053da1d4cebf984980ca645ac050b1fb49e0fc43022070f59307d8f442c295dea500d93a4545a650f1b80d06dab9154562af7c3a28c1012102decc2e49c24ca9f06b96665e8e39836ea1d8c73671166fa6ee917b4bcb307b44ffffffff0310270000000000001976a9144726f2838fc4d6ac66615e10604e18926e9b556e88ac40420f000000000017a9147374f811b053e81a4b4e6e282a2421aaf170afaa8798db2d36000000001976a91408ba4152fe80ffc33f805b166ec9c03c288109b488ac6f52cd5d87b118000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"deposithex"},{"text":"proof","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"Use the gettxoutproof method with the deposit txid . This returns the proof as a hex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"gettxoutproof","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"proof","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"./komodo-cli gettxoutproof '[\"5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\"]'\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"./komodo-cli gettxoutproof '[\"5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af\"]'\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"Response:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"0400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"0400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"proof"},{"text":"Call the gatewaysdeposit Method","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"Execute the gatewaysdeposit method using the acquired information. Observe the following example as necessary.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"gatewaysdeposit","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysdeposit 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 1618112 KMD 5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af 0 0400008085202f89010cacb0895bbd5cbbe12a13875c06dac59ad6154780df59d86b28d1da0d64c3c5000000006b483045022100cabf2fc63cebf2eecb186e92053da1d4cebf984980ca645ac050b1fb49e0fc43022070f59307d8f442c295dea500d93a4545a650f1b80d06dab9154562af7c3a28c1012102decc2e49c24ca9f06b96665e8e39836ea1d8c73671166fa6ee917b4bcb307b44ffffffff0310270000000000001976a9144726f2838fc4d6ac66615e10604e18926e9b556e88ac40420f000000000017a9147374f811b053e81a4b4e6e282a2421aaf170afaa8798db2d36000000001976a91408ba4152fe80ffc33f805b166ec9c03c288109b488ac6f52cd5d87b118000000000000000000000000 0400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700 0217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06 0.01\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysdeposit 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 1618112 KMD 5569e66859a8269b3b7a512ac66a42b1a4d375bb404fc73abaf2faf3080ec4af 0 0400008085202f89010cacb0895bbd5cbbe12a13875c06dac59ad6154780df59d86b28d1da0d64c3c5000000006b483045022100cabf2fc63cebf2eecb186e92053da1d4cebf984980ca645ac050b1fb49e0fc43022070f59307d8f442c295dea500d93a4545a650f1b80d06dab9154562af7c3a28c1012102decc2e49c24ca9f06b96665e8e39836ea1d8c73671166fa6ee917b4bcb307b44ffffffff0310270000000000001976a9144726f2838fc4d6ac66615e10604e18926e9b556e88ac40420f000000000017a9147374f811b053e81a4b4e6e282a2421aaf170afaa8798db2d36000000001976a91408ba4152fe80ffc33f805b166ec9c03c288109b488ac6f52cd5d87b118000000000000000000000000 0400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700 0217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06 0.01\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"This method returns a response that has a hex value that must be broadcast.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"Response:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"{\n \"hex\": \"0400008085202f890201cbaa60fc93f3e7005f6622999c4abb7258931c3869a6004282014e229358250000000049483045022100f75b4b3dd2a3cac01d389e2957f7337889129f31453a3bf67aa3a6b807417cf0022076ccbb1fd65a6606a2b1e8a816e90edd66d17e6e336755043ab109a1d6cc07f901ffffffff001f6f50578b79a46d6285d9b3c6668104bc1101b7763a33a5e0784b2933fbd7000000004847304402203a76e7c860454b47d653fe9c306a5c53c3b5bda3c68d3c58af89f3754c1d91f3022033c144d67703cd0a1313b31d241bba3eb925200806783cd2557ec18d4669401501ffffffff031027000000000000302ea22c80207f6d7586423d9d8f716988f94728224df39bb0c98bb75655d22a778aea922a208103120c008203000401cc1027000000000000232102afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955ac0000000000000000fd67096a4d6309f144034b4d44b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e38500121023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab01524571b97a2bf1b546379e59479430ca188f274215b411e90d2cd51295b12b98c0b01800afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e6695500000000fd2a023034303030303830383532303266383930313063616362303839356262643563626265313261313338373563303664616335396164363135343738306466353964383662323864316461306436346333633530303030303030303662343833303435303232313030636162663266633633636562663265656362313836653932303533646131643463656266393834393830636136343561633035306231666234396530666334333032323037306635393330376438663434326332393564656135303064393361343534356136353066316238306430366461623931353435363261663763336132386331303132313032646563633265343963323463613966303662393636363565386533393833366561316438633733363731313636666136656539313762346263623330376234346666666666666666303331303237303030303030303030303030313937366139313434373236663238333866633464366163363636313565313036303465313839323665396235353665383861633430343230663030303030303030303031376139313437333734663831316230353365383161346234653665323832613234323161616631373061666161383739386462326433363030303030303030313937366139313430386261343135326665383066666333336638303562313636656339633033633238383130396234383861633666353263643564383762313138303030303030303030303030303030303030303030303030fd77060400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f0000000000000000006a9900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"{\n \"hex\": \"0400008085202f890201cbaa60fc93f3e7005f6622999c4abb7258931c3869a6004282014e229358250000000049483045022100f75b4b3dd2a3cac01d389e2957f7337889129f31453a3bf67aa3a6b807417cf0022076ccbb1fd65a6606a2b1e8a816e90edd66d17e6e336755043ab109a1d6cc07f901ffffffff001f6f50578b79a46d6285d9b3c6668104bc1101b7763a33a5e0784b2933fbd7000000004847304402203a76e7c860454b47d653fe9c306a5c53c3b5bda3c68d3c58af89f3754c1d91f3022033c144d67703cd0a1313b31d241bba3eb925200806783cd2557ec18d4669401501ffffffff031027000000000000302ea22c80207f6d7586423d9d8f716988f94728224df39bb0c98bb75655d22a778aea922a208103120c008203000401cc1027000000000000232102afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955ac0000000000000000fd67096a4d6309f144034b4d44b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e38500121023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab01524571b97a2bf1b546379e59479430ca188f274215b411e90d2cd51295b12b98c0b01800afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e6695500000000fd2a023034303030303830383532303266383930313063616362303839356262643563626265313261313338373563303664616335396164363135343738306466353964383662323864316461306436346333633530303030303030303662343833303435303232313030636162663266633633636562663265656362313836653932303533646131643463656266393834393830636136343561633035306231666234396530666334333032323037306635393330376438663434326332393564656135303064393361343534356136353066316238306430366461623931353435363261663763336132386331303132313032646563633265343963323463613966303662393636363565386533393833366561316438633733363731313636666136656539313762346263623330376234346666666666666666303331303237303030303030303030303030313937366139313434373236663238333866633464366163363636313565313036303465313839323665396235353665383861633430343230663030303030303030303031376139313437333734663831316230353365383161346234653665323832613234323161616631373061666161383739386462326433363030303030303030313937366139313430386261343135326665383066666333336638303562313636656339633033633238383130396234383861633666353263643564383762313138303030303030303030303030303030303030303030303030fd77060400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f0000000000000000006a9900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"Use the sendrawtransaction method to broadcast the hex value from the response.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"sendrawtransaction","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f890201cbaa60fc93f3e7005f6622999c4abb7258931c3869a6004282014e229358250000000049483045022100f75b4b3dd2a3cac01d389e2957f7337889129f31453a3bf67aa3a6b807417cf0022076ccbb1fd65a6606a2b1e8a816e90edd66d17e6e336755043ab109a1d6cc07f901ffffffff001f6f50578b79a46d6285d9b3c6668104bc1101b7763a33a5e0784b2933fbd7000000004847304402203a76e7c860454b47d653fe9c306a5c53c3b5bda3c68d3c58af89f3754c1d91f3022033c144d67703cd0a1313b31d241bba3eb925200806783cd2557ec18d4669401501ffffffff031027000000000000302ea22c80207f6d7586423d9d8f716988f94728224df39bb0c98bb75655d22a778aea922a208103120c008203000401cc1027000000000000232102afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955ac0000000000000000fd67096a4d6309f144034b4d44b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e38500121023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab01524571b97a2bf1b546379e59479430ca188f274215b411e90d2cd51295b12b98c0b01800afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e6695500000000fd2a023034303030303830383532303266383930313063616362303839356262643563626265313261313338373563303664616335396164363135343738306466353964383662323864316461306436346333633530303030303030303662343833303435303232313030636162663266633633636562663265656362313836653932303533646131643463656266393834393830636136343561633035306231666234396530666334333032323037306635393330376438663434326332393564656135303064393361343534356136353066316238306430366461623931353435363261663763336132386331303132313032646563633265343963323463613966303662393636363565386533393833366561316438633733363731313636666136656539313762346263623330376234346666666666666666303331303237303030303030303030303030313937366139313434373236663238333866633464366163363636313565313036303465313839323665396235353665383861633430343230663030303030303030303031376139313437333734663831316230353365383161346234653665323832613234323161616631373061666161383739386462326433363030303030303030313937366139313430386261343135326665383066666333336638303562313636656339633033633238383130396234383861633666353263643564383762313138303030303030303030303030303030303030303030303030fd77060400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f0000000000000000006a9900000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f890201cbaa60fc93f3e7005f6622999c4abb7258931c3869a6004282014e229358250000000049483045022100f75b4b3dd2a3cac01d389e2957f7337889129f31453a3bf67aa3a6b807417cf0022076ccbb1fd65a6606a2b1e8a816e90edd66d17e6e336755043ab109a1d6cc07f901ffffffff001f6f50578b79a46d6285d9b3c6668104bc1101b7763a33a5e0784b2933fbd7000000004847304402203a76e7c860454b47d653fe9c306a5c53c3b5bda3c68d3c58af89f3754c1d91f3022033c144d67703cd0a1313b31d241bba3eb925200806783cd2557ec18d4669401501ffffffff031027000000000000302ea22c80207f6d7586423d9d8f716988f94728224df39bb0c98bb75655d22a778aea922a208103120c008203000401cc1027000000000000232102afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955ac0000000000000000fd67096a4d6309f144034b4d44b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e38500121023a447741707e95bc889fbbb08295d402332217075752bd1bb3999b092e4753ab01524571b97a2bf1b546379e59479430ca188f274215b411e90d2cd51295b12b98c0b01800afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e6695500000000fd2a023034303030303830383532303266383930313063616362303839356262643563626265313261313338373563303664616335396164363135343738306466353964383662323864316461306436346333633530303030303030303662343833303435303232313030636162663266633633636562663265656362313836653932303533646131643463656266393834393830636136343561633035306231666234396530666334333032323037306635393330376438663434326332393564656135303064393361343534356136353066316238306430366461623931353435363261663763336132386331303132313032646563633265343963323463613966303662393636363565386533393833366561316438633733363731313636666136656539313762346263623330376234346666666666666666303331303237303030303030303030303030313937366139313434373236663238333866633464366163363636313565313036303465313839323665396235353665383861633430343230663030303030303030303031376139313437333734663831316230353365383161346234653665323832613234323161616631373061666161383739386462326433363030303030303030313937366139313430386261343135326665383066666333336638303562313636656339633033633238383130396234383861633666353263643564383762313138303030303030303030303030303030303030303030303030fd77060400000012a703d96b522f36fe13711c96de92b3f17bdbd41eda1a6753e2cd22924c1b0e47dd0fb69db925741977975a5803d8c885c72651b5c0427685e20e16cba73a43a2d8a734eb73a4dc734072dbfd12406f1e7121bfe0e3d6c10922495c44e5cc1cba52cd5dddaf001dffef8831000000000000b22a0000000000000200000000000000000000000000fd40050029a91e2967f03d92e838d3bf73067ed2431bde7f23432431f5d41ef6bd4245f0216b3b9a389d3f8c0813f27547948aec070a0302892468513f07653a83ac3a8c9a373cf12a4ddcb473f92d350417081a7c3696027f82781522fd39ac95449a24bfebf30ae39c328913e777ddca29a3d5b6b15374e1b84e09c9d2af243404e800ed03c3ec32dee990fa10d2b61d43db9987760fb169841e6cc985c6d651a4be3cd9f60cded6232e03f610267e1ed8873a5580c40c07353b0440398032251401ad3063d117d1ba83e674782f65e6d7b525691637434d0c0a0cd758c26b8be9fce02afdc81b6d4a2733432193242135d58d9762874d2d26ac85fbe43d0d324b512ac8012756e68100ce76b9b8bb761053501ea99224b88b66f8c86f236c23d8e0b9ca1ad9000c0e5fbf34a583c245fd9942e94c547345a62731a61a17bf895d2c17dcbb647ce2b7f3e29e5264c01e6d7300d7b9c9881c08e7d5ec71e3adb47de2061513094f13d654d22c502f596225b22ff05d457e479e9895ad05eecb63f71697639b5510e79a9973b5d8561144e41773a8d3e40eb10d5fc352db2e31ed555a8beb8a830aea6e654414a9853dfab20d37300fb0a776d5ccef137cd379ce98204728d7f2117111a59ead081894330faa17677889216b4c3d54c8a97f189296465ebcb739f61b8f53cf8ad6ced60d924b78d0677c3d1d16ab0fa1e0b94c6176d5f12617f6de5e665a99dbd8e84814f53d3fa0ccc383afa5d1cd6ac664bd27c44f0f4620344aacd78b8f0e96b8c853a0ceeafe35d6b338b5338e959b26a710bb3cdc9347fae575da0fae720eb312416cee371cf827cf7875edeb71da95bf07d864a812ffa8c4ddec2b87cf60f3bd2f636306b040976d0f1591a401fecdc304bce3754bd8d8fea5649e93da601995138c8c0bc69d44bc96ad786dc30e5ea13698c900c553d2c01972ad1ffce071a2980271c3525e932508f1f955bca7dee3e94997f8f6c92e4ef1447a3c47053563940ea4b88987fdb0ce0a7ddd8ea2bf375922297947ea8bb18985f6bbe3eab2d03f12f6687f911b12c7ce2b9050995523f0f23a03984f15cfc6785bd92af3ad60daac650ff3a718183967665f92b17eaf5d1459d2eb8255b94b0bd1f279aa18a04a87339941ee4cf11f31c357f31b9ff54858fb43085ebfc7b9868001bbbcd126dfcfeff478063fccde8736c15d1bb16108f1d710aad0694dffb181cc4e57f2b5d00276c18c19ccbacd7096be13a8fdf2c280cd237cbc46466c2e33cd745b465c60c1fdae6399b326ccf9e6164ff24021fce569dc8b6df8dfd26406906f1b25656f37a10626f153ff3239a8cfd35664155cb92ac54205ae517731afa77a86627177435cf5cb4371ab3a35fc99d0fc4731db98fb2ac959dc3757053ff6c41e5db1dc6da501456734a6155287cdc50038f2c43b74acfb683436510e0c6b3e1a0acfbf00663978d88ede7802b5703b05107dfb90a05ae78c9bb62375c4c6e591d9b7a35d2430066e8f528af96c32c2645566305387023dcd4a091ec0ec1bd4a454cc87f17426a65c1543759a7b503129aab79ed9e4b6efcb951da7f00c42d31cda7e4511f164e037762a63ebd2c617195f455687197bdc9f51cc26126ae291d3b0a4578bb8d6d386ac65b5859403bfde32cb619bb7f63f9c100f6b29a771837e3e1f06c83eccd5c2b3ca4d5af1ee5fc42fa4de6aa778402cf72a55e64cd2c5768862f2a65ec24a63da1946092e5bc5789a91cfccd4a553a3eeff0620f3ba53622e1513b6d59babb509a21516a6e9bb5657a6c4ff9a9423a65d555b9236caa510879d3ce809572db65cefa31783a5b5fcf0e6b9e44662536877f96e5e7bfce6593f912611095e905dcb5ef443b626e585a9a056e1d70900000005752526306830c6259c1659fa8ca3bfd85fa782c17efd04ec51cf7b13cc93de02afc40e08f3faf2ba3ac74f40bb75d3a4b1426ac62a517a3b9b26a85968e66955227fdec6d08be9fa88128f0d3c0681a5ba271ae5e27cfa60daa95e938c02f80da2499fa7619612a9acc3398f993475d4b981579f881f39adc29d1beb976be1c02e4e1bb76d33a81fa5f9065c8945a6a7aa2ceed88276ea9723c80bbb314ef89f023700210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f0000000000000000006a9900000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"9e08b1c5ac37cbce997ceaa68d4ca2d1368b815e8de275bb54d5e230a1341b5f\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"9e08b1c5ac37cbce997ceaa68d4ca2d1368b815e8de275bb54d5e230a1341b5f\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"This is the deposit txid .","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"call-the-gatewaysdeposit-method"},{"text":"Claim the Tokenized KMD","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"Use the gatewaysclaim method to claim the tokenized KMD on the USDKTEST Smart Chain.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"gatewaysclaim","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"Method structure:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"gatewaysclaim bindtxid coin deposittxid destpub amount","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"gatewaysclaim bindtxid coin deposittxid destpub amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"claim-the-tokenized-kmd"},{"text":"Details","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"gatewaysclaim — The name of the method, executed as-is","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"gatewaysclaim","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"bindtxid — This is the creation txid of the Gateway; supplied at the beginning of the tutorial","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"coin — Ticker of the coin deposited","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"deposittxid — The txid returned from the gatewaysdeposit transaction","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"deposittxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"txid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"gatewaysdeposit","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"destpubkey — The user pubkey used to launch the USDKTEST daemon","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"destpubkey","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"amount — The amount deposited","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"Observe the following example structure.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysclaim 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 KMD 9e08b1c5ac37cbce997ceaa68d4ca2d1368b815e8de275bb54d5e230a1341b5f 0217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06 0.01\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"./komodo-cli -ac_name=USDKTEST gatewaysclaim 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 KMD 9e08b1c5ac37cbce997ceaa68d4ca2d1368b815e8de275bb54d5e230a1341b5f 0217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06 0.01\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"{\n \"hex\": \"0400008085202f89028a91efc8a0073e1d2fd879d71ee5b3771f16ad307cdcf69d477400de679c879801000000804c7ea27ba077a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140edb95c621f7cc2a57447c230e2c8750941fb747bb80cee91dc6cdc9cdf57342042b01dbef69d7dd7600e3b129d423f11615173cfa2f3f3c0cb303e0918c75e5ca100af038001f1af038001f2a10001ffffffff5f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140dbba871356bd3241c73baafd98c134385e156813bdce9c864058de920c3a24d66eb808c4a329e38552756172c0bd1d93bcfb870eec246cd8dd97b08637edaa18a100af038001f1a10001ffffffff0240420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc0000000000000000ba6a4cb7f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e061370f143b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d445f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000000000000a29900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"{\n \"hex\": \"0400008085202f89028a91efc8a0073e1d2fd879d71ee5b3771f16ad307cdcf69d477400de679c879801000000804c7ea27ba077a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140edb95c621f7cc2a57447c230e2c8750941fb747bb80cee91dc6cdc9cdf57342042b01dbef69d7dd7600e3b129d423f11615173cfa2f3f3c0cb303e0918c75e5ca100af038001f1af038001f2a10001ffffffff5f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140dbba871356bd3241c73baafd98c134385e156813bdce9c864058de920c3a24d66eb808c4a329e38552756172c0bd1d93bcfb870eec246cd8dd97b08637edaa18a100af038001f1a10001ffffffff0240420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc0000000000000000ba6a4cb7f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e061370f143b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d445f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000000000000a29900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"Broadcast the returned hex value using sendrawtransaction .","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89028a91efc8a0073e1d2fd879d71ee5b3771f16ad307cdcf69d477400de679c879801000000804c7ea27ba077a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140edb95c621f7cc2a57447c230e2c8750941fb747bb80cee91dc6cdc9cdf57342042b01dbef69d7dd7600e3b129d423f11615173cfa2f3f3c0cb303e0918c75e5ca100af038001f1af038001f2a10001ffffffff5f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140dbba871356bd3241c73baafd98c134385e156813bdce9c864058de920c3a24d66eb808c4a329e38552756172c0bd1d93bcfb870eec246cd8dd97b08637edaa18a100af038001f1a10001ffffffff0240420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc0000000000000000ba6a4cb7f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e061370f143b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d445f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000000000000a29900000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89028a91efc8a0073e1d2fd879d71ee5b3771f16ad307cdcf69d477400de679c879801000000804c7ea27ba077a26ba067a565802103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb408140edb95c621f7cc2a57447c230e2c8750941fb747bb80cee91dc6cdc9cdf57342042b01dbef69d7dd7600e3b129d423f11615173cfa2f3f3c0cb303e0918c75e5ca100af038001f1af038001f2a10001ffffffff5f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140dbba871356bd3241c73baafd98c134385e156813bdce9c864058de920c3a24d66eb808c4a329e38552756172c0bd1d93bcfb870eec246cd8dd97b08637edaa18a100af038001f1a10001ffffffff0240420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc0000000000000000ba6a4cb7f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e061370f143b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d445f1b34a130e2d554bb75e28d5e818b36d1a24c8da6ea7c99cecb37acc5b1089e210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000000000000a29900000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"e38b3f2022364cb0f0b9b60e9b2d89bad0a3974206e783ed78f1f1b09fa0299c\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"e38b3f2022364cb0f0b9b60e9b2d89bad0a3974206e783ed78f1f1b09fa0299c\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-2"},{"text":"Verify the Returned Tokenized KMD","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"Use the tokeninfo method to check that the above commands result in a deposit in the tutorial user's account of the appropriate amount of tokenized KMD .","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST tokeninfo 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST tokeninfo 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"owner\": \"038814d60d99a594b4b1092247df4384bc21a50733d3acd0e29499e5f03737374d\",\n \"name\": \"KMD\",\n \"supply\": 10000000000000,\n \"description\": \"KMD_BTC,BTC_USD,*,1\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"{\n \"result\": \"success\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"owner\": \"038814d60d99a594b4b1092247df4384bc21a50733d3acd0e29499e5f03737374d\",\n \"name\": \"KMD\",\n \"supply\": 10000000000000,\n \"description\": \"KMD_BTC,BTC_USD,*,1\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"The description \"KMD_BTC,BTC_USD,*,1\" indicates to the Pegs modules the price to be considered.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"\"KMD_BTC,BTC_USD,*,1\"","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST tokenbalance 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"./komodo-cli -ac_name=USDKTEST tokenbalance 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTcbFr8dH9dPGgGephMoDevHefndQQehxq\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"balance\": 1000000\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTcbFr8dH9dPGgGephMoDevHefndQQehxq\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"balance\": 1000000\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-the-returned-tokenized-kmd"},{"text":"Exchange Tokenized KMD for USDK Coins","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Use the pegsfund method to lock the tokenized KMD .","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"pegsfund","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsfund a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsfund a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.01\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"hex\": \"0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"hex\": \"0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Broadcast the hex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89024c386ef60103e74f339867bd7c38b7f187ceee842b8e57ab9a42a16b0721be23040000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece8140213fbd380d7905f770709725fe462e5f0a731eca4e56435c4b2f7c96d5b6201433e7c780d313795ddf9ae1d0b689b4f950af6e0e07dd9bcbc293b46f2a349ef4a100af038001eea10001ffffffff9c29a09fb0f1f178ed83e7064297a3d0ba892d9b0eb6b9f0b04c3622203f8be3000000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0681409a7fa29976f948038b77573fb1103836340ebbcdfbbba8dc852186be1666811c034adf2ec9d9515eb58f14df81925f46fb152b2964e8f392b70bafdfe3a8af83a100af038001f2a10001ffffffff051027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c802002bc3497bdabeac3d0c40ac845fa105685724d1b70c84bd6c5cef2ff4c353e7881032214008203000401cc3cdf993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc0000000000000000c86a4cc5f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf102210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e062103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece175cee46f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f000000000040420f0000000000000000000000000000000000a79900000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Use the pegsget method to retrieve the USDK coins.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"pegsget","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"USDK","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsget a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.001\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsget a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1 0.001\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"hex\": \"0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"hex\": \"0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Broadcast the returned hex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f8903b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00ca9a3b0201e2ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2900000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81402e06d560cac761ee7d7720f6ed0f307520fda7c66b2ac0d16cd3c34a33f004393f735429a7ad445a1c970723a7a9d173e1fcc62b54ed164dfb40f23542c9627da129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2901000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140152ff019e1e4346d450ab149f1ef9115ea84c9ff7c3bb60444a7e48eda0784a46ecefbf1a35f0062513033d9c3fce45a083f70b7ccc41103763c267598bcadcca129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff041027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cca08601000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000fd22016a4d1e01e211b68353f713e1d70cf2fe4fa538de32a8723e603d507c8ee2d42277f3fd7334ad00000400008085202f89013fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c290000000000ffffffff01a086010000000000ab6a4ca8e28efefefe7f065045475343433e140a06d1f028a3abce516bd5d08ebfd860da116dfb0c3a22003b57f0809b5400f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9f1eb0ab5bb63b9b36cd1a44d0a30f35d1c113efb5cf5fd4e549ae7f11297451a210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06a08601000000000040420f0000000000a08601000000000000000000b0990000000000000000000000000000000000000000000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Examine the tutorial user's account history using the pegsaccounthistory method.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"pegsaccounthistory","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsaccounthistory a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"./komodo-cli -ac_name=USDKTEST pegsaccounthistory a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccounthistory\",\n \"account history\": [\n {\n \"action\": \"fund\",\n \"amount\": 1000000,\n \"accounttxid\": \"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0\n },\n {\n \"action\": \"get\",\n \"amount\": 100000,\n \"accounttxid\": \"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 100000\n }\n {\n \"action\": \"get\",\n \"amount\": 600000,\n \"accounttxid\": \"8e79ed0a76f359ba048563a0fa2a29ab88ab86b1895e8eff9718f348a04dd1f3\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 700000\n }\n {\n \"action\": \"get\",\n \"amount\": 30000,\n \"accounttxid\": \"9a10581ae047fabe91495cfe558961e3b7362a19b700b2fcea216d06c44d9720\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 730000\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"{\n \"result\": \"success\",\n \"name\": \"pegsaccounthistory\",\n \"account history\": [\n {\n \"action\": \"fund\",\n \"amount\": 1000000,\n \"accounttxid\": \"298cfa125e1a38a7aa2a8da8282b017a45cd0c1dc70935712692c00abf48ba3f\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 0\n },\n {\n \"action\": \"get\",\n \"amount\": 100000,\n \"accounttxid\": \"8f18ab623cb91c94ea27b16c455d98df1e057dd120341e54b453090a2c9c9adf\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 100000\n }\n {\n \"action\": \"get\",\n \"amount\": 600000,\n \"accounttxid\": \"8e79ed0a76f359ba048563a0fa2a29ab88ab86b1895e8eff9718f348a04dd1f3\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 700000\n }\n {\n \"action\": \"get\",\n \"amount\": 30000,\n \"accounttxid\": \"9a10581ae047fabe91495cfe558961e3b7362a19b700b2fcea216d06c44d9720\",\n \"token\": \"KMD\",\n \"deposit\": 1000000,\n \"debt\": 730000\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"(If there are duplicate entries in the above call, please ignore them. This is a known bug and will be fixed.)","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Use getbalance or listunspent methods to verify that the USDKTEST coins are in the tutorial user's account.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"getbalance","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"listunspent","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"At this point, a normal user may use the stablecoins ( USDKTEST in this example) to buy, sell, and trade.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"exchange-tokenized-kmd-for-usdk-coins"},{"text":"Redeeming the Stablecoins for the Locked Funds","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"When finished with the stablecoins, the user may send to the Pegs Module the precise amount of USDKTEST coins withdrawn in order to receive the locked KMD tokens.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"USDKTEST","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"Use the pegsredeem method to redeem the tokens.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"pegsredeem","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"./komodo-cli -ac_name=USDKTEST pegsredeem a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"./komodo-cli -ac_name=USDKTEST pegsredeem a9539ec8db34ee44ff213cda59f412a02795821cf05844b0bc184660711371f7 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"{\n \"hex\": \"0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"{\n \"hex\": \"0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"Broadcast the hex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f891e045ffbf7d56aba87d1527a8bd50c7cbfb44f376b1c0a6815c741a5f6e107f02d00000000484730440220064f36926ed7d6975ad1ecb358df866897554d29d623447b95d0f9d1f575ff0a02203ca4d9ea407c2310cd49be1315887cde4e54619de93d6882f0c2fe871820ef3201ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c29030000007b4c79a276a072a26ba067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81400301711d3ddb1753c3a004c250616ea580f0bf75c1c03f791f76327a6efa69792f19eae5fa3c73ab29a4b6754a91111935a46fa1c28d4cdaacdcb24ec571a45fa100af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a00000000a74ca5a281a1a0819ca28194a067a565802103c75c1de29a35e41606363b430c08be1c2dd93cf7a468229a082cc79c7b77eece81409ffd2bb29f40dbf7b3e741e00e3a97c7e66f49526ea9dd33ec724eb30a81b21b16cdac1ea840cbf902f36ef17b9ac81014a735e97377d6d5f07a6e8ac04556f8a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff20974dc4066d21eafcb200b7192a36b7e3618955fe5c4991befa47e01a58109a01000000a74ca5a281a1a0819ca28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bbfdfb024c50111ed7184b3fd4c7c462ea5093ab9969bab386d54965e248184a00a5cb2a1f625116d3bd02b470f4b33dab11a38ffd4d050fcdbe01e8ae754e70a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eea10001ffffffff3fba48bf0ac09226713509c71d0ccd457a012b28a88d2aaaa7381a5e12fa8c2902000000ac4caaa281a6a081a1a28194a067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e068140bfb34bd8abc720bef5c13708ad9280893df2b9fb1e70eb6063c05614245f5d3538d3048b9f6e4fbfc3053e594df7e638dd22e42c833c75aa174edf010fb45419a129a52780209de43b2cf09dcb2107822237e0afba0b0917b1592457b6fbfddb34fff3d302ae8103020000af038001eeaf038001f2a10001ffffffff0dfe7aecdaed2498f6a3c29bcd53f15913ae2b36bf7643efcb8d3eb93354fbad00000000484730440220403e6284a585ed11b58207279786396101ea442d79b9df44688ebdaa7467e04d0220474f38ecc4ff53f9d685538805d0f0b7eaf008c9736ddf677a4bb88919e5680e01ffffffff0491bd559806afc9638763c8fb8e550b5e13df6d18ed0eeb7209f8e7e6ccb90f0000000048473044022078b520bbaa03883e03321a98cfca3282f7f1d70d91a977ed81b50d0f91440b3402205d1f346312ffbe4b76c614fb8d9dfcfd38069eca55a8f7d2ae84d4cae6fb481901ffffffff0d5e3529d01acc37c5cfbac0a3321870a5097134029ed474db42023bcbf18bb50000000049483045022100e6ccd2403781c60d928fa090d78d3f42cfa812dcd37ca5c65c91969a81a6d8ab022067f917bd432c69a44fd338a4897462e294b40304ea44dfe544a826bdb75232b901ffffffff07c9ea3dcb2164a8b5e839b23f39e6d2e0d3b8a7848ea188dca6e61a9833a8d00000000048473044022061ffebbf638055097c9bfaf654135e65925e7107cdd86d553264df3c16eefd3f0220401de8c419a842ad1f72eab0eaeca0f63ff95419e222a94141b04b5eaa3e341701ffffffff0ac35ee065ed0090ef129c389f0b84c91feaf9bf8a4ae6c12480a4d435cd550400000000484730440220710f15cebed5631fdaee51b651456b2b56e1d83968526745241a4920c6719b2b022000abc38a4b9ae4f6a7c53c1e80049c7d9109f97e26daf76a27021ee805a21a1d01ffffffff0aee5de22398ff1a61bca8d95d3304337be9cb00d401afa088cf95d31f121b1d000000004847304402207e4c1793bb91c550e462d38531734dd9fece17bab40ad0d2e8c2e9cd741f342302202c4973b14c9a5768a72aa5a4ab752de8fb388fd208280b6e5ef529e918dcca4101ffffffff0bd4eeed3d68d4f361e4e65a06f1e437739d209c5b593adfb9c908a11e5c4b1e0000000049483045022100a3e1e8f18bdd72f3794d3e2bfef1d807f904c93c511d396d33f66a9a84ea988b02203954987e94629cf77982568f115a148d64b44f1619c285d9ea229ac81268a16c01ffffffff023035ddb47d6d6ba1a1e760a750325f912f66934130059313bd2460dd3626a80000000049483045022100be9bc941d1afcc3e816a70e2e49e0c0b5279d8c704b14e8ea6f0a5b8e644f999022016ac0c28af028149a3026eb3cbe266604809643b303ff3ae4c27f4a11ed7059901ffffffff0d0db11a4bfaeb4293d26d4f540f8ae7b8ac648998d32ee4902eb6445bf3b4f4000000004948304502210093896862f4c679d6db6eb57951b5117a6201eda285b257dd60c57a45a3254cbb02205a7d32b4ffbf0f8d90cf1fca8a0f4f09e36da21c536e32f7002a28d6d56d132b01ffffffff0623be2e2bd36d04b45df4fcb8349f0b10095ec1aac30613fd21ca40054361300000000049483045022100d24bb6d6720e876a57607c8e29348f29357181d4369e41b044be9a4ac699272c022046e536c70a5ae151c99cff8795b9a1a6fbf159cfdac0c36bbceced6f6c7cec6b01ffffffff0cc55d115db43ac735fef6a662896b24f288b2fbb7b793c1f96948f6820338ed00000000494830450221009d6ffacd7e7c167c254ad79e03184d30f3598a75baf5422f62a74fbee20f8d35022029c7348297580926f64d6f3dd69f54aaec45b428594fae57af252ccf2fb804e401ffffffff08230c57a73ae1167c7c99c5e135af4e52b21468c9ef6de6528e51700d611fcd00000000484730440220645c65d17a44532e80bec8c40fd683dfbf614a6d64acec64eb2567788bbf9ea402205976d7399e33d20e588230ff6d65cef4dde327ffbb42a15e2191400896b34a4a01ffffffff083ae311d476e71cbd214e90aa7065bc3f8e3735fccdb951e84be2f35dbe86e90000000049483045022100aedf51f885b813acbce5799f976dff5200658396d3c33dd36f5768d5225215e3022070faaccac58b8aee064a312d6ed01301ac947c9e5cfd6be3d81d5cabb48ddf0901ffffffff012f6500ac7ff9cf0a6a624ca7a49e684fc6d28b5646a47c1f65d693965b1c430000000049483045022100ea4eca020c79db8fe46ae1a970c15deda516180c875bbbdb7c43a73e884a60f202207278af9cd50ee2806f6e4f16a5f2e4454881deacbcade363289239fdd54a982d01ffffffff08359b7d0efb9eede36cf0a5d9fdc5f4a83308c8a11099a3fa4cbb1fadbfcfde0000000049483045022100d1c1ed48608d61ae88cd957281e9320311861dbdc3596136533f058313883b6a02200ba029992e819196fd7c83b51a8d108c1b3c9b1f03a7faf2290acfced66c113a01ffffffff083f857139d0711209eef17e2f6177cb4ed0f68c00f520038a587744262445b90000000049483045022100cd94b3dd563ad7a37bd531a89cb0d988f4ec92949df7302ba43e13bdb88082c1022003be0f619ae4b3de597f8716a9374d63becf81d3d3943b3c741ee636b7e5cd8401ffffffff09cb8b189715b655a0c07456648951c3c178a6c6270c484dd3cfad5b18f859880000000048473044022025b7fc3db1a0b33471e5eccd3cb54a71fec8c5366837388489f3d9c90ad80d070220485c4c79790e2cfac55566869a52dbd86426f4d1db9fa23314d82b26ffc8f06d01ffffffff070d10ba3a3bb2f50fbc88549ab14aea8424bfa5cf4932653a82b2af987a82200000000048473044022047ac9d547dbf96cebd1f6dc29aad99d752c60b316df54987b577b7cc04cb6a9302204ae6a4707e6f270a4bfdc1d55e31bbbaf95e233a6c26ae6823b3f592cb39656301ffffffff0be472c9362d31a026a7f22d0fa14f294c95b0457ae66cd7179bb29a1f30278d0000000049483045022100e54335c0b652f35a3ae2eda351638b3b5d1ff76bf256bfcfe6a3e8810fd131ad02202865894c90cdbea6e1f052a83a085236606da96afc03e47a79159c5f9ee1398401ffffffff051c297d636cc51d90a5996a23ffc7c5374a4e3df397f770b5113585749bb5480000000049483045022100d67d9b0c34aa8f8d6c4ed261af543ce4cd9b95fcae7bbbb94c0f2521982037be02207fa0b75e74f2c2e9a5009d160addb3b191cf751e0887f0186526023f7f79b80401ffffffff0b19234b25da56339d70722c5845e39a56513ce6b70c7c26486e7d3b8c5bd02c000000004948304502210086f6f6dc5005207cc4206ff43d29e1ca42fc6cf5ce30e870d6bfa39002264a9c02200be78b519d6d2f7448ded31e96077b00960532c7d7b1484c37fe6a1d6990237e01ffffffff0d628dfaece395d197c0b810668b7af212d083e5f441a4c729b164ab3df91b510000000049483045022100c6ca324eeaafc9bacae5c260981baf9ae8f5c0eb3f83533c8631ecbe592d470c022014d44bc921909246002d64e4c029af2a4abb26812a6902cf61f69782630ce9c901ffffffff039d71284b8643c45e14b5bfc8c9439a17474376a78cec7be3d6b688a40bc4fc000000004847304402206b8320f3ea3cdd73fa9e4ee43a62144076b6ffc6cf58fdb06233b542d6924db402205a2310f7fc382407c8466b5677691988a6dc2a0fe3f3b4c6bc1f1a01d1820e7901ffffffff02803fb66f0c03fa8211d4086ad2262e50ea5dd99f30603e9999603cdfac367c0000000049483045022100837fec21e7ba574c2283ec160bc418485f2dd6fbb5f5dd575156c41450e7deb6022058aefedcc08274f523c52981b69f124197a431580d5692c2a5f6e8af6bef594801ffffffff0af2f9ced5de00310114f70d6756db7df65205aeac26b5607bd71333812f68e40000000049483045022100d5fdd26ad4682b6aa2d522c1b75097f9cb3df94632e5cfc2454d79b76f9401660220193d741cc875e75cf04ad70de582915b14b41a6283967527e931c50565cdb62f01ffffffff071027000000000000302ea22c8020e39343ebe1b40dcc747d145f140983b38f230dcf7963f2b58051265c765f2efa81031210008203000401cc1027000000000000302ea22c8020d77058bfd93eebe366e1c82fc1475690fd290214ed43b8c9dd25374077b35cbe81031210008203000401cc40420f0000000000302ea22c8020d62369afdb9fbe16bae7a6ac394333e9337ecc0b7671cda491df2fa82e48a20d8103120c008203000401cc90230b0000000000232102f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9ac2cb8993b00000000302ea22c802039452b774825750cd9390c3f05c96e486ecf2f21779466efbcd214220a7f288a8103120c008203000401cc102700000000000023210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06ac0000000000000000a66a4ca3f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf101210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06175cee52f7711371604618bcb04458f01c829527a012f459da3c21ff44ee34dbc89e53a9210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e0640420f00000000000000000000000000000000000000000000000000209d00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"ff95e70f0d551748f460e61b7e75b279b8de355cb37df6c5895dfb8a49ee348a\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"ff95e70f0d551748f460e61b7e75b279b8de355cb37df6c5895dfb8a49ee348a\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"redeeming-the-stablecoins-for-the-locked-funds"},{"text":"Verify that the Tokens are Redeemed","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"Use the tokenbalance method to verify that the tokens are redeemed and available in the tutorial user's local wallet.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"tokenbalance","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"./komodo-cli -ac_name=USDKTEST tokenbalance 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"./komodo-cli -ac_name=USDKTEST tokenbalance 1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTcbFr8dH9dPGgGephMoDevHefndQQehxq\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"balance\": 1000000\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"{\n \"result\": \"success\",\n \"CCaddress\": \"RTcbFr8dH9dPGgGephMoDevHefndQQehxq\",\n \"tokenid\": \"1a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1\",\n \"balance\": 1000000\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"verify-that-the-tokens-are-redeemed"},{"text":"Retrieve the KMD Coins on the KMD Smart Chain","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"Send the KMD tokens to the Gateways Module using the gatewayswithdraw method.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"gatewayswithdraw","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"Method structure:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"gatewayswithdraw bindtxid coin withdrawpub amount","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"gatewayswithdraw bindtxid coin withdrawpub amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"retrieve-the-kmd-coins-on-the-kmd-smart-chain"},{"text":"Details","tagName":"h4","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"gatewayswithdraw — The name of the method, executed as-is","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"gatewayswithdraw","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"bindtxid — The Gateway Module's bindtxid","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"bindtxid","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"coin — Ticker of the coin deposited","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"coin","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"withdrawpub — The user's pubkey to which the KMD coins should be sent on the KMD chain","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"withdrawpub","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"amount — The amount to be sent","tagName":"li","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"amount","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"./komodo-cli -ac_name=USDKTEST gatewayswithdraw 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 KMD 03fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e1 0.01\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"./komodo-cli -ac_name=USDKTEST gatewayswithdraw 50384e7668bd6908d8e0b67f1450c56f017186d802b1065c3258302a30b5adb2 KMD 03fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e1 0.01\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"{\n \"hex\": \"0400008085202f89020012559aaf7b951b3cd33a29051dc1a185018ba8f1ad8a3f7778b48fa4dff8e9000000004847304402202b5a8c854de0d17a7fa47c8afa1b2d52c306eda1b5e0bb97fae59365351a9ecf02202d0468c2692036444d00a8312b866fe90af502a7235b7ee6bfa027dca50dcee401ffffffff8a34ee498afb5d89c5f67db35c35deb879b2757e1be660f44817550d0fe795ff020000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06814054a28d2f23721da7e5406db542178cc451c1232a2ee485cb429b3638cac5bc5b0bc61f242371fec25746d599f5186e6c24f21da4389391439a785e3c83ac15afa100af038001f2a10001ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc40420f0000000000302ea22c8020bed294e15cd2e327d2f1e6bcf55e2ebe571b7bc2e672363950ca680c8b89226381032210008203000401cc00000000000000009a6a4c97f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1012103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb401350f157b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d442103fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e140420f000000000000000000cc9f00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"{\n \"hex\": \"0400008085202f89020012559aaf7b951b3cd33a29051dc1a185018ba8f1ad8a3f7778b48fa4dff8e9000000004847304402202b5a8c854de0d17a7fa47c8afa1b2d52c306eda1b5e0bb97fae59365351a9ecf02202d0468c2692036444d00a8312b866fe90af502a7235b7ee6bfa027dca50dcee401ffffffff8a34ee498afb5d89c5f67db35c35deb879b2757e1be660f44817550d0fe795ff020000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06814054a28d2f23721da7e5406db542178cc451c1232a2ee485cb429b3638cac5bc5b0bc61f242371fec25746d599f5186e6c24f21da4389391439a785e3c83ac15afa100af038001f2a10001ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc40420f0000000000302ea22c8020bed294e15cd2e327d2f1e6bcf55e2ebe571b7bc2e672363950ca680c8b89226381032210008203000401cc00000000000000009a6a4c97f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1012103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb401350f157b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d442103fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e140420f000000000000000000cc9f00000000000000000000000000\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"Broadcast the hex value.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89020012559aaf7b951b3cd33a29051dc1a185018ba8f1ad8a3f7778b48fa4dff8e9000000004847304402202b5a8c854de0d17a7fa47c8afa1b2d52c306eda1b5e0bb97fae59365351a9ecf02202d0468c2692036444d00a8312b866fe90af502a7235b7ee6bfa027dca50dcee401ffffffff8a34ee498afb5d89c5f67db35c35deb879b2757e1be660f44817550d0fe795ff020000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06814054a28d2f23721da7e5406db542178cc451c1232a2ee485cb429b3638cac5bc5b0bc61f242371fec25746d599f5186e6c24f21da4389391439a785e3c83ac15afa100af038001f2a10001ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc40420f0000000000302ea22c8020bed294e15cd2e327d2f1e6bcf55e2ebe571b7bc2e672363950ca680c8b89226381032210008203000401cc00000000000000009a6a4c97f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1012103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb401350f157b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d442103fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e140420f000000000000000000cc9f00000000000000000000000000\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"./komodo-cli -ac_name=USDKTEST sendrawtransaction 0400008085202f89020012559aaf7b951b3cd33a29051dc1a185018ba8f1ad8a3f7778b48fa4dff8e9000000004847304402202b5a8c854de0d17a7fa47c8afa1b2d52c306eda1b5e0bb97fae59365351a9ecf02202d0468c2692036444d00a8312b866fe90af502a7235b7ee6bfa027dca50dcee401ffffffff8a34ee498afb5d89c5f67db35c35deb879b2757e1be660f44817550d0fe795ff020000007b4c79a276a072a26ba067a56580210217a6aa6c0fe017f9e469c3c00de5b3aa164ca410e632d1c04169fd7040e20e06814054a28d2f23721da7e5406db542178cc451c1232a2ee485cb429b3638cac5bc5b0bc61f242371fec25746d599f5186e6c24f21da4389391439a785e3c83ac15afa100af038001f2a10001ffffffff031027000000000000302ea22c802091abda62a548f9c7f5beb19d16f01714ae3d4e526f3266fc8d347d6123f3d77b8103120c008203000401cc40420f0000000000302ea22c8020bed294e15cd2e327d2f1e6bcf55e2ebe571b7bc2e672363950ca680c8b89226381032210008203000401cc00000000000000009a6a4c97f2741a459712f1e79a544efdf55cfb3e111c5df3300a4da4d16cb3b963bbb50aebf1012103ea9c062b9652d8eff34879b504eda0717895d27597aaeb60347d65eed96ccb401350f157b2adb5302a3058325c06b102d88671016fc550147fb6e0d80869bd68764e3850034b4d442103fa41b540b99161257c3a51e7c1598666361b739dce6a171d2d426255c92fb0e140420f000000000000000000cc9f00000000000000000000000000\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"Output:","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"62c6a41171cb428625c2d02d7e7077c4fea1e2b4aea839c549be54fc41150be5\n","tagName":"pre","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"62c6a41171cb428625c2d02d7e7077c4fea1e2b4aea839c549be54fc41150be5\n","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"The user will now receive the requested KMD coins in the address of the chosen pubkey.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"KMD","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"details-3"},{"text":"Liquidation","tagName":"h3","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"A user that does not yet have a pegs account (obtained via the pegsfund and pegsexchange methods) can exchange the Pegs-related Smart Chain's coins for deposited tokens of another user's account whose debt ratio is in the \"yellow zone\" ( 80% to 90% ).","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"pegsfund","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"pegsexchange","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"80%","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"90%","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"The pegsworstaccounts method can be used to retrieve a list of all accounts that are in the \"red zone\" (where the debt ratio exceeds 90% ).","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"pegsworstaccounts","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"90%","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"The pegsliquidate method can be used to liquidate any of these accounts by repaying the account's outstanding debt using the Pegs-related Smart Chain's coins. This gives the executor of the method an immediate 5% profit.","tagName":"p","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"pegsliquidate","tagName":"a","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"},{"text":"5%","tagName":"code","path":"antara/tutorials/pegs-module-user-tutorial","closestElementReference":"liquidation"}],"antara/tutorials/rogue-module-tutorial":[{"text":"Rogue Module Tutorial","tagName":"h1","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"rogue-module-tutorial"},{"text":"This tutorial documentation is associated with the Rogue API documentation.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"rogue-module-tutorial"},{"text":"Link to Rogue API documentation","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"rogue-module-tutorial"},{"text":"Link to Rogue API documentation","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"rogue-module-tutorial"},{"text":"Introduction","tagName":"h2","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"The Rogue Antara module serves as a proof-of-concept to demonstrate Antara's capabilities as a blockchain-based gaming technology.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"The Rogue module is based on the classic Rogue game. As such, it can be categorized as a Roguelike.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"Rogue","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"Roguelike.","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"The core aspects of Rogue gameplay occur on the blockchain. These aspects include such data as character health points, items, movement, attacks, and other relevant game states.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"Komodo's Rogue implementation makes use of the classic on-screen visual representation of gameplay. This interface relies on ASCII characters to represent characters, items, and other in-game objects and actions.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"The procedures to launch and finish a game require the execution of various methods (RPCs). To make the game more easy to start and finish for players who are not comfortable with the terminal, the Komodo team has created a Terminal User Interface (TUI).","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"The following installation and walkthrough tutorials can assist the reader in testing Rogue. For more information, please reach out to our community on Discord . The #cc-rogue channel is available for questions and assistance.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"Discord","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"introduction"},{"text":"Installation","tagName":"h2","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installation"},{"text":"Requirements","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"requirements"},{"text":"Rogue is available for modern MacOS, Linux, and Windows operating systems.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"requirements"},{"text":"Download Software Bundles","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Komodo provides downloadable software bundles that contain all necessary components. The user need only download and unzip the contents for their appropriate operating system and they are ready for gameplay.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Software bundles can be found in the link below:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Link to software bundles","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Link to software bundles","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Please feel free to ask on our #cc-rogue channel on Discord for updates and assistance.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Discord","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"download-software-bundles"},{"text":"Compile Rogue Software Manually","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"compile-rogue-software-manually"},{"text":"The following instructions are necessary only for users/developers who wish to compile Rogue software from source code. Users who have already downloaded the software bundles linked above do not need to compile source code manually.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"compile-rogue-software-manually"},{"text":"Install Dependencies","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"install-dependencies"},{"text":"Linux","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux"},{"text":"sudo apt-get update && sudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate software-properties-common curl libcurl4-gnutls-dev cmake clang libsodium-dev -y\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux"},{"text":"MacOS (OSX)","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"Use the terminal to ensure the MacOS XCode tools are installed:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"xcode-select --install\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"xcode-select --install\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"Ensure the latest version of brew is installed. If necessary, execute the following command:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"brew","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"Once brew is installed, execute each of the following commands:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"brew","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"brew update\nbrew upgrade\nbrew tap discoteq/discoteq; brew install flock\nbrew install autoconf autogen automake\nbrew install gcc@6\nbrew install binutils\nbrew install protobuf\nbrew install coreutils\nbrew install wget\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"brew update\nbrew upgrade\nbrew tap discoteq/discoteq; brew install flock\nbrew install autoconf autogen automake\nbrew install gcc@6\nbrew install binutils\nbrew install protobuf\nbrew install coreutils\nbrew install wget\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os-osx"},{"text":"Windows","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"Playing Rogue on Windows requires an installation of MinGW, which can be downloaded here:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"Link to MinGW","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"Link to MinGW","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"Once installed, use a Debian cross-compilation setup and run the following commands in Linux:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl cmake mingw-w64\ncurl https://sh.rustup.rs -sSf | sh\nsource $HOME/.cargo/env\nrustup target add x86_64-pc-windows-gnu\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl cmake mingw-w64\ncurl https://sh.rustup.rs -sSf | sh\nsource $HOME/.cargo/env\nrustup target add x86_64-pc-windows-gnu\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows"},{"text":"Clone & Compile Komodo","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"clone-and-compile-komodo"},{"text":"Linux","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux-2"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux-2"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j$(nproc)\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"linux-2"},{"text":"MacOS","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build-mac.sh -j8\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build-mac.sh -j8\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"mac-os"},{"text":"Windows","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"git clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build-win.sh -j8\n#This can take some time.\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"git clone https://github.com/jl777/komodo\ncd komodo\ngit checkout FSM\n./zcutil/fetch-params.sh\n./zcutil/build-win.sh -j8\n#This can take some time.\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"Change the 8 in the -j8 portion of the last command to any number of\nprocessor threads desired and/or appropriate for your machine.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"8","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"-j8","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"windows-2"},{"text":"Update komodod","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"komodod"},{"text":"komodod","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"komodod"},{"text":"cd ~/komodo\ngit checkout FSM\ngit pull\n./zcutil/build.sh -j$(nproc)\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"komodod"},{"text":"cd ~/komodo\ngit checkout FSM\ngit pull\n./zcutil/build.sh -j$(nproc)\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"komodod"},{"text":"Launch the ROGUE chain and Set pubkey Value","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"value"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"value"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"value"},{"text":"Step 1 - Start the chain","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-start-the-chain"},{"text":"Start the ROGUE chain with the following command in a terminal window and wait for the daemon to sync. Keep this terminal open and the daemon running for the duration of your Rogue gameplay.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-start-the-chain"},{"text":"cd ~/komodo/src\n./komodod -ac_name=ROGUE -ac_supply=1000000 -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc -daemon\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-start-the-chain"},{"text":"cd ~/komodo/src\n./komodod -ac_name=ROGUE -ac_supply=1000000 -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc -daemon\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-start-the-chain"},{"text":"Step 2","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2"},{"text":"Open a new terminal. This terminal can be used to execute all remaining installation and gameplay commands.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2"},{"text":"./komodo-cli -ac_name=ROGUE getnewaddress\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2"},{"text":"./komodo-cli -ac_name=ROGUE getnewaddress\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2"},{"text":"The returned value is a ROGUE address. We need to find the associated pubkey for this address.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2"},{"text":"Step 3","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"Use the validateaddress method with the address.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"validateaddress","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"./komodo-cli -ac_name=ROGUE validateaddress insert_address_here\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"./komodo-cli -ac_name=ROGUE validateaddress insert_address_here\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"The validateaddress method will return information similar to the following:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"validateaddress","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"scriptPubKey\": \"76a91498b5caa42ffe9868844c51ba6e085e5e7e92fc2588ac\",\n \"segid\": 13,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"{\n \"isvalid\": true,\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"scriptPubKey\": \"76a91498b5caa42ffe9868844c51ba6e085e5e7e92fc2588ac\",\n \"segid\": 13,\n \"ismine\": true,\n \"iswatchonly\": false,\n \"isscript\": false,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n \"iscompressed\": true,\n \"account\": \"\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"Look for the pubkey value:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"\"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"\"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\",\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"This is the pubkey for our address.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3"},{"text":"Step 4","tagName":"h5","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"Set the pubkey for the ROGUE Smart Chain.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"./komodo-cli -ac_name=ROGUE setpubkey 02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"./komodo-cli -ac_name=ROGUE setpubkey 02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"{\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"ismine\": true,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"{\n \"address\": \"RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92\",\n \"ismine\": true,\n \"pubkey\": \"02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"The pubkey is now set.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"To reuse this pubkey in the future, include the pubkey as a pubkey launch parameter.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"pubkey","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"Include the pubkey in the -pubkey launch parameter as follows:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"-pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"cd ~/komodo/src\n./komodod -ac_name=ROGUE -pubkey=02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2 -ac_supply=1000000 -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc -daemon\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"cd ~/komodo/src\n./komodod -ac_name=ROGUE -pubkey=02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2 -ac_supply=1000000 -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc -daemon\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4"},{"text":"Installing the TUI (Optional)","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"Komodo offers an unofficial Terminal User Interface (TUI) to allow players to launch and conclude a game without having to interact with the module's API commands. The TUI software is provided for testing and ease-of-use purposes only.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"Use of the TUI is optional, but recommended for most players.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"The TUI software can be found in the downloadable software bundles:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"Link to downloadable software bundles","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"Link to downloadable software bundles","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"installing-the-tui-optional"},{"text":"Walkthrough for API","tagName":"h2","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Under normal circumstances, a user does not need to manually execute methods in the terminal to launch and conclude a game. Rather, the downloadable software bundles contain all necessary tools to play.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"For users/developers who need a reference for the manual process, the following walkthroughs provide detailed step-by-step instructions.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Single-Player Mode Walkthrough","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Single-Player Mode Walkthrough","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Multi-Player Mode Walkthrough","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Multi-Player Mode Walkthrough","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"walkthrough-for-api"},{"text":"Single-Player Mode Walkthrough","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode-walkthrough"},{"text":"Step 1","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1"},{"text":"Open a new terminal and navigate to the ~/komodo/src directory:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1"},{"text":"~/komodo/src","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1"},{"text":"Step 2","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"Create a new game via the newgame method. For this example, we choose to have a single player with a 0 buy-in requirement.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"newgame","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"0","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"Methods for ROGUE require the use of the cclib method. The Rogue module's required EVALCODE for the cclib method is 17 .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"cclib","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"EVALCODE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"cclib","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"17","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"Command:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 \"[1]\"\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 \"[1]\"\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f89010061c9741f0451fcbec05ff789eef49487f4e50dcfbe05534b3f37167e9be400010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140aa48a0604d4d2eb76efd21639b26897fa3c036edd8dd4ca3d91c1f9cce294ec55071aab6187326ee1b1e80a1a3d22f72dd393fb65f009a619e8cf7fb0632a52ca100af03800111a10001ffffffff061027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc1027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc00b8880000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc0000000000000000106a0e114700000000000000000100000000000000341d00000000000000000000000000\",\n \"txid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f89010061c9741f0451fcbec05ff789eef49487f4e50dcfbe05534b3f37167e9be400010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140aa48a0604d4d2eb76efd21639b26897fa3c036edd8dd4ca3d91c1f9cce294ec55071aab6187326ee1b1e80a1a3d22f72dd393fb65f009a619e8cf7fb0632a52ca100af03800111a10001ffffffff061027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc1027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc00b8880000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc0000000000000000106a0e114700000000000000000100000000000000341d00000000000000000000000000\",\n \"txid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"The ROGUE software currently broadcasts the hex value automatically. It is not necessary to use the sendrawtransaction method.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"hex","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"sendrawtransaction","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"The returned transaction id txid is the gametxid . Save this for future use.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"txid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-2"},{"text":"Step 3","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"Check the game's state using the gameinfo method:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"gameinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"Command:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\",\n \"height\": 7462,\n \"start\": 7462,\n \"starthash\": \"0006b3ede92cd36bd50f7eca8bfffcb9a32254d1f24193517447752b004b582a\",\n \"seed\": 3767108440867690538,\n \"run\": \"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\",\n \"alive\": 0,\n \"numplayers\": 0,\n \"maxplayers\": 1,\n \"buyin\": 0.00000000,\n \"players\": [\n ]\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\",\n \"height\": 7462,\n \"start\": 7462,\n \"starthash\": \"0006b3ede92cd36bd50f7eca8bfffcb9a32254d1f24193517447752b004b582a\",\n \"seed\": 3767108440867690538,\n \"run\": \"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\",\n \"alive\": 0,\n \"numplayers\": 0,\n \"maxplayers\": 1,\n \"buyin\": 0.00000000,\n \"players\": [\n ]\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"In the returned json object, observe the run value. This lists the specific command that must be executed in the terminal to register the game.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"run","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-2"},{"text":"Step 4","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"Register the gametxid using the register method:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"register","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f890170fe35d4e867e69634ac7bdfebe4e253446b565493c2efd4e98e67bfb902d70902000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581407c0a8458a64c5653b279bbff6f50d23474819c720330510f80294a7a6789d6a11bbb49efb610c8402b67d7323be456bd0b7e787856882cb16a58409b05e42e6aa129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff02301b0f0000000000302ea22c802039784572269885d080d1990f4eea2b3a93b285b10887d66ccc5f63e0026b0be781031210008203000401cc0000000000000000446a42115270fe35d4e867e69634ac7bdfebe4e253446b565493c2efd4e98e67bfb902d709000000000000000000000000000000000000000000000000000000000000000000000000401d00000000000000000000000000\",\n \"txid\": \"0896bf6cdabb31d90aa470ba8b85b01193bbca07b44618f8cadc0ed12d4ea749\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"type\": \"newbie\",\n \"hex\": \"0400008085202f890170fe35d4e867e69634ac7bdfebe4e253446b565493c2efd4e98e67bfb902d70902000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581407c0a8458a64c5653b279bbff6f50d23474819c720330510f80294a7a6789d6a11bbb49efb610c8402b67d7323be456bd0b7e787856882cb16a58409b05e42e6aa129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff02301b0f0000000000302ea22c802039784572269885d080d1990f4eea2b3a93b285b10887d66ccc5f63e0026b0be781031210008203000401cc0000000000000000446a42115270fe35d4e867e69634ac7bdfebe4e253446b565493c2efd4e98e67bfb902d709000000000000000000000000000000000000000000000000000000000000000000000000401d00000000000000000000000000\",\n \"txid\": \"0896bf6cdabb31d90aa470ba8b85b01193bbca07b44618f8cadc0ed12d4ea749\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-4-2"},{"text":"Step 5","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"Check the game's current state again using the gameinfo method. Use the gametxid as an argument:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"gameinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\",\n \"height\": 7462,\n \"start\": 7462,\n \"starthash\": \"0006b3ede92cd36bd50f7eca8bfffcb9a32254d1f24193517447752b004b582a\",\n \"seed\": 3767108440867690538,\n \"run\": \"cc/rogue/rogue 3767108440867690538 09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"alive\": 1,\n \"numplayers\": 1,\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"alive\",\n \"baton\": \"0896bf6cdabb31d90aa470ba8b85b01193bbca07b44618f8cadc0ed12d4ea749\",\n \"batonaddr\": \"R9dCYMKsDQRCg5CLpvThRser1gbBTmkEHG\",\n \"batonvout\": 0,\n \"batonvalue\": 0.0099,\n \"batonht\": 7469\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"result\": \"success\",\n \"height\": 7462,\n \"start\": 7462,\n \"starthash\": \"0006b3ede92cd36bd50f7eca8bfffcb9a32254d1f24193517447752b004b582a\",\n \"seed\": 3767108440867690538,\n \"run\": \"cc/rogue/rogue 3767108440867690538 09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\",\n \"alive\": 1,\n \"numplayers\": 1,\n \"maxplayers\": 1,\n \"buyin\": 0.0,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"alive\",\n \"baton\": \"0896bf6cdabb31d90aa470ba8b85b01193bbca07b44618f8cadc0ed12d4ea749\",\n \"batonaddr\": \"R9dCYMKsDQRCg5CLpvThRser1gbBTmkEHG\",\n \"batonvout\": 0,\n \"batonvalue\": 0.0099,\n \"batonht\": 7469\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"Note that the gameinfo method now returned a seed value, as well as player data.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"gameinfo","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"In the returned json object, find the run value. This is the exact command needed to start the game.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"run","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-5"},{"text":"Step 6 - Play","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"Wait until the network mines the register_txid . Optionally, use the getrawmempool method to monitor the status of the transaction.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"register_txid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"Once the transaction is mined, execute the run command (found in the returned json object earlier) to start the game:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"run","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"cc/rogue/rogue 3767108440867690538 09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"cc/rogue/rogue 3767108440867690538 09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"The game is now running and should be visible on-screen.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-6-play"},{"text":"Step 7 - Play the Game","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-7-play-the-game"},{"text":"For instructions on in-game controls and objectives, read this linked section.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-7-play-the-game"},{"text":"read this linked section.","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-7-play-the-game"},{"text":"Step 8 - Bailout","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"If your character is still alive and you would like to leave the game while keeping your profits, follow this procedure to save your character:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"To quit the game, type the letter Q on the keyboard. This opens a context menu. Type the letter n and press Enter .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"Q","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"Enter","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"This begins the process of leaving the game, but you are not finished yet.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"Wait for the ROGUE network to mine all keystrokes transactions. To see a list of all keystrokes created, check the keystrokes.log file in the ~/komodo/src directory, and use the getrawmempool method to verify when the last keystrokes are mined.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"keystrokes","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"keystrokes","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"keystrokes","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"keystrokes.log","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"~/komodo/src","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"keystrokes","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"When the last transactions are mined, execute the bailout method to leave the game while keeping the character and items in your pubkey , and the method will also transfer your in-game gold to ROGUE coins.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"bailout","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"For example:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"09d702b9bf678ee9d4efc29354566b4453e2e4ebdf7bac3496e667e8d435fe70\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"After the bailout transaction is mined the player may view their surviving character(s) via the players and playerinfo methods.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"bailout","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"players","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"playerinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-8-bailout"},{"text":"Step 9: Highlander Victory","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"In this walkthrough we have used single-player mode. The following highlander method is only available if the character manages to capture the amulet and safely exit the dungeon. In a normal multi-player game, the highlander method is available to either the first player to safely retrieve the amulet , or to the last player standing after all others have died.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"highlander","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"amulet","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"amulet","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"The player that successfully executes the highlander method receives a prize: the collective value of all ROGUE coins that were contributed during the buy-in stage.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"The highlander method is executed as follows:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"4fd6f5cad0fac455e5989ca6eef111b00292845447075a802e9335879146ad5a\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"4fd6f5cad0fac455e5989ca6eef111b00292845447075a802e9335879146ad5a\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"After the highlander transaction is mined the player may view their surviving character(s) via the players and playerinfo methods.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"players","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"playerinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-9-highlander-victory"},{"text":"Multi-Player Mode Walkthrough","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"In this walktrough we use two nodes to play a multi-player game of Rogue.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"Node 1 is player1","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"Node 2 is player2","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"For educational purposes, we execute all methods manually, as opposed to using the TUI .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"TUI","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode-walkthrough"},{"text":"Step 1: Create a Multi-Player Game","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Open a new terminal and navigate to the ~/komodo/src directory:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"~/komodo/src","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"cd ~/komodo/src\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"cd ~/komodo/src\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"For this game, we choose the following details:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"the max number of players: 2","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"the cost in ROGUE coins of the game buyin : 0.1","tagName":"li","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"buyin","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"0.1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Execute the newgame method on player1 as follows:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"newgame","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 '[\"2\",\"0.1\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib newgame 17 '[\"2\",\"0.1\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f89010806e5efe696da16723dc894c191db31a78184a6d1e2f49d1be11baf5a711d15010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140166b7641979bb086181d30a5e0c9a84591dc8a3455f77858735fc75aa087b7dd4d0745fac898e547a069b5e75273bf0b28c29466b7f41c5800cb888bfff96f52a100af03800111a10001ffffffff081027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401ccb04e790000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc10270000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000106a0e1147809698000000000002000000000000000dd400000000000000000000000000\",\n \"txid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"newgame\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f89010806e5efe696da16723dc894c191db31a78184a6d1e2f49d1be11baf5a711d15010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140166b7641979bb086181d30a5e0c9a84591dc8a3455f77858735fc75aa087b7dd4d0745fac898e547a069b5e75273bf0b28c29466b7f41c5800cb888bfff96f52a100af03800111a10001ffffffff081027000000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc40420f0000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401cc1027000000000000302ea22c80208958791fdd38bdf532c97f1691fd231a3f1f5c0c3cd28b68d7383c8b1078828e81031210008203000401ccb04e790000000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc10270000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000106a0e1147809698000000000002000000000000000dd400000000000000000000000000\",\n \"txid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Save the returned txid value for future use. This is our gametxid .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"txid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Use the gameinfo method to check information about the game:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"gameinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"alive\": 0,\n \"openslots\": 2,\n \"numplayers\": 0,\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"seed\": 0,\n \"players\": []\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"alive\": 0,\n \"openslots\": 2,\n \"numplayers\": 0,\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"seed\": 0,\n \"players\": []\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"As shown in the returned json object, the game has a maxplayers value of 2 and an openslots value of 0 , as no players have joined.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"maxplayers","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"openslots","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"0","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Note that the gameheight value is 54265 . This is the block height at which the gametxid was created.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"gameheight","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"54265","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Also note that the start value is 54270 . This is the block height at which the seed value will be revealed, allowing players to generate the level design and begin the game.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"start","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"54270","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-1-create-a-multi-player-game"},{"text":"Step 2: Register for the Game","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"For our example, player1 would like to use an existing character that survived a previous game. This allows player1 to start with all the advantages this character achieved previously, including character statistics and items.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"To activate the existing character, player1 includes the associated playertxid for the character when executing the register method. (The playertxid values of any pubkey can be found using the players method.)","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"register","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"players","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"The player also includes the gametxid as the first argument of the register method.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"register","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f8903deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c01000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140d68dba89573f717140a84471f1056bc783996ed45b39218425eb0b9dd2f51f2563c8779e21ed4aa62defee170920cd760a5f80dc7a184414a12dec27d6e39990a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001fffffffff2d8a4db42cb621320a29264f0bded43df052525c81de9fabbf64d601af8058001000000804c7ea27ba077a26ba067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140ba62fa04393766f2a39bc23c1cded3ac8fa940e2f47747b03376ecf467f2307737812e2927cbbd9787f8632979d5f7575e5f603d0dbaafc8905605b836014b0da100af03800111af038001f2a10001ffffffff0d45d807c5f96bbf021e7186e5632c4ff37cda13f4fbc0861e76d32ae078985a000000004847304402206a20289df3b06cec3154ab48d4a3cb62eb7c27ddbaacd24938307a3a003bb8cf02207f658d0c442b81ced5b44031c76d548185fa33f810fa1a3209d5181e2e46e16a01ffffffff04b0b1a70000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc804a5d05000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac00000000000000008c6a4c89f2748005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2012102deaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddead16421152deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4cf2d8a4db42cb621320a29264f0bded43df052525c81de9fabbf64d601af805800000000014d400000000000000000000000000\",\n \"txid\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f8903deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c01000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140d68dba89573f717140a84471f1056bc783996ed45b39218425eb0b9dd2f51f2563c8779e21ed4aa62defee170920cd760a5f80dc7a184414a12dec27d6e39990a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001fffffffff2d8a4db42cb621320a29264f0bded43df052525c81de9fabbf64d601af8058001000000804c7ea27ba077a26ba067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140ba62fa04393766f2a39bc23c1cded3ac8fa940e2f47747b03376ecf467f2307737812e2927cbbd9787f8632979d5f7575e5f603d0dbaafc8905605b836014b0da100af03800111af038001f2a10001ffffffff0d45d807c5f96bbf021e7186e5632c4ff37cda13f4fbc0861e76d32ae078985a000000004847304402206a20289df3b06cec3154ab48d4a3cb62eb7c27ddbaacd24938307a3a003bb8cf02207f658d0c442b81ced5b44031c76d548185fa33f810fa1a3209d5181e2e46e16a01ffffffff04b0b1a70000000000302ea22c80202ba0b269f75c72a0ce23e03812814b1e76a8fd57b3e75fee8b37bfef2b4ebf3581031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc804a5d05000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac00000000000000008c6a4c89f2748005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2012102deaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddeaddead16421152deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4cf2d8a4db42cb621320a29264f0bded43df052525c81de9fabbf64d601af805800000000014d400000000000000000000000000\",\n \"txid\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"In our example, the player2 node does not have a character from a previous game, and therefore player2 executes the register method with only the gametxid .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"register","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib register 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f8902deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c02000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140d6ba58b1f908127a08975c2b894908a5394e17752f3f4fc42f62a84854a6a34e7d36b9b0f5a9e8331b0b763fccd9c751c9768f494a160ba0c173253c598d3459a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff0d47edc39292bc46274460312302e9f5fbc7ff8e9e03dfc26fde0c9137030661000000004847304402204b8bb25641221d02db0af6319044c7249fe6e1e3aacf3430f296444bd00780a7022046a53d377dd1746b32ad38482fc3d88aa485fad2e1a7da634d46a753000b3bc601ffffffff04b0b1a70000000000302ea22c8020dab28a48d54ca8ae474d7ff8fefa29aa38739f873f9a2488d5260e481c4d924381031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc7f4a5d05000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abac0000000000000000446a421152deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c00000000000000000000000000000000000000000000000000000000000000000000000017d400000000000000000000000000\",\n \"txid\": \"8c595f0fd053d140bb1449b962ffb31fc983c7de9e19c44fd4b1c3e908d99efa\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"register\",\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"type\": \"buyin\",\n \"hex\": \"0400008085202f8902deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c02000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140d6ba58b1f908127a08975c2b894908a5394e17752f3f4fc42f62a84854a6a34e7d36b9b0f5a9e8331b0b763fccd9c751c9768f494a160ba0c173253c598d3459a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff0d47edc39292bc46274460312302e9f5fbc7ff8e9e03dfc26fde0c9137030661000000004847304402204b8bb25641221d02db0af6319044c7249fe6e1e3aacf3430f296444bd00780a7022046a53d377dd1746b32ad38482fc3d88aa485fad2e1a7da634d46a753000b3bc601ffffffff04b0b1a70000000000302ea22c8020dab28a48d54ca8ae474d7ff8fefa29aa38739f873f9a2488d5260e481c4d924381031210008203000401cc0100000000000000302ea22c80207f0205ad6b02be91baf2a56dcc77381e7b0e19cb9a83dfb9530316958f5b706781032210008203000401cc7f4a5d05000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abac0000000000000000446a421152deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c00000000000000000000000000000000000000000000000000000000000000000000000017d400000000000000000000000000\",\n \"txid\": \"8c595f0fd053d140bb1449b962ffb31fc983c7de9e19c44fd4b1c3e908d99efa\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"Wait until the txid values returned on both nodes are mined. (Use the getrawmempool method to check the transaction's status.)","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"txid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"getrawmempool","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"After the transactions are mined, use the gameinfo method to check the game's status again:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"gameinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"starthash\": \"0009fb977f5d34ff8fbaf5393e17ecc6c590d9f6db120c69b684959922b31fbd\",\n \"seed\": 3928429259918614461,\n \"run\": \"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"alive\": 2,\n \"openslots\": 0,\n \"numplayers\": 2,\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"seed\": 3928429259918614461,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"registered\",\n \"baton\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"tokenid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"batonaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"ismine\": false,\n \"batonvout\": 0,\n \"batonvalue\": 0.1099,\n \"batonht\": 54273,\n \"player\": {\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"batontxid\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"playertxid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"tokenid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"data\": \"250000000e00000010001000020000000b0000000700000002000000000000003a0000000000000001000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff010000000200000001000000000000000000000012000000000000003178310000000000317831000000000029000000020000001f000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002f0000000000000001000000080000000000000000000000060000001000000000000000317831000000000031783100000000003d00000000000000010000000200000000000000000000000b000000100000000000000030783000000000003078300000000000\",\n \"pack\": [\n \"Some food\",\n \"+1 ring mail [protection 4]\",\n \"A +1,+1 mace\",\n \"A +1,+0 short bow\",\n \"31 +0,+0 arrows\",\n \"A staff of slow monster [6 charges](kukui wood)\",\n \"A ring of sustain strength(obsidian)\"\n ],\n \"packsize\": 7,\n \"hitpoints\": 14,\n \"strength\": 16,\n \"maxstrength\": 16,\n \"level\": 2,\n \"experience\": 11,\n \"dungeonlevel\": 2,\n \"chain\": \"ROGUE\",\n \"pname\": \"tester02\"\n }\n },\n {\n \"slot\": 1,\n \"status\": \"registered\",\n \"baton\": \"8c595f0fd053d140bb1449b962ffb31fc983c7de9e19c44fd4b1c3e908d99efa\",\n \"tokenid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"batonaddr\": \"RMYAWp4qQ2RQRAeBHeW3GdD79GjGHkNwE6\",\n \"ismine\": true,\n \"batonvout\": 0,\n \"batonvalue\": 0.1099,\n \"batonht\": 54276\n }\n ]\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"starthash\": \"0009fb977f5d34ff8fbaf5393e17ecc6c590d9f6db120c69b684959922b31fbd\",\n \"seed\": 3928429259918614461,\n \"run\": \"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"alive\": 2,\n \"openslots\": 0,\n \"numplayers\": 2,\n \"maxplayers\": 2,\n \"buyin\": 0.1,\n \"seed\": 3928429259918614461,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"registered\",\n \"baton\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"tokenid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"batonaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"ismine\": false,\n \"batonvout\": 0,\n \"batonvalue\": 0.1099,\n \"batonht\": 54273,\n \"player\": {\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"batontxid\": \"20b5cf8249dda9e532d93d63e0b7fc3e28b15fdc606dbf04e06b3afd2cbb023d\",\n \"playertxid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"tokenid\": \"8005f81a604df6bbfae91dc8252505df43edbdf06492a2201362cb42dba4d8f2\",\n \"data\": \"250000000e00000010001000020000000b0000000700000002000000000000003a0000000000000001000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff010000000200000001000000000000000000000012000000000000003178310000000000317831000000000029000000020000001f000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002f0000000000000001000000080000000000000000000000060000001000000000000000317831000000000031783100000000003d00000000000000010000000200000000000000000000000b000000100000000000000030783000000000003078300000000000\",\n \"pack\": [\n \"Some food\",\n \"+1 ring mail [protection 4]\",\n \"A +1,+1 mace\",\n \"A +1,+0 short bow\",\n \"31 +0,+0 arrows\",\n \"A staff of slow monster [6 charges](kukui wood)\",\n \"A ring of sustain strength(obsidian)\"\n ],\n \"packsize\": 7,\n \"hitpoints\": 14,\n \"strength\": 16,\n \"maxstrength\": 16,\n \"level\": 2,\n \"experience\": 11,\n \"dungeonlevel\": 2,\n \"chain\": \"ROGUE\",\n \"pname\": \"tester02\"\n }\n },\n {\n \"slot\": 1,\n \"status\": \"registered\",\n \"baton\": \"8c595f0fd053d140bb1449b962ffb31fc983c7de9e19c44fd4b1c3e908d99efa\",\n \"tokenid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"batonaddr\": \"RMYAWp4qQ2RQRAeBHeW3GdD79GjGHkNwE6\",\n \"ismine\": true,\n \"batonvout\": 0,\n \"batonvalue\": 0.1099,\n \"batonht\": 54276\n }\n ]\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"The openslots value is now 0 , as 2 players have joined.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"openslots","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"0","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"Note also that the start block height has past, and therefore the seed value is available.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"start","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"Also note that the response includes information about the playertxid character provided by player1 during registration.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"The game is prepared. Both players may begin the game using the command found in the returned run value.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"run","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-2-register-for-the-game"},{"text":"Step 3: Play and Finish the Game","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"View this linked section for instructions on gameplay.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"View this linked section for instructions on gameplay.","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"In our example, player1 decides to bail out of the game without waiting until player2 dies, and without retrieving the amulet from the dungeon.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"amulet","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"To exit, player1 executes the bailout method:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"bailout","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib bailout 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"bailout\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"hex\": \"0400008085202f8903bafcee9bbe5536b0a5dc2bdff72f34ceedc4f6dae07cdf9eef973339a095845900000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140542c935c9812a93c4b304123f86f3b71b5a2236edbc7d080dbf9fec1ddd683397935d5990eb2617e304be1560740ff80fdc3d7524c68adfc70cf57e2376b3666a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c03000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581403f6df06683f5788ee5ea9113af44d0d76753e619be4b1ead6a56c9fbabaa5c1e25a26f2c6097398c1f3eb98578eff8c05315d9f49a30f1006b6d8dc72a7d45c2a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff04e14b45dfd8f96da57b4cd7207b8349085a9c58e617f559b6a633dc751a83d3010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581400d139c3302c33098fca9d25e3072ab9ccedb07bb82f79e8f97d35078183cf69c230d64ce52c4f9ba5c1f8f26affeb8ff4646a77240cc38f2af7d24be627c6fb8a100af03800111a10001ffffffff061027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc0100000000000000302ea22c8020f29dbf12dea61586c1c7a8c6fe99eaa82a32298686bac7d0f698e91e896f48d481032210008203000401cca04b0000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac50603f0100000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc1f4e0000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000fdcf026a4dcb02f26321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e851333393238343239323539393138363134343631403463636639636138623131393862333562343864633731323663366239363438623234336334343037366534633465346665343734623132393032386162646511fd4e021151deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c05524f4755450874657374657230320000000021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85fdf4012c0000000e0000001000100002000000110000000900000001000000000000003a0000000000000001000000000000000000000000000000000000001200000000000000000000000000000000000000000000005d0000000000000001000000010000000000000000000000060000001200000000000000000000000000000000000000000000005d00000000000000010000000000000000000000000000000800000010000000000000003078300000000000307830000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff010000000200000001000000000000000000000012000000000000003178310000000000317831000000000029000000020000001f000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002f0000000000000001000000080000000000000000000000060000001200000000000000317831000000000031783100000000003d00000000000000010000000200000000000000000000000b0000001200000000000000307830000000000030783000000000003f00000000000000010000000800000000000000000000000b000000100000000000000030783000000000003078300000000000000000002dd400000000000000000000000000\",\n \"txid\": \"5184b9d50cb70eb3b2f92e53e66ff90777a650e9167f8a133eb13a2da2ae999c\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"bailout\",\n \"myrogueaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"hex\": \"0400008085202f8903bafcee9bbe5536b0a5dc2bdff72f34ceedc4f6dae07cdf9eef973339a095845900000000a74ca5a281a1a0819ca28194a067a5658021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e858140542c935c9812a93c4b304123f86f3b71b5a2236edbc7d080dbf9fec1ddd683397935d5990eb2617e304be1560740ff80fdc3d7524c68adfc70cf57e2376b3666a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c03000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581403f6df06683f5788ee5ea9113af44d0d76753e619be4b1ead6a56c9fbabaa5c1e25a26f2c6097398c1f3eb98578eff8c05315d9f49a30f1006b6d8dc72a7d45c2a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffff04e14b45dfd8f96da57b4cd7207b8349085a9c58e617f559b6a633dc751a83d3010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581400d139c3302c33098fca9d25e3072ab9ccedb07bb82f79e8f97d35078183cf69c230d64ce52c4f9ba5c1f8f26affeb8ff4646a77240cc38f2af7d24be627c6fb8a100af03800111a10001ffffffff061027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc0100000000000000302ea22c8020f29dbf12dea61586c1c7a8c6fe99eaa82a32298686bac7d0f698e91e896f48d481032210008203000401cca04b0000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac50603f0100000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc1f4e0000000000002321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85ac0000000000000000fdcf026a4dcb02f26321027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e851333393238343239323539393138363134343631403463636639636138623131393862333562343864633731323663366239363438623234336334343037366534633465346665343734623132393032386162646511fd4e021151deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c05524f4755450874657374657230320000000021027d28d7d59ac499fac55f89b9e06933d66aaf74435c48326d83f8fbc6a7b14e85fdf4012c0000000e0000001000100002000000110000000900000001000000000000003a0000000000000001000000000000000000000000000000000000001200000000000000000000000000000000000000000000005d0000000000000001000000010000000000000000000000060000001200000000000000000000000000000000000000000000005d00000000000000010000000000000000000000000000000800000010000000000000003078300000000000307830000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff010000000200000001000000000000000000000012000000000000003178310000000000317831000000000029000000020000001f000000030000000000000000000000000000001e00000000000000317831000000000032783300000000002f0000000000000001000000080000000000000000000000060000001200000000000000317831000000000031783100000000003d00000000000000010000000200000000000000000000000b0000001200000000000000307830000000000030783000000000003f00000000000000010000000800000000000000000000000b000000100000000000000030783000000000003078300000000000000000002dd400000000000000000000000000\",\n \"txid\": \"5184b9d50cb70eb3b2f92e53e66ff90777a650e9167f8a133eb13a2da2ae999c\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"With the bailout transaction mined, the gameinfo method now returns updated information:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"bailout","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"gameinfo","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"Command:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib gameinfo 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"starthash\": \"0009fb977f5d34ff8fbaf5393e17ecc6c590d9f6db120c69b684959922b31fbd\",\n \"seed\": 3928429259918614461,\n \"run\": \"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"alive\": 1,\n \"openslots\": 0,\n \"numplayers\": 2,\n \"maxplayers\": 2,\n \"buyin\": 0.10000000,\n \"seed\": 3928429259918614461,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"finished\",\n \"baton\": \"5184b9d50cb70eb3b2f92e53e66ff90777a650e9167f8a133eb13a2da2ae999c\",\n \"tokenid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"batonaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"ismine\": true,\n \"batonvout\": 0,\n \"batonvalue\": 0.00010000,\n \"batonht\": 54297,\n\n ... (omitted for brevity) ...\n\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"gameinfo\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"result\": \"success\",\n \"gameheight\": 54265,\n \"height\": 54265,\n \"start\": 54270,\n \"starthash\": \"0009fb977f5d34ff8fbaf5393e17ecc6c590d9f6db120c69b684959922b31fbd\",\n \"seed\": 3928429259918614461,\n \"run\": \"cc/rogue/rogue 3928429259918614461 4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"alive\": 1,\n \"openslots\": 0,\n \"numplayers\": 2,\n \"maxplayers\": 2,\n \"buyin\": 0.10000000,\n \"seed\": 3928429259918614461,\n \"players\": [\n {\n \"slot\": 0,\n \"status\": \"finished\",\n \"baton\": \"5184b9d50cb70eb3b2f92e53e66ff90777a650e9167f8a133eb13a2da2ae999c\",\n \"tokenid\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"batonaddr\": \"RVuzXY65FyJiPPWSBc9efATh6nb4M9MceR\",\n \"ismine\": true,\n \"batonvout\": 0,\n \"batonvalue\": 0.00010000,\n \"batonht\": 54297,\n\n ... (omitted for brevity) ...\n\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"Note that the alive property has a value of 1 , indicating that the player1 character has left and the player2 character remains. Also note that in the players array, the first json object (which describes the player1 node) has a status of finished .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"alive","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"players","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"status","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"finished","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"Since player1 left early, player2 is the last character standing. The highlander method is now available to him.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"highlander","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2 first begins the exit procedure by entering Q , then y + Enter .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"Q","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"y + Enter","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"With the exit process in motion, player2 executes the highlander method:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"./komodo-cli -ac_name=ROGUE cclib highlander 17 '[\"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\"]'\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"highlander\",\n \"myrogueaddr\": \"RMYAWp4qQ2RQRAeBHeW3GdD79GjGHkNwE6\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"hex\": \"0400008085202f8906fb01b5159bd9eb16c969a274573312a870eaec6ca921d45cfea828cf4bfdce7400000000a74ca5a281a1a0819ca28194a067a5658021030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572ab814040b427395fa60eec5d645994bdf49f56479913f76af9a0143a1cedba51bdf40604db488e5f16c22738d007832cce6f5694e0b72a59934af01283241eabfb04f4a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c04000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581401b629f9b61eef6513f07b351a2a3c3ece554204fc355bc5d22cb2df7fa86355908e4d443783f998fdaa98818078a9644f8147391e2b96f53aa025619deab057ba129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c000000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa88305814077ca033d18a0125a269abdacb825d399f950e564eb9ad38f53eadd30213d158349952d30e109b7bfd5f47165e3e05b849c919f028bf447813a006fb76cf8fafba100af03800111a10001ffffffff09d702382f7d9bb899b5c935ec85f17da65df496c0898d5466e852235a99a529010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140f9885eba23b5f7ce803cd6256afdfda72cdac6e3112c448c9752e378310b4f8e66f18a1a9309d9c848680c0e1656cabb63857426a5e34c831ee7ba8883478d23a100af03800111a10001ffffffff0b295c8f2da505fd2fd76a23e742976855de3476381ea54ea2f4741398f9c8e5010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581402adefb3329c07c992aa0e5217ec129bbbdea0b60a9ef4dd65a8788833f764012673e9888b28a6cd61e438c95703c93becd0344d59e8b4af0800289b8539e104ca100af03800111a10001ffffffff0b473035d1618096e7856167a47a80e440b05884c2a6f9cc51545ea9bf22477b010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140586da282bd1f1038c2f34f9bf93543cb0bc315d37d3572d262a6b7d9133533920fdb65118b702435bdbb62e41c4d873e79cc9ce6786ea74686f5c49413358c36a100af03800111a10001ffffffff061027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc0100000000000000302ea22c8020b3004eceb8c0082eae35418495dc48c6785dc23d0176e82514c90a41d93198ea81032210008203000401cc343a3101000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abacbc9e3f0100000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc2f750000000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abac0000000000000000fd2b026a4d2702f26321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572ab1333393238343239323539393138363134343631403463636639636138623131393862333562343864633731323663366239363438623234336334343037366534633465346665343734623132393032386162646511fdaa011148deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c05524f475545000100000021030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abfd58010d0000000c0000001000100001000000020000000600000001000000000000003a0000000000000001000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff0100000002000000010000000000000000000000120000000000000031783100000000003178310000000000290000000200000022000000030000000000000000000000000000001e00000000000000317831000000000032783300000000003f00000000000000010000000800000000000000000000000b0000001000000000000000307830000000000030783000000000000000000030d400000000000000000000000000\",\n \"txid\": \"fc86d6b5f5d3ab98de97d50fbd3853c726197d28a9436aeba66e70dadd541065\",\n \"result\": \"success\"\n}\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"{\n \"name\": \"rogue\",\n \"method\": \"highlander\",\n \"myrogueaddr\": \"RMYAWp4qQ2RQRAeBHeW3GdD79GjGHkNwE6\",\n \"gametxid\": \"4ccf9ca8b1198b35b48dc7126c6b9648b243c44076e4c4e4fe474b129028abde\",\n \"hex\": \"0400008085202f8906fb01b5159bd9eb16c969a274573312a870eaec6ca921d45cfea828cf4bfdce7400000000a74ca5a281a1a0819ca28194a067a5658021030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572ab814040b427395fa60eec5d645994bdf49f56479913f76af9a0143a1cedba51bdf40604db488e5f16c22738d007832cce6f5694e0b72a59934af01283241eabfb04f4a129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c04000000a74ca5a281a1a0819ca28194a067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581401b629f9b61eef6513f07b351a2a3c3ece554204fc355bc5d22cb2df7fa86355908e4d443783f998fdaa98818078a9644f8147391e2b96f53aa025619deab057ba129a5278020446b52761bffb00eaa7a055c9994987ce2120a551fb4dfd01ffae1ffbee6b56b8103020000af03800111a10001ffffffffdeab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c000000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa88305814077ca033d18a0125a269abdacb825d399f950e564eb9ad38f53eadd30213d158349952d30e109b7bfd5f47165e3e05b849c919f028bf447813a006fb76cf8fafba100af03800111a10001ffffffff09d702382f7d9bb899b5c935ec85f17da65df496c0898d5466e852235a99a529010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140f9885eba23b5f7ce803cd6256afdfda72cdac6e3112c448c9752e378310b4f8e66f18a1a9309d9c848680c0e1656cabb63857426a5e34c831ee7ba8883478d23a100af03800111a10001ffffffff0b295c8f2da505fd2fd76a23e742976855de3476381ea54ea2f4741398f9c8e5010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa8830581402adefb3329c07c992aa0e5217ec129bbbdea0b60a9ef4dd65a8788833f764012673e9888b28a6cd61e438c95703c93becd0344d59e8b4af0800289b8539e104ca100af03800111a10001ffffffff0b473035d1618096e7856167a47a80e440b05884c2a6f9cc51545ea9bf22477b010000007b4c79a276a072a26ba067a56580210223b2b9d35fb6383bbbc0dd6668825c91713bc21081b9ce33df3d7edbafa883058140586da282bd1f1038c2f34f9bf93543cb0bc315d37d3572d262a6b7d9133533920fdb65118b702435bdbb62e41c4d873e79cc9ce6786ea74686f5c49413358c36a100af03800111a10001ffffffff061027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cc0100000000000000302ea22c8020b3004eceb8c0082eae35418495dc48c6785dc23d0176e82514c90a41d93198ea81032210008203000401cc343a3101000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abacbc9e3f0100000000302ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc2f750000000000002321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abac0000000000000000fd2b026a4d2702f26321030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572ab1333393238343239323539393138363134343631403463636639636138623131393862333562343864633731323663366239363438623234336334343037366534633465346665343734623132393032386162646511fdaa011148deab2890124b47fee4c4e47640c443b248966b6c12c78db4358b19b1a89ccf4c05524f475545000100000021030c16387fda9c2c3e1b90b272a938424f9eecf16e859887874fb843892c3572abfd58010d0000000c0000001000100001000000020000000600000001000000000000003a0000000000000001000000000000000000000000000000000000001000000000000000000000000000000000000000000000005d00000000000000010000000100000000000000000000000600000012000000000000000000000000000000000000000000000029000000ffffffff010000000000000001000000010000000000000012000000000000003278340000000000317833000000000029000000ffffffff0100000002000000010000000000000000000000120000000000000031783100000000003178310000000000290000000200000022000000030000000000000000000000000000001e00000000000000317831000000000032783300000000003f00000000000000010000000800000000000000000000000b0000001000000000000000307830000000000030783000000000000000000030d400000000000000000000000000\",\n \"txid\": \"fc86d6b5f5d3ab98de97d50fbd3853c726197d28a9436aeba66e70dadd541065\",\n \"result\": \"success\"\n}\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"The multi-player game is now finished. The player2 node received the highlander prize, including the total buyin amount and an increased conversion rate of in-game gold to ROGUE coins.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"player2","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"buyin","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"After the bailout and highlander transactions are mined, the players may view their surviving character via the players and playerinfo methods.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"bailout","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"players","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"playerinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"step-3-play-and-finish-the-game"},{"text":"Gameplay Documentation","tagName":"h2","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-documentation"},{"text":"As Komodo's Rogue implementation is based off of the classic Rogue game, the classic manual provides the basic instructions for the game:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-documentation"},{"text":"Link to Classic Rogue Manual Here","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-documentation"},{"text":"Link to Classic Rogue Manual Here","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-documentation"},{"text":"After reading the linked manual, there are additional aspects to keep in mind for Komodo's unique implementation.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-documentation"},{"text":"Gameplay Modes","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"Komodo's Rogue features two different game modes. There is one mode for single-player gameplay, where the maxplayer value is set to 1 , and one mode for multi-player gameplay, where the maxplayer value is greater than 1 .","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"maxplayer","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"maxplayer","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"gameplay-modes"},{"text":"Single-Player Mode","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"The single-player mode is more limited in nature. In general, this mode is for practicing or farming purposes.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"There are no time limits.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"As soon as the register_txid is confirmed the player may begin to play.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"register_txid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"When concluding the game, the conversion of in-game gold to ROGUE coins is halved. See the highlander and bailout methods for further details.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"highlander","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"bailout","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"single-player-mode"},{"text":"Multi-Player Mode","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"If more than one player is allowed in the game parameters, the game goes into \"Highlander\" mode. In this mode, there can be only one winner of each game. The winner is either the last player standing, or the first player to retrieve the amulet and successfully exit the dungeon.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"amulet","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"Multi-player mode also adds a time limit that is based on the frequency of keystrokes. So long as the players are frequently entering commands, the time limit will expire in approximately one hour. If players are not frequently entering keystrokes, the time limit can vary.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"There is a waiting period after the gametxid is confirmed. This ensures that no player receives an unfair advantage via advanced knowledge of the start time. The delay is 5 blocks. On a default Smart Chain, this creates a 5 minute wait period. Once the 5 blocks are mined, the Smart Chain automatically reveals a seed that is created using blockchain-based provable randomization. The seed provides the basis for level-design generation. After the level is generated, the players may begin to play.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"gametxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"5","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"5","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"5","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"Due to the fact that the entropy (based on the seed ) was the same for both players during level generation, both players will begin at dungeon-level 1 . However, the generation of levels greater than 1 take into account the gameplay of the characters, and therefore the level designs will be different for each player.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"seed","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"There are two methods for winning the game. The most direct way to win the game is to obtain the amulet and return from the dungeon. Alternatively, the player also may win by having the last surviving character. The winner receives all of the buyin coins that were originally contributed, as well as an increased conversion ratio for their in-game gold to ROGUE reward.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"amulet","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"buyin","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"See the highlander method for further details.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"highlander","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"multi-player-mode"},{"text":"The Mechanics of Saving, Trading, and Reusing Characters","tagName":"h3","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"Due to the nature of saving and reusing characters, the Komodo implementation\nof Rogue changes the manner in which the user saves characters. Instead of\ntyping s on the keyboard, type Q + y + Enter , then execute the\n bailout method to conclude the game.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"s","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"Q + y + Enter","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"bailout","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"If a player successfully uses either the highlander or bailout method to conclude a game, the player may save their character, items, and achieved characteristics. They also convert the character's in-game gold to ROGUE coins. The ratio of conversion depends upon the game conditions; see the highlander and bailout methods for further details.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"highlander","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"bailout","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"highlander","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"bailout","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"the-mechanics-of-saving-trading-and-reusing-characters"},{"text":"Recalling an Existing Character","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"When either of these methods are executed, the returned response includes a playertxid transaction id. The playertxid represents the state of this character at the completion of the game. It is used as an argument for the register method when recalling the character, items, and achieved characteristics into a future game.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"register","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"The playertxid value changes with each game, and therefore only the most recent playertxid for a character should be used. To see a complete list of current playertxid values belonging to the user's pubkey , use the playerinfo method.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"playerinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"When the user registers an existing character, the game dungeon's difficulty begins at level 1 , and the character has no gold (as it was converted to ROGUE coins). Also, even if the character has armor and a wielded weapon in their item list, these items are not equipped by default. The player must equip them at the start of the game by typing the letters w for weapon and W for armor.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"1","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"ROGUE","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"w","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"W","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"One gameplay element that the Komodo team has changed from classic Rogue is the ability to scale the amount of inventory the character may carry according to the character's strength. The formula is as follows:","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"current max inventory = character strength * 2\n","tagName":"pre","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"current max inventory = character strength * 2\n","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"The highest max inventory value is 23 unique letters. Throwable-object packages count as a single item.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"max inventory","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"23","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"If the user bails out of a game while holding more items than they are allowed to carry, the game will automatically flush items from the character's inventory as a part of the bailout method.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"bailout","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"recalling-an-existing-character"},{"text":"Trading an Existing Character","tagName":"h4","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"A character that survived a game is also a non-fungible asset and can be traded on the blockchain. When trading a character, the user does not use the playertxid value. Rather, the user employs the tokentxid value. This tokentxid is used in coordination with the Tokens Antara Module module for on-chain trading.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"tokentxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"tokentxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"Tokens Antara Module","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"The tokentxid can be found by using the playerinfo method and submitting the known playertxid as an argument. For more information, see the playerinfo method.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"tokentxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"playerinfo","tagName":"a","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"playertxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"playerinfo","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"The tokentxid is created at the character's initial creation and does not change throughout the character's life. When the character dies, the tokentxid is sent to a burn address, making the character permanently unplayable.","tagName":"p","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"tokentxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"},{"text":"tokentxid","tagName":"code","path":"antara/tutorials/rogue-module-tutorial","closestElementReference":"trading-an-existing-character"}],"antara/tutorials/test-use-write-integrate-antara":[{"text":"Using the Contracts on a Komodo based Blockchain","tagName":"h1","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"A high level overview of the Komodo Custom Consensus Framework: How to write UTXO based CryptoConditions contracts for KMD chains - by jl777","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"How to write UTXO based CryptoConditions contracts for KMD chains - by jl777","tagName":"a","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"To use the contracts on the blockchain, the start command of the chain should contain the parameter -ac-cc .","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"-ac-cc","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"A brief overview of the -ac-cc parameter:","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"-ac-cc","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"A chain with -ac_cc=N with N 0, will have CC active","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"If N is 1, then it just enables CC","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"if N is >= 2 and <= 100 , it allows for non-fungible cross chain contracts within all the chains with the same N value","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":">= 2","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"<= 100","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"if N >= 101, then it forms a cluster of all the chains with the same N value where the base tokens in all the chains in that cluster are fungible via the burn protocol","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"using-the-contracts-on-a-komodo-based-blockchain"},{"text":"To test the contracts","tagName":"h2","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"\n Compile Komodo \n","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Compile Komodo","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Compile Komodo","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"\n Navigate to src directory, start the test chain with your pubkey and issue the SmartContract RPC commands. All the instructions to get you started are below. For a more elaborate explanation on creating a new blockchain using Komodo see: Creating Komodo Smart Chains \n","tagName":"li","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Navigate to src directory, start the test chain with your pubkey and issue the SmartContract RPC commands. All the instructions to get you started are below. For a more elaborate explanation on creating a new blockchain using Komodo see: Creating Komodo Smart Chains","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"src","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Creating Komodo Smart Chains","tagName":"a","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Navigate to src directory, start the test chain with your pubkey and issue the SmartContract RPC commands. All the instructions to get you started are below. For a more elaborate explanation on creating a new blockchain using Komodo see: Creating Komodo Smart Chains","tagName":"p","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"src","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"pubkey","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Creating Komodo Smart Chains","tagName":"a","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"#Install dependencies\n\ncd ~\nsudo apt-get update\nsudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate nano software-properties-common curl libcurl4-gnutls-dev cmake clang\n","tagName":"pre","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"#Install dependencies\n\ncd ~\nsudo apt-get update\nsudo apt-get upgrade -y\nsudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libgtest-dev libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate nano software-properties-common curl libcurl4-gnutls-dev cmake clang\n","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"to-test-the-contracts"},{"text":"Build Komodo","tagName":"h2","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"build-komodo"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout jl777\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j\\$(nproc)\n","tagName":"pre","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"build-komodo"},{"text":"cd ~\ngit clone https://github.com/jl777/komodo\ncd komodo\ngit checkout jl777\n./zcutil/fetch-params.sh\n./zcutil/build.sh -j\\$(nproc)\n","tagName":"code","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"build-komodo"},{"text":"Start the Test Chain","tagName":"h2","path":"antara/tutorials/test-use-write-integrate-antara","closestElementReference":"start-the-test-chain"},{"text":"cd ~/komodo/src\n./komodod -ac_cc=1 -ac_name= \n","tagName":"pre","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":" \n","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"About as simple of a payment script that you can get. Basically the pubkey's signature is checked and if it is valid, you get to spend it. One problem satoshi realized was that with Quantum Computers such payment scripts are vulnerable! So, he made a way to have a cold address, ie. an address whose pubkey isnt known. At least it isnt known until it is spent, so it is only Quantum resistant prior to the first spend. This line of reasoning is why we have one time use addresses and a new change address for each transaction. Maybe in some ways, this is too forward thinking as it makes things a lot more confusing to use and easier to lose track of all the required private keys.","tagName":"p","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"However, it is here to stay and its script is:","tagName":"p","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":" \n","tagName":"pre","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":" \n","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"With this, the blockchain has what maps to \"pay to address\", just that the address is actually a base58 encoded (prefix + pubkeyhash). Hey, if it wasnt complicated, it would be easy!","tagName":"p","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"In order to spend a p2pkh (pay to pubkey hash) utxo, you need to divulge the pubkey in addition to having a valid signature. After the first spend from an address, its security is degraded to p2pk (pay to pubkey) as its pubkey is now known. The net result is that each reused address takes 25 extra bytes on the blockchain, and that is why for addresses that are expected to be reused, I just use the p2pk script.","tagName":"p","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2pkh","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2pk","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"Originally, bitcoin allowed any type of script opcodes to be used directly. The problem was some of them caused problems and satoshi decided to disable them and only allow standard forms of payments. Thus the p2pk and p2pkh became 99%+ of bitcoin transactions. However, going from having a fully scriptable language that can create countless payment scripts (and bugs!), to having just 2 . . . well it was a \"short term\" limitation. It did last for some years but eventually a compromise p2sh script was allowed to be standard. This is a pay to script hash, so it can have a standard format as the normal p2pkh , but have infinitely more flexibility.","tagName":"p","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2pk","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2pkh","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2sh","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"p2pkh","tagName":"code","path":"historical/cc-jl/chapter01","closestElementReference":"chapter-01-op-checkcryptocondition"},{"text":"