Commit Graph

51 Commits

Author SHA1 Message Date
eba6cd5d68 Merge pull request 'Skin onboarding app' (#33) from style/vaidator into main
Reviewed-on: #33
2024-08-11 21:05:04 +00:00
zramsay
5baccf3a84 bump version 2024-08-11 17:02:20 -04:00
b39afe386f style: validator success page 2024-08-11 12:34:35 -04:00
565d1887e0 style: add codeblock and style validator page 2024-08-11 12:32:55 -04:00
zramsay
e6fa6aabd7 copy: fix role names 2024-08-11 15:53:43 +05:30
3fe0576f34 style: add back t&c text and style pre block 2024-08-11 15:30:40 +05:30
Monkey
31e3b75dfa remove width setting for terms and conditions 2024-08-11 15:29:59 +05:30
bee7379e86 style: sign with cosmos 2024-08-11 15:29:58 +05:30
bff5ab9f31 style: sign with nitro 2024-08-11 15:28:14 +05:30
051de43480 chore: add dm mono 2024-08-11 15:28:14 +05:30
ad614aff2f style: remove disclaimer and center button 2024-08-11 15:28:14 +05:30
c038085b87 style: first pass with dark mui theme 2024-08-11 15:28:09 +05:30
09104b50bf Add download button for terms and conditions PDF (#31)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

- Replace Cosmos address with Laconic address

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #31
2024-08-11 09:47:18 +00:00
663eb42a74 Wait for session to load before redirecting (#29)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #29
2024-08-09 13:00:30 +00:00
8ba837b2f4 Add functionality to create a validator (#28)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #28
2024-08-09 10:18:13 +00:00
fc1c8df06b Persist subscriber ID in local storage (#26)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)
- Disable nitro key sign button if subscribe ID does not exist

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #26
2024-08-09 06:24:29 +00:00
aa9aed89f2 Modify app UI content (#25)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) and  issues:
- #19
- #20
- #23

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #25
2024-08-09 06:02:08 +00:00
74542a56a5 Fix react-pdf for prod build (#15)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Reviewed-on: #15
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-08-08 12:58:57 +00:00
989251dc58 Add loader at app start (#14)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Reviewed-on: #14
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-08-08 10:38:53 +00:00
c041f031dc Integrate Beehiiv email verification in onboarding flow (#13)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)
- Add beehiiv widget for email verification
- Extract subscriber ID from the JWT
- Hash subscriber ID to be used as KYC ID

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #13
2024-08-08 10:06:34 +00:00
11f872032e Use PDF for showing terms and conditions (#12)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

- Use `react-pdf` to display terms and conditions pdf

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #12
2024-08-08 09:39:26 +00:00
bf8b6fc016 Disable KYC verification using const flag (#11)
Part of [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e)

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #11
2024-08-07 05:52:57 +00:00
ae4c57f336 Store hash of KYC id and display WalletConnect disclaimer message (#10)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

- Use global snackbar provider
- Store hash value of KYC Id

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #10
2024-07-31 13:37:11 +00:00
3b396e81c5 Change label in nitro page (#9)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #9
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-07-30 12:43:26 +00:00
02fe390177 Rename token from photon to alnt (#7)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #7
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-07-30 12:17:46 +00:00
cfaa1711c3 Display KYC status in success page (#8)
Part of [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e)

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #8
2024-07-30 10:57:07 +00:00
2a24985930 Integrate sumsub KYC with terms & conditions (#6)
Part of [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e)

Reviewed-on: #6
2024-07-30 08:22:09 +00:00
e95071fc62 Update favicon and app title (#4)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

- Use laconic favicon and change app title
- Get wallet connect meta URL from `.env`

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #4
2024-07-23 12:28:54 +00:00
d48f2aaac1 Update repo clone link to cerc-io (#3)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: zramsay <zramsay@noreply.git.vdb.to>
Reviewed-on: #3
2024-07-22 14:53:45 +00:00
63ba50b7a3 Use faucet to fund laconic accounts while sending a transaction (#2)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #2
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-07-18 06:02:58 +00:00
6e3f68c100 Replace Ethereum with Nitro in UI (#1)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #1
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-07-16 09:01:47 +00:00
2c46316ad0 Change app title 2024-07-16 12:08:59 +05:30
Isha Venikar
7438a27181
Replace ethereumAddress with nitroAddress (#1) 2024-07-15 17:15:24 +05:30
0b6ec3bd98
Rename urbit to testnet in package json and readme (#17) 2024-07-11 12:01:10 +05:30
Adwait Gharpure
b6b7dd76b1
Display onboarded participant if transaction is successful (#16)
* Add new page for onboarding success

* Display onboarded participant

* Initialise registry outside useEffect

* Fetch single participant object instead of array
2024-07-11 10:05:00 +05:30
Isha Venikar
d90390a8b4
Take laconicd chain id from .env file (#15)
* Take the chain id for namespace from env

* Use cosmos chain id from env

* Fix env variable names
2024-07-10 10:18:33 +05:30
Adwait Gharpure
d65c22facd
Remove cosmoshub mainnet chain from proposal namespace (#14) 2024-07-08 11:06:45 +05:30
Adwait Gharpure
359eddd385
Add support for onboarding to laconicd (#13)
* Change logo and app name

* Get cosmos address from route

* Navigate to second page on receiving eth signature

* Add title to page

* Use consistent formatting

* Handle review changes

* Remove unecessary field from onboarding message
2024-07-05 15:12:57 +05:30
Adwait Gharpure
60c95659a0
Add support for sending cosmos transactions to laconic wallet (#12)
* Add method for sending tx to wallet

* Setup registry-sdk in onboarding app

* Build message for bond creation

* Get response on signing and broadcasting tx

* Run eject script

* Display snackbar on creating bond

* Add fallback to webpack config file

* Handle review changes

* Handle errors with snackbar
2024-07-04 11:15:18 +05:30
IshaVenikar
f8abf9ea76
Add README steps (#11)
* Add README

* Add gitea link for laconic-wallet

* Add new line

* Add example env

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
2024-04-29 09:34:25 +05:30
shreerang6921
1f11e283d7
Prevent double initialization of wallet connect client (#10) 2024-04-24 17:59:55 +05:30
neerajvijay1997
3adcdfa39c
UI Improvements (#9)
* Add loading spinners for buttons

* Add navigation to home page

* Add logo inside anchor tag
2024-03-28 09:14:06 +05:30
neerajvijay1997
401ca279bf
Add listeners for session update and delete event (#8)
* Add event listeners for session update and delete

* Use container instead of grid

* Rename variable
2024-03-26 12:55:57 +05:30
Adwait Gharpure
6505899598
Handle case where wallet rejects the pairing request (#7)
* Handle case where pairing request is rejected

* Remove unused import

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-26 11:40:28 +05:30
Adwait Gharpure
229d9e62d3
Pass first message using state (#6)
* Pass inner message using state

* Remove paranthesis

* Change disconnect button color

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-22 15:08:08 +05:30
Adwait Gharpure
6bdaf60ff4
Implement persisting session (#5)
* Add layout to pages

* Persist session

* Style sign with ethereum page

* Refactor modal

* Remove unused styles

* Implement disconnect session functionality

* Add info about wallet in navbar

* Remove unused imports

* Use canonical JSON

* Add line

* Remove buffer from sign with ethereum page

* Display signed message in dialog

* Show modal on signature

* Format cosmos signature

* Add code block style for json messages

* Display signature in first modal

* Add urbit logo for connect wallet page

* Display message for sign with ethereum

* Handle review changes

* Keep icon and text on same line

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-22 11:52:53 +05:30
Adwait Gharpure
5e98e2e25a
Handle signing using ethereum and cosmos key (#3)
* Sign using eth

* Sign using cosmos key

* Add functionality to choose account

* Use session.topic

* Refactor cosmosSign method

* Remove logs

* Update UI for sign in with cosmos

* Remove success route

* Add modal for sign in with ethereum

* Pass data in url params

* Use material UI dropdown

* Add route for redirecting to not found page

* Remove alert

* Add snackbar

* Remove unused package

* Use notistack

* Add polyfills

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2024-03-21 13:19:17 +05:30
neerajvijay1997
6f6126f015
Add routes to pages for navigation (#4)
* Add routes to pages

* Set up material ui

* Handle review comments
2024-03-20 15:56:43 +05:30
Adwait Gharpure
b7e5659149
Establish session with laconic wallet (#2)
* Add wallet connect context

* Add eslint rules

* Rename file

* Display connected accounts

* Remove eslint config from package json

* Update eslint config

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-19 18:24:15 +05:30
neerajvijay1997
5a7957c64e
Set up project using create react app (#1)
* Initialize project using Create React App

* Set up eslint

* Set up husky
2024-03-19 12:17:12 +05:30