Skip to content

Latest commit

 

History

History

IC4JIdentitySample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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