Skip to content

Commit

Permalink
Merge pull request privacy-scaling-explorations#1407 from privacy-sca…
Browse files Browse the repository at this point in the history
…ling-explorations/feature/cli-exports

feat(cli): add export from contracts, circuits for cli package
  • Loading branch information
0xmad authored Apr 29, 2024
2 parents 753ded3 + 8f90c79 commit eb75e40
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion cli/ts/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,25 @@ import { verify } from "../commands/verify";

export { genKeyPair, genMaciPubKey, publish, publishBatch, signup, isRegisteredUser, verify, getPoll };

export type { Signer } from "ethers";
export type { ISnarkJSVerificationKey } from "maci-circuits";

export {
linkPoseidonLibraries,
Deployment,
ContractStorage,
EContracts,
EMode,
PollFactory__factory as PollFactoryFactory,
MessageProcessorFactory__factory as MessageProcessorFactoryFactory,
TallyFactory__factory as TallyFactoryFactory,
MACI__factory as MACIFactory,
type MACI,
type EASGatekeeper,
type IVerifyingKeyStruct,
type VkRegistry,
} from "maci-contracts";

export { VerifyingKey, type IVkObjectParams } from "maci-domainobjs";

export type {
TallyData,
Expand Down

0 comments on commit eb75e40

Please sign in to comment.