bshambaugh / BlinkyProject

4 stars 0 forks source link

Set up Local Ceramic Node for Testing #12

Open bshambaugh opened 1 year ago

bshambaugh commented 1 year ago

Obviously, this still does not work:

ceramic daemon --network local

scr-1668632186s

Start with: https://developers.ceramic.network/learn/networks/

"Networks are collections of Ceramic nodes that share specific configurations and communicate over dedicated libp2p topics. Networks are discrete from one another. Streams that exist on one network are not discoverable on or portable to another."

Set up a single node....

"Local

Local is a private test network used for the local development of Ceramic applications. Nodes connected to the same local network communicate over a randomly-generated libp2p topic /ceramic/local-$(randomNumber) and use a local Ethereum blockchain provided by Truffle's Ganache for generating timestamps used in anchor commits for streams."

https://developers.ceramic.network/learn/glossary/#anchor-commit

https://github.com/ceramicnetwork/ceramic-anchor-service

"Anchor service

A Ceramic Anchor Service (CAS) is a hosted "layer-2" solution for generating anchor commits for many different stream transactions in a scalable, low cost manner. Ceramic nodes are responsible for sending anchor requests containing a StreamID and a CommitID to a CAS, which then batches these transactions into a merkle tree, and includes the merkle root into a blockchain platform in a single transaction (currently Ethereum). After the transaction makes its way onto a blockchain, a Ceramic node creates an anchor commit which includes a reference to the blockchain transaction for every anchored stream. A CAS eliminates the need for each stream transaction to have its own corresponding blockchain transaction, which would be slower and more expensive."