Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nezutero/shinjiru
simple blockchain implementation in golang
https://github.com/nezutero/shinjiru
blockchain blockchain-platform blockchain-technology blockchain-wallet go go-blockchain golang golang-blockchain web3
Last synced: 29 days ago
JSON representation
simple blockchain implementation in golang
- Host: GitHub
- URL: https://github.com/nezutero/shinjiru
- Owner: nezutero
- License: mit
- Created: 2023-08-17T19:33:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T15:42:23.000Z (4 months ago)
- Last Synced: 2024-09-07T07:55:55.564Z (4 months ago)
- Topics: blockchain, blockchain-platform, blockchain-technology, blockchain-wallet, go, go-blockchain, golang, golang-blockchain, web3
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Blockchain implementation in golang
## Features:
- `Low level badger db (uses leveldb under the hood)`
- `Using proof of work`
- `Merkle tree`
- `Cli tool`
- `Can be run using docker`
#### Const difficulty (10) :(
- You can use some difficulty algorithms to calculate the difficulty
## Project structure:
```go
shinjiru
│
├── blockchain
│ ├── blockchain.go
│ ├── block.go
│ ├── chain_iter.go
│ ├── merkle.go
│ ├── merkle_test.go
│ ├── proof.go
│ ├── transaction.go
│ ├── tx.go
│ └── utxo.go
├── cli
│ └── cli.go
├── cmd
│ └── main.go
├── Dockerfile
├── go.mod
├── go.sum
├── network
│ └── network.go
├── README.md
├── tmp
│ └── blocks
│ └── keep.txt
└── wallet
├── utils.go
├── wallet.go
└── wallets.go
```## Installation
```sh
git clone https://github.com/nezutero/shinjiru
```## Usage
```sh
cd cmd
go run main.go
```- Or use Docker:
```sh
docker build -t your_image_name .
docker run -d -p 8080:80 your_image_name
```## Contributing
- Pull requests are welcome, for major changes, please open an issue first to
discuss what you would like to change.## License
- [MIT](./LICENSE)