Skip to content

Instantly share code, notes, and snippets.

Embed
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);
}
signPayment(args...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.