See New Paper on CouchDB Server


How to See New Paper on CouchDB server?



If you are the PaperNet admin, you may want to see the world state of the asset managed by papercontract. PaperNet uses CouchDB to store the world state and configured with a REST API on port 5984.

1. List all databases:

(magnetocorp admin)$ curl http://localhost:5984/_all_dbs


2. List all assets (called documents in CouchDB) of "mychannel_papercontract":

(magnetocorp admin)$ curl http://localhost:5984/mychannel_papercontract/_all_docs

As you can see, the current state of paper 00001 is in the world state.


Start CLI Container for DigiBank Admin

issue.js - Application to Issue New Paper

commercial-paper Sample Network

⇑⇑ Hyperledger Tutorials

2019-11-21, 1008🔥, 0💬