Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/proullon/bitcoin
Naive implementation of bitcoin in Go
https://github.com/proullon/bitcoin
Last synced: 24 days ago
JSON representation
Naive implementation of bitcoin in Go
- Host: GitHub
- URL: https://github.com/proullon/bitcoin
- Owner: proullon
- Created: 2024-02-02T14:13:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-02T16:40:39.000Z (11 months ago)
- Last Synced: 2024-12-09T23:12:44.790Z (about 1 month ago)
- Language: Go
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Bitcoin Go implementation
Naive implementation of bitcoin in Go, using [bitcoin whitepaper](https://bitcoin.org/bitcoin.pdf).
## Build and run
There is to binaries, a CLI and a network node. To build them:
```sh
$ make install
$ bitcoin-cli help
$ bitcoin-node help
```Generate a key:
```sh
$ bitcoin-cli generate-key secret.key
```Then start the node:
```sh
$ bitcoin-node run --key secret.key --workdir /tmp/
```