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.
Congratulations @nexusdev! You received a personal award!
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!