Skip to content

Instantly share code, notes, and snippets.

@fzeoli fzeoli/deploy.js
Created Feb 8, 2019

Embed
What would you like to do?
async function main() {
const Greeter = artifacts.require("Greeter");
const greeter = await Greeter.new("Hello, Buidler!");
console.log("Greeter deployed to:", greeter.address);
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});
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.