Discover and read the best of Twitter Threads about #MoveLang

Most recents (3)

最近关于用户和 Move 智能合约交互,不需要授权(Approve) 是更安全还是更不安全的争论很多,这里尝试用通俗的方式来解释一下二者背后的区别以及 Move 这样设计背后的思想。#MoveLang (1/n)
我们先理解一下用户和智能合约交互的方式。当我们签了一个交易,去调用一个链上的智能合约,就好比从物理世界进入了一个智能合约的数字世界,我们在这个数字世界有一个分身,而这个分身做什么,是智能合约定义的。(2/n)
在 EVM 中,每个合约都相当于一个独立的小世界,分身进入这个世界后,只能操作用户在当前合约世界中的状态(资产)。(3/n)
Read 14 tweets
1/n There is a new devnet update coming to @AptosLabs , and it's huge (same as a few recent updates 😎). Here is a thread.
@AptosLabs 2/n Default table::Table doesn't have length anymore. For a table with size, use the new module: table_with_length::TableWithLength.

github.com/aptos-labs/apt…
@AptosLabs 3/n The simple_map::SimpleMap can be dropped.

github.com/aptos-labs/apt…
Read 11 tweets
Move VSCode plugin is available to download here: bit.ly/move-analyzer

Difficulty with more traditional smart contract languages that #MoveLang is trying to solve is code composition & reuse. New VSCode plugin delivers a set of features that can aid developers. A thread 🧵
The new features provided by the current version of move-analyzer’s language server include:

▫️ Type on hover
▫️ Go to definition
▫️ Go to type definition
▫️ Find references
▫️ Error reporting
Type on hover:
When encountering identifier in unknown code base, you may not know the type of the identifier. If you hover a cursor over the name of an identifier, you will see the name of this identifier displayed in a tooltip.
Read 9 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!