MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
5.84k stars 11.06k forks source link

trading example upgrade to new version name: TransactionBlock => Transaction, useSignTransactionBlock => useSignTransaction #18404

Closed bityoume closed 1 day ago

bityoume commented 3 days ago

Description

Describe the changes or additions included in this PR.

trading example upgrade to new version name: TransactionBlock => Transaction, useSignTransactionBlock => useSignTransaction

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

vercel[bot] commented 3 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 3:04pm
vercel[bot] commented 3 days ago

@bityoume is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

stefan-mysten commented 1 day ago

@manolisliolios @hayes-mysten I think the new TypeScript SDK did some changes so we need to update this example. If I recall correctly and after checking the migration guide, this looks right, but let's get another pair of eyes here please.

Thanks!

stefan-mysten commented 1 day ago

Thanks for your fixes @bityoume!