An http client for the Ceramic protocol
$ npm install @ceramicnetwork/http-client
import CeramicClient from '@ceramicnetwork/http-client' import IdentityWallet from 'identity-wallet' const API_URL = "http://localhost:7007" const client = new CeramicClient(API_URL) // create document example await doc = await client.createDocument('tile', { content: { test: 123 } })
Complete Ceramic core API is available on Ceramic API.
Run tests:
$ npm test
Run linter:
npm run lint
We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.
Default Ceramic client configuration
Ceramic http client
Getting started
Installation
$ npm install @ceramicnetwork/http-client
Usage
import CeramicClient from '@ceramicnetwork/http-client' import IdentityWallet from 'identity-wallet' const API_URL = "http://localhost:7007" const client = new CeramicClient(API_URL) // create document example await doc = await client.createDocument('tile', { content: { test: 123 } })
Ceramic API
Complete Ceramic core API is available on Ceramic API.
Development
Run tests:
$ npm test
Run linter:
npm run lint
Contributing
We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.
License