Skip to content

Instantly share code, notes, and snippets.

View ghiliweld's full-sized avatar
🔮

Ghilia Weldesselasie ghiliweld

🔮
View GitHub Profile
@ghiliweld
ghiliweld / PropertyFactory.v.py
Last active March 19, 2018 01:58
Property Factory in Vyper
# @author Ghilia Weldesselasie
# @title PropertyFactory
# Contract that creates a new building with condos in them that can be purchased
# This contract would have to be redeployed for every buolding you own
# You could have a central contract that controls several buildings but that would be complicated
# Condos can be purchased both in cash (ETH really), or by rent-to-own
# Using Vyper for prototyping cause I like it better
pragma solidity ^0.4.19;
/**
* @title NonFungibleTokenLib
* @author Ghilia Weldesselasie
* SHAMELESS SELF-PLUG: https://github.com/ERC-ME/Whitepaper
*
* version 1.2.1
* Copyright (c) 2018 Ghilia Weldesselasie
* The MIT License (MIT)
@ghiliweld
ghiliweld / AHS.sol
Last active March 22, 2018 11:16
Address Handle Service
pragma solidity ^0.4.19;
/*
@title Address Handle Service aka AHS
@author Ghilia Weldesselasie, founder of D-OZ and genius extraordinaire
@twitter: @ghiliweld, my DMs are open so slide through if you trynna chat ;)
This is a simple alternative to ENS I made cause ENS was too complicated
for me to understand which seemed odd since it should be simple in my opinion.
@ghiliweld
ghiliweld / ERCOver9000.sol
Created September 3, 2018 15:16
NFTs owned by ENS names
pragma solidity ^0.4.23;
interface ENS {
// Logged when the owner of a node assigns a new owner to a subnode.
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);
// Logged when the owner of a node transfers ownership to a new account.
event Transfer(bytes32 indexed node, address owner);
@ghiliweld
ghiliweld / ghost-chat.md
Last active August 1, 2019 22:18
Ephemeral Chat on IPFS

Ephemeral Chat on IPFS

3box issue for ephemeral chat on ipfs

ipfs-pubsub-room github page

This document explains a way to implement ephemeral chats on ipfs that conforms to the api described in the 3box issue.

Approach