Skip to content

ejlee8796/did-wallet-sdk-server

 
 

Repository files navigation

Server Wallet SDK

Welcome to the Server Wallet SDK Repository.
This repository provides an SDK for developing a server wallet.

Folder Structure

did-wallet-sdk-server
├── CHANGELOG.md
├── CLA.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── dependencies-license.md
├── MAINTAINERS.md
├── README_ko.md
├── README.md
├── RELEASE-PROCESS.md
├── SECURITY.md
├── docs
│   └── api
│        ├── WALLET_SDK_SERVER_API.md
│        ├── WALLET_SDK_SERVER_API_ko.md
│        └── WalletSDKError.md
└── source
    ├── did-wallet-sdk-server
    │   ├── .gitignore
    │   ├── build.gradle
    │   ├── gradle
    │   │    └── wrapper
    │   ├── gradlew
    │   ├── gradlew.bat
    │   ├── libs
    │   │    └── did-crypto-sdk-server-1.0.0.jar 
    │   ├── README_ko.md
    │   ├── README.md
    │   ├── settings.gradle
    │   └── src
    └── release
        └── did-wallet-sdk-server-1.0.0.jar
Name Description
source SDK source code project
docs Documentation
┖ api API guide documentation
README.md Overview and description of the project
CLA.md Contributor License Agreement
CHANGELOG.md Version-specific changes in the project
CODE_OF_CONDUCT.md Code of conduct for contributors
CONTRIBUTING.md Contribution guidelines and procedures
LICENSE Apache 2.0
dependencies-license.md Licenses for the project’s dependency libraries
MAINTAINERS.md General guidelines for maintaining
RELEASE-PROCESS.md Release process
SECURITY.md Security policies and vulnerability reporting

Build Method

: Create a JAR file based on the build.gradle file of this SDK project.

  1. Open the build.gradle file of your project and add a task from the configuration file as shown below.
plugins {
    id 'java-library'
}

repositories {
    mavenCentral()
    jcenter()
}

group = 'org.omnione.did'
jar {
    archiveBaseName.set('did-wallet-sdk-server') 
    archiveVersion.set('1.0.0')
    archiveClassifier.set('') 
}

java {
    sourceCompatibility = '17'
    targetCompatibility = '17'
}

dependencies {
    implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
    implementation 'com.google.guava:guava:33.2.1-jre'
    implementation 'com.google.code.gson:gson:2.8.9'
    implementation 'org.slf4j:slf4j-api:2.0.7'

    implementation files('libs/did-crypto-sdk-server-1.0.0.jar')
}
  1. Open the Gradle tab in IDE and run the project's Task > Build > Clean and Build task, or type './gradlew clean and build' in a terminal.
  2. Once the execution is complete, the did-wallet-sdk-server-1.0.0.jar file will be generated in the {projetPath}/build/libs/ folder.

Libraries

Libraries can be found in the Releases.

Wallet SDK

  1. Copy the did-crypto-sdk-server-1.0.0.jar file to the libs of the server project.
  2. Add the following dependencies to the build.gradle of the server project.
    implementation files('libs/did-crypto-sdk-server-1.0.0.jar')

    implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
    implementation 'com.google.guava:guava:33.2.1-jre'
    implementation 'com.google.code.gson:gson:2.8.9'
    implementation 'org.slf4j:slf4j-api:2.0.7'
  1. Sync Gradle to ensure the dependencies are properly added.

API Reference

API Reference can be found here

Contributing

Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.

License

Apache 2.0

About

Provide an SDK for developing a server wallet.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%