Skip to content
/ samples Public

Samples demonstrating different usage of IC4J Agent libraries

License

Notifications You must be signed in to change notification settings

ic4j/samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IC4J Samples

Samples demonstrating different usage of IC4J Agent libraries.

IC4JHelloWorld Java sample demonstrating call to Dfinity HelloWorld Dapp.

IC4JHelloWorldAdvanced Advanced version of HelloWorld sample. Added Identity and QUERY call.

IC4JIdentitySample Java sample using different Identity mechanisms.

IC4JInternetIdentitySample Java sample demonstrating how to use IC4J Internet Identity Java library.

IC4JPojoSample Java sample demonstrating POJO object serialization and deserialization to/from Candid Record type.

IC4JJacksonSample Java sample demonstrating JSON Jackson object serialization and deserialization to/from Candid Record type.

IC4JGsonSample Java sample demonstrating JSON GSON object serialization and deserialization to/from Candid Record type.

IC4JXMLSample Java sample demonstrating XML DOM object serialization and deserialization to/from Candid Record type.

IC4JJAXBSample Java sample demonstrating XML JAXM object serialization and deserialization to/from Candid Record type.

IC4JImageSample Java sample demonstrating byte array binary (png) object serialization and deserialzation to Candid Nat8 vector type.

IC4JJDBCSample Java sample demonstrating JDBC ResultSet object serialization to Candid Record type.

IC4JJava17Sample Java JDK 17 sample demonstrating use of ReplicaTransport based on Java 11 HTTP Client API.

IC4JSwiftSample Java sample demonstrates how to write the IC smart contracts with Swift ISO20022 documents payloads.

AndroidHelloWorld Android Kotlin sample demonstrating call to Advanced HelloWorld Dapp.

IC4JWSSample Java Web App sample demonstrating REST and Websockets calls to Advanced HelloWorld Dapp using Oracle Helidon framework.