thomasxnguy / redemption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redemption Server

This is an open source tool that allows you to generate single-use links that redeem crypto to Trust Wallet. It can be used to run a gift card or promotional airdrop campaign.

Redemption currently supports Binance Chain, and will add support for more chains over time.

Redemption is beta software, and currently has the bare-minimum of security features. Use at your own risk!

Quick start

  1. Deploy this template to Heroku. It should guide you through the setup process.

Deploy

  1. The Heroku going to autogenerate two tokens for you, one to access your dashboard (DASHBOARD_TOKEN) and another one to reach the redeem API (API_TOKEN). You can get both inside the Heroku environment variables.

  1. Navigate to the Heroku URL (e.g. https://your-redemption-server29189.herokuapp.com) and enter the DASHBOARD_TOKEN that you chose in Step 1 in the dashboard.

  1. Use the dashboard to create links. We use Trust Wallet's Assets Info for token IDs (e.g. BNB for Binance Coin, BUSD-BD1 for Binance USD).

  1. Use the "links" dashboard to edit and invalidate links where necessary.

Run Locally

docker-compose build
docker-compose up

Supported platforms

License

MIT licensed

About

License:MIT License


Languages

Language:Go 58.8%Language:JavaScript 34.6%Language:Makefile 3.0%Language:HTML 2.1%Language:CSS 0.9%Language:Dockerfile 0.6%