This package has been deprecated

Author message:

Package has been renamed to: @ceramicnetwork/http-client

@ceramicnetwork/ceramic-http-client
TypeScript icon, indicating that this package has built-in type declarations

0.7.5 • Public • Published

Ceramic http client

An http client for the Ceramic protocol

Getting started

Installation

$ npm install @ceramicnetwork/ceramic-http-client

Usage

import CeramicClient from '@ceramicnetwork/ceramic-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 } }, { applyOnly: true, skipWait: true })

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

Package Sidebar

Install

npm i @ceramicnetwork/ceramic-http-client

Weekly Downloads

8

Version

0.7.5

License

(Apache-2.0 OR MIT)

Unpacked Size

46 kB

Total Files

15

Last publish

Collaborators

  • oed