Skip to content

itsvetobaby/gatling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://itsvetobaby.github.io/gatling/

Auth meets Crypto Accounts - Gun x Coinbin

VERY HACKY

If your a new user press Sign Up, then Sign in. If nothing happens press Sign In again.
Else press Sign In.
Experimental, non-production hack for using Gun.js's user auth system to generate keys. See lines 22-32 ./js/coinbin.js
A different user/password pair will generate a new pair of keys.
This is not a place to store crypto, just somthing to fiddle with, and develop for your own purposes.
PLEASE test before integrating. No package installation required, just:

npx serve

drag and dropping index.html into your browser will work too


Why would i want to use this?

Gun has a roughly 5 line user set-up template, its amazing. I highjacked it so you can bring coinbin into your gun app without any extra work.

And when you want to record transaction data you can user.put("transactions").set(transaction_obj).