Skip to content

ganchix/bitcoinj-spring-boot-starter

Repository files navigation

Spring boot starter BitcoinJ Build Status codecov Maven Central GitHub stars

Spring boot starter for use BitcoinJ Rpc Client in a Spring Boot way.

Table of Contents

Overview

This implementation offers a way to use BitcoinJ Rpc Client like a spring boot starter project.

Getting started

Add dependency

<dependency>
    <groupId>io.github.ganchix</groupId>
    <artifactId>bitcoinj-spring-boot-starter</artifactId>
    <version>0.0.1</version>
</dependency>

Code example

Start your bitcoin node, create your spring boot project and add the dependency, configure in the properties file your database, you can see BitcoinJProperties to check all options available.

Example:

bitcoinj.password=openSesame
bitcoinj.network=REGTEST_NET

And now you can autowired the client:

	@Autowired
	private BitcoinClient bitcoinClient;

License

Spring boot starter BitcoinJ is licensed under the MIT License. See LICENSE for details.

Copyright (c) 2018 Rafael Ríos Moya

About

Spring boot starter for use Bitcoinj in a Spring way easily.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published