🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@frinkly/payment-processor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frinkly/payment-processor

Payment processing using ethers.

Source
npmnpm
Version
0.38.1
Version published
Weekly downloads
23
475%
Maintainers
1
Weekly downloads
 
Created
Source

@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.

Keywords

requestnetwork

FAQs

Package last updated on 10 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts