Update steps to run wallet, onboarding app and api

This commit is contained in:
Prathamesh Musale 2024-07-29 18:24:03 +05:30
parent 42a598968b
commit 287815b7c0

View File

@ -5,9 +5,9 @@
### Laconic Wallet ### Laconic Wallet
- The `laconicd-wallet` can be installed using an APK on a Android device or run as a website using `laconic-wallet-web` - The `laconicd-wallet` can be installed using an APK on a Android device or run as a website using `laconic-wallet-web`
- Follow one of the following (`Run on Android` or `Run as a website`) sections as desired - Follow one of the following (`Setup On Android` or `Setup As Website`) sections as desired
#### Run On Android #### Setup On Android
- Install laconic wallet using [latest APK release](https://git.vdb.to/cerc-io/laconic-wallet/releases) - Install laconic wallet using [latest APK release](https://git.vdb.to/cerc-io/laconic-wallet/releases)
@ -60,7 +60,7 @@
cd ../ cd ../
``` ```
#### Run As Website #### Setup As Website
- Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com> - Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com>
@ -107,7 +107,7 @@
WALLET_CONNECT_ID=39bc93c... WALLET_CONNECT_ID=39bc93c...
``` ```
### Testnet Onboarding App and Onboarding API stacks ### Testnet Onboarding App and Onboarding API Stacks
- Clone the stack repo: - Clone the stack repo:
@ -630,17 +630,19 @@
laconic-so deployment --dir bridge-deployment exec nitro-contracts "cd packages/nitro-protocol && yarn hardhat transfer --contract $L1_ASSET_ADDRESS --to $C_CHAIN_ADDRESS --amount 1000 --network geth" laconic-so deployment --dir bridge-deployment exec nitro-contracts "cd packages/nitro-protocol && yarn hardhat transfer --contract $L1_ASSET_ADDRESS --to $C_CHAIN_ADDRESS --amount 1000 --network geth"
``` ```
- Start testnet-onboarding-app (run command in testnet-onboarding-app repo) - Start `onboarding-app` and `onboarding-api` deployments (run where deployments are created):
```bash ```bash
# In testnet-onboarding-app laconic-so deployment --dir onboarding-app-deployment start
yarn start
laconic-so deployment --dir onboarding-api-deployment start
``` ```
NOTE: Ignore source map warnings in the terminal The `testnet-onboarding-app` should now be accessible at <http://localhost:3000>
- Run Laconic Wallet - Run Laconic Wallet
- Run on android:
- Connect your phone with the PC (Make sure that USB debugging is enabled on your phone) - Connect your phone with the PC (Make sure that USB debugging is enabled on your phone)
- Setup port forwarding for your device using the following command: - Setup port forwarding for your device using the following command:
@ -655,6 +657,8 @@
- Open Laconic Wallet app that was installed from the APK - Open Laconic Wallet app that was installed from the APK
OR
- (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo) - (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo)
- Set up the Android device - Set up the Android device
@ -670,9 +674,23 @@
- Press `a` to run the application on android and wait till the wallet app opens up on your phone - Press `a` to run the application on android and wait till the wallet app opens up on your phone
- Run as a website:
- Open `laconic-wallet-web` at <https://wallet.laconic.com>
OR
- (Optional) Run the `laconic-wallet-web` stack:
```bash
laconic-so deployment --dir laconic-wallet-web-deployment start
```
Open `laconic-wallet-web` at <http://localhost:5000>
## Demo ## Demo
- In laconic-wallet app, click on `Create wallet` and add laconicd chain using `Add network` button: - In laconic-wallet, click on `Create wallet` and add laconicd chain using `Add network` button:
<!-- TODO: update existing config -->
```bash ```bash
Network type - `COSMOS` Network type - `COSMOS`