Skip to content

Instantly share code, notes, and snippets.

View nicolasverlhiac's full-sized avatar

Nicolas Verlhiac nicolasverlhiac

View GitHub Profile
const hre = require("hardhat");
const WALLET_ADDRESS = "YOUR WALLET PUBLIC ADDRESS"
const CONTRACT_ADDRESS = "YOUR CONTRACT ADDRESS"
async function main(_URI) {
const NFT = await hre.ethers.getContractFactory("MyToken");
const contract = NFT.attach(CONTRACT_ADDRESS);
await contract._safeMint(WALLET_ADDRESS).then((txn) => {
@prestarocket
prestarocket / .gitignore
Last active June 7, 2021 08:41
Prestashop 1.6 gitignore
.buildpath
.project
.settings
.idea
.svn
.DS_Store
.sass-cache
config.codekit
*.sublime-project
*.sublime-workspace
@erikreagan
erikreagan / mac-apps.md
Created August 4, 2012 19:18
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

@JeffreyWay
JeffreyWay / template.php
Created June 8, 2012 14:59
Template Example
<?php
$template = "I am {{name}}, and I work for {{company}}. I am {{age}}.";
# Your template tags + replacements
$replacements = array(
'name' => 'Jeffrey',
'company' => 'Envato',
'age' => 27
);