Skip to content

helix-bridge/helix-ceramic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Helix Ceramic

Init

npm install --location=global @ceramicnetwork/cli
npm install --location=global @composedb/cli

Start Ceramic db

npx @ceramicnetwork/cli daemon

After the frist time launched daemon, you should stop it manully and edit your own daemon.config.json

Using your account

# Generate private key
composedb did:generate-private-key
export CERAMIC_PRIVATE_KEY=<your private key>
# Generate DID
composedb did:from-private-key your-private-key
cd ~/.ceramic
vim daemon.config.json
# put your did in "admin-dids"
# Restart ceramic
ceramic daemon --network=inmemory/testnet-clay/mainnet

Generate model file from graphql

composedb composite:create helix-bridge-multi-sig-schema.graphql --output=helix-composite.json --did-private-key=YOUR KEY MATCHES ADMIN DIDS

Index/Subcribe to the data model

composedb composite:deploy helix-composite.json --ceramic-url=http://localhost:7007 --did-private-key=$YOUR_PRIVATE_KEY

Use the service from TypeScript client or start a graphQL server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published