@shiyld/shared
v1.0.6
Published
Shared TypeScript types, constants, and contract ABIs for the Shiyld privacy protocol.
Readme
@shiyld/shared
Shared TypeScript types, address/asset constants, and contract ABIs used across the Shiyld privacy protocol — a zero-knowledge, shielded-pool DeFi protocol on Base.
This package has no runtime logic of its own. It exists so that Shiyld's own apps
(wallet, indexer, relayer) and any third-party integration share one source of truth
for the Note type, deployed contract addresses per chain, asset configuration, and
contract ABIs, instead of each maintaining its own copy.
Install
npm install @shiyld/sharedWhat's in here
Note,NoteType,NoteWithMeta,MerkleProof,ProofInputs— the core note schemaPool,PoolEvent— pool/event typesZKProof,PublicSignals,ProofBundle,OperationType— proof typesADDRESSES— deployed contract addresses, keyed by chain IDASSETS,ETH_ADDRESS,TESTNET_SYD— supported asset configurationNETWORKS,networkBySlug,networkByChainId— supported network configurationSHIELDED_POOL_ABI,PARAMETER_REGISTRY_ABI,EPOCH_MANAGER_ABI— contract ABIs
Provenance
This repository is a mirrored, independently-versioned release of
packages/shared from Shiyld's private monorepo. It's published here so that
@shiyld/indexer-core, @shiyld/wallet-core, and any third-party consumer can depend
on it as a normal npm package rather than a private workspace link. Source changes
land here via a one-way mirror from the private monorepo; this repo's own history
starts fresh at v1.0.0, independent of the monorepo's internal version history.
License
MIT