@requestnetwork/payments-server

0.3.0 • Public • Published

Usage:

const express = require("express");
const bodyParser = require("body-parser");
const Request = require("request")(process.env.API_KEY);
...
const paymentAddress = "0xYOUR_PAYMENT_ADDRESS";
const request = new Request(process.env.API_KEY, paymentAddress);

const app = express();
app.use(bodyParser.json());

app.post("/request", request.handler());
const listener = app.listen();

Readme

Keywords

none

Package Sidebar

Install

npm i @requestnetwork/payments-server

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

814 B

Total Files

2

Last publish

Collaborators

  • rodrigopavezi-request
  • mantisclone-requestnetwork
  • stef.req
  • aimensahnoun
  • benjlevesque
  • request-bot
  • adamdowson
  • yomarion