GithubHelp home page GithubHelp logo

cryptapi-service's Introduction

CryptAPI-Service Introduction

This service is a thin layer on top of the cryptapi cryptocurrency payment gateway. Internally we utilize our Nodejs Library cryptapi, to get started you may want to have a look there.

Bitcoin, Bitcoin Cash, Litecoin, Ethereum, Monero, IOTA, ...

What does this service do?

This service allows anyone to easliy start and maintain a fully functional payment gatewayAPI. Create transactions, process payments, using any currency supported by cryptapi. Simply start the service, interact with the api, and process crypto payments.

What problem does this solve?

This service solves the problem of not having a way to transactionally facillitate deposits & withdraws using the cryptapi. This thin layer uses our wrapper and some application logic to create an abstraction. This abstraction allows our service to provide a simple and easy to use api, without having low-level understanding of the underlying cryptapi.

Why would I use this insted of the api directly?

When using the cryptapi directy, by design, you have no way historically obtain transactions other than by using the callbackURL to listen for completed transactions and storing that locally. When having to do this, it makes things complicated to store and trace due to the requirement of always needing to have a listener online. This service solves this by allowing you to replicate horizontally with a basic efemeral instance.

How do I know this code is stable?

We maintain and support this library for you, here at ChipSoft. This allows you to focus on intigrating payment solutions rather than worrying about the implementation details. Using this lib, you can have a working payment processed in minutes, no signup required.

Installation & Use

Below is a simple guide on how to install and utilize the service.

1. Installation

git clone [email protected]:ottomayer313/cryptapi-service.git

2. Setup .ENV

btcAddress=
ethAddress=
bchAddress=
xlmAddres=

callbackURL=https://localhost:3000/handleCallback
port=3000
name=service

coinLimit=0.001
currency=USD

3. Startup

yarn service
npm start service

Maintenance

The main drawback of cryptapi is that this service has a requirement to remain online at all times. With its low overhead and simple deployment, this task is easily managed with kubernetes. Additionally, we recommend a management layer be maintained in your application. This service will allow you to recover any missed payments in the event of network failure. See cryptapi For More Details.


NOTICE

In a future update we plan to attempt "auto-recovery" to handle this event for you. Each "transaction" creates a unique callbackURL, doing so, we should be able to recover the complete blockchain history for that address as long as we resume service within a realatively timely manor. For the time being, you will need to do that yourself.

cryptapi-service's People

Contributors

ottomayer313 avatar

Watchers

 avatar

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.