GithubHelp home page GithubHelp logo

mhmdabdilahpour / bsc-pay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bgokcol/bsc-pay

0.0 0.0 0.0 1.66 MB

Binance Smart Chain - BNB Payment Gateway

Shell 0.01% PHP 99.96% Makefile 0.01% Dockerfile 0.02%

bsc-pay's Introduction

BSC Pay (Simple BNB Payment Gateway)

I like to use Binance Smart Chain, do you? You can use my simple payment gateway if you need to get paid with BSC. (Of course, it also supports other ETH networks.)

How Does It Work?

  1. Our system generates a new wallet address for each payment.
  2. Your customer sends BNB to this wallet address.
  3. Cron checks the balance of the wallet and approves the payment. Our system transfers funds from generated wallet address to your payout wallet address after approval.

You can try our demo to understand how it works: https://bg.je/projects/bsc-payment/example_form.php

Prerequisites

  • PHP 7.0+
  • PHP GMP Extension

How to Install?

  • Create a MySQL database.
  • Download this repository and upload files to your web server.
  • Go to your website with a web browser. You will see the installation wizard. Enter the database details and your BSC wallet address. (If you want to use Binance Smart Chain, you don't need to change anything in Network Settings.)

image

  • After the installation, your API key and cron URL will appear on the screen. Set up a cron command that runs every minute and makes a request to the cron URL. Example Cron Command: * * * * * curl {cronUrlAddress}

View API Documentation ๐Ÿ”

Resources

bsc-pay's People

Contributors

bgokcol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.