https://github.com/adrianmcli/ethbtc-example
https://github.com/adrianmcli/ethbtc-example
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adrianmcli/ethbtc-example
- Owner: adrianmcli
- Created: 2020-06-03T15:00:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T00:46:01.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T14:49:35.621Z (over 1 year ago)
- Language: JavaScript
- Size: 668 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example
# Usage
1. Clone this repo.
2. Run `npm install` at project root.
3. Create a `.env` file with the following content:
```
MAINNET_NODE_URL=https://mainnet.infura.io/v3/
PRIV_KEY=
```
4. Run `npm run chain` to start a local test-chain forked off of mainnet state.
5. Run `npm start` to trigger the script.
# Chain output

# Script output
