You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the toSigner utility by adding comprehensive documentation and test coverage for all major signer types: 1. Viem LocalAccount 2. Viem WalletClient with LocalAccount 3. Viem WalletClient with window.ethereum 4. Ethers JSONRpcSigner 5. Ethers Wallet
Benefits & Outcomes
Clear Integration Paths: Provide clear examples for each major signer type
Improved Reliability: Ensure consistent behavior across different signer implementations
Better Developer Experience: Make it easier to understand which signers are supported
Reduced Support Issues: Prevent common integration problems
Testing Confidence: Ensure all signer types work as expected
joepegler
changed the title
✨ Feature Request: Enhance toSigner Documentation and Test Coverage
✨ Feature Request: Enhance toSigner Documentation and testing
Nov 24, 2024
Feature or Improvement Description
Improve the
toSigner
utility by adding comprehensive documentation and test coverage for all major signer types: 1. Viem LocalAccount 2. Viem WalletClient with LocalAccount 3. Viem WalletClient with window.ethereum 4. Ethers JSONRpcSigner 5. Ethers WalletBenefits & Outcomes
Implementation Ideas
Documentation Updates
Test Suite Structure
toSigner.test.ts
Test Cases for Each Signer
Viem LocalAccount:
Viem WalletClient (LocalAccount):
Viem WalletClient (window.ethereum):
Ethers JSONRpcSigner:
Ethers Wallet:
Test Environment
Documentation Examples
Technical Considerations
Testing Requirements:
Documentation Structure:
Environment Setup:
References
Any References?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: