Giter Club home page Giter Club logo

bitrafael_public's Introduction

Bitrafael Public Repository

This repository contains public part of Bitrafael related code used in GENERAL BYTES products. More information about the products can be found here: http://www.generalbytes.com

All source code here is released under GPL2.

Overview

Every commercial-grade bitcoin project needs a way how to retreive and send information from blockchain as quickly as possible.

Bitrafael is a server-side bitcoin blockchain information silo provider that provides JAVA or JSON API to communicate with blockchain.

Content

  • client - contains client code and examples that can be used to communicate with Bitrafael server.
  • common - contains data transfer and API objects shared by server and client

Notes

  • Best is to read examples of use of this API. List of examples use can be found here.
  • Which API functions Bitrafael Server exposes can be read in IBitrafaelBitcoinAPI interface.
  • There is also BIP32,29,44 compatible WalletTools utility class that simplifies work with deterministic wallets WalletTools.

Build information

Just run the following command:

./gradlew build

bitrafael_public's People

Contributors

b00lean avatar filipocelka avatar generalbytes avatar kubacech avatar martinkyov avatar martinlechny avatar premek avatar pvyhnal-generalbytes avatar rpanak-generalbytes avatar uhrinrene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitrafael_public's Issues

BCH test has invalid xpub corresponding to xprv key

The file is bitrafael-client/src/test/java/com/generalbytes/bitrafael/api/wallet/bch/WalletToolsBCHTest.java.

In the method getMasterPrivateKey, the extended private key derived from the example mnemonic abandon abandon abandon with password of password is xprv9s21ZrQH143K25nXfd4XuZ6d955Y7XQ7GzSrew7bEYCx1eC6JixjXoaULDjgpB4BJaLL4BmCTka4L9Jq5rxstLcXLnVkGK4tkMk8D9iv1y8, which is correct.

But the test for the corresponding xpub key xpub6C9nRehjbvKLDD1Rzjshv5HaTm9Q1qFnraUZ34uVtbQzgAMFffuhTxN2umR6gfjWYyf4egfQVCbRegE9gMYCwbK3rsV8Xz1LU2KAHUvNaYB is not correct, as the correct key should be xpub661MyMwAqRbcEZrzmebYGh3Mh6v2Wz7xeDNTTKXCnsjvtSXErGGz5btxBU7Kyfy5EwthQ5ZRhQ2wqRHU5QCESg11V8bywtkRWhZNr94AgH9, from a couple different tests I've run.

I'm not sure if you're actually running these tests or not but if so, this would point to a bug in your code.

I would also recommend extracting these BIP39 type items to a separate library or area and only test those there, instead of together with BCH tests.

For more security spongycastle -> bouncycastle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.