@zodor-sdk/client-sdk
v0.1.3
Published
Zodor Protocol client SDK — identity, tokens, vault, bridge, smart wallets
Maintainers
Readme
@zodor-sdk/client-sdk
Browser and frontend SDK for Zodor Protocol. Interact with identity, tokens, vaults, bridges, and smart wallets from web and mobile apps.
Install
npm install @zodor-sdk/client-sdkFeatures
- Identity — Register and verify ONCHAINID identities
- Token — Mint, transfer, and manage ERC-3643 security tokens (ZCET, ZIPT, ZEROC, ZIST)
- Vault — Deposit/withdraw via ERC-4626 permissioned vaults
- Bridge — Cross-chain transfers via Chainlink CCIP
- Wallet — ERC-4337 smart wallet creation and gas-sponsored transactions
- Capital / Energy — Vertical-specific helpers for Capital and Energy products
- Gas Estimator — Estimate gas costs for Maskade L1 transactions
Usage
import { ZodorIdentity, ZodorToken, ZodorVault } from '@zodor-sdk/client-sdk';
// Check identity verification
const identity = new ZodorIdentity({ rpcUrl });
const isVerified = await identity.isVerified(userAddress);
// Transfer a security token
const token = new ZodorToken({ rpcUrl, tokenAddress });
await token.transfer(to, amount);Requirements
- Node.js >= 18 or modern browser
viem>= 2.0.0
License
MIT
