@femdev/klyde-protocols
v0.1.0
Published
Klyde wallet, signing, account abstraction, FHE, and confidential-token helpers.
Downloads
164
Readme
@klyde/protocols
Wallet, signing, account abstraction, FHE, and confidential-token helpers.
Planned Areas
- EIP-1193 provider helpers
- EIP-712 and EIP-191 signing helpers
- SIWE-style message helpers
- account abstraction helpers
- ERC-7984 detection/helpers
- Zama FHEVM helper boundary
Current Surface
- EIP-1193 provider request helpers
- EIP-1193 provider engine
- EVM RPC transport, chain registry, and transaction validation helpers
- smart-account/paymaster fallback for embedded
eth_sendTransaction - EIP-6963 provider discovery, announcement, and optional legacy injection helpers
- EIP-191 message signing types/helpers
- EIP-712 typed-data signing types/helpers
- signing validation and approval previews
- SIWE message builder
- SIWE parser and validation helpers
- account abstraction ports for smart accounts, bundlers, entry points, and user operations
- JSON-RPC bundler and paymaster adapters
- contract-backed smart-account adapter
- session-key grant, storage, and policy evaluation helpers
- provider-level session-key authorization for scoped signing/transaction flows
- wallet capability helpers
- wallet adapter interface
- embedded wallet adapter
- external EIP-1193 wallet adapter
- external wallet transaction sending through
eth_sendTransaction - protocol-family and chain descriptors
- wallet runtime core
- app/origin-scoped permission store
- approval/policy engine
- request lifecycle and risk classification
- FHEVM privacy engine for encrypted input validation, user decryption, and public decryption
- ERC-7984 confidential-token helper flows for encrypted transfer preparation, call building, and interface detection
This package should stay lightweight. It defines protocol contracts and small helpers; concrete wallet, viem/ethers, FHEVM relayer, and provider integrations should live in adapters or SDK layers.
