Skip to content

chore(examples): add token transaction example#2240

Closed
sunnybak wants to merge 1 commit into
masterfrom
send-token-example
Closed

chore(examples): add token transaction example#2240
sunnybak wants to merge 1 commit into
masterfrom
send-token-example

Conversation

@sunnybak

Copy link
Copy Markdown
Contributor

Add an example of how to build, sign, and send a token transaction.

@sunnybak sunnybak force-pushed the send-token-example branch 2 times, most recently from e76a2c5 to ccaf354 Compare April 29, 2022 19:35
Add an example of how to build, sign, and send a token transaction.

BG-00000
@sunnybak sunnybak force-pushed the send-token-example branch from ccaf354 to cdab3c1 Compare May 2, 2022 18:41
@codecov

codecov Bot commented May 2, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2240 (315b9a9) into master (e10e844) will increase coverage by 86.96%.
The diff coverage is 71.42%.

❗ Current head 315b9a9 differs from pull request most recent head cdab3c1. Consider uploading reports for the commit cdab3c1 to get more accurate results

@@             Coverage Diff             @@
##           master    #2240       +/-   ##
===========================================
+ Coverage        0   86.96%   +86.96%     
===========================================
  Files           0      196      +196     
  Lines           0    10789    +10789     
  Branches        0     1570     +1570     
===========================================
+ Hits            0     9383     +9383     
- Misses          0      913      +913     
- Partials        0      493      +493     
Flag Coverage Δ
unit 86.96% <71.42%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
modules/statics/src/coins.ts 100.00% <ø> (ø)
modules/account-lib/src/mpc/tss.ts 96.66% <60.00%> (ø)
modules/account-lib/src/mpc/curves.ts 93.33% <100.00%> (ø)
modules/account-lib/src/mpc/hdTree.ts 82.75% <100.00%> (ø)
modules/account-lib/src/coin/xtz/utils.ts 96.29% <0.00%> (ø)
...es/account-lib/src/coin/algo/transactionBuilder.ts 83.01% <0.00%> (ø)
...dules/account-lib/src/coin/hbar/transferBuilder.ts 96.22% <0.00%> (ø)
modules/statics/src/ofc.ts 95.74% <0.00%> (ø)
modules/account-lib/src/coin/eth/utils.ts 82.05% <0.00%> (ø)
... and 190 more

@sunnybak sunnybak requested a review from jicli May 3, 2022 15:48
walletPassphrase,
});

const rawHalfSignedTransaction: string = (halfSignedTransaction as any).halfSigned.txHex;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm :) Can we update the any to the appropriate type?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also needs JavaScript equivalent example.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the stale label Jun 19, 2022
@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 10 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants