Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferranbt/foundry-send-txn-repro
https://github.com/ferranbt/foundry-send-txn-repro
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ferranbt/foundry-send-txn-repro
- Owner: ferranbt
- Created: 2024-06-24T15:35:28.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-24T15:36:34.000Z (5 months ago)
- Last Synced: 2024-06-24T17:33:10.487Z (5 months ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Run the rust script:
```
$ cargo run
```This script:
- Sends a transaction to the eth_sendTransaction endpoint of an Anvil node.
- Outputs the hash of the transaction.
- Returns the JSON for the transaction.Take the JSON from the output and put it in the `main.go` script.
```
$ go run main.go
```This script:
- Decodes the JSON file and outputs the transaction hash and the signing hash.
The transaction hash from Anvil does not match the transaction hash from Geth.