Skip to content

Instantly share code, notes, and snippets.

View eordano's full-sized avatar
✍️

Esteban Ordano eordano

✍️
View GitHub Profile
@eordano
eordano / poh.with.privacy.md
Last active January 14, 2022 20:27
Tell me you're a human without telling me which one

"Tell me you're a human without telling me which one"

Synopsis: if it scales, Proof of Humanity (PoH) can produce a list of unique humans paired with an ethereum address. The uses of PoH are limited because of the inherent lack of privacy in the system. There is a need for a mechanism that allows any actor to prevent Sybil attacks on their system without compromising the identity of the user accessing the system.

Introduction

@eordano
eordano / nft-issuance.md
Last active April 8, 2020 22:24
Ideas for NFT Governance

Note (esteban): This is a brain dump of where are we kinda standing right now regarding governance of items. Open to hear thoughts and go back on concepts here, mostly our biggest concern is how would this work over time; the idea that an NFT might become "unwearable" in the future is pretty awful; I personally prefer stating this and maybe afterwards in the future it doesn't happen (maybe there's some tacit agreement in general that that is something reserved for very special cases?). Anyways, and without further adue, we need your feedback and are super open to iterate on these ideas!

Voting a new Wearable Collection

https://www.lucidchart.com/invitations/accept/84773c54-41c2-4f10-98db-6499096b70c3 https://www.lucidchart.com/invitations/accept/84773c54-41c2-4f10-98db-6499096b70c3

Proposed schematics for voting: Designer's Journey

@eordano
eordano / keybase.md
Created February 16, 2018 10:21
keybase.md

Keybase proof

I hereby claim:

  • I am eordano on github.
  • I am eordano (https://keybase.io/eordano) on keybase.
  • I have a public key ASC5_6re8JzaOR4fNYqY4-PlFmR36zh5pJ2Lzyddz_yVHgo

To claim this, I am signing this object:

pragma solidity ^0.4.15;
import 'zeppelin-solidity/contracts/tokens/ERC20Basic.sol';
import 'zeppelin-solidity/contracts/ownership/Ownable.sol';
import 'zeppelin-solidity/contracts/math/Math.sol';
import 'zeppelin-solidity/contracts/math/SafeMath.sol';
/**
* @title TokenVesting
* @dev A token holder contract that can release its token balance gradually like a
pragma solidity ^0.4.11;
contract Token {
function transfer(address _to, uint256 _value);
function balanceOf(address _owner) constant returns (uint256 balance);
}
contract BuyToken {
// Ether holder, the Party that has Ether and will receive Tokens
const bitcore = require('bitcore')
const semiHash = hash => hash.substr(0, 4) + '...' + hash.substr(60, 4)
bitcore.util.semiHash = semiHash
const visualCoinbaseScript = function(coinbase, opts) {
return `\t${coinbase._scriptBuffer.toString('hex')}
\t${coinbase._scriptBuffer.toString()}`
Verifying I am +eordano on my passcard. https://onename.com/eordano
@eordano
eordano / 1.create.js
Created December 31, 2014 18:14
Bitcore Stealth testing
var Stealth = require('../');
var bitcore = require('bitcore') ;
var spends = [
new bitcore.PrivateKey(),
new bitcore.PrivateKey(),
new bitcore.PrivateKey()
];
var scanKey = new bitcore.PrivateKey();
@eordano
eordano / idea.js
Last active August 29, 2015 14:06
Defining read only values in JS
var defineReadOnlyProperty = function(object, propertyName, getter) {
Object.defineProperty(object, propertyName, {
getter: getter,
setter: function () { throw new Error('Invalid access'); }
});
};
function MyClass() {
var props = {
### Keybase proof
I hereby claim:
* I am eordano on github.
* I am eordano (https://keybase.io/eordano) on keybase.
* I have a public key whose fingerprint is 6C85 6986 1B12 A194 756E 7CF1 91BF 97C8 9E0E EF3B
To claim this, I am signing this object: