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

5.7.0 • Public • Published

Ceramic http client

ceramicnetwork MIT license Twitter

An http client for the Ceramic protocol

Getting started

Installation

$ npm install @ceramicnetwork/http-client

Usage

See the Ceramic developer site for more details about how to use this package.

import CeramicClient from '@ceramicnetwork/http-client'
import TileDocument from '@ceramicnetwork/stream-tile'
import IdentityWallet from 'identity-wallet'

const API_URL = "http://localhost:7007"

const client = new CeramicClient(API_URL)

// create document example
const tileDocument = await TileDocument.create(ceramic, { 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

Dependencies (9)

Dev Dependencies (4)

Package Sidebar

Install

npm i @ceramicnetwork/http-client

Weekly Downloads

4,913

Version

5.7.0

License

(Apache-2.0 OR MIT)

Unpacked Size

55.8 kB

Total Files

30

Last publish

Collaborators

  • dav1do
  • ceramic-velvetshark
  • cb3box
  • jpham2023
  • npm.3box
  • smrz2001
  • oed
  • paul_lecam
  • stbrody
  • ukstv