Skip to content

Instantly share code, notes, and snippets.

View njgheorghita's full-sized avatar

Nick Gheorghita njgheorghita

View GitHub Profile
@njgheorghita
njgheorghita / mvp.md
Last active May 14, 2018 17:14
py-ethpm.mvp.v1.spec

MVP V1

Deliverable: Interact with any of the 8 contract types deployed on Escape V1.

As a user, who knows the name of a package, it's registry, and version (optional), 
I want to be ableto use this information to interact with the packaged contracts via web3 
(either by deploying new instances, or interacting with existing instances).

stand-alone-pkg-with-inheritable-contract

package contains base contract(s)

i.e. owned

  • manifest_version
  • version
  • package_name
  • meta
  • sources
    • "./contracts/owned.sol": "ipfs:// . . ."

Does this project need the blockchain** ?

** I use the term blockchain here to also include DLT (Distributed Ledger Technology) like Corda and HyperLedger Fabric

Do the business process improvements from implementing blockchain provide at MINIMUM 10x - 100x benefit over using traditional technology (cutting costs - improving speed - etc) ?

  • The complexity of working with this technology is often underestimated, it can be an arduous and buggy process. especially when integrating with existing systems. Unless the "trustlessness" of a blockchain/dlt generates this 10x - 100x benefit, it's better to opt for traditional tech stack.

I would say - with the complexity of this system [manufacturers, wholesalers, and VRS's working together], the data, speed, and *** a requirement *** to collaborate with many different parties the amount of data flowing around - It’s not guaranteed that blockchain/dlt provides this 10x-100x benefit.

OPTIONS TO DISPLAY BLOCKCHAIN ACTIVITY

Etherscan

Remix IDE

Ethereum (public)

Pros

  • Best community / Most developed
  • Can support a decentralized VRS

Cons

  • HDA is probably not cool about a decentralized VRS

Quorum (private)

Pros

  • EVM based (uses Solidity/Ethereum smart contracts)

devp2p

Components

  • Distributed Peer Table (DPT) / Node Discovery
  • RLPx Transport Protocol
  • Ethereum Wire Protocol (ETH) / Application Layer

RLPx v4

  • v4 is currently the most widely used - (besides LES which uses v5)
  • v5 adoption is coming soon (check felix lange's devcon video below)
  • This summary based on geth implementation (~ 70% of ethereum nodes)
@njgheorghita
njgheorghita / vim_shortcuts.md
Last active December 4, 2020 13:12
vim shortcuts

custom mapping to toggle showcursorline and showcursorcolumn

  • ctrl + u

show git diff between current file state and saved state

  • :w !diff % -

repeat your last edit

  • .

search for all words under cursor

?s for Jon
- Have y'all explored Blockchain tech at all?
- What are some possible applications that you've seen a need for in the microfinance/microcredit world?
- Other inefficiencies in the mf/mc world?
- Insights into how mpesa took off? How/why was it adopted so quickly? Could it happen again w/ blockchain (<<< 6% interest)?
jon notes
- biz dev w/ banks & mfis is expensive and long
Bookchain todo:
As a user, i want to scan a qr, enter my info, and checkout the book.
As a user, i want to see an index of all books & status.
As a librarian, i want to add a book.
As a user with a checked out book, i want to return the book? (confirm w/ slack)
L&L:
Ethan: