Skip to content

Conversation

@sdqede
Copy link
Contributor

@sdqede sdqede commented Sep 2, 2025

… and ABI contract calls

Introduces SignerFromBrowser: minimal EIP-1193 wrapper (MetaMask, etc.) Supports ETH transfers via eth_sendTransaction with wait() receipt polling Adds readContract (eth_call + ABI decode) and writeContract (ABI encode + send) Normalizes inputs (bigint/number/string) to 0x hex for gas/fees/value/chainId Exports signer via signers index for package-level access Updates README with window.ethereum usage for ETH and ABI-based contract calls Fixes string decode to strip 0x before hexToBytes
Notes: ABI coder supports address/bool/uint*/bytesN/bytes/string and simple dynamic arrays; tuples/nested types not yet supported Non-breaking change; existing signers and query clients unaffected

… and ABI contract calls

Introduces SignerFromBrowser: minimal EIP-1193 wrapper (MetaMask, etc.)
Supports ETH transfers via eth_sendTransaction with wait() receipt polling
Adds readContract (eth_call + ABI decode) and writeContract (ABI encode + send)
Normalizes inputs (bigint/number/string) to 0x hex for gas/fees/value/chainId
Exports signer via signers index for package-level access
Updates README with window.ethereum usage for ETH and ABI-based contract calls
Fixes string decode to strip 0x before hexToBytes
Notes: ABI coder supports address/bool/uint*/bytesN/bytes/string and simple dynamic arrays; tuples/nested types not yet supported
Non-breaking change; existing signers and query clients unaffected
@sdqede sdqede requested a review from Zetazzz September 2, 2025 12:27
@Zetazzz Zetazzz merged commit 48c52a3 into main Sep 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants