Skip to content

akshay-ap/payfiat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payfiat Server

Node.js server for Payfiat payment service

Usage

  1. copy and create .env file cp .env.example .env

  2. Fill add .env details correctly. Payfiat server uses Stripe as fiat payment processor. So, you will need to create stripe account to get api keys.

  3. install node dependencies npm i

  4. start server npm start

Configuring OCEAN tokens

In .env file, replace value of WEB3_NODE variable with appropriate web3 provider for a given network (for e.g.) Pacific, Mainnet, Rinkeby etc.

Also, provide appropriate value for -

  • OCEAN_CONTRACT_ADDRESS - Ocean Token contract address for a given network.
  • OCEAN_FROM_KEY - Private key without '0x' for a funding Wallet
  • OCEAN_FROM_ADDRESS - Ethereum address for a funding Wallet

About

Server for the Payfiat payment service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published