Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ts/go-account/create-go-account-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change this to env: 'production' when you are ready for production
env: 'test', // Change this to env: 'prod' when you are ready for production
});

// Go Accounts use the 'ofc' (Off-Chain) coin
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/create-go-account-advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change this to env: 'production' when you are ready for production
env: 'test', // Change this to env: 'prod' when you are ready for production
});

// Go Accounts use the 'ofc' (Off-Chain) coin
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/create-go-account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change this to env: 'production' when you are ready for production
env: 'test', // Change this to env: 'prod' when you are ready for production
});

// Go Accounts use the 'ofc' (Off-Chain) coin
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-approve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK with the APPROVING admin's access token
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

const baseCoin = 'ofc';
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-get-balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'staging', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-get-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// ---------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require('dotenv').config({ path: '../../../.env' });

const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

const baseCoin = 'ofc';
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-list-orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-list-products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'staging', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-place-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-whitelist-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

const baseCoin = 'ofc';
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/go-account-withdrawal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// Go Accounts use the 'ofc' (Off-Chain) coin family.
Expand Down
2 changes: 1 addition & 1 deletion examples/ts/go-account/sign-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require('dotenv').config({ path: '../../../.env' });
// Initialize BitGo SDK
const bitgo = new BitGoAPI({
accessToken: process.env.TESTNET_ACCESS_TOKEN,
env: 'test', // Change to 'production' for mainnet
env: 'test', // Change to 'prod' for mainnet
});

// Go Accounts use the 'ofc' (Off-Chain) coin
Expand Down