https://github.com/keycard-tech/keycard-cash-test-dapp
https://github.com/keycard-tech/keycard-cash-test-dapp
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/keycard-tech/keycard-cash-test-dapp
- Owner: keycard-tech
- Created: 2020-01-21T14:44:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:25:47.000Z (over 3 years ago)
- Last Synced: 2025-10-10T19:33:14.062Z (10 months ago)
- Language: JavaScript
- Homepage: https://status-im.github.io/keycard-cash-test-dapp/
- Size: 2.58 MB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keycard Cash Test Dapp
This is an example dapp that signs some typed data with the Keycard Cash applet using a call to `keycard_signTypedData`.
## Keycard setup
Download the latest [Keycard CLI](https://github.com/status-im/keycard-cli/releases).
Rename the executable and set the right permissions:
```
cd Downloads
mv keycard-darwin-10.6-amd64 keycard
chmod +x keycard
```
Download the latest [Keycard applet .cap file](https://github.com/status-im/status-keycard/releases).
Install the applet:
!!! EVERY TIME AN INSTALLATION IS PERFERMED, THE KEYS INSIDE THE CARD ARE DELETED !!!
```
keycard install -f -a keycard_v3.0.cap
```
## Testing the cash applet
Install [Status](https://status.im).
Open the Status browser and go to [https://status-im.github.io/keycard-cash-test-dapp/](https://status-im.github.io/keycard-cash-test-dapp/).
Click the sign button and follow the request screen asking to tap the keycard to sign the typed data.
The page logs the result or any error occurred during the calls to the web3 methods.