Skip to content

Commit

Permalink
chore: update stacks.co -> hiro.so endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
diwakergupta committed Dec 15, 2023
1 parent ee95699 commit cbd1b1c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/cli/src/argparse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ const LOG_CONFIG_DEFAULTS: CLI_LOG_CONFIG_TYPE = {
};

const CONFIG_DEFAULTS: CLI_CONFIG_TYPE = {
blockstackAPIUrl: 'https://stacks-node-api.stacks.co',
blockstackNodeUrl: 'https://stacks-node-api.stacks.co',
broadcastServiceUrl: 'https://stacks-node-api.stacks.co/v2/transactions',
blockstackAPIUrl: 'https://api.hiro.so',
blockstackNodeUrl: 'https://api.hiro.so',
broadcastServiceUrl: 'https://api.hiro.so/v2/transactions',
utxoServiceUrl: 'https://blockchain.info',
logConfig: LOG_CONFIG_DEFAULTS,
};
Expand All @@ -97,9 +97,9 @@ const CONFIG_LOCALNET_DEFAULTS = {
};

const CONFIG_TESTNET_DEFAULTS = {
blockstackAPIUrl: `https://stacks-node-api.testnet.stacks.co`,
blockstackNodeUrl: `https://stacks-node-api.testnet.stacks.co`,
broadcastServiceUrl: `https://stacks-node-api.testnet.stacks.co/v2/transactions`,
blockstackAPIUrl: `https://api.testnet.hiro.so`,
blockstackNodeUrl: `https://api.testnet.hiro.so`,
broadcastServiceUrl: `https://api.testnet.hiro.so/v2/transactions`,
utxoServiceUrl: `https://blockchain.info`, // todo: this likely doesn't work anymore
logConfig: Object.assign({}, LOG_CONFIG_DEFAULTS, { level: 'debug' }),
};
Expand Down Expand Up @@ -2116,9 +2116,9 @@ export const CLI_ARGS = {
' "blockHeight": 567890,\n' +
' "confirmations": 7,\n' +
' }\n' +
' $ stx -H https://stacks-node-api.stacks.co zonefile_push "$ZONEFILE_PATH"\n' +
' $ stx -H https://api.hiro.so zonefile_push "$ZONEFILE_PATH"\n' +
' [\n' +
' "https://stacks-node-api.stacks.co"\n' +
' "https://api.hiro.so"\n' +
' ]\n' +
'```\n' +
'\n',
Expand Down Expand Up @@ -2787,9 +2787,9 @@ export const CLI_ARGS = {
' }\n' +
' \n' +
' $ # send out the new zone file to a Blockstack peer\n' +
' $ stx -H https://stacks-node-api.stacks.co zonefile_push /tmp/zonefile.txt\n' +
' $ stx -H https://api.hiro.so zonefile_push /tmp/zonefile.txt\n' +
' [\n' +
' "https://stacks-node-api.stacks.co"\n' +
' "https://api.hiro.so"\n' +
' ]\n' +
'```\n' +
'\n',
Expand Down Expand Up @@ -2852,9 +2852,9 @@ export const CLI_ARGS = {
'Example:\n' +
'\n' +
'```\n' +
' $ stx -H https://stacks-node-api.stacks.co zonefile_push /path/to/zonefile.txt\n' +
' $ stx -H https://api.hiro.so zonefile_push /path/to/zonefile.txt\n' +
' [\n' +
' "https://stacks-node-api.stacks.co"\n' +
' "https://api.hiro.so"\n' +
' ]\n' +
'```\n' +
'\n',
Expand Down

0 comments on commit cbd1b1c

Please sign in to comment.