diff --git a/sdk/src/account.ts b/sdk/src/account.ts index 33752d1c0..961734e45 100644 --- a/sdk/src/account.ts +++ b/sdk/src/account.ts @@ -149,7 +149,7 @@ export class Account { * * @example * // Create a connection to the Aleo network and an account - * const connection = new NodeConnection("vm.provable.com/api"); + * const connection = new AleoNetworkClient("https://api.explorer.provable.com/v1"); * const account = Account.fromCiphertext("ciphertext", "password"); * * // Get a record from the network diff --git a/sdk/tests/record-provider.test.ts b/sdk/tests/record-provider.test.ts index 1c4abe49b..ad02555e3 100644 --- a/sdk/tests/record-provider.test.ts +++ b/sdk/tests/record-provider.test.ts @@ -10,7 +10,7 @@ describe.skip('RecordProvider', () => { beforeEach(() => { account = new Account({privateKey: beaconPrivateKeyString}); - networkClient = new AleoNetworkClient("http://vm.provable.com/api"); + networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1"); recordProvider = new NetworkRecordProvider(account, networkClient); });