Skip to content

ontio/mercury

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ontology Mercury

English | 中文

Ontology Mercury is a trusted, decentralized, DID based peer to peer communication framework, based on DID, we also define protocols for connection , basic message, verifiable credential and presentation proofs.

Features

  • Connection protocol based on DID
  • Encrypted channel message exchange
  • Verifiable Credential protocol
  • Presentation proof protocol
  • Support message routing
  • Scalable to support multiple DID systems

Detail Design

Detail design

How to use

Build binary file

  1. git clone project
  2. use command ./make

Run agent

Use CLI

./agent-mercury

CLI parameters:

GLOBAL OPTIONS:
   --loglevel <level>  Set the log level to <level> (0~6). 0:Trace 1:Debug 2:Info 3:Warn 4:Error 5:Fatal 6:MaxLevel (default: 1)
   --rest-ip value     Set http rest ip addr default:127.0.0.1 (default: "127.0.0.1")
   --http-port value   Set http rest port default:8080 (default: "8080")
   --chain-addr value  Set block chain rpc addr default:127.0.0.1:20334 (default: "http://polaris2.ont.io:20336")
   --https-port value  Set https rest port default:8443 (default: "8443")
   --enable-https      start https restful service
   --enable-package    start package msg
   --help, -h          show help

By default , agent will connect polaris (ontology testnet) for querying DID, you can change chain-addr to connect mainnet node or you local sync node.

Tools

We provide some CLI to help create did and other functions.

Detail please refer to :Tools cli

Restful API

Agent also provides restful APIs for clients

Detail please refer to :Restful API

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •