Update steps to run wallet, onboarding app and api
This commit is contained in:
parent
2b90cd560e
commit
8d5c4ccce5
@ -5,9 +5,9 @@
|
||||
### Laconic Wallet
|
||||
|
||||
- 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)
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
cd ../
|
||||
```
|
||||
|
||||
#### Run As Website
|
||||
#### Setup As Website
|
||||
|
||||
- Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com>
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
WALLET_CONNECT_ID=39bc93c...
|
||||
```
|
||||
|
||||
### Testnet Onboarding App and Onboarding API stacks
|
||||
### Testnet Onboarding App and Onboarding API Stacks
|
||||
|
||||
- Clone the stack repo:
|
||||
|
||||
@ -630,49 +630,67 @@
|
||||
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
|
||||
# In testnet-onboarding-app
|
||||
yarn start
|
||||
laconic-so deployment --dir onboarding-app-deployment 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
|
||||
|
||||
- Connect your phone with the PC (Make sure that USB debugging is enabled on your phone)
|
||||
- Run on android:
|
||||
- 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:
|
||||
|
||||
```bash
|
||||
# Get device id
|
||||
adb devices
|
||||
|
||||
# Setup port forwarding
|
||||
adb -s <device-id> reverse tcp:26657 tcp:26657
|
||||
```
|
||||
|
||||
- Open Laconic Wallet app that was installed from the APK
|
||||
|
||||
- (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo)
|
||||
|
||||
- Set up the Android device
|
||||
- For a physical device, refer to the [React Native documentation for running on a physical device](https://reactnative.dev/docs/running-on-device)
|
||||
- For a virtual device, continue with the steps
|
||||
|
||||
- Start the application:
|
||||
- Setup port forwarding for your device using the following command:
|
||||
|
||||
```bash
|
||||
# In laconic-wallet
|
||||
yarn start
|
||||
# Get device id
|
||||
adb devices
|
||||
|
||||
# Setup port forwarding
|
||||
adb -s <device-id> reverse tcp:26657 tcp:26657
|
||||
```
|
||||
|
||||
- Press `a` to run the application on android and wait till the wallet app opens up on your phone
|
||||
- Open Laconic Wallet app that was installed from the APK
|
||||
|
||||
OR
|
||||
|
||||
- (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo)
|
||||
|
||||
- Set up the Android device
|
||||
- For a physical device, refer to the [React Native documentation for running on a physical device](https://reactnative.dev/docs/running-on-device)
|
||||
- For a virtual device, continue with the steps
|
||||
|
||||
- Start the application:
|
||||
|
||||
```bash
|
||||
# In laconic-wallet
|
||||
yarn start
|
||||
```
|
||||
|
||||
- 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
|
||||
|
||||
- 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
|
||||
Network type - `COSMOS`
|
||||
|
Loading…
Reference in New Issue
Block a user