@requestnetwork/payment-processor
TypeScript icon, indicating that this package has built-in type declarations

0.44.0 • Public • Published

@requestnetwork/payment-processor

@requestnetwork/payment-processor is a typescript library part of the Request Network protocol. It contains client-side payment methods for:

  • ERC20 proxy contract
  • ETH input data

Test

To run the payment-processor tests we need a local running ganache with all our smart contracts deployed. Do not define "NETWORK" variable in the smart-contracts .env file. You can open two terminals and do:

# Terminal 1
cd ../smart-contracts/
yarn ganache

# Terminal 2
cd ../smart-contracts/
yarn deploy
cd ../payment-processor
yarn test

Basic Usage

see ERC20 and ETH usage examples.

Readme

Keywords

Package Sidebar

Install

npm i @requestnetwork/payment-processor

Weekly Downloads

5,492

Version

0.44.0

License

MIT

Unpacked Size

470 kB

Total Files

131

Last publish

Collaborators

  • aimensahnoun
  • mantisclone
  • benjlevesque
  • request-bot
  • adamdowson
  • yomarion