Go to file
shreerang6921 2a92e71594
Display decoded message received while using signDirect method (#52)
* Display decoded message received while using signDirect method

* Fix permission dialog not exiting after clicking outside

* Handle review changes

* Remove optional chaining in while checking for signDirect method
2024-03-13 12:02:08 +05:30
__tests__ Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
.bundle Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
android Load config values from env (#1) 2024-03-08 06:54:16 +00:00
assets Use separate page for walletconnect (#48) 2024-03-11 16:14:08 +05:30
components Display decoded message received while using signDirect method (#52) 2024-03-13 12:02:08 +05:30
context Display active sessions on walletconnect page (#50) 2024-03-12 18:23:16 +05:30
ios Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
patches Patch ethers to reduce wallet creation time (#24) 2024-02-19 14:04:06 +05:30
styles Display decoded message received while using signDirect method (#52) 2024-03-13 12:02:08 +05:30
utils Sign message using signDirect method with cosmos accounts (#51) 2024-03-12 16:47:05 +05:30
.env Load config values from env (#1) 2024-03-08 06:54:16 +00:00
.eslintrc.js Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
.gitignore Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
.prettierrc.js Add react-native-paper ui library (#7) 2024-02-12 18:51:03 +05:30
.watchmanconfig Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
app.json Change package name to com.laconic.wallet (#33) 2024-03-04 15:20:09 +05:30
App.tsx Display decoded message received while using signDirect method (#52) 2024-03-13 12:02:08 +05:30
babel.config.js Integrate functions with UI (#14) 2024-02-14 19:14:21 +05:30
Gemfile Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
index.js Display active sessions on walletconnect page (#50) 2024-03-12 18:23:16 +05:30
jest.config.js Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
metro.config.js Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
package.json Sign message using signDirect method with cosmos accounts (#51) 2024-03-12 16:47:05 +05:30
react-native-config.d.ts Load config values from env (#1) 2024-03-08 06:54:16 +00:00
README.md Load config values from env (#1) 2024-03-08 06:54:16 +00:00
tsconfig.json Create a basic react native app (#2) 2024-02-05 17:18:18 +05:30
types.ts Display active sessions on walletconnect page (#50) 2024-03-12 18:23:16 +05:30
yarn.lock Sign message using signDirect method with cosmos accounts (#51) 2024-03-12 16:47:05 +05:30

laconic-wallet

Install

  • Install Node

  • Install version 17 of the Java SE Development Kit (JDK) (Clicking on the link will download the .deb file)

  • Install Android Studio

  • In the installation wizard check the following items:

    • Android SDK

    • Android SDK Platform

    • Android Virtual Device

  • Install Android SDK

    • Open Android Studio -> Configure -> SDK Manager -> SDK PLatfrom Tab.

    • Check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 13 (Tiramisu) entry, then make sure the following items are checked:

      • Android SDK Platform 33

      • Intel x86 Atom_64 System Image or Google APIs Intel x86 Atom System Image

    • Select SDK Tools and check the box next to "Show Package Details"

    • Select Android SDK Build-Tools 33.0.0

    • Click Apply

  • Configure the ANDROID_HOME environment variable

  • Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file:

    export ANDROID_HOME=$HOME/Android/Sdk
    export PATH=$PATH:$ANDROID_HOME/emulator
    export PATH=$PATH:$ANDROID_HOME/platform-tools
    
  • Type source $HOME/.bash_profile for bash or source $HOME/.zprofile to load the config into your current shell. Verify that ANDROID_HOME has been set by running

    echo $ANDROID_HOME
    
  • and that the appropriate directories have been added to your path by running

    echo $PATH
    

Setup for laconic-wallet

  1. Clone this repository:

    git clone git@git.vdb.to:cerc-io/laconic-wallet.git
    
  2. Enter the project directory:

    cd laconic-wallet
    
  3. Install the dependencies:

    yarn
    
  4. In .env file add WalletConnect project id. You can generate your own ProjectId at https://cloud.walletconnect.com

WALLET_CONNECT_PROJECT_ID=39bc93c...
  1. Set up the Android device:

    • For a physical device, refer to the React Native documentation for running on a physical device

    • For a virtual device, continue with the steps.

  2. Start the application

    yarn start
    
  3. Press a to run the application on android

Setup for signature-requester-app

  1. Clone the repository:

    git clone git@git.vdb.to:cerc-io/signature-requester-app.git
    
  2. Enter the project directory:

    cd signature-requester-app
    
  3. Install the dependancies

    yarn
    
  4. Start the application

    yarn start
    
  5. Press a to run the application on android

You should see both the apps running on your emulator or physical device.