MENU

Bytecode, Assembly – Magic Number

0
488
0

The sequence of numbers below is a compiled smart contract that returns always a constant number.


600a600c600039600a6000f3604260805260206080f3

These numbers are not Solidity nor inline assembly.
This smart contract has a thousand interfaces in theory. How could it be so short though?

If you are an assembly engineer, you might understand.
You can make a smart contract with just numbers. Solidity, Viper are just tools to make it easy.

Today’s game is Magic Number.

https://github.com/maAPPsDEV/magic-number-attack

You will learn how to build and deploy a smart contract without Solidity or Viper.
Also, you will learn about the difference in how the compiler generates bytecodes in reality and in theory.

I am an assembly engineer, I have been doing this for more than 10 years.
Recently you might find a new raising blockchain that uses an assembly-like language to make smart contracts – Algorand.
If you’d like to learn Algorand TEAL (Transaction Execution Approval Language), contact me.

Sorry, the comment form is closed at this time.