diff --git a/src/pages/mining.md b/src/pages/mining.md index ec31a081..37d96f44 100644 --- a/src/pages/mining.md +++ b/src/pages/mining.md @@ -52,7 +52,7 @@ Paste in the following configuration: [node] rpc_bind = "0.0.0.0:20443" p2p_bind = "0.0.0.0:20444" -bootstrap_node = "048dd4f26101715853533dee005f0915375854fd5be73405f679c1917a5d4d16aaaf3c4c0d7a9c132a36b8c5fe1287f07dad8c910174d789eb24bdfb5ae26f5f27@krypton.blockstack.org:20444" +bootstrap_node = "048dd4f26101715853533dee005f0915375854fd5be73405f679c1917a5d4d16aaaf3c4c0d7a9c132a36b8c5fe1287f07dad8c910174d789eb24bdfb5ae26f5f27@testnet-miner.blockstack.org:20444" # Enter your private key here! seed = "replace-with-your-private-key" miner = true @@ -60,7 +60,7 @@ miner = true [burnchain] chain = "bitcoin" mode = "krypton" -peer_host = "bitcoind.krypton.blockstack.org" +peer_host = "bitcoind.blockstack.org" rpc_port = 18443 peer_port = 18444 diff --git a/src/pages/stacks-blockchain/accounts.md b/src/pages/stacks-blockchain/accounts.md index a957e8f2..13696f43 100644 --- a/src/pages/stacks-blockchain/accounts.md +++ b/src/pages/stacks-blockchain/accounts.md @@ -91,7 +91,7 @@ const stacksAddress = getAddressFromPrivateKey( STX balance and nonce can be obtained through the [`GET /v2/accounts/`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_info) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/v2/accounts/' +curl 'https://stacks-node-api.blockstack.org/v2/accounts/' ``` Sample response: @@ -110,7 +110,7 @@ Sample response: All token balances can be obtained through the [`GET /extended/v1/address//balances`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_balance) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/address//balances' +curl 'https://stacks-node-api.blockstack.org/extended/v1/address//balances' ``` Sample response: @@ -134,7 +134,7 @@ Sample response: All asset events associated with the account can be obtained through the [`GET /extended/v1/address//assets`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_balance) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/address//assets' +curl 'https://stacks-node-api.blockstack.org/extended/v1/address//assets' ``` Sample response: diff --git a/src/pages/stacks-blockchain/managing-accounts.md b/src/pages/stacks-blockchain/managing-accounts.md index 51ab655e..eaaf82ab 100644 --- a/src/pages/stacks-blockchain/managing-accounts.md +++ b/src/pages/stacks-blockchain/managing-accounts.md @@ -56,7 +56,7 @@ const { AccountsApi, FaucetsApi, Configuration } = require('@stacks/blockchain-a const apiConfig = new Configuration({ fetchApi: fetch, - basePath: 'https://stacks-node-api.krypton.blockstack.xyz', + basePath: 'https://stacks-node-api.blockstack.org', }); const privateKey = makeRandomPrivKey(); diff --git a/src/pages/stacks-blockchain/network.md b/src/pages/stacks-blockchain/network.md index eb740cd5..5926adf2 100644 --- a/src/pages/stacks-blockchain/network.md +++ b/src/pages/stacks-blockchain/network.md @@ -16,7 +16,7 @@ Fees are used to incentivize miners to confirm transactions on the Stacks 2.0 bl Fee estimates can obtained through the [`GET /v2/fees/transfer`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_fee_transfer) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/v2/fees/transfer' +curl 'https://stacks-node-api.blockstack.org/v2/fees/transfer' ``` The API will respond with the fee rate (as integer): @@ -52,7 +52,7 @@ The time to mine a block, to confirm transactions, will eventually match the exp The block time is hardcoded and will change throughout the implementation phases of the [testnet](/stacks-blockchain/testnet). The current block time can be obtained through the [`GET /extended/v1/info/network_block_times`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_network_block_times) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/info/network_block_times' +curl 'https://stacks-node-api.blockstack.org/extended/v1/info/network_block_times' ``` The API will respond with the block time (in seconds): @@ -79,7 +79,7 @@ However, for read-only function calls, transactions are **not** required. Instea A read-only contract call can be done using the [`POST /v2/contracts/call-read///`](https://blockstack.github.io/stacks-blockchain-api/#operation/call_read_only_function) endpoint: ```bash -curl --location --request POST 'https://stacks-node-api.krypton.blockstack.xyz/v2/contracts/call-read///' \ +curl --location --request POST 'https://stacks-node-api.blockstack.org/v2/contracts/call-read///' \ --header 'Content-Type: application/json' \ --data-raw '{ "sender": ".", @@ -155,7 +155,7 @@ The easiest way of identifying the health is by looking at the `blockRateStatus` The network information can be obtained using the [`GET /v2/info`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_core_api_info) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/v2/info' +curl 'https://stacks-node-api.blockstack.org/v2/info' ``` Sample response: diff --git a/src/pages/stacks-blockchain/sending-tokens.md b/src/pages/stacks-blockchain/sending-tokens.md index f23e1f6f..9dd90924 100644 --- a/src/pages/stacks-blockchain/sending-tokens.md +++ b/src/pages/stacks-blockchain/sending-tokens.md @@ -65,7 +65,7 @@ const { TransactionsApi, Configuration } = require('@stacks/blockchain-api-clien const apiConfig = new Configuration({ fetchApi: fetch, - basePath: 'https://stacks-node-api.krypton.blockstack.xyz', + basePath: 'https://stacks-node-api.blockstack.org', }); const key = 'edf9aee84d9b7abc145504dde6726c64f369d37ee34ded868fabd876c26570bc01'; diff --git a/src/pages/stacks-blockchain/transactions.md b/src/pages/stacks-blockchain/transactions.md index 9380fde3..cdb72fe4 100644 --- a/src/pages/stacks-blockchain/transactions.md +++ b/src/pages/stacks-blockchain/transactions.md @@ -381,7 +381,7 @@ A sponsored transaction is one where a second signer sets and pays the transacti With a serialized transaction in the [raw format](#raw-format), it can be broadcasted to the network using the [`POST /v2/transactions`](https://blockstack.github.io/stacks-blockchain-api/#operation/post_core_node_transactions) endpoint: ```bash -curl --location --request POST 'https://stacks-node-api.krypton.blockstack.xyz/v2/transactions' \ +curl --location --request POST 'https://stacks-node-api.blockstack.org/v2/transactions' \ --header 'Content-Type: text/plain' \ --data-raw '' ``` @@ -408,7 +408,7 @@ For convenience, a Postman Collection was created and published: [![Run in Postm Recent transactions can be obtained through the [`GET /extended/v1/tx`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_transaction_list) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/tx' +curl 'https://stacks-node-api.blockstack.org/extended/v1/tx' ``` Sample response: @@ -445,7 +445,7 @@ Sample response: Mempool (registered, but not processed) transactions can be obtained using the [`GET /extended/v1/tx/mempool`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_mempool_transaction_list) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/tx/mempool' +curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/mempool' ``` Sample response: @@ -483,7 +483,7 @@ Sample response: Recent transactions can be filtered by [transaction type](/stacks-blockchain/transactions#types) using the `type` query parameter: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/tx/?type=contract_call' +curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/?type=contract_call' ``` ### Get transaction by ID @@ -491,7 +491,7 @@ curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/tx/?type=contra A specific transaction can be obtained using the [`GET /extended/v1/tx/`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_transaction_by_id) endpoint: ```bash -curl 'https://stacks-node-api.krypton.blockstack.xyz/extended/v1/tx/' +curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/' ``` Sample response: