Before installing.
- Order a virtual or physical server, not below the minimum requirements. You will need full access to this server (root). Shared hosting will not work.
- Bind the IPv4 address you received when purchasing the server to your domain. If you don't have a domain yet, you can use https://nip.io/ or https://sslip.io/.
- Sign up for a Google account and get reCAPTCHA V2 keys (invisible). https://www.google.com/recaptcha/
- Get the SMTP server credentials for sending emails (any will do, i.e. https://www.mailgun.com/).
- Register a Cryptocompare account (https://www.cryptocompare.com) and create an API key.
- Register an Infura account (https://infura.io/) and create an API key + secret.
- Register an Etherscan account (https://etherscan.io/) and create an API key.
- You will need BTC, ETH addresses and BNB, TRX addresses(optional) to collect cryptocurrency deposits (cold addresses). If you don't have it yet, you can use any multi-currency wallet like Trust Wallet and generate BTC, ETH, BNB, TRX addresses.
- OPTIONAL. For BNB и BEP-20 support you will need BSCscan credentials (https://bscscan.com/)
- OPTIONAL. For TRX and TRC-20 support you will need Trongrid credentials (https://www.trongrid.io/)
- OPTIONAL. For SMS verification you will need Twilio credentials (https://twilio.com)
- OPTIONAL. For KYT you need Scorechain credentials (https://www.scorechain.com/)
- OPTIONAL. For KYC you will need Sumsub credentials (https://sumsub.com/)
Installation.
You need to SSH into your server as root and run the following command:
mkdir /app ;
cd /app/ || exit ;
git clone <https://github.com/Polygant/OpenCEX.git> ./deploy ;
cd deploy ;
chmod +x opencex.sh ;
./opencex.sh 2>&1 | tee /tmp/install.txt
Installation time ~ 5 minutes.
🥳 Congratulations, the exchange has been successfully installed!You can open it by your domain name.
- After installation, you need to download the file /app/opencex/backend/save_to_self_and_delete.txt and delete it from the server.