Dapp-a-day 25: RLP-calculator

in #ethereum8 years ago (edited)

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.

Sort:  

Congratulations @nexusdev! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68552.89
ETH 2454.37
USDT 1.00
SBD 2.36