Skip to content

Instantly share code, notes, and snippets.

@fmsouza
fmsouza / gist:0c54f8680e5002524b80a723af2a4a45
Created November 7, 2017 12:34
Transferring tokens in a contract using ethers.js
const ethers = require('ethers');
const { Contract, Wallet, providers } = ethers;
const CONTRACT_ADDRESS = '<contract-address-hash>';
const CONTRACT_ABI = '<contract-abi-json>';
const PRIVATE_KEY = '<private-key-hash>';
const DESTINATION_WALLET = '<destination-address-hash>';
const AMOUNT = '<tokens-amount>';
@fmsouza
fmsouza / osx_install.sh
Last active June 27, 2018 17:18 — forked from t-io/osx_install.sh
Install most of my Apps with homebrew & cask
#!/bin/sh
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo "Installing Xcode cli tools..."
xcode-select --install
# echo Install and Set San Francisco as System Font
# ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo "Install Homebrew, cask and some other packages..."