https://github.com/pinebit/go-deposit
CLI tool that generates Ethereum deposit data and submits on-chain
https://github.com/pinebit/go-deposit
Last synced: about 2 months ago
JSON representation
CLI tool that generates Ethereum deposit data and submits on-chain
- Host: GitHub
- URL: https://github.com/pinebit/go-deposit
- Owner: pinebit
- License: mit
- Created: 2025-01-27T10:03:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-29T08:38:28.000Z (4 months ago)
- Last Synced: 2025-02-05T08:17:36.004Z (3 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-deposit
CLI tool that submits deposit data on-chain.
The tool is designed to work in test/devnets: [0x4242424242424242424242424242424242424242](https://github.com/pinebit/go-deposit/blob/80993fb547e4b1048e1a0580d44e2addb48edc1b/main.go#L24).**Please DO NOT use it for Mainnet!**
## Usage
Add `.env` file containing the following variables:
```sh
RPC_URL=https://mainnet.infura.io/v3/INFURA_PROJECT_ID
PRIVATE_KEY=YOUR_PRIVATE_KEY
```Run the tool as following:
```sh
go run main.go path-to-deposit-data.json
```To generate deposit-data file(s) please use [staking-deposit-cli](https://github.com/ethereum/staking-deposit-cli).