@roadmanjs/wallet-client
v0.0.74
Published
GraphQL client gql for @roadmanjs/wallet
Downloads
15
Readme
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()]
});