Giter VIP home page Giter VIP logo

bitcoin-cash-rpc's People

Contributors

kevinejohn avatar knoxcard avatar paool avatar stillfantastic avatar xloem 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

Watchers

 avatar  avatar  avatar  avatar

bitcoin-cash-rpc's Issues

Legacy Addresses

I see Bitcoin cash has a new address format which has caused much confusion. It would be nice to still use legacy addresses as we move forward and transition into the future. On my platform for example, I will show the new address first, but give the customer the option of switching to legacy before I completely disable legacy.

Online Converter: https://cashaddr.bitcoincash.org/
New Address: bitcoincash:qp2kz4pd5q0u4tvafwhlgakkcceqdktteuee97aw2q
Legacy Address: moJQKtGF3nzhc4ssfdpgs2gexL9T2utRE4

We can merge this code in, it's just one JS file, and integrate a function to allow for easy conversions.
https://github.com/Ayms/cashaddress

I will get around to this sometime tonight or tomorrow. Posting it here first to see if anyone has any suggestions or objections (positive or negative) in regards to this. It would be an optional function, so I don't see how this could go wrong.

no auth mechanism defined

I have started Bitcoin Unlimited full node for bitcoin cash in my server, and i have use Bitcoin-Cash-RPC for connect via rpc. I have getting following error
Unhandled rejection Error: no auth mechanism defined at Auth.onRequest (/root/BtcCash/node_modules/request/lib/auth.js:132:32) at Request.auth (/root/BtcCash/node_modules/request/request.js:1349:14) at Request.init (/root/BtcCash/node_modules/request/request.js:375:10) at new Request (/root/BtcCash/node_modules/request/request.js:128:8) at request (/root/BtcCash/node_modules/request/index.js:53:10) at /root/BtcCash/node_modules/request/index.js:61:12 at Object.apply (/root/BtcCash/node_modules/@uphold/request-logger/src/index.js:27:19) at Function.post (/root/BtcCash/node_modules/request/index.js:100:12) at Function.tryCatcher (/root/BtcCash/node_modules/bluebird/js/release/util.js:16:23) at Function.ret [as postAsync] (eval at makeNodePromisifiedEval (/root/BtcCash/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:14:23) at _bluebird.default.try (/root/BtcCash/node_modules/bitcoin-core/dist/src/index.js:168:27) at tryCatcher (/root/BtcCash/node_modules/bluebird/js/release/util.js:16:23) at Function.Promise.attempt.Promise.try (/root/BtcCash/node_modules/bluebird/js/release/method.js:39:29) at Client.command (/root/BtcCash/node_modules/bitcoin-core/dist/src/index.js:154:33) at apply (/root/BtcCash/node_modules/lodash/lodash.js:495:27) at Client.wrapper [as getInfo] (/root/BtcCash/node_modules/lodash/lodash.js:5356:16)

data of undefined

(node:12290) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
0|app_serv | at axios.then.catch.err (/etc/nginx/services/node_modules/bitcoin-cash-rpc/index.js:69:64)
0|app_serv | at
0|app_serv | at process._tickCallback (internal/process/next_tick.js:182:7)
0|app_serv | (node:12290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 184)

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.