Skip to content

Commit

Permalink
removing client folder + README update
Browse files Browse the repository at this point in the history
save
  • Loading branch information
coti-tech committed Aug 19, 2021
1 parent 7a766e2 commit b734fd6
Show file tree
Hide file tree
Showing 36 changed files with 20 additions and 15,376 deletions.
34 changes: 20 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,59 @@

## Overview

This is an alpha version of the Ledger Nano S COTI app.
This is the Ledger Nano S COTI app.

## Building and Installing

Make sure that Docker is installed and build the `ledger-app-builder:1.6.0` container:
Make sure that Docker is installed and build the `ledger-app-builder:1.6.0` container image:

```bash
docker build -t ledger-app-builder:1.6.0 .
$ docker build -t ledger-app-builder:1.6.0 .
```

Make sure to install `coreutils` to have the `realpath` command available:

```bash
$ brew install coreutils
```

Compile the app:

```bash
$ docker run --rm -ti -v "$(realpath .):/coti" ledger-app-builder:1.6.0
root@d83f688268b3:/coti# cd app
root@d83f688268b3:/coti# make
root@d83f688268b3:/coti/app# make
```

Make sure to install `coreutils` to have the `realpath` command available:
After you've built the application, you can generate an installation script `load.sh` via:

```bash
brew install coreutils
root@d83f688268b3:/coti/app# make load-script
root@d83f688268b3:/coti/app# exit
```

## Installing the Application

In order to install/uninstall the application, you need to install the `ledgerblue` python module and additional dependencies:

```bash
xcode-select --install
$ xcode-select --install

brew install python3 libusb
pip3 install ledgerblue hidapi
$ brew install python3 libusb
$ pip3 install ledgerblue hidapi
```

After you've built the application, you can generate an installation script via:
Afterwards, you can run the generated `load.sh` in order to install the application:

```bash
make load-script
$ cd app
$ ./load.sh
```

Afterwards, you can run the generated `load.sh` in order to install the application.

You can uninstall the application via:

```bash
python3 -m ledgerblue.deleteApp --targetId 0x31100004 --appName "COTI"
$ python3 -m ledgerblue.deleteApp --targetId 0x31100004 --appName "COTI"
```

## Documentation
Expand Down
2 changes: 0 additions & 2 deletions client/.eslintignore

This file was deleted.

66 changes: 0 additions & 66 deletions client/.eslintrc

This file was deleted.

13 changes: 0 additions & 13 deletions client/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions client/.prettierrc

This file was deleted.

6 changes: 0 additions & 6 deletions client/lerna.json

This file was deleted.

26 changes: 0 additions & 26 deletions client/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions client/packages/hw-sdk/package.json

This file was deleted.

83 changes: 0 additions & 83 deletions client/packages/hw-sdk/src/index.js

This file was deleted.

1 change: 0 additions & 1 deletion client/packages/test-app/.env

This file was deleted.

Binary file removed client/packages/test-app/build/favicon.ico
Binary file not shown.
15 changes: 0 additions & 15 deletions client/packages/test-app/build/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions client/packages/test-app/build/robots.txt

This file was deleted.

49 changes: 0 additions & 49 deletions client/packages/test-app/package.json

This file was deleted.

Binary file removed client/packages/test-app/public/favicon.ico
Binary file not shown.
Loading

0 comments on commit b734fd6

Please sign in to comment.