4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Dapp-a-day 25: RLP-calculator

dapp-a-day-25 2x


Today we are going to explore the RLP structure, which we are going to use to build an naive implementation of an in-memory calculator. Imagine you produce expressions S-expressions like (* (+ 1 2) (+ 1 2)). Wouldn't it be great to just pass this expression to some contract and receive 9 as a return? Well this example shows you how to approach something line this. The main focus of this however, is to teach you RLP, one of the core technologies which drives Ethereum.

https://github.com/nexusdev/rlp-calculator

You can explore RLP also with this package.

27 upvotes $4.27

Replies (1)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: