Giter Site home page Giter Site logo

animo / paradym-wallet Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 9.0 8.71 MB

With Paradym Wallet, you can seamlessly manage and present your digital credentials

Home Page: https://paradym.id

License: Apache License 2.0

JavaScript 3.89% TypeScript 96.11%
android aries-framework-javascript cheqd did didcomm hyperledger-aries hyperledger-indy ios mobile oid4vc

paradym-wallet's Introduction

Animo Logo

Paradym Wallet

This repository contains an implementation of a mobile Paradym SSI wallet.

With Paradym Wallet, you can seamlessly manage and present your digital credentials, allowing for a secure and private digital existence. Your data is stored locally on your device, meaning that you retain full control over your information and decide who you want to share it with.

Impression of Paradym Wallet

Try it out

You can download Paradym Wallet from the Google Play Store or Apple App Store.

The wallet can be used in three environments:

  • Dutch Blockchain Coalition (DBC): Use your wallet to access the DBC zone where you can find extra resources related to DBC events. You can use this link to receive your credential, and log in on the DBC website.
  • Triall: Log in to the Triall environment. Obtain your credential here and enter the environment on the Trial website.
  • Future Mobility Alliance: Access the Future Mobility Data Marketplace by obtaining your credential here and logging in via the FMA website.

Project Structure

The project is a monorepo managed using pnpm, which contains an Expo React Native application. The UI is built using Tamagui, and navigation is handled using Expo Router, React Navigation and Solito. For the Agent and SSI capabilities Aries Framework JavaScript (AFJ) is used.

The folder structure is as follows

  • apps top level applications
    • paradym Paradym Wallet - react native app for iOS & Android
    • funke Funke Wallet - react native app for iOS & Android
  • packages shared packages
    • ui includes our custom UI kit that will be optimized by Tamagui
    • agent includes the Aries Framework JavaScript (AFJ) agent and SSI capabilities
    • app you'll be importing most files from app/
      • features (don't use a screens folder. organize by feature.)
      • provider (all the providers that wrap the app, and some no-ops for Web.)
      • navigation This folder contains navigation-related code for RN. You may use it for any navigation code, such as custom links.

You can add other folders inside of packages/ if you know what you're doing and have a good reason to.

๐Ÿ Start a wallet

First, start by installing all dependencies by running pnpm install.

Once all dependencies are installed, you need to make sure you have a development build of the app on your mobile device. You can install this using the following commands:

cd apps/paradym # or apps/funke
pnpm prebuild
pnpm ios # or android

You only need to install the development build when native dependencies change. If you're only working on JS, you can skip this step if you already have the development build installed.

Once installed you can run pnpm start from the root of the project to start your development server.

๐Ÿ“ฆ Releasing

๐Ÿšง Soon documentation will be added on how to publish a new release to the Apple App Store and Google Play Stores. ๐Ÿšง

๐Ÿ†• Add new dependencies

Pure JS dependencies

If you're installing a JavaScript-only dependency that will be used across platforms, install it in packages/app:

cd packages/app
pnpm add date-fns
cd ../..
pnpm

Native dependencies

If you're installing a library with any native code, you must install it in expo:

cd apps/paradym
pnpm add react-native-reanimated
cd ..
pnpm

You can also install the native library inside of packages/app if you want to get autoimport for that package inside of the app folder. However, you need to be careful and install the exact same version in both packages. If the versions mismatch at all, you'll potentially get terrible bugs. This is a classic monorepo issue. You can use lerna-update-wizard to help with this (you don't need to use Lerna to use that lib).

paradym-wallet's People

Contributors

auer-martin avatar berendsliedrecht avatar karimstekelenburg avatar timoglastra avatar tommylans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

paradym-wallet's Issues

Missing license information

Great work Animo team!!!

Would it be possible to give this repo a license so programmers know how they can use it?

App crashes after a few seconds after launch on Android

I am using Windows 11, command line, node version 18,

The initial launch of the app runs but after viewing the popup that says the various features of interaction and selecting home, it crashes with the following report:

 Logs for your project will appear below. Press Ctrl+C to exit.
