Challenges

Real code. Real tests.

Your code runs in an isolated sandbox with a strict time limit. Make every test pass.
Easy+50 XPDevnet-ready

Validate a Solana wallet address

Every Solana account is identified by a 32-byte public key, shown as a base58 string. Write a function that rejects anything that can't be a valid key — before it ever reaches an RPC call.

Objectives

  • • Understand the base58 alphabet
  • • Enforce the 32–44 character length
  • • Handle empty and malformed input
isValidSolanaAddress("abc") → false
solution.js

Run your code to see test results.

Coming next

Easy+50 XP

Generate a keypair

Locked · coming soon

Medium+150 XP

Retrieve a Devnet balance

Locked · coming soon

Medium+150 XP

Request Devnet SOL

Locked · coming soon

Hard+350 XP

Send a Devnet transaction

Locked · coming soon

Hard+350 XP

Create a token on Devnet

Locked · coming soon

Expert+750 XP

Interact with an Anchor program

Locked · coming soon