Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
TropicalDog17 committed Oct 20, 2023
1 parent 2ecbec5 commit 1b7a85c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions client-ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,12 @@ try {
// console.log(result);
// })();

// Query address, and then send donate
(async function () {
let client = await createClient();
let result = await getAddressesBySocial(client, "facebook", "123");
console.log(result);
let result2 = await sendDonate(
client,
"comdex1pwwdh8w90m8kfp2r4zf6aepxyxpke9304ps3u7",
1000000,
"ucmst"
);
let result2 = await sendDonate(client, result[0], 1000000, "ucmst");
console.log(result2);
})();
} catch (e) {
Expand Down

0 comments on commit 1b7a85c

Please sign in to comment.