Skip to content

Commit

Permalink
chore(example): Nodejs example update new create tx
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Dec 7, 2023
1 parent 47d59a1 commit 06376b2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/nodejs/cases/policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ const { ACCOUNT_ADDRESS, ACCOUNT_PRIVATEKEY } = require('../env');
creator: ACCOUNT_ADDRESS,
extra: EXTRA,
groupName: GROUP_NAME,
tags: {
tags: [],
},
});

const createGroupTxSimulateInfo = await createGroupTx.simulate({
Expand Down
6 changes: 6 additions & 0 deletions examples/nodejs/cases/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ console.log('objectName', objectName);
primarySpAddress: spInfo.primarySpAddress,
},
paymentAddress: ACCOUNT_ADDRESS,
tags: {
tags: [],
},
},
{
type: 'ECDSA',
Expand Down Expand Up @@ -68,6 +71,9 @@ console.log('objectName', objectName);
redundancyType: 'REDUNDANCY_EC_TYPE',
contentLength,
expectCheckSums: JSON.parse(expectCheckSums),
tags: {
tags: [],
},
},
{
type: 'ECDSA',
Expand Down

0 comments on commit 06376b2

Please sign in to comment.