Android Bundling complete 23246ms
 WARN  WARN: The '@aries-framework/askar' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @aries-framework packages.
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
 WARN  WARN: The '@aries-framework/openid4vc-client' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @aries-framework packages.
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
 INFO  INFO: Creating agent with config {
  "agentConfig": {
    "label": "Paradym Wallet",
    "walletConfig": {
      "id": "paradym-wallet-secure",
      "key": "[*****]",
      "storage": {}
    },
    "autoUpdateStorageOnStartup": true,
    "logger": 2,
    "agentDependencies": true
  }
}
 INFO  INFO: Initializing wallet 'paradym-wallet-secure' {
  "id": "paradym-wallet-secure",
  "key": "[*****]",
  "storage": {}
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
 WARN  Possible Unhandled Promise Rejection (id: 0):
TypeError: undefined is not a function
TypeError: undefined is not a function
    at anonymous (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:624211:23)
    at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/x86_64/lib/InternalBytecode/InternalBytecode.js:53:16)
    at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/x86_64/lib/InternalBytecode/InternalBytecode.js:139:27)
    at apply (native)
    at anonymous (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:29321:26)
    at _callTimer (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:29240:17)
    at _callReactNativeMicrotasksPass (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:29270:17)
    at callReactNativeMicrotasks (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:29433:44)
    at __callReactNativeMicrotasks (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:2579:46)
    at anonymous (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:2391:45)
    at __guard (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:2563:15)
    at flushedQueue (http://192.168.0.123:8081/index.bundle?platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:2390:21)
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\root\react-native\ReactAndroid\hermes-engine\.cxx\Release\2q6r403w\x86_64\lib\InternalBytecode\InternalBytecode.js'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at getCodeFrame (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:975:18)
    at Server._symbolicate (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:1044:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server._processRequest (C:\Users\denai\Github\Hyperledger_Aries\paradym-wallet\node_modules\metro\src\Server.js:417:7) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\root\\react-native\\ReactAndroid\\hermes-engine\\.cxx\\Release\\2q6r403w\\x86_64\\lib\\InternalBytecode\\InternalBytecode.js'
}

Currently it just shows a blank screen:
image

Digital identities and verfiable credentials

Hi there

Not sure if GitHub Issues is the go-to place for this, but I'm working on a React Native project and need BLS signatures. I found the bls bindings you guys did and saw you're also wokring with secure digital identities.

You might want to check out the Chia blockchain. It's super decentralized and has digital identities and verifiable credentials built right in. They're also using BLS signatures. Here's their GitHub if you're interested: Chia BLS Signatures.

Seems like there could be some cool overlaps between what you're doing and what they've got going on.

Cheers,
Ronald

Credential information could not be extracted / Couldn't receive credential from OpenID4VCI offer

I don't think the app is working as you expect.

Steps to reproduce:

  1. Run latest version in Expo (or use Play Store app)
  2. Scan in this QR

qr_1_65

This produces the "Credential information could not be extracted" error inside the app.

Note, the QR seems valid as I've managed to scan it into a different wallet app. And I got it from https://launchpad.mattrlabs.com/.

I've also tried many QRs, all produce the same error.

Looking at the expo logs, it says


}
 DEBUG  DEBUG: Connecting to WebSocket wss://mediator.dev.paradym.id/didcomm
 DEBUG  DEBUG: Successfully connected to WebSocket wss://mediator.dev.paradym.id/didcomm
 LOG  START fetching url: https://launchpad.vii.electron.mattrlabs.io/.well-known/openid-credential-issuer
 LOG  success status: 200, body:
{"issuer":"https://launchpad.vii.electron.mattrlabs.io","authorization_endpoint":"https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/authorize","token_endpoint":"https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/token","jwks_uri":"https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/jwks","token_endpoint_auth_methods_supported":["none","client_secret_basic","client_secret_jwt","client_secret_post","private_key_jwt"],"code_challenge_methods_supported":["S256"],"grant_types_supported":["authorization_code","urn:ietf:params:oauth:grant-type:pre-authorized_code"],"response_modes_supported":["form_post","fragment","query"],"response_types_supported":["code id_token","code","id_token","none"],"scopes_supported":["OpenBadgeCredential","PermanentResidentCard","AcademicAward","LearnerProfile"],"token_endpoint_auth_signing_alg_values_supported":["HS256","RS256","PS256","ES256","EdDSA"],"credential_endpoint":"https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/credential","credentials_supported":[{"id":"a09382b7-4345-4396-b86b-bcb3ba6e6716","format":"ldp_vc","types":["VerifiableCredential","OpenBadgeCredential"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["Ed25519Signature2018"],"display":[{"name":"Example University Degree","description":"JFF Plugfest 3 OpenBadge Credential","background_color":"#464c49","logo":{"url":"https://w3c-ccg.github.io/vc-ed/plugfest-1-2022/images/JFF_LogoLockup.png"}}]},{"id":"16ca7226-0ee7-4a42-be3b-c186f75f6218","format":"ldp_vc","types":["VerifiableCredential","PermanentResidentCard"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["Ed25519Signature2018"],"display":[{"name":"Permanent Resident Card","description":"Government of Kakapo","background_color":"#3a2d2d","logo":{"url":"https://static.mattr.global/credential-assets/government-of-kakapo/web/logo.svg"}}]},{"id":"9a84a5b5-acfc-4fcf-b8a0-b50930ce72c3","format":"ldp_vc","types":["VerifiableCredential","AcademicAward"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["Ed25519Signature2018"],"display":[{"name":"Academic Award","description":"Microcredential from the MyCreds Network.","background_color":"#def4f7","logo":{"url":"https://mycreds.ca/wp-content/uploads/2020/10/Mycreds.ca-Logo.svg"}}]},{"id":"7c47194f-f887-4a85-abd2-46f67f1bc335","format":"ldp_vc","types":["VerifiableCredential","LearnerProfile"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["Ed25519Signature2018"],"display":[{"name":"Digitary Learner Profile","description":"Example","background_color":"#f5f5f5","logo":{"url":"https://i.imgur.com/o89yUrl.png"}}]},{"id":"613ecbbb-0a4c-4041-bb78-c64943139d5f","format":"jwt_vc_json","types":["VerifiableCredential","OpenBadgeCredential"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["EdDSA"],"display":[{"name":"Example University Degree","description":"JFF Plugfest 3 OpenBadge Credential","background_color":"#464c49","logo":{"url":"https://w3c-ccg.github.io/vc-ed/plugfest-1-2022/images/JFF_LogoLockup.png"}}]},{"id":"c3db5513-ae2b-46e9-8a0d-fbfd0ce52b6a","format":"jwt_vc_json","types":["VerifiableCredential","PermanentResidentCard"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["EdDSA"],"display":[{"name":"Permanent Resident Card","description":"Government of Kakapo","background_color":"#3a2d2d","logo":{"url":"https://static.mattr.global/credential-assets/government-of-kakapo/web/logo.svg"}}]},{"id":"e4e8ffec-54e1-412e-82c7-8faaaa34f585","format":"jwt_vc_json","types":["VerifiableCredential","AcademicAward"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["EdDSA"],"display":[{"name":"Academic Award","description":"Microcredential from the MyCreds Network.","background_color":"#def4f7","logo":{"url":"https://mycreds.ca/wp-content/uploads/2020/10/Mycreds.ca-Logo.svg"}}]},{"id":"2ae327ed-7b40-483c-a046-86a4dfa633df","format":"jwt_vc_json","types":["VerifiableCredential","LearnerProfile"],"cryptographic_binding_methods_supported":["did:key"],"cryptographic_suites_supported":["EdDSA"],"display":[{"name":"Digitary Learner Profile","description":"Example","background_color":"#f5f5f5","logo":{"url":"https://i.imgur.com/o89yUrl.png"}}]}]}
 LOG  START fetching url: https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/token
 LOG  error status: 400, body:
{"error":"invalid_grant","error_description":"grant request is invalid"}
 ERROR  ERROR: Couldn't receive credential from OpenID4VCI offer {
  "error": {
    "name": "Error",
    "stack": "Error: Retrieving an access token from https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/token for issuer https://launchpad.vii.electron.mattrlabs.io failed with status: 400\n    at ?anon_0_ (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:625310:26)\n    at next (native)\n    at fulfilled (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:625097:30)\n    at tryCallOne (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/554c6x4t/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)\n    at anonymous (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/554c6x4t/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)\n    at apply (native)\n    at anonymous (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:39248:26)\n    at _callTimer (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:39127:17)\n    at _callReactNativeMicrotasksPass (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:39172:17)\n    at callReactNativeMicrotasks (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:39378:44)\n    at __callReactNativeMicrotasks (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:3465:46)\n    at anonymous (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:3239:45)\n    at __guard (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:3438:15)\n    at flushedQueue (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:3238:21)\n    at invokeCallbackAndReturnFlushedQueue (http://192.168.0.18:8081/index.bundle//&platform=android&dev=true&minify=false&app=id.paradym.wallet.dev&modulesOnly=false&runModule=true:3232:33)",
    "message": "Retrieving an access token from https://launchpad.vii.electron.mattrlabs.io/oidc/v1/auth/token for issuer https://launchpad.vii.electron.mattrlabs.io failed with status: 400"
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.