diff --git a/src/pages/mining.md b/src/pages/mining.md index c67e36a7..ec31a081 100644 --- a/src/pages/mining.md +++ b/src/pages/mining.md @@ -52,15 +52,15 @@ Paste in the following configuration: [node] rpc_bind = "0.0.0.0:20443" p2p_bind = "0.0.0.0:20444" -bootstrap_node = "048dd4f26101715853533dee005f0915375854fd5be73405f679c1917a5d4d16aaaf3c4c0d7a9c132a36b8c5fe1287f07dad8c910174d789eb24bdfb5ae26f5f27@argon-master.blockstack.org:20444" +bootstrap_node = "048dd4f26101715853533dee005f0915375854fd5be73405f679c1917a5d4d16aaaf3c4c0d7a9c132a36b8c5fe1287f07dad8c910174d789eb24bdfb5ae26f5f27@krypton.blockstack.org:20444" # Enter your private key here! seed = "replace-with-your-private-key" miner = true [burnchain] chain = "bitcoin" -mode = "argon" -peer_host = "argon.blockstack.org" +mode = "krypton" +peer_host = "bitcoind.krypton.blockstack.org" rpc_port = 18443 peer_port = 18444 @@ -101,7 +101,7 @@ The above code will compile an optimized binary. To use it, run: ```bash cd ../.. -./target/release/stacks-node start --config=./testnet/conf/argon-follower-conf.toml +./target/release/stacks-node start --config=./testnet/conf/krypton-follower-conf.toml ``` ## Enable debug logging @@ -109,5 +109,5 @@ cd ../.. In case you are running into issues or would like to see verbose logging, you can run your node with debug logging enabled. In the command line, run: ```bash -BLOCKSTACK_DEBUG=1 stacks-node argon +BLOCKSTACK_DEBUG=1 stacks-node krypton ``` diff --git a/src/pages/stacks-blockchain/accounts.md b/src/pages/stacks-blockchain/accounts.md index 37624d30..3d76ce54 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-latest.argon.blockstack.xyz/v2/accounts/' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/address//balances' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/address//assets' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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 5d68fbc1..4bc35b52 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-latest.argon.blockstack.xyz', + basePath: 'https://stacks-node-api-latest.krypton.blockstack.xyz', }); const privateKey = makeRandomPrivKey(); diff --git a/src/pages/stacks-blockchain/network.md b/src/pages/stacks-blockchain/network.md index 16d58f76..ab9b5001 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-latest.argon.blockstack.xyz/v2/fees/transfer' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/info/network_block_times' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/v2/contracts/call-read///' \ +curl --location --request POST 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/v2/info' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/v2/info' ``` Sample response: diff --git a/src/pages/stacks-blockchain/running-testnet-node.md b/src/pages/stacks-blockchain/running-testnet-node.md index 079579e9..48a9f9b8 100644 --- a/src/pages/stacks-blockchain/running-testnet-node.md +++ b/src/pages/stacks-blockchain/running-testnet-node.md @@ -64,7 +64,7 @@ You're all set to run a node that connects to the testnet network. Back in the command line, run: ```bash -stacks-node argon +stacks-node krypton ``` The first time you run this, you'll see some logs indicating that the Rust code is being compiled. Once that's done, you should see some logs that look something like the this: diff --git a/src/pages/stacks-blockchain/sending-tokens.md b/src/pages/stacks-blockchain/sending-tokens.md index 0c7d60a8..73481a8b 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-latest.argon.blockstack.xyz', + basePath: 'https://stacks-node-api-latest.krypton.blockstack.xyz', }); const key = 'edf9aee84d9b7abc145504dde6726c64f369d37ee34ded868fabd876c26570bc01'; diff --git a/src/pages/stacks-blockchain/transactions.md b/src/pages/stacks-blockchain/transactions.md index 7b794954..b5d0e1ec 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-latest.argon.blockstack.xyz/v2/transactions' \ +curl --location --request POST 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/tx' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/tx/mempool' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/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-latest.argon.blockstack.xyz/extended/v1/tx/?type=contract_call' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/extended/v1/tx/?type=contract_call' ``` ### Get transaction by ID @@ -491,7 +491,7 @@ curl 'https://stacks-node-api-latest.argon.blockstack.xyz/extended/v1/tx/?type=c 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-latest.argon.blockstack.xyz/extended/v1/tx/' +curl 'https://stacks-node-api-latest.krypton.blockstack.xyz/extended/v1/tx/' ``` Sample response: