Replies: 2 comments 1 reply
-
and this is utilities code and u need them in your blockchain project. The code contains functionalities to convert decimal to hex and vise versa, to calculate gaslimit and gas fee, and
i think their usage is straight forward 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
and finally to sign raw transaction
the above code is tested in real transaction and it works 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Below examples are code snippets from my project and it may help someone to interact with Ethereum network and other networks that support EVM(like BSC) using this library.
use the below file as a header inside ur project and u can encode ABI, decode ABI output, and decode ABI inputs
The usage is pretty simple. Take a look this example
The above code can operate on
uint8,uint16,uint32,uint64,uint256,bool,address and their array form.
Encoding ABI and decoding ABI response ofbytes and bytes[]
data type is possible. However decoding ABI inputs ofbytes
is not stable!Beta Was this translation helpful? Give feedback.
All reactions