Skip to content

Commit

Permalink
feat: add mocknet network config
Browse files Browse the repository at this point in the history
  • Loading branch information
yknl committed Oct 16, 2020
1 parent 9da9ac4 commit fca6bb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/network/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ export class StacksTestnet extends StacksMainnet implements StacksNetwork {
chainId = ChainID.Testnet;
coreApiUrl = 'http://testnet-master.blockstack.org:20443';
}

export class StacksMocknet extends StacksMainnet implements StacksNetwork {
version = TransactionVersion.Testnet;
chainId = ChainID.Testnet;
coreApiUrl = 'http://localhost:3999';
}

0 comments on commit fca6bb5

Please sign in to comment.