Skip to content

Instantly share code, notes, and snippets.

View ra1yuga's full-sized avatar

rahil khan ra1yuga

View GitHub Profile
@ra1yuga
ra1yuga / bo-segner-id-card-generator.markdown
Created May 11, 2022 16:56
Bo-Segner ID Card Generator
@ra1yuga
ra1yuga / ethereum-payment-metamask.html
Created January 13, 2022 02:22 — forked from ssghost/ethereum-payment-metamask.html
How to add Ethereum payments to your site with MetaMask
<div>
<button class="pay-button">Pay</button>
<div id="status"></div>
</div>
<script type="text/javascript">
window.addEventListener('load', async () => {
if (window.ethereum) {
window.web3 = new Web3(ethereum);
try {
await ethereum.enable();