Skip to content

Commit

Permalink
Removed the indicator that the Bitcoin testnet canister is disabled. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
THLO authored Feb 24, 2025
1 parent 8b39502 commit 43d0d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ The Bitcoin Testnet API is currently disabled and the ckTestBTC minter canister

3. [Sign a transaction](sign-transactions.mdx): Next, the transaction must be signed with tECDSA using the `sign_with_ecdsa` API endpoint of the [management canister](/docs/current/developer-docs/smart-contracts/advanced-features/management-canister#signing-and-submitting-bitcoin-transactions). Transactions cannot be sent to the Bitcoin network until they are signed.

4. [Submit a transaction](submit-transactions.mdx): Once a transaction has been signed, it can be submitted to the Bitcoin network to be executed using the Bitcoin API's [`bitcoin_send_transaction`](/docs/current/references/ic-interface-spec#ic-bitcoin_send_transaction) endpoint, which must specify a `blob` of a Bitcoin transaction and a Bitcoin network (mainnet or testnet).
4. [Submit a transaction](submit-transactions.mdx): Once a transaction has been signed, it can be submitted to the Bitcoin network to be executed using the Bitcoin API's [`bitcoin_send_transaction`](https://github.com/dfinity/bitcoin-canister/blob/master/INTERFACE_SPECIFICATION.md#bitcoin_send_transaction) endpoint, which must specify a `blob` of a Bitcoin transaction and a Bitcoin network (mainnet or testnet).

5. [Read information from the Bitcoin network](read-state.mdx): Lastly, you can query and return information from the Bitcoin network, such as unspent transaction outputs (UTXOs) of a Bitcoin address, the balance of a Bitcoin address, and the percentiles of the fees for the last 10_000 transactions. The endpoints for each query can be found in the [Bitcoin API specification](/docs/current/references/ic-interface-spec#ic-bitcoin-api).
5. [Read information from the Bitcoin network](read-state.mdx): Lastly, you can query and return information from the Bitcoin network, such as unspent transaction outputs (UTXOs) of a Bitcoin address, the balance of a Bitcoin address, and the percentiles of the fees for the last 10_000 transactions. The endpoints for each query can be found in the [Bitcoin API specification](https://github.com/dfinity/bitcoin-canister/blob/master/INTERFACE_SPECIFICATION.md).

Each of these API endpoints can be executed programmatically within a smart contract that is deployed on ICP. View the documentation for each workflow step to see code examples for interacting with each API endpoint.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,9 @@ In this guide, you'll explore how you can develop and test a Bitcoin dapp
locally. Testing locally allows you to iterate and improve your dapp more quickly.

`dfx` includes support for both the [ECDSA API](/docs/current/references/ic-interface-spec#ic-ecdsa_public_key) and
the [Bitcoin API](/docs/current/references/ic-interface-spec#ic-bitcoin-api)
the [Bitcoin API](https://github.com/dfinity/bitcoin-canister/blob/master/INTERFACE_SPECIFICATION.md)
so that you can locally test out your dapp before deploying it to the Internet Computer.

:::danger

The Bitcoin Testnet API is currently disabled and the ckTestBTC minter canister has been stopped. This is temporary and they will be re-enabled in the future.

[Learn more](https://forum.dfinity.org/t/direct-integration-with-bitcoin/6147/745).

:::

## Setting up a local Bitcoin network

To develop Bitcoin dapps locally, you'll need to set up a local Bitcoin network on your machine.
Expand Down

0 comments on commit 43d0d92

Please sign in to comment.