user48765: I'm helping someone put a Native SegWit address (bc1...) on a website to collect Bitcoin donations.
I've found some javascript code that generates Private Key and Native SegWit address pairs offline. (I don't want to use a managed wallet. I prefer a paper wallet.)
I want to generate a couple "throwaway" pairs and test them to see if they are, indeed, legit. That is, the Native SegWit address indeed maps to the Private Key. How may I test this?
Update: here's an example of a pair:

L2xHquk5T9d7LZz27pDgMdrnisiLNkADscHcsJbNCs5qBStb3r1k
bc1qxhq4au5m74nv925fr6fzqaux3akn38gf3m9628


Update: I verified the pair was legit by using this tool: https://kimbatt.github.io/btc-address-generator/?page=address-details

user41313: You could try to import the private keys that the Javascript function gives you into wallet software like Electrum, then check that the associated payment address shows up on the 'Addresses' tab. You should be able to left-click on the payment address and use the option to display its private key, just to triple check if you wish.

48765: <p>I'm helping someone put a <em>Native SegWit address (bc1...)</em> on a website to collect Bitcoin donations.</p>
<p>I've found some javascript code that generates <em>Private Key</em> and <em>Native SegWit address</em> pairs <em>offline</em>. (I don't want to use a managed wallet. I prefer a paper wallet.)</p>
<p>I want to generate a couple &quot;throwaway&quot; pairs and test them to see if they are, indeed, legit. That is, the <em>Native SegWit address</em> indeed maps to the <em>Private Key</em>. <strong>How may I test this?</strong></p>
<p>Update: here's an example of a pair:</p>
<ul>
<li>L2xHquk5T9d7LZz27pDgMdrnisiLNkADscHcsJbNCs5qBStb3r1k</li>
<li>bc1qxhq4au5m74nv925fr6fzqaux3akn38gf3m9628</li>
</ul>
<hr />
<p>Update: I verified the pair was legit by using this tool: <a href="https://kimbatt.github.io/btc-address-generator/?page=address-details" rel="nofollow noreferrer">https://kimbatt.github.io/btc-address-generator/?page=address-details</a></p>
 41313: <p>You could try to import the private keys that the Javascript function gives you into wallet software like Electrum, then check that the associated payment address shows up on the 'Addresses' tab. You should be able to left-click on the payment address and use the option to display its private key, just to triple check if you wish.</p>
