statechannels / SCBridge-Wallet

MIT License
2 stars 3 forks source link

Basic frontend #31

Closed geoknee closed 1 year ago

geoknee commented 1 year ago
Screenshot 2023-10-16 at 13 48 40

yarn start gives a dev server.

The UI is not yet wired up to anything.

The first step is for a user to choose their role.

geoknee commented 1 year ago

I'm hitting a problem here with incompatibility between vite (which requires esnext module type) and hardhat (which requires commonjs, unless we don't use typescript).

I think possibly the only/best way around is to turn this repo into a yarn workspaces monorep (we know that can work from looking at go-nitro).

geoknee commented 1 year ago

...or maybe find a replacement for vite. Probably easier.

geoknee commented 1 year ago

In the end, it seems possible to just ignore the error and everything works 🤷 . Sticking with commonJS.