Repository navigation
Hronaut 2.43.0
What's changed
Added
-
wallet_balancetakes an optionaltokenand returns that ERC-20 (EVM) or SPL mint (Solana) balance with its decimals and symbol, so an agent testing a dApp can check that a swap, mint or faucet credited the wallet. It uses the same human-approved account permission as the native balance; RPC details stay out of errors. -
Sign-In with Solana: the Solana wallet supports the Wallet Standard
solana:signInfeature. Hronaut writes the sign-in text for the requesting site's own domain, rejects another site's domain or address, and the person approves the exact text before it is signed. -
The Solana Wallet Standard wallet advertises version 0 transactions as well as legacy ones, so dApps that build versioned transactions (most current Solana apps) can ask Hronaut to sign them. Undecodable transactions still need human approval.
-
The EVM wallet provider answers
wallet_addEthereumChain(switching to a network already configured on a workspace wallet; websites still cannot add networks or RPC URLs), the EIP-2255wallet_getPermissions,wallet_requestPermissionsandwallet_revokePermissionsmethods foreth_accounts, and the legacyenable(),isConnected()andoff()helpers, so more dApps connect without a fallback path. -
dApp pages can read chain state through Hronaut's EVM wallet provider: block number, balances,
eth_call, gas estimates, receipts, blocks and logs are forwarded to the active wallet network's RPC, so wagmi, viem and ethers reads work without a separate RPC. Reads need no account permission and never sign; revert codes and data reach the page, the RPC URL does not. -
wallet_page_requestslets an agent that is testing a dApp see which wallet requests the page made (connect, sign message or typed data, sign or send transaction), with status and transaction hash, for the same tab and page only. It is read-only, and approval stays with a person in Hronaut.
Known issues
- Websites still need a person to approve every account connection and message signature, including Sign-In with Ethereum and Sign-In with Solana, even on testnets and local chains.
- Token balances cover ERC-20 on EVM and SPL mints on Solana. TRON token balances are not supported yet.
- Hronaut does not inject
window.tronLinkorwindow.tronWebas a full TronWeb instance; Tron dApps that require TronLink specifically will not detect it. - jsdom is held at 30.1.1 because 30.1.2 breaks focus in 6 Home page tests. This affects the test environment only.
What's Changed
- feat: let agents read a dApp page's wallet requests (wallet_page_requests) by @Hronom in #755
- feat(wallet): let dApp pages read chain state through the EVM provider by @Hronom in #756
- feat(wallet): wallet_addEthereumChain, EIP-2255 permissions and legacy EVM provider helpers by @Hronom in #757
- test(wallet): end-to-end dApp wallet flow in the native app by @Hronom in #758
- test: wait for saved workspaces before the delayed-favicon tab opens by @Hronom in #759
- feat(wallet): support Sign-In with Solana (solana:signIn) by @Hronom in #760
- docs(wallet): agent-driven dApp QA steps and resync website wallet docs by @Hronom in #761
- feat(wallet): ERC-20 and SPL token balances in wallet_balance by @Hronom in #762
- test: wait for saved workspaces in the shared appWindow fixture by @Hronom in #764
- chore(release): 2.43.0 by @Hronom in #763
Full Changelog: v2.42.0...v2.43.0