Skip to content

Commit

Permalink
chore: update sdk to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Oct 20, 2024
1 parent 96838fa commit 30d782d
Show file tree
Hide file tree
Showing 6 changed files with 457 additions and 538 deletions.
6 changes: 1 addition & 5 deletions examples/node/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import TestContract from './Test.js';

const aeSdk = new AeSdk({
nodes: [{ name: 'testnet', instance: new Node('https://testnet.aeternity.io') }],
accounts: [
new MemoryAccount(
'9ebd7beda0c79af72a42ece3821a56eff16359b6df376cf049aee995565f022f840c974b97164776454ba119d84edc4d6058a8dec92b6edc578ab2d30b4c4200',
),
],
accounts: [new MemoryAccount('sk_2CuofqWZHrABCrM7GY95YSQn8PyFvKQadnvFnpwhjUnDCFAWmf')],
});

const contract = await TestContract.initialize(aeSdk.getContext());
Expand Down
6 changes: 1 addition & 5 deletions examples/vue/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ export default {
mounted() {
this.aeSdk = new AeSdk({
nodes: [{ name: 'testnet', instance: new Node('https://testnet.aeternity.io') }],
accounts: [
new MemoryAccount(
'9ebd7beda0c79af72a42ece3821a56eff16359b6df376cf049aee995565f022f840c974b97164776454ba119d84edc4d6058a8dec92b6edc578ab2d30b4c4200',
),
],
accounts: [new MemoryAccount('sk_2CuofqWZHrABCrM7GY95YSQn8PyFvKQadnvFnpwhjUnDCFAWmf')],
});
},
methods: {
Expand Down
Loading

0 comments on commit 30d782d

Please sign in to comment.