Git Product home page Git Product logo

ruby-client's People

Contributors

acityinohio avatar aniki21 avatar genaromadrid avatar gerryeng avatar jasondcamp avatar llopez avatar marcioj avatar matthieu avatar quentinlesceller avatar ramontayag avatar se3000 avatar semaj avatar thedoctor avatar williamcoates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby-client's Issues

Path forward for other currency support

Not sure if this gem is still being maintained, but are there plans to support other currencies?

I'm looking at using Blockcypher's Ethereum API, and it made sense to add the capability to this gem. Looking at the code, it looks like there was work at the beginning to support other currencies, but this effort seems to have stopped -- there are a bunch of hard-coded references to Bitcoin::Key. Do the other currencies work?

Add to rubygems.org and update readme with 'gem install blockcypher'

I realize this would help beginner ruby devs a lot. @matthieu, do you want to sign up to publish to ruby gems? http://guides.rubygems.org/publishing/#publishing-to-rubygemsorg

I would, but it's probably best if I'm not the owner/maintainer of the SDK on there.

Also, right now there's an unofficial blockcypher sdk listed there, and it might help to have our official sdk listed as well (and the other developer may not mind removing their sdk if they see we have an official one listed).

objc error in send_money() method

When I use send_money() method and pass all of required params (from_address as string, to_address as string, satoshi_amount as integer, private_key as string), then get an error:

objc[62090]: +[NSString initialize] may have been in progress in another thread when fork() was called.
objc[62090]: +[NSString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

It looks like the reason for the error is in the nested method signer(). The same error when I call it through the console

    def signer(private_key, tosign)
      key = Bitcoin::Key.new(private_key, nil, compressed = true)
      signatures = []
      tosign.each do |to_sign_hex|
        to_sign_binary = [to_sign_hex].pack('H*')
        sig_binary = key.sign(to_sign_binary)
        sig_hex = sig_binary.unpack1('H*')
        signatures << sig_hex
      end
      signatures
    end

photo_2020-06-09_21-47-17

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.