Skip to content

Instantly share code, notes, and snippets.

@yakkomajuri
Last active June 27, 2020 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yakkomajuri/45cb49d3e0a6c63b069b0bc0953f7c8b to your computer and use it in GitHub Desktop.
Save yakkomajuri/45cb49d3e0a6c63b069b0bc0953f7c8b to your computer and use it in GitHub Desktop.
$("#button3").click(function(web3) {
var tx = Hodl.definirSenha("\"" + $("#defsenha")[0].value + "\"", {
from: address,
to: "0xEA7128025c3b7c8F230dfB5b7e7C3Ac45158335B",
value: "0",
data: ""
}, function(err, transactionHash) {
if (!err)
console.log(transactionHash);
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment