RyanMilb / boltathon

1 stars 1 forks source link

Move all logic to front end #3

Open hawkmauk opened 5 years ago

hawkmauk commented 5 years ago

We should be able to do all processing in the client and not require a backend service.

Create

I'm pretty sure this is created in the front end without server side code anyway

Issue

We need to do some crypto in this step so need to check that this is viable on the client. We currently use tiny-secp256k1 for this.

Verify

Once again we need to do some crypto using the tiny-secp256k1. We can verify channel status using method in #2 so don't need access to a lightning client

hawkmauk commented 5 years ago

Should be possible, might need to use bitcoinjs as per this project https://github.com/frozeman/bitcoin-browser-wallet

RyanMilb commented 5 years ago

I'll work on this.