Move Resources Permissions

tags: Move,Starcoin Web3 StarTrek Bedrock – Object-capability model In my words, Move is kind of a Resource-Oriented Programming language. The resource is represented by struct in Move, aka object in other programming language. By the way, the resource in Move is the struct which cannot be copied and cannot be dropped1. Distinct from other programming language, objects are stored in memory, resource in Move can store to the chain’s global storage. ...

July 5, 2022 · 2 min · Gray King

Brevity 500: 500 mini-games to help you learn powerful writing skills

tags: How to Write,Online Tools source: https://brevity500.com/

June 30, 2022 · 1 min · Gray King

GitHub: hackclub/some-assembly-required

tags: Assembly source: https://github.com/hackclub/some-assembly-required What do we mean by an abstraction? Well, an abstraction is a layer above something else that makes that thing easier to do.

June 29, 2022 · 1 min · Gray King

How is a Block Executed

tags: Starcoin Web3 StarTrek,Move When I start learning Move and looking at the stdlib starcoin-framework and starcoin-framework-commons. Then I realized there are must some magic during the block execution in runtime. To roll the world, the runtime should provide some built in types and call some function in the stdlib. How does StarcoinVM Validate Transactions? As a miner, it’s responsible for executing block, it follows: Received some transactions from P2P network: EventHandler of PeerTransactionsMessage. ...

June 24, 2022 · 5 min · Gray King

Starcoin Node Debug

tags: Starcoin Web3 StarTrek Start node with console: $ ./target/debug/starcoin -d ~/.starcoin -n dev console In console type: starcoin% dev log level debug Note: starcoin% is the prompt. Then we can see debug log in ~/.starcoin/dev/starcoin.log.

June 21, 2022 · 1 min · Gray King