statechannels / SCBridge-Wallet

MIT License
2 stars 3 forks source link

Configurable amounts and cleaner deploy script #141

Closed lalexgap closed 1 year ago

lalexgap commented 1 year ago

Move the initial deposit and the intermediary balance to the .env file so we can easily adjust the balances for different chains.

It also cleans up the deploy script a bit.

lalexgap commented 1 year ago

yarn test seemed to fail when I tried to use import.meta outside of a tsx file (even if I used // @ts-expect-error) so the intermediary balance env var is now loaded in the UI and passed in.