Skip to content

Instantly share code, notes, and snippets.

Avatar

Manabu manabubannai

View GitHub Profile
View simple_donate.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Donation Contract</title>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
</head>
<body>
<h3>Donation Contract</h3>
<button class="enableEthereumButton">Connect</button>
(address: <span class="showAccount"></span>)