Skip to content

docs: update wallet-evm (beta.7) and wallet-evm-erc-4337 (beta.4) documentation

Created by: ihsraham

Summary

Documentation updates for @tetherto/wdk-wallet-evm v1.0.0-beta.7, @tetherto/wdk-wallet-evm-erc-4337 v1.0.0-beta.4, and @tetherto/wdk-wallet-spark v1.0.0-beta.9.

wallet-evm

  • Added EIP-712 typed data signing and verification (signTypedData, verifyTypedData)
  • Updated supported networks (deprecated testnets)
  • Improved configuration clarity

wallet-evm-erc-4337

  • Added 2 new gas payment modes: Sponsorship Policy and Native Coins
  • Added per-call config override documentation
  • Added getUserOperationReceipt method docs
  • Added ConfigurationError type docs
  • Added isSponsored, useNativeCoins, sponsorshipPolicyId config options

wallet-spark

  • Upgrade spark-sdk from 0.6.1 to 0.6.4 and bare runtime to 0.0.43

Changelog

  • Updated changelog for all three releases

Documentation Fixes

Corrections applied across both EVM modules to align docs with .d.ts type definitions.

wallet-evm

  • Fixed keyPair type from Buffer to Uint8Array | null
  • Added missing inherited methods (getTransactionReceipt, getAllowance, getAddress) to class tables
  • Added inherited statics (getRandomSeedPhrase, isValidSeedPhrase) and seed getter to WalletManagerEvm
  • Added ApproveOptions type definition
  • Removed unexported BIP_44_ETH_DERIVATION_PATH_PREFIX constant
  • Fixed transfer() examples (single parameter, no config override)
  • Clarified WalletAccountReadOnlyEvm constructor config type as Omit<EvmWalletConfig, 'transferMaxFee'>
  • Fixed provider config comment (optional per type definition)
  • Replaced placeholder token addresses with real USDT address
  • Updated deprecated testnets (Mumbai → Amoy, Goerli → Sepolia)
  • Fixed broken anchor link in usage.md

wallet-evm-erc-4337

  • Fixed keyPair type from Buffer to Uint8Array | null
  • Fixed paymaster field requirements to be mode-specific (not unconditionally required)
  • Fixed entrypointAddress typo to entryPointAddress in Plasma config
  • Removed blockchain field from config examples (not in type definition)
  • Fixed quoteSendTransaction and quoteTransfer return types to use Omit<>
  • Added predictSafeAddress static method documentation
  • Added FeeRates type definition
  • Fixed fragile anchor link in usage.md

Merge request reports