Skip to content

roadmanjs/wallet

Repository files navigation

RoadmanJS Wallet - a very wallet

A Roadman for wallet that supports, coinbase, stripe, nowpayments .e.t.c ...

env

# to enable stripe
STRIPE_PAYMENT_DESC=mycompany
STRIPE_SECRET=xxxxxx
STRIPE_ENDPOINT_SECRET=xxxxxx

# to enable nowpayments for crypto
NOWPAYMENTS_KEY=
NOWPAYMENTS_SECRET_IPN=xxxxx    # for verifying the webhooks
NOWPAYMENTS_CALLBACK_URL=xxxxxx # for webhooks

How to use

import roadman from "roadman";
import { stripeRoadman, nowPaymentsRoadman, getWalletResolvers, getNowPaymentsResolvers} from "@roadmanjs/wallet"

roadman({
  roadmen: [stripeRoadman, nowPaymentsRoadman],
  resolvers: [...myresolvers, ...getWalletResolvers(), ...getNowPaymentsResolvers()]
});

Sponsor this project

 

Packages

No packages published