Giter Club home page Giter Club logo

iron-vc-api's Introduction

Verifiable Credentials HTTP API

An example implementation of the Verifiable Credentials HTTP API using Iron Verifiable Credentials, Titanium JSON-LD and Vert.x.

Java 17 CI License

Demo

https://vc.apicatalog.com/*

Extra Endpoints

POST /verify?[domain=]

Verifies verifiable credentials and presentations sent in raw JSON[-LD] format, expanded or compacted.

Contributing

All PR's welcome!

Setup

Variables

EDDSA Keys
> export ED_PUBLIC_KEY=[MULTIBASE]
> export ED_PRIVATE_KEY=[MULTIBASE]
ECDSA P-256 Keys
> export P256_PUBLIC_KEY=[MULTIBASE]
> export P256_PRIVATE_KEY=[MULTIBASE]
ECDSA P-384 Keys
> export P384_PUBLIC_KEY=[MULTIBASE]
> export P384_PRIVATE_KEY=[MULTIBASE]

See IssuingHandler and VCApiTest for an example.

Building

Fork and clone the project repository.

> cd iron-vc-api
> mvn clean package

Developing

> cd iron-vc-api
> chmod +x ./bin/start.sh
> ./bin/start.sh dev

Deployment

  1. Setup GAE project and install gcloud utility.
  2. Create .env.yaml in the project root directory
env_variables:
  ED_PUBLIC_KEY: [MULTIBASE]
  ED_PRIVATE_KEY: [MULTIBASE]
  P256_PUBLIC_KEY: [MULTIBASE]
  P256_PRIVATE_KEY: [MULTIBASE]
  P384_PUBLIC_KEY: [MULTIBASE]
  P384_PRIVATE_KEY: [MULTIBASE]
  1. Edit src/main/appengine/app.yaml
  2. Compile and deploy
> ./bin/deploy.sh

Resources

Sponsors

Commercial Support

Commercial support is available at [email protected]

iron-vc-api's People

Contributors

dependabot[bot] avatar filip26 avatar

Watchers

 avatar  avatar

iron-vc-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.