<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: tavarovwallet</title>
    <description>The latest articles on DEV Community by tavarovwallet (@tavarovwallet).</description>
    <link>https://dev.to/tavarovwallet</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4225710%2Fd4f45785-4e01-4a11-8c7b-57d919d17c2b.png</url>
      <title>DEV Community: tavarovwallet</title>
      <link>https://dev.to/tavarovwallet</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tavarovwallet"/>
    <language>en</language>
    <item>
      <title>How I made crypto payments work with a username instead of a 42-character address</title>
      <dc:creator>tavarovwallet</dc:creator>
      <pubDate>Wed, 04 Nov 2026 08:25:35 +0000</pubDate>
      <link>https://dev.to/tavarovwallet/how-i-made-crypto-payments-work-with-a-username-instead-of-a-42-character-address-aoj</link>
      <guid>https://dev.to/tavarovwallet/how-i-made-crypto-payments-work-with-a-username-instead-of-a-42-character-address-aoj</guid>
      <description>&lt;p&gt;I'm a solo developer from Tajikistan. Every time I watched someone send USDT, the ritual was the same: copy a 42-character address, paste it, compare the first four and last four characters, hesitate, compare again. One wrong character and the money is gone.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;NoN Wallet&lt;/strong&gt;, a self-custody wallet where you send money to a &lt;em&gt;name&lt;/em&gt;. Here's how it works under the hood, and what I learned building it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Creating a wallet: a name and a password
&lt;/h2&gt;

&lt;p&gt;Most wallets open with "write down these 12 words". For a lot of people that's where they quit. In NoN Wallet you type a name and a password, and that's it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the 12-word phrase is generated silently in the browser;&lt;/li&gt;
&lt;li&gt;the vault is encrypted with your password (PBKDF2-SHA256, 600,000 rounds, AES-GCM) and stays on the device;&lt;/li&gt;
&lt;li&gt;the 12 words are still there, in Settings, behind Face ID or the password.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Names live on-chain, and I pay the gas
&lt;/h2&gt;

&lt;p&gt;Names are stored in a small contract on BNB Chain: &lt;code&gt;claim(string)&lt;/code&gt; binds a name to your address. Anyone can read it, so a name keeps working even if my server disappears.&lt;/p&gt;

&lt;p&gt;The catch: a brand-new wallet has zero BNB, so it can't pay gas to claim a name. I solved this with &lt;strong&gt;MegaFuel&lt;/strong&gt;, BNB Chain's gas sponsorship (a paymaster for ordinary transactions):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The wallet signs a normal transaction with &lt;code&gt;gasPrice: 0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A tiny relay forwards it to MegaFuel.&lt;/li&gt;
&lt;li&gt;MegaFuel pays the fee, but only if the transaction matches my sponsor policy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The policy whitelists exactly one contract and one method (&lt;code&gt;claim(string)&lt;/code&gt;), with per-address limits. One registration costs me about half a cent. The relay holds no keys and no funds; it only forwards four JSON-RPC methods and rate-limits by IP.&lt;/p&gt;

&lt;p&gt;Sending by name then is just a lookup: type &lt;code&gt;muslihiddin&lt;/code&gt;, the wallet resolves the address on-chain and shows you who the money is going to before you confirm. It works on BNB Chain, Ethereum and Base, since EVM addresses are the same there.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Backups to iCloud or Google Drive, without me storing anything
&lt;/h2&gt;

&lt;p&gt;A phrase on paper is great until the paper is lost. So right after creating a wallet, the app offers to save an encrypted backup file:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;on the web, via the Web Share API with a file (&lt;code&gt;navigator.share({ files })&lt;/code&gt;), which opens the system sheet with "Save to Files", iCloud Drive and Google Drive;&lt;/li&gt;
&lt;li&gt;in the Android app (Capacitor), the WebView has no share API, so a small native plugin writes the file to the app cache and opens the Android share sheet through a &lt;code&gt;FileProvider&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The file is useless without the password, and I never see either. Until you save a backup, the wallet shows a reminder.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Boring tech on purpose
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The wallet is plain HTML and JavaScript, no build step, no framework.&lt;/li&gt;
&lt;li&gt;The Android app is a Capacitor shell built with Gradle only: no Google Play services, no trackers.&lt;/li&gt;
&lt;li&gt;The APK is published with its SHA-256 and signing certificate, and the deploy refuses to ship a file whose hash doesn't match.&lt;/li&gt;
&lt;li&gt;Everything is open source under MIT.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I'd love feedback on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Would you trust a "name + password" flow for a self-custody wallet?&lt;/li&gt;
&lt;li&gt;Is anything in the security model weaker than it should be?&lt;/li&gt;
&lt;li&gt;What's confusing the first time you open it?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/tavarovwallet/tavarov" rel="noopener noreferrer"&gt;https://github.com/tavarovwallet/tavarov&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Try it in the browser:&lt;/strong&gt; &lt;a href="https://wallet.tavarov.com" rel="noopener noreferrer"&gt;https://wallet.tavarov.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading. I'm happy to answer anything in the comments.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>blockchain</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
