-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cookbook for SDK-JS #619
Conversation
``` | ||
|
||
<!-- END_INCLUDE_FILE --> | ||
|
||
<!-- BEGIN_INCLUDE_FILE { "url": "https://raw.githubusercontent.com/multiversx/mx-sdk-js-examples/next/cookbook/generated/contracts_01_deployments.md" } --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might reference a commit hash instead of the branch name? otherwise, make sure the next
branch isn't removed in that repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added commit hash.
|
||
A `TokenPayment` object for **EGLD transfers** (value movements): | ||
A `TokenTransfer` object for **EGLD transfers** (value movements): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
``` | ||
|
||
Note that the transaction needs to be signed before broadcasting it. Signing can be achieved using a signing provider. | ||
Note that the transaction **must to be signed before being broadcasted**. Signing can be achieved using a signing provider. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must be signed before being broadcasted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
|
||
[comment]: # (mx-context-auto) | ||
|
||
## Token transfers | ||
|
||
First, let's create a `TransferTransactionsFactory`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description of the pull request (what is new / what has changed)
Update SDK-JS cookbook for v12. Based on: multiversx/mx-sdk-js-examples#17.
Did you test the changes locally ?
Which category (categories) does this pull request belong to?