https://github.com/devrandom/javacard-wallet
Cryptocurrency wallet applet
https://github.com/devrandom/javacard-wallet
Last synced: 9 months ago
JSON representation
Cryptocurrency wallet applet
- Host: GitHub
- URL: https://github.com/devrandom/javacard-wallet
- Owner: devrandom
- Created: 2019-10-06T17:16:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-28T07:34:44.000Z (about 4 years ago)
- Last Synced: 2025-01-31T22:06:37.251Z (11 months ago)
- Language: Java
- Size: 72.3 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Compilation
1. clone `https://github.com/martinpaljak/oracle_javacard_sdks` somewhere
1. Create `gradle.properties` as described below
1. Run `./gradlew convertJavacard -i`
## Configure Java Card home
`gradle.properties` can include something like:
com.fidesmo.gradle.javacard.home=PATH_HERE/oracle_javacard_sdks/jc304_kit/
or you could use an environment variable (name?).
## Install and Test
1. If you have a Status Keycard, it has a **non-default development key**.
In that case: `export CARD_KEY=c212e073ff8b4bbfaff4de8ab655221f`
1. Install to card with `./gradlew install -i`
1. Ping applet with `./gradlew ping -i`
You can also run unit tests, after cloning this repo in the parent directory:
(cd .. && git clone https://github.com/status-im/jcardsim.git jcardsim-status)
./gradlew test -i
## Utilities
Recommend building https://github.com/martinpaljak/GlobalPlatformPro and using
the gp.jar command. For example `gp -list` (with `-key $CARD_KEY` if using Status Keycard)
will list the installed applets. This library is also used for our install and uninstall
targets.