Go to file
Nathaniel Parke 60878e0daf Disable swap and deposits. Add deprecation notice 2021-04-23 15:06:26 +08:00
.vscode chore: format 2020-10-29 20:32:04 -05:00
public Increase number of decimals for numeric inputs 2020-10-27 17:29:46 +08:00
src Disable swap and deposits. Add deprecation notice 2021-04-23 15:06:26 +08:00
.env feat: remove owner from .env 2020-11-18 16:01:12 -06:00
.env.production feat: add support for swap fee account 2020-10-26 15:43:58 -05:00
.gitignore Host with github pages 2020-10-27 12:41:42 +08:00
README.md Upgrade to new program ID that enforces fee constraints 2020-10-27 21:27:40 +08:00
craco.config.js Run prettier 2020-10-27 13:32:51 +08:00
package.json Upgrade serum package to 0.13.33 2021-04-05 12:50:42 +08:00
tsconfig.json Run prettier 2020-10-27 13:32:51 +08:00
yarn.lock chore: update lock 2021-04-13 01:01:02 -05:00

README.md

⚠️ Warning

Any content produced by Solana, or developer resources that Solana provides, are for educational and inspiration purposes only. Solana does not encourage, induce or sanction the deployment of any such applications in violation of applicable laws or regulations.

Deployment

App is using to enviroment variables that can be set before deployment:

  • SWAP_HOST_FEE_ADDRESS used to distribute fees to host of the application

To inject varibles to the app, set the SWAP_HOST_FEE_ADDRESS environment variable to the addresses of your SOL account.

You may want to put these in local environment files (e.g. .env.development.local, .env.production.local). See the documentation on environment variables for more information.

NOTE: remember to re-build your app before deploying for your referral addresses to be reflected.