-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass payloads from stdin #40
Comments
Maybe you could even pipe encoded in binary already, because maybe not all payloads are ASCII, right? echo -n "Hello advance 0!" | xxd -g0 -p | cmioc encode input --binary \
--chain-id 0 \
--app-contract 0x0000000000000000000000000000000000000000 \
--msg-sender 0x0000000000000000000000000000000000000001 \
--block-number 0 \
--block-timestamp 0 \
--prev-randao 0 \
--index 0 \
--stdin-payload > input-0.bin For example: cmioc encode input --binary \
--chain-id 0 \
--app-contract 0x0000000000000000000000000000000000000000 \
--msg-sender 0x0000000000000000000000000000000000000001 \
--block-number 0 \
--block-timestamp 0 \
--prev-randao 0 \
--index 0 \
--stdin-payload < my-binary-payload.bin > input-0.bin |
Yeah, maybe two options |
Nevermind, I got confused. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment I create payload with:
Would be nice if I could feed binary payload with
--stdin-payload
, so I could do something like:The text was updated successfully, but these errors were encountered: