Skip to content

Implementation of The Web Ledger Protocol 1.0 # A format and protocol for decentralized ledgers on the Web # https://w3c.github.io/web-ledger/

License

Notifications You must be signed in to change notification settings

asteriusj/webledgerservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I am building an immutable transaction logging function (i.e.blockvhain) using W3C Web Ledger Protocol for a multi-source "Semantic Data Master (SDM) - Next Gen MDM" project.

Who would like to work on this with me as an Open Source project?

An Implementation of The Web Ledger Protocol 1.0

A format and protocol for decentralized ledgers on the Web https://w3c.github.io/web-ledger/

This is a W3C Community Group Draft Report

This specification was published by the W3C Blockchain Community Group on 01 March 2018.

The Source code for the specification can be found on Github.

Objective

The objective of the webledgerservice project is to build an implemetatyion of the Ledger Agent HTTP API endpoints as defined by the specification.

Such an implemetation can be used as a simple 'standardized' example of open source blockchain technology components.

The near term motivation is to use the components as part of a master data management system interagation event logging function.

The function will also incorporate data source provenence information and the log will provide a tracaable and immutable record of system intergation activity.

Workspace preperation

Install serverless globally

npm install serverless -g

Create a serverless function

serverless create --template aws-nodejs

Test stack locally

serverless invoke local -f hello --data '{"key":"bar"}' --log

Setup cloud credentials

https://serverless.com/framework/docs/providers/aws/guide/credentials/ export AWS_ACCESS_KEY_ID= export AWS_SECRET_ACCESS_KEY=

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are now available for serverless to use

serverless deploy

github

$ git add $ git commit -m "Update messages" $ git push https://github.com/asteriusj/webledgerservice Username for 'https://github.com': asteriusj Password for 'https://asteriusj@github.com': ******

Project Description

Implementation of The Web Ledger Protocol 1.0

A format and protocol for decentralized ledgers on the Web https://w3c.github.io/web-ledger/

Service listing

Service Example URL Description
ledgerAgentCreateService POST /ledger-agents Create a ledger agent.
ledgerAgentListService GET /ledger-agents Get all ledger agents.
ledgerAgentStatusService GET /ledger-agents/{agent} Get the current status of the ledger agent.
ledgerEventService POST /ledger-agents/{agent}/events Request the addition of an event to ledger.
ledgerBlockService GET /ledger-agents/{agent}/blocks Get a specific block from the ledger.
ledgerQueryService GET /ledger-agents/{agent}/query Query the current state of the ledger.

##Wiki Contents

Serverless API

W3C Terminology

W3C Data Model

W3C Ledger-Agent-HTTP-API

About

Implementation of The Web Ledger Protocol 1.0 # A format and protocol for decentralized ledgers on the Web # https://w3c.github.io/web-ledger/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published