smartwallet-app

所属分类:以太坊
开发工具:TypeScript
文件大小:5976KB
下载次数:0
上传日期:2023-03-21 09:36:25
上 传 者sh-1993
说明:  Jolocom开发的去中心化自我主权身份解决方案。
(A decentralized self sovereign identity solution developed by Jolocom.)

文件列表:
.buckconfig (114, 2023-03-06)
.env.example (379, 2023-03-06)
.eslintrc.js (1423, 2023-03-06)
.flowconfig (1409, 2023-03-06)
.prettierrc.js (120, 2023-03-06)
.ruby-version (5, 2023-03-06)
.travis.yml (3855, 2023-03-06)
.watchmanconfig (2, 2023-03-06)
App.tsx (1451, 2023-03-06)
Gemfile (426, 2023-03-06)
Gemfile.lock (8022, 2023-03-06)
LICENSE (373, 2023-03-06)
PRIVACY_POLICY.md (16517, 2023-03-06)
__tests__ (0, 2023-03-06)
__tests__\mocks (0, 2023-03-06)
__tests__\mocks\libs (0, 2023-03-06)
__tests__\mocks\libs\react-redux.ts (501, 2023-03-06)
__tests__\mocks\store (0, 2023-03-06)
__tests__\mocks\store\attributes.ts (619, 2023-03-06)
__tests__\suits (0, 2023-03-06)
__tests__\suits\Ausweis (0, 2023-03-06)
__tests__\suits\Ausweis\AusweisCanInfo.test.tsx (618, 2023-03-06)
__tests__\suits\Ausweis\AusweisChangePin.test.tsx (5241, 2023-03-06)
__tests__\suits\Ausweis\AusweisIdentity.test.tsx (4725, 2023-03-06)
__tests__\suits\Ausweis\AusweisPinInfo.test.tsx (838, 2023-03-06)
__tests__\suits\Ausweis\AusweisPukInfo.test.tsx (500, 2023-03-06)
__tests__\suits\Ausweis\AusweisTransportWarning.test.tsx (1823, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__ (0, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisCanInfo.test.tsx.snap (11931, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisChangePin.test.tsx.snap (19154, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisIdentity.test.tsx.snap (11802, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisPinInfo.test.tsx.snap (4554, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisPukInfo.test.tsx.snap (8979, 2023-03-06)
__tests__\suits\Ausweis\__snapshots__\AusweisTransportWarning.test.tsx.snap (5983, 2023-03-06)
... ...

Jolocom SmartWallet - An application to manage your digital identity. Interested in our vision? Take a look at our [whitepaper](https://jolocom.io/wp-content/uploads/2019/12/Jolocom-Whitepaper-v2.1-A-Decentralized-Open-Source-Solution-for-Digital-Identity-and-Access-Management.pdf). [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/jolocom/SmartWallet) ## Prerequisites - Set-up requires [Node.js](https://nodejs.org/en/download/) to be installed on your computer. - The Jolocom SmartWallet requires `Node.js v12+` to build the project. You can either manually install Node version above 12, or you can delegate it to `Volta` (follow [this link](https://docs.volta.sh/guide/getting-started) to install `Volta`). Node `12.4.1` is pinned to the project - We use [Yarn](https://yarnpkg.com) as our package manager. - We use [CocoaPods](https://cocoapods.org/) for `iOS` dependency management. ## Installation 1. Clone the repository to a directory of your choice. 2. `cd` into the cloned repo and run `yarn` from your terminal to install the required depencencies . ### Running a debug version for development #### Android 3. Please set up an Android development environment and install the required SDKs. - The [Getting Started](https://facebook.github.io/react-native/docs/getting-started) guide for React Native may come in handy. - Look for the instructions under React Native CLI Quickstart. 4. Connect an Android device and enable USB debugging **OR** start an Android AVD emulator 5. Run `yarn android` to install the application and run it. - NOTE: this will start a metro bundler server automatically, with stdout/stderr discarded. You can close this and run `yarn start` to manually start the bundler and receive more detailed output. ### iOS 3. Please set up an appropriate Xcode development environment. - The [Getting Started](https://facebook.github.io/react-native/docs/getting-started) guide for React Native may come in handy. - Look for the instructions under React Native CLI Quickstart. 4. `cd` into the `ios` folder, and install the native dependencies using the `pod install` command. 5. Run `yarn ios` to install and run the application in an emulator. - This will default to an iPhone X emulator. - The device can be specified by adding `--simulator` and the device name. - e.g. `yarn ios --simulator "iPhone SE"` - `NOTE`: this will start a metro bundler server automatically, with stdout/stderr discarded. You can close this and run `yarn start` to manually start the bundler and receive more detailed output. - `NOTE`: A debug build can also be built through Xcode. Running a build on a physical device requires the appropriate code signing certificates. ## Deeplinks The application supports deeplinks with this syntax `https://jolocom.app.link/interact?token={jwt}&redirectUrl={redirect_url}` where `jwt` is a jwt containing a valid interaction token and `redirect_url` (NOTE: url is an optional parameter) is an address a user will be redirected to (after the user's confirmation) after an interaction has been completed (full cycle of tokens exchange has happened and no exceptions were encountered on the way). Note `redirect_url` should be “url encoded”. You can do so programaticily, i.e. in JS `encodeURIComponent(redirect_url)` A QR code containing a deeplink can be scanned by both the wallet camera and the device camera ## Testing We use Jest + [React Native Testing Library](https://testing-library.com/docs/react-native-testing-library/intro/) for unit testing. To run unit tests with watch and testing coverage: ```bash yarn test --watch --coverage ``` ## Code Style and Formatting - We use [ESLint](https://eslint.org/) and [Prettier](https://prettier.io/) to keep a consistent style across the codebase. - There are plugins available for a range of IDEs and text editors; automatic formatting on save is also supported in some editors. - Check the `yarn lint:fix` and `yarn prettier:format` scripts. Copyright (C) 2014-2022 JOLOCOM GmbH

近期下载者

相关文件


收藏者