Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
async function signMessage(message) {
await web3.personal.sign(args...);
async function signPayment(contractAddress, amount) {
var message = constructPaymentMessage(contractAddress, amount);
var signed = await signMessage(message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment