rlp

command
v0.0.3-RC31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 14 Imported by: 0

README

Commands:

Decode full call data:

go run main.go decodeFull 0x06d6490f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000e1ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e98080fe1e96b35c836fbebac887681150c5fc9fdae862d747aaaf8c30373c0becf7691ff0c900aaaac6d1565a603f69b5a45f222ed205f0a36fdc6e4e4c5a7b88d45b1b00000000000000000000000000000000000000000000000000000000000000

Decode raw txs:

go run main.go decode 0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e98080fe1e96b35c836fbebac887681150c5fc9fdae862d747aaaf8c30373c0becf7691ff0c900aaaac6d1565a603f69b5a45f222ed205f0a36fdc6e4e4c5a7b88d45b1b

Encode tx:

go run main.go encode
Decoded parameters:

Nonce: 0 GasPrice: 1000000000 Gas: 100000 To: 0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D Value: 100000000000000000 Data: V: 2038 R: 9361089098880882477997043716401602752115554739533279717349253863857164548636 S: 57526471149217844688177159177322186288034197982071061451252570055448276801731

Result:
ee80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e9808014b2304ca08457f37c4e81284398aa9c511875e47b37b1e6877a26c53c0e7a1c7f2ed42e23e503c446213de2ce077e5cfdc58f0a672dfc0a5d0aa7c0202098c31c

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL