BSC BEP20 Merchant / DONE

RPC parity: You must have a node installed and synchronised with the BSC network for the module to work. https://docs.binance.org/smart-chain/developer/fullnode.html

Module configuration

  1. Go to Merchant & API -> Merchant system

  2. Go to BSC BEP20 Token module settings

  3. Fill in the Config section of this module: RPC node URL (parity) - URL to your BSC RPC node Wait confirms blocks - Number of confirmations required to confirm payment Gas price (in gwei) - price per transaction (gas price) (transactions to merge accepted funds to master address) to a master address) Contract address - The address of the contract that we accept with this module Contract ABI - ABI json of the contract you can get it in the scanner https://bscscan.com you need to go to the address of the contract Contract -> Code -> Contract ABI Collect token when amount greater than or equal (>=) - minimum number of tokens received on the wallet (the address is reissued 2 days after the request is created) Master address - The address to which to collect your funds from the addresses that were that were given out for the exchange PrivateKey service account - Private key from the address which is responsible for the collection of funds from it the network commission is paid (for security reasons we recommend to use another wallet different from Master address) create a wallet

Installing the synchronisation unit

To set the block from which you should start synchronising payments, run the command in the exchange-api folder: (we recommend stopping the api-http service beforehand )

npm run setting-set merchant:bsc_bep_20:fromBlock 123 force

Instead of 123, set your block number.

Last updated