Skip to content

Commit

Permalink
feat: update to mainnet urls
Browse files Browse the repository at this point in the history
  • Loading branch information
yknl committed Jan 14, 2021
1 parent 1fc9262 commit 52c453a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/network/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface StacksNetwork {
export class StacksMainnet implements StacksNetwork {
version = TransactionVersion.Mainnet;
chainId = ChainID.Mainnet;
coreApiUrl = 'https://core.blockstack.org';
coreApiUrl = 'https://stacks-node-api.mainnet.stacks.co';
broadcastEndpoint = '/v2/transactions';
transferFeeEstimateEndpoint = '/v2/fees/transfer';
accountEndpoint = '/v2/accounts';
Expand Down Expand Up @@ -97,7 +97,7 @@ export class StacksMainnet implements StacksNetwork {
export class StacksTestnet extends StacksMainnet implements StacksNetwork {
version = TransactionVersion.Testnet;
chainId = ChainID.Testnet;
coreApiUrl = 'https://stacks-node-api.blockstack.org';
coreApiUrl = 'https://stacks-node-api.testnet.stacks.co';
}

export class StacksMocknet extends StacksMainnet implements StacksNetwork {
Expand Down

0 comments on commit 52c453a

Please sign in to comment.