@huma-shan/payment-processor
v0.42.0
Published
Payment processing using ethers.
Downloads
2
Readme
@huma-shan/payment-processor
@huma-shan/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