Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 835 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 835 Bytes

IC4J Java Agent sample using different Identity mechanisms.

This sample demonstrates how to use AnonymousIdentity, BasicIdentity (ED25519) and Secp256k1Identity.

To install Dapp canister, use either local Dfinity SDK or remote Motoko Playground.

This application requires Java version 1.8.

Modify application.properties file to set canister location and id.

ic.location=https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/
ic.canister=5hus6-nyaaa-aaaab-qacya-cai

Run Gradle build. Modify Java version in the build file if higher than 1.8.

gradle build

Run Java with fat jar

java -jar build/libs/ic4j-sample-identity-0.6.19.jar