Hero Background

Power Your Software Testing with AI Agents and Cloud

The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.

Kane CLICrypto

Test address validation before an irreversible send

Three guardrails before the money leaves: a format check, a wrong-network warning, and an explicit acknowledgement.

Published on:

Sending crypto to a wrong address is the most unrecoverable action in consumer software. There is no support ticket that fixes it, which makes the validation in front of it the entire safety mechanism.

This use case exercises all three guardrails on the Coinbaze clone before completing a send.

The contract this flow keeps

The three checks catch progressively subtler mistakes, and the second is the one most products leave out.

GuardrailWhat it catches
Format validationText that is not an address at all, with the send button disabled
Wrong network warningA valid address on the wrong chain, which would lose the funds
Valid confirmationA positive badge and an enabled button once the pair is right
Irreversibility acknowledgementA deliberate tick before the send can proceed

The wrong-network case is the important one. The address is genuinely valid, it passes any format check, and sending BTC to an ETH address destroys the funds with no error from the network itself.

Note

Note: Asserting that a button is disabled is an ordinary step, which makes it cheap to prove a guardrail actually blocks rather than merely warns. Try it on TestMu AI. Try free!

The objective in plain English

The same address is used for both the wrong-network warning and the valid case, with only the asset changed. That isolates the network check as the thing under test.

---
mode: testing
url: https://my-testing-repo-main.vercel.app/coinbase-clone-app/send?reset=true
max_steps: 45
tags: [coinbase, fintech, crypto]
---

# Coinbaze 18.3: Send to address

Catalog objective: initiate a send and verify address validation and warning states.
Key assertion: an invalid address is blocked before confirming.

## Verify a malformed address is rejected
With "ETH" selected, type "not-an-address" into "Recipient address" and verify a red badge reads "Not a valid ETH address - 0x followed by 40 hex characters" and the send button is disabled.

## Verify the wrong-network warning
Select "BTC" in "Asset", type "0x8Ba1f109551bD432803012645Ac136ddd64DBA72" into "Recipient address", and verify a red banner titled "Wrong network" says that looks like an ETH address and sending BTC to it would lose the funds.

## Verify a valid address is accepted
Select "ETH" in "Asset", keep the address "0x8Ba1f109551bD432803012645Ac136ddd64DBA72", and verify a green badge reads "Valid ETH address" with the send button now enabled.

## Complete the send
Type "0.1" into "Amount in ETH", tick "I understand this transfer is irreversible", click "Send ETH", and verify a green banner titled "Send submitted" says "0.1 ETH" was sent.

The final step ticks an explicit acknowledgement before sending, so the test covers the consent mechanism as well as the transfer.

Assertion by assertion

Three validation states, then the send.

StepWhat it proves
Verify a malformed address is rejectedFormat validation fires and the send button is disabled
Verify the wrong-network warningA valid address on the wrong chain is caught with an explicit warning
Verify a valid address is acceptedThe correct asset and address pair enables the send
Complete the sendThe acknowledgement is required and the transfer submits

Changing only the asset between the second and third steps is what proves the warning is about the network pairing rather than about the address itself.

Next-generation test execution with TestMu AI

Putting it in CI

kane-cli testmd run tests/coinbase/send-to-address_test.md

Against a live environment, point this at a testnet. The final step submits a genuine transfer.

Guardrails are the code most likely to be weakened by a refactor nobody flags. Checking the UI before a pull request is where that should be caught, and assertions on a live page covers the disabled-state checks used here.

Author

...

Bhawana

Blogs: 75

  • Twitter
  • Linkedin

Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.

Add to Google preferred sources

Summarise with AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Crypto Send FAQs

Did you find this page helpful?

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests