Browse Source

chore: update mainnet urls

feat/new-clarity-onboarding
Alexander Graebe 4 years ago
committed by Alexander Graebe
parent
commit
590b70bb5b
  1. 4
      src/pages/build-apps/tutorials/public-registry.md
  2. 9
      src/pages/understand-stacks/accounts.md
  3. 2
      src/pages/understand-stacks/command-line-interface.md
  4. 6
      src/pages/understand-stacks/integrate-stacking.md
  5. 5
      src/pages/understand-stacks/managing-accounts.md
  6. 60
      src/pages/understand-stacks/network.md
  7. 2
      src/pages/understand-stacks/overview.md
  8. 5
      src/pages/understand-stacks/sending-tokens.md
  9. 2
      src/pages/understand-stacks/stacking-using-CLI.md
  10. 14
      src/pages/understand-stacks/stacks-blockchain-api.md
  11. 27
      src/pages/understand-stacks/transactions.md
  12. 2
      src/pages/write-smart-contracts/counter-tutorial.md
  13. 6
      src/pages/write-smart-contracts/hello-world-tutorial.md
  14. 2
      src/pages/write-smart-contracts/values.md

4
src/pages/build-apps/tutorials/public-registry.md

@ -32,12 +32,12 @@ By the end of this tutorial, you will have:
### Check testnet status
To make sure you're not running into any challenges related to testnet status, please open up the [Status Checker](http://status.test-blockstack.com/)
To make sure you're not running into any challenges related to our network, please open up the [Status Checker](https://stacks-status.com/)
and confirm that all systems are operational. If some systems seem to have issues, it is best to wait until they are back up before you proceed with the next steps.
Furthermore, the todos app will interact with a smart contract deployed as `ST1234....todo-registry`. The contract source code is available at [GitHub](https://github.com/friedger/blockstack-todos/blob/tut/step1/contracts/todo-registry.clar).
There may already be a deployed version available on the testnet; the [testnet explorer](https://testnet-explorer.blockstack.org/) can be used to search for it.
There may already be a deployed version available on the testnet; the [Stacks Explorer](https://explorer.stacks.co/) can be used to search for it.
Alternatively, the contract can be deployed as described in the [hello world tutorial](/smart-contracts/hello-world-tutorial#step-5-deploy-the-contract). Then you have to use the corresponding contract address and name in this tutorial. Throughout this tutorial, we use `ST3YPJ6BBCZCMH71TV8BK50YC6QJTWEGCNDFWEQ15.todo-registry` as an example.

9
src/pages/understand-stacks/accounts.md

@ -127,7 +127,8 @@ Full documentation available at [stacks-gen](https://github.com/psq/stacks-gen).
STX balance and nonce can be obtained through the [`GET /v2/accounts/<stx_address>`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_info) endpoint:
```bash
curl 'https://stacks-node-api.blockstack.org/v2/accounts/<stx_address>'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/v2/accounts/<stx_address>'
```
Sample response:
@ -146,7 +147,8 @@ Sample response:
All token balances can be obtained through the [`GET /extended/v1/address/<stx_address>/balances`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_balance) endpoint:
```bash
curl 'https://stacks-node-api.blockstack.org/extended/v1/address/<stx_address>/balances'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/address/<stx_address>/balances'
```
Sample response:
@ -170,7 +172,8 @@ Sample response:
All asset events associated with the account can be obtained through the [`GET /extended/v1/address/<stx_address>/assets`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_account_balance) endpoint:
```bash
curl 'https://stacks-node-api.blockstack.org/extended/v1/address/<stx_address>/assets'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/address/<stx_address>/assets'
```
Sample response:

2
src/pages/understand-stacks/command-line-interface.md

@ -110,7 +110,7 @@ stx send_tokens ST2KMMVJAB00W5Z6XWTFPH6B13JE9RJ2DCSHYX0S7 1000 200 0 381314da39a
```json
{
"txid": "0xd32de0d66b4a07e0d7eeca320c37a10111c8c703315e79e17df76de6950c622c",
"transaction": "https://testnet-explorer.blockstack.org/txid/0xd32de0d66b4a07e0d7eeca320c37a10111c8c703315e79e17df76de6950c622c"
"transaction": "https://explorer.stacks.co/txid/0xd32de0d66b4a07e0d7eeca320c37a10111c8c703315e79e17df76de6950c622c"
}
```

6
src/pages/understand-stacks/integrate-stacking.md

@ -66,7 +66,7 @@ import {
import { StackingClient } from '@stacks/stacking';
import { StacksTestnet } from '@stacks/network';
import { StacksTestnet, StacksMainnet } from '@stacks/network';
import BN from 'bn.js';
@ -74,9 +74,11 @@ import BN from 'bn.js';
const privateKey = privateKeyToString(makeRandomPrivKey());
// get Stacks address
// for mainnet, remove the TransactionVersion
const stxAddress = getAddressFromPrivateKey(privateKey, TransactionVersion.Testnet);
// instantiate the Stacker class for testnet
// for mainnet, use `new StacksMainnet()`
const client = new StackingClient(stxAddress, new StacksTestnet());
```
@ -157,7 +159,7 @@ const hasMinStxAmount = await client.hasMinimumStx();
For testing purposes, you can use the faucet to obtain testnet STX tokens. Replace `<stxAddress>` below with your address:
```shell
curl -XPOST "https://stacks-node-api.blockstack.org/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
curl -XPOST "https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
```
You'll have to wait a few minutes for the transaction to complete.

5
src/pages/understand-stacks/managing-accounts.md

@ -56,7 +56,8 @@ const { AccountsApi, FaucetsApi, Configuration } = require('@stacks/blockchain-a
const apiConfig = new Configuration({
fetchApi: fetch,
basePath: 'https://stacks-node-api.blockstack.org',
// for mainnet, replace `testnet` with `mainnet`
basePath: 'https://stacks-node-api.testnet.stacks.co',
});
const privateKey = makeRandomPrivKey();
@ -135,7 +136,7 @@ The API will respond with a new transaction ID and confirmation that the faucet
}
```
-> Note: Wait a few minutes for the transaction to complete. You can review the status using the Explorer, by navigating to the following URL: `https://testnet-explorer.blockstack.org/txid/<txid>`.
-> Note: Wait a few minutes for the transaction to complete. You can review the status using the Explorer, by navigating to the following URL: `https://explorer.stacks.co/txid/<txid>`.
Assuming the faucet transaction was successfully processed, you can review the account history. We are expecting at least one transactions to show up in the account history.

60
src/pages/understand-stacks/network.md

@ -20,7 +20,8 @@ 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.blockstack.org/v2/fees/transfer'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/v2/fees/transfer'
```
The API will respond with the fee rate (as integer):
@ -56,7 +57,8 @@ 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](/understand-stacks/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.blockstack.org/extended/v1/info/network_block_times'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/info/network_block_times'
```
The API will respond with the block time (in seconds):
@ -83,7 +85,8 @@ 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/<stx_address>/<contract_name>/<function_name>`](https://blockstack.github.io/stacks-blockchain-api/#operation/call_read_only_function) endpoint:
```bash
curl --location --request POST 'https://stacks-node-api.blockstack.org/v2/contracts/call-read/<stx_address>/<contract_name>/<function_name>' \
# for mainnet, replace `testnet` with `mainnet`
curl --location --request POST 'https://stacks-node-api.testnet.stacks.co/v2/contracts/call-read/<stx_address>/<contract_name>/<function_name>' \
--header 'Content-Type: application/json' \
--data-raw '{
"sender": "<stx_address>.<contract_name>",
@ -104,62 +107,19 @@ Sample response for a successful call:
## Querying
Stacks 2.0 network details can be queried using the [Stacks Blockchain API](/understand-stacks/stacks-blockchain-api) and the [status checker](http://status.test-blockstack.com/).
Stacks 2.0 network details can be queried using the [Stacks Blockchain API](/understand-stacks/stacks-blockchain-api).
### Health check
The [status checker](http://status.test-blockstack.com/) is a service that provides a user interface to quickly review the health of the Stacks 2.0 blockchain (including uptime and block rate).
The status checker can also be queried programmatically:
```bash
curl 'http://status.test-blockstack.com/json'
```
Sample response:
```js
{
"masterNodePings":[{"timestamp":1599861000,"value":1}, ...],
"sidecarPings":[{"timestamp":1599861000,"value":1}, ...],
"calculatingBlockRate":false,
"averageBlockRate":18.38961038961039,
"blockRateDuration":6.416666666666667,
"blockRateUnits":"blocks/hr",
"blockRateStatus":0,
"showLastHourAverage":true,
"lastHourAverageBlockRate":16.8,
"lastHourBlockRateStatus":0,
"lastStacksChainTipHeight":"916",
"lastStacksChainTipHeightTime":"1599861000",
"lastBurnBlockHeight":"1946",
"blockProgressStatus":0,
"lastChainReset":"1599663900",
"exitAtBlock":"5340",
"estimatedTimeUntilReset":"4d 17h 8m",
"seededFaucetTx":{"txid":"22415022359fcd419873e1d451fefd5be74f368f2857626a996efe0127680979","broadcasted":"1599858480","status":"success"},"
seededTokenTransferTx":{"txid":"2250569c4d26d1da163ad1b940a27cde9db73d1b523f3fb50b13b7068f85903e","broadcasted":"1599858960","status":"success"},
"seededContractDeployTx":{"txid":"65d85019231035bf3c549a8cb71ad46c3ac231bfb7269eee3bfff2dd9a60a606","broadcasted":"1599859680","status":"success"},"
seededContractCallTx":{"txid":"e9d3e85b850c2d7ab3dc60fa48021e60a70e076519906a0c9e82ee52aab63e4c","broadcasted":"1599860160","status":"success"},
"reseedAbortError":null,
"reseedingStep":"0"
}
```
The easiest way of identifying the health is by looking at the `blockRateStatus` property:
| **Block Rate Value** | **Status** |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `0` | Online. All checks are successful |
| `1` | Slow. The network produces new blocks at slower rate as expected. Transaction confirmation times will likely take longer than the [set block time](/understand-stacks/network#confirmations) |
| `2` | Degraded. The network seems not to be fully operational |
The [status checker](https://stacks-status.com/) is a service that provides a user interface to quickly review the health of the Stacks 2.0 blockchain.
### Network info
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.blockstack.org/v2/info'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/v2/info'
```
Sample response:

2
src/pages/understand-stacks/overview.md

@ -103,7 +103,7 @@ Ready to get started with Stacks? Try one of our existing tutorials:
Developing on the Stacks blockchain is much simpler with the our tooling.
- **Network health checker**: Check the status of the network with the [status checker](/understand-stacks/network#health-check)
- **Explorer**: View accounts, blocks, transactions, and smart contracts broadcasted to the Stacks blockchain using the [Stacks 2.0 Explorer](https://testnet-explorer.blockstack.org/)
- **Explorer**: View accounts, blocks, transactions, and smart contracts broadcasted to the Stacks blockchain using the [Stacks Explorer](https://explorer.stacks.co/)
- **API**: Read and interact with the blockchain and with smart contract using the [Stacks 2.0 Blockchain API](/understand-stacks/stacks-blockchain-api)
- **CLI**: Use the [Stacks CLI](/understand-stacks/command-line-interface) inside your terminal
- **Libraries**: Use the [Stacks Javascript libraries](https://blockstack.github.io/stacks.js/) to integrate with the Stacks blockchain

5
src/pages/understand-stacks/sending-tokens.md

@ -62,12 +62,14 @@ const {
} = require('@stacks/transactions');
const {
StacksTestnet,
StacksMainnet,
} = require ('@stacks/network);
const { TransactionsApi, Configuration } = require('@stacks/blockchain-api-client');
const apiConfig = new Configuration({
fetchApi: fetch,
basePath: 'https://stacks-node-api.blockstack.org',
// for mainnet, replace `testnet` with `mainnet`
basePath: 'https://stacks-node-api.testnet.stacks.co',
});
const key = 'edf9aee84d9b7abc145504dde6726c64f369d37ee34ded868fabd876c26570bc01';
@ -93,6 +95,7 @@ const fee = new BN(2000);
const nonce = new BN(0);
// override default setting to broadcast to the Testnet network
// for mainnet, use `StacksMainnet()`
const network = new StacksTestnet();
const memo = 'hello world';

2
src/pages/understand-stacks/stacking-using-CLI.md

@ -119,7 +119,7 @@ stx stack 90000000000000 10 mqkccNX5h7Xy1YUku3X2fCFCC54x6HEiHk dca82f838f6e5a893
{
txid: '0x2e33ad647a9cedacb718ce247967dc705bc0c878db899fdba5eae2437c6fa1e1',
transaction: 'https://testnet-explorer.blockstack.org/txid/0x2e33ad647a9cedacb718ce247967dc705bc0c878db899fdba5eae2437c6fa1e1'
transaction: 'https://explorer.stacks.co/txid/0x2e33ad647a9cedacb718ce247967dc705bc0c878db899fdba5eae2437c6fa1e1'
}
```

14
src/pages/understand-stacks/stacks-blockchain-api.md

@ -14,7 +14,8 @@ The Stacks 2.0 Blockchain API allows you to query the Stacks 2.0 blockchain and
The RESTful JSON API can be used without any authorization. The basepath for the API is:
```bash
https://stacks-node-api.blockstack.org/
# for mainnet, replace `testnet` with `mainnet`
https://stacks-node-api.testnet.stacks.co/
```
-> Check out the [API references](https://blockstack.github.io/stacks-blockchain-api/) for more details
@ -69,7 +70,8 @@ import { Configuration AccountsApi } from '@stacks/blockchain-api-client';
(async () => {
const apiConfig = new Configuration({
fetchApi: fetch,
basePath: 'https://stacks-node-api.blockstack.org', // defaults to http://localhost:3999
// for mainnet, replace `testnet` with `mainnet`
basePath: 'https://stacks-node-api.testnet.stacks.co', // defaults to http://localhost:3999
});
// initiate the /accounts API with the basepath and fetch library
@ -102,7 +104,8 @@ import {
(async () => {
const apiConfig: Configuration = new Configuration({
fetchApi: fetch,
basePath: 'https://stacks-node-api.blockstack.org', // defaults to http://localhost:3999
// for mainnet, replace `testnet` with `mainnet`
basePath: 'https://stacks-node-api.testnet.stacks.co', // defaults to http://localhost:3999
});
const principal: string = 'ST000000000000000000002AMW42H';
@ -225,14 +228,15 @@ import { uintCV, UIntCV, cvToHex, hexToCV, ClarityType } from '@stacks/transacti
(async () => {
const apiConfig: Configuration = new Configuration({
fetchApi: fetch,
basePath: 'https://stacks-node-api.blockstack.org', // defaults to http://localhost:3999
// for mainnet, replace `testnet` with `mainnet`
basePath: 'https://stacks-node-api.testnet.stacks.co', // defaults to http://localhost:3999
});
const contractsApi: SmartContractsApiInterface = new SmartContractsApi(apiConfig);
const principal: string = 'ST000000000000000000002AMW42H';
// use most recent from: https://stacks-node-api.blockstack.org/v2/pox
// use most recent from: https://stacks-node-api.<mainnet/testnet>.stacks.co/v2/pox
const rewardCycle: UIntCV = uintCV(22);
// call a read-only function

27
src/pages/understand-stacks/transactions.md

@ -111,7 +111,7 @@ When constructing transactions, it is required to set the network the transactio
```js
import { makeSTXTokenTransfer } from '@stacks/transactions';
import { StacksTestnet } from '@stacks/network';
import { StacksTestnet, StacksMainnet } from '@stacks/network';
const BigNum = require('bn.js');
@ -119,7 +119,7 @@ const txOptions = {
recipient: 'SP3FGQ8Z7JY9BWYZ5WM53E0M9NK7WHJF0691NZ159',
amount: new BigNum(12345),
senderKey: 'b244296d5907de9864c0b0d51f98a13c52890be0404e83f273144cd5b9960eed01',
network: new StacksTestnet(),
network: new StacksTestnet(), // for mainnet, use `StacksMainnet()`
memo: 'test memo',
nonce: new BigNum(0), // set a nonce manually if you don't want builder to fetch from a Stacks node
fee: new BigNum(200), // set a tx fee if you don't want the builder to estimate
@ -134,14 +134,14 @@ const transaction = await makeSTXTokenTransfer(txOptions);
```js
import { makeContractDeploy } from '@stacks/transactions';
import { StacksTestnet } from '@stacks/network';
import { StacksTestnet, StacksMainnet } from '@stacks/network';
const BigNum = require('bn.js');
const txOptions = {
contractName: 'contract_name',
codeBody: fs.readFileSync('/path/to/contract.clar').toString(),
senderKey: 'b244296d5907de9864c0b0d51f98a13c52890be0404e83f273144cd5b9960eed01',
network: new StacksTestnet(),
network: new StacksTestnet(), // for mainnet, use `StacksMainnet()`
};
const transaction = await makeContractDeploy(txOptions);
@ -151,7 +151,7 @@ const transaction = await makeContractDeploy(txOptions);
```js
import { makeContractCall, BufferCV } from '@stacks/transactions';
import { StacksTestnet } from '@stacks/network';
import { StacksTestnet, StacksMainnet } from '@stacks/network';
const BigNum = require('bn.js');
@ -163,7 +163,7 @@ const txOptions = {
senderKey: 'b244296d5907de9864c0b0d51f98a13c52890be0404e83f273144cd5b9960eed01',
// attempt to fetch this contracts interface and validate the provided functionArgs
validateWithAbi: true,
network: new StacksTestnet(),
network: new StacksTestnet(), // for mainnet, use `StacksMainnet()`
};
const transaction = await makeContractCall(txOptions);
@ -390,7 +390,8 @@ 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.blockstack.org/v2/transactions' \
# for mainnet, replace `testnet` with `mainnet`
curl --location --request POST 'https://stacks-node-api.testnet.stacks.co/v2/transactions' \
--header 'Content-Type: text/plain' \
--data-raw '<tx_raw_format>'
```
@ -417,7 +418,8 @@ 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.blockstack.org/extended/v1/tx'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/tx'
```
Sample response:
@ -454,7 +456,8 @@ 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.blockstack.org/extended/v1/tx/mempool'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/tx/mempool'
```
Sample response:
@ -492,7 +495,8 @@ Sample response:
Recent transactions can be filtered by [transaction type](/understand-stacks/transactions#types) using the `type` query parameter:
```bash
curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/?type=contract_call'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/tx/?type=contract_call'
```
### Get transaction by ID
@ -500,7 +504,8 @@ curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/?type=contract_call'
A specific transaction can be obtained using the [`GET /extended/v1/tx/<tx_id>`](https://blockstack.github.io/stacks-blockchain-api/#operation/get_transaction_by_id) endpoint:
```bash
curl 'https://stacks-node-api.blockstack.org/extended/v1/tx/<tx_id>'
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/tx/<tx_id>'
```
Sample response:

2
src/pages/write-smart-contracts/counter-tutorial.md

@ -25,7 +25,7 @@ In this tutorial, you learn how to implement a smart contract that stores and ma
### Check the Stacks 2.0 status
The Stacks 2.0 blockchain is currently in development and could experience resets and downtimes. To make sure you're not
running into any challenges related to the status of the network, please open up the [Status Checker](http://status.test-blockstack.com/)
running into any challenges related to the status of the network, please open up the [Status Checker](https://stacks-status.com/)
and confirm that all systems are operational. If some systems seem to have issues, it is best to wait until they are back up before you proceed with the next steps.
## Step 1: Downloading counter starter project

6
src/pages/write-smart-contracts/hello-world-tutorial.md

@ -27,7 +27,7 @@ By the end of this tutorial, you:
### Check the Stacks 2.0 status
The Stacks 2.0 blockchain is currently in development and could experience resets and downtimes. To make sure you're not running into any challenges related to the status of the network, please open up the [Status Checker](http://status.test-blockstack.com/) and confirm that all systems are operational. If some systems seem to have issues, it's best to wait until they're back up before you proceed with the next steps.
The Stacks 2.0 blockchain is currently in development and could experience resets and downtimes. To make sure you're not running into any challenges related to the status of the network, please open up the [Status Checker](https://stacks-status.com/) and confirm that all systems are operational. If some systems seem to have issues, it's best to wait until they're back up before you proceed with the next steps.
## Step 1: open the playground
@ -129,7 +129,7 @@ The **STX faucet** is an API endpoint you can call to request testnet tokens for
```bash
# replace <stx_address> with `address` property from your keychain
curl -XPOST "https://stacks-node-api.blockstack.org/extended/v1/faucets/stx?address=<stx_address>" | json_pp
curl -XPOST "https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=<stx_address>" | json_pp
```
The response includes a `txId` property. This is the transaction that transfers funds to your Stacks address.
@ -142,7 +142,7 @@ The response includes a `txId` property. This is the transaction that transfers
}
```
-> You can also review the transaction status and details using the [Explorer](https://testnet-explorer.blockstack.org/)
-> You can also review the transaction status and details using the [Stacks Explorer](https://explorer.stacks.co/)
You need to wait up to a minute for the transaction to complete. Type the following in your terminal to see the balance:

2
src/pages/write-smart-contracts/values.md

@ -238,7 +238,7 @@ const contractAddress = 'ST3KC0MTNW34S1ZXD36JYKFD3JJMWA01M55DSJ4JE';
const contractName = 'kv-store';
const functionName = 'get-value';
const buffer = bufferCVFromString('foo');
const network = new StacksTestnet();
const network = new StacksTestnet(); // for mainnet, use `StacksMainnet()`
const senderAddress = 'ST2F4BK4GZH6YFBNHYDDGN4T1RKBA7DA1BJZPJEJJ';
const options = {

Loading…
Cancel
Save