Skip to content

VeriSphereVSP/protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VeriSphere Protocol (SDK)

TypeScript SDK for interacting with deployed VeriSphere core contracts.

Build

npm install
npm run build

Example

import { ProtocolClient } from "@verisphere/protocol";

const client = new ProtocolClient({
  rpcUrl: process.env.CORE_RPC_URL!,
  privateKey: process.env.CORE_PRIVATE_KEY!,
  addresses: {
    postRegistry: process.env.CORE_POST_REGISTRY!,
    stakeEngine: process.env.CORE_STAKE_ENGINE!,
    linkGraph: process.env.CORE_LINK_GRAPH!,
  }
});
await client.createClaim("This is a claim.");

About

Deterministic protocol API and client library for interacting with VeriSphere smart contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors