Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ganchix/bitcoinj-spring-boot-starter
Spring boot starter for use Bitcoinj in a Spring way easily.
https://github.com/ganchix/bitcoinj-spring-boot-starter
bitcoin bitcoinj java java-8 spring spring-boot
Last synced: about 2 months ago
JSON representation
Spring boot starter for use Bitcoinj in a Spring way easily.
- Host: GitHub
- URL: https://github.com/ganchix/bitcoinj-spring-boot-starter
- Owner: ganchix
- License: mit
- Created: 2018-05-31T14:21:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T09:59:16.000Z (over 6 years ago)
- Last Synced: 2024-10-11T20:42:58.132Z (3 months ago)
- Topics: bitcoin, bitcoinj, java, java-8, spring, spring-boot
- Language: Java
- Size: 58.6 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Spring boot starter BitcoinJ [![Build Status](https://travis-ci.org/ganchix/bitcoinj-spring-boot-starter.svg?branch=master)](https://travis-ci.org/ganchix/bitcoinj-spring-boot-starter) [![codecov](https://codecov.io/gh/ganchix/bitcoinj-spring-boot-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/ganchix/bitcoinj-spring-boot-starter) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.ganchix/bitcoinj-spring-boot-parent/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.github.ganchix/bitcoinj-spring-boot-parent) [![GitHub stars](https://img.shields.io/github/stars/badges/shields.svg?style=social&label=Star)](https://github.com/ganchix/bitcoinj-spring-boot-starter)
Spring boot starter for use [BitcoinJ Rpc Client](https://github.com/ConsensusJ/consensusj) in a Spring Boot way.
# Table of Contents
- [Overview](#overview)
- [Getting started](#getting-started)
- [License](#license)### Overview
This implementation offers a way to use [BitcoinJ Rpc Client](https://github.com/ConsensusJ/consensusj) like a spring boot starter project.
### Getting started
#### Add dependency
```xml
io.github.ganchix
bitcoinj-spring-boot-starter
0.0.1```
#### Code exampleStart your bitcoin node, create your spring boot project and add the dependency, configure in the properties file your database,
you can see [BitcoinJProperties](https://github.com/ganchix/bitcoinj-spring-boot-starter/blob/master/bitcoinj-spring-boot-autoconfigure/src/main/java/io/github/ganchix/bitcoinj/properties/BitcoinJProperties.java) to check all options available.Example:
```properties
bitcoinj.password=openSesame
bitcoinj.network=REGTEST_NET
```And now you can autowired the client:
```java
@Autowired
private BitcoinClient bitcoinClient;
```### License
Spring boot starter BitcoinJ is licensed under the MIT License. See [LICENSE](LICENSE.md) for details.
Copyright (c) 2018 Rafael Ríos Moya