Skip to content

A NodeJS XLM payments website that uses memos to identify tranasctions sent to a test wallet, similar to how you would send tokens to an exchange for deposit.

Notifications You must be signed in to change notification settings

ks1686/Crypto-Payment-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Cryptocurrency Payments

A test program that showcases functionality of accepting XLM or ETH as payment for services or goods. Can be integrated into any website or payments gateway to enable cryptocurrency payments functionality.

To start:

  • Ensure NodeJS is installed on your system
  • Install necessary packages using your preferred package manager to project directory (ex: npm install)
  • Create a .env file and populate your STELLAR_WALLET_ADDRESS and/or ETHEREUM_WALLET_ADDESS
  • Implement ETHEREUM_EXPLORER=https://api-sepolia.etherscan.io/api or STELLAR_EXPLORER=https://horizon-testnet.stellar.org in your .env file
  • Select the respective code you want to use (XLM or ETH) and modify the code to your own preferences
  • Run the code using your preferred method (ex: node index.js)

About

A NodeJS XLM payments website that uses memos to identify tranasctions sent to a test wallet, similar to how you would send tokens to an exchange for deposit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published