Giter Club home page Giter Club logo

bitgod's People

Contributors

bencxr avatar bitt-john avatar bpdavenport avatar james8nguyen avatar mbelshe avatar melvillian avatar ottoallmendinger avatar thomas4019 avatar xekyo 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitgod's Issues

Bump version for bitgo dependency

After a clean install, either using yarn or npm; the software doesn't work because their dependency for bitgo is also 4.3.1, which doesn't explicitly state[1] bluebird as dependency since it uses it[2] in src/v2/baseCoin.js

1- https://github.com/BitGo/BitGoJS/blob/4.3.1/package.json#L69
2- https://github.com/BitGo/BitGoJS/blob/4.3.1/src/v2/baseCoin.js#L9

--- ~ » bitgod -h
module.js:471
    throw err;
    ^

Error: Cannot find module 'bluebird'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/test/.npm-global/lib/node_modules/bitgod/node_modules/bitgo/src/v2/baseCoin.js:9:17)

Problem setting wallet

I have a BitGo wallet, I have create a token, I have been able to successfully authenticate with bitcoin-cli -rpcport=19332 settoken but when I try to set the wallet using bitcoin-cli -rpcport=19332 setwallet I get the following error:

error: {"code":-32603,"message":"Error: not found"}

Any idea why I'm getting this error or what the problem could be?

bitgo.com bch wallet

Alloha!
I try to use bitgod with bch wallet id, but getting error :

deployer @ app ➜ bitcoin-cli -rpcport=9332 setwallet 5a320e714054ad371affca98a47bed1f
error code: -32603
error message:
Error: invalid wallet id

But bitgo api v2 allows you to work with a bch wallet.
How i can use BCH wallet with bitgod ?

getinfo results in "Error: invalid argument"

Otherwise all RPC functions seem to work perfectly so far. This is a standalone bitgod without proxy enabled. Installed bitgod with npm.

2016-10-29T21:48:42.751Z - info: RPC call: getinfo []
2016-10-29T21:48:42.754Z - error: Error: invalid argument
at BitGo.estimateFee (/usr/lib/node_modules/bitgod/node_modules/bitgo/src/bitgo.js:1006:13)
at BitGoD.handleEstimateFee (/usr/lib/node_modules/bitgod/src/bitgod.js:1286:21)
at BitGoD.handleGetInfo (/usr/lib/node_modules/bitgod/src/bitgod.js:1466:24)
at /usr/lib/node_modules/bitgod/src/bitgod.js:1550:21
From previous event:
at null. (/usr/lib/node_modules/bitgod/src/bitgod.js:1549:16)
at handleCall (/usr/lib/node_modules/bitgod/node_modules/json-rpc2/src/endpoint.js:69:18)
at handle (/usr/lib/node_modules/bitgod/node_modules/json-rpc2/src/server.js:239:16)
at IncomingMessage.requestEnd (/usr/lib/node_modules/bitgod/node_modules/json-rpc2/src/server.js:247:11)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
error: {"code":-32603,"message":"Error: invalid argument"}

I'm having trouble accessing bitgod remotely

I am trying to access a bitgod installation that is on a remote server. Is there a line I have to add to my configuration file to make bitgod accessible remotely?
I have tried to access it with the following command:

curl --user <user> --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' <ip address:port>

getinfo() deprecated in Bitcoin Core 0.16 onwards

#11382

"WARNING: getinfo is deprecated and will be fully removed in 0.16. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16"

From PR #8780:

Some of the more serious problems with it are:

  • It combines information from different subsystems (wallet, networking, blockchain, ...), so its implementation is messy by definition and has to lock all over the place
  • It is ill-defined and without focus - what information should be added, what shouldn't
  • It behaves differently with and without wallet (and what should it do with multiple wallets)

AssertionError when trying to send btc to other wallets through an API call

I am having a problem sending funds to other Test BTC addresses that do not belong to any of the wallets of my BitGo account, through the API.
F.e., in my account I have 3 wallets, and it's all alright when I send funds between them. But if I want to do it to another address, I get the following error:

"error": {
    "name": "AssertionError",
    "actual": false,
    "expected": true,
    "operator": "==",
    "message": "value has a fractional component",
    "generatedMessage": false
  }

I tried doing it through the BitGo website and it worked. So, the problem lies in my code, I guess. Here's where I get the error:

wallet.sendCoins(params, function (err, response) {
      if (err || !response) {
        return res.serverError({
          'error': err
        })
      }

      return res.ok({
        'response': response
      })
    });

The wallet object is correct. The params are also correct (since it works with the address of my own wallets).

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.