Skip to content

Instantly share code, notes, and snippets.

@ndarville
ndarville / business-models.md
Last active January 13, 2024 17:27
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@austintgriffith
austintgriffith / deploy.js
Last active May 20, 2020 23:19
Buidler Deploy Script - any .json artifact in the contracts folder will get deployed
const fs = require('fs');
const chalk = require('chalk');
async function main() {
let contractList = fs.readdirSync("./artifacts")
for(let c in contractList){
if(contractList[c].indexOf(".json")>=0){
const name = contractList[c].replace(".json","")
const contractArtifacts = artifacts.require(name);
const contract = await contractArtifacts.new()
console.log(chalk.cyan(name),"deployed to:", chalk.magenta(contract.address));