tomlee9876

L11_TODO_4

Nov 7th, 2025
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.38 KB | Software | 0 0
  1. {wallets.map((w) => (
  2.   <div key={w.address}>
  3.     <b>{w.label}</b> {short(w.address)} — Balance:{" "}
  4.     {balances[w.address] || 0}{" "}
  5.     <input
  6.       type="radio"
  7.       name="miner"
  8.       checked={minerAddr === w.address}
  9.       onChange={() => setMinerAddr(w.address)}
  10.     />{" "}
  11.     Miner
  12.   </div>
  13. ))}
  14.  
  15. <button onClick={handleAddWallet}>➕ Create Wallet</button>
  16.  
Advertisement
Add Comment
Please, Sign In to add comment