@socialcap/contracts
TypeScript icon, indicating that this package has built-in type declarations

0.1.30 • Public • Published

Mina zkApp: @socialcap/contracts

This template uses TypeScript.

How to build

npm run build

How to run tests

node build/src/tests/main-root-tests.js
node build/src/tests/main-claim-tests.js

Publish to NPM

npm publish --access public

Use it

Install in client

npm i @socialcap/contracts

Import it

import { 
  RootsContract, 
  VotingContract,
  VotingInstance,
  ClaimsVotingFactory,
  ProvableCommunity, 
  CommunityState,
  ProvablePerson,
  PersonState,
  ProvableMember,
  MemberRole,
  UID,
  UTCDateTime,
  MerkleMapProxy,
  MerkleMapUpdate,
  LeafInstance,
  NullifierProxy,
} from "@socialcap/contracts";

License

Apache-2.0

Package Sidebar

Install

npm i @socialcap/contracts

Weekly Downloads

72

Version

0.1.30

License

Apache-2.0

Unpacked Size

1.51 MB

Total Files

170

Last publish

Collaborators

  • mazito