Commit Graph

26 Commits

Author SHA1 Message Date
Samuel Andert
d79342a5f0 removed nextjs example implementation 2023-07-20 12:53:07 +02:00
Samuel Andert
702c33a373 Added Send 0.01xdai with PKP 2023-07-20 12:50:54 +02:00
Samuel Andert
ff2d6489d1 fixed import global but and added some POC interactions with LIT 2023-07-19 17:19:45 +02:00
Samuel Andert
55bb332faa part 1 of moving from next to svelte 2023-07-19 11:42:47 +02:00
Samuel Andert
7200050301 added 0.001 et txh 2023-07-18 16:39:11 +02:00
Samuel Andert
5fdaefac93 first commit 2023-07-18 15:36:33 +02:00
Bean
bb4cd43210
Merge pull request #8 from LIT-Protocol:fix/cached-pkp-usage
add pkp public key to session sig requests
2023-06-15 15:07:33 -04:00
Josh Long
162494dfd8 add pkp public key to session sig requests 2023-06-15 15:03:42 -04:00
Howard
81a70959af
Fix session sigs (#7)
* Decouple Google OAuth sign in with Mint PKP step

* Use new signSessionKey SDK method

* Handle authentication separately from storing conditions

* Use auth-helpers package to generate session sigs correctly

* Use react-app-rewired to use config override for fixing webpack bundle

create-react-app default webpack config does not match against .cjs files, so we need to override the default config to bundle .cjs files from auth-helpers using CJS to import the .cjs file
from recap-ts.

* Implement encrypt / decrypt using session sigs

* Use latest js-sdk, use npm instead of yarn

yarn still installs tslib at 1.14.1, which breaks, whereas npm installs at 2.5.0
2023-05-17 17:14:36 -07:00
Chris Cassano
e2d7fe5ecc newline 2023-04-16 02:05:46 +09:00
Chris Cassano
933eff8eba add env vars 2023-04-15 17:47:35 +09:00
Chris Cassano
340696d7a5 update lit sdk 2023-04-15 17:41:05 +09:00
Chris Cassano
cd49de2194 update some stuff 2023-04-15 17:28:05 +09:00
Howard
2e19c39625
Update WebAuthn registration and authentication to use new and safer impl (#5)
* Update WebAuthn registration and authentication to use new and safer flow

* Implement usernameless WebAuthn registration + Authentication

The username is solely stored in the client side for the end-user to conveniently refer to.

* Use updated SDK interface

* Implement executeJs in webauthn demo

* Show executeJs sig

* Fix username bug

* encodeURIComponent for username

* Use latest working SDK version

* Use serrano
2023-04-06 18:10:26 -07:00
Howard
efb3eab092
Transform more files to TS, replace lit-js-sdk with js-sdk (#4) 2023-02-23 16:39:50 -08:00
Howard
339986b666
Implement WebAuthn auth for minting PKP and storing encryption condition (#2)
* Implement WebAuthn auth for minting PKP and storing encryption condition

* Update copy

* Update copy
2023-02-23 14:37:39 -08:00
Howard Tam
7843588411 Update env name 2022-12-10 10:01:14 -08:00
Howard
c5dfc1e9af
Use centralized relay for minting PKP and storing encryption condition (#1)
* implement encryption with relay server

* implement minting pkp with relay server

* revert yarn.lock changes
2022-11-28 14:40:57 -08:00
Chris Cassano
1717ea6890 updated lit js sdk 2022-11-18 19:27:00 -05:00
Chris Cassano
02a5ff37b7 hash user id and app id 2022-11-14 14:07:25 -08:00
Chris Cassano
010b2fce10 better condition, docs 2022-11-10 21:29:56 -08:00
Chris Cassano
f3bd10bdbf works on serrano, yay 2022-11-10 21:05:26 -08:00
Chris Cassano
56a1b69243 cool, it works 2022-11-10 20:45:46 -08:00
Chris Cassano
cdfb5c2be6 talking to the nodes now... 2022-11-08 16:32:07 -08:00
Chris Cassano
515ff13d45 minting and getting eth address works 2022-11-08 15:48:04 -08:00
Chris Cassano
c8f74eb708 Initialize project using Create React App 2022-11-08 14:46:40 -08:00