Skip to content

Instantly share code, notes, and snippets.


Oli Evans olizilla

View GitHub Profile
View full.json
"openrpc": "1.2.6",
"info": {
"title": "Lotus RPC API",
"version": "1.7.0-dev"
"methods": [
"name": "Filecoin.BeaconGetEntry",
"description": "```go\nfunc (s *FullNodeStruct) BeaconGetEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) {\n\treturn s.Internal.BeaconGetEntry(p0, p1)\n}\n```",
olizilla /
Created Jan 16, 2020
The HTTP to IPFS Gateway - Explained

The HTTP to IPFS Gateway

The gateway hosted at allows browsers and tools that speak http to access content from the IPFS network. It provides the canonical way to address IPFS content via http scheme urls.

A request for:

...will hit the gateway and get forwarded to an IPFS node, which fetches the block for the CID QmZULkCELmmk5XNfCgTnCyFgAVxBRBXyDHGGMVoLFLiXEN and returns the content via http.

olizilla /
Created Dec 10, 2019
Connect to
ipfs swarm connect \
/dns4/ \
/dns4/ \
/dns4/ \
/dns4/ \
3:06 PM <olizilla> hallo
3:07 PM <olizilla> i have an idea
3:07 PM <olizilla> i was thinking about "reaching out to other ipfs files share services"
3:07 PM <olizilla> and the copy for ipfs-share-files
3:08 PM <olizilla> mostly thinking around why do we make these apps when there are community alternatives
3:09 PM <olizilla> to which i figured 1. it's the dweb, there should be 1000+ file sharing services 2. we do it to learn more about how the protocol should work 3.  we do it demo whats possible
3:10 PM <olizilla> but if you were an ipfs app developer, you might not want to invest a ton of time into an idea if you thought the IPFS team might then build a similar thing and have their one become the de-facto first choice
3:11 PM <olizilla> but we still need to build out apps and show whats possible
3:11 PM <olizilla> so
# Start in a clean, up to date checkout of master
$ git checkout master

# Create v1 branch
$ git checkout -b v1

# Push v1 branch to GH
$ git push -u origin v1
olizilla / index.html
Created Nov 17, 2017
IPFS Address flavours
View index.html
<!doctype html>
<link rel="stylesheet" href=""/>
<body class='sans-serif'>
<h1 class='mw6 center'>IPFS Address flavours</h1>
<dl class='lh-copy mw6 center pt4'>
<a href=''>

Keybase proof

I hereby claim:

  • I am olizilla on github.
  • I am olizilla ( on keybase.
  • I have a public key ASDQZFwcbs5BacTGzRYrsIzGbElkL9r2bL2GlTYRvdNNcQo

To claim this, I am signing this object:

View convert-bundles.js
// source json is
"name": "Browser JS",
olizilla / convert.js
Created Jun 14, 2017
Convert implementations.json into new style
View convert.js
// `orig.json` is copied from:
const data = require('./orig.json')
const langNames = ['Browser JS', 'Node.js', 'Go']
const res = Object.keys(data).map(categoryName => {
const category = data[categoryName]
const libs = Object.keys(category).map(libName => {
const lib = category[libName]
View objectify.js
* Convert cols and rows into an array of objects.
* Will return array of objects mapping cols to row values.
* Repeated cols are mapped to array values.
* @param {Array} cols The keys
* @param {Array} rows the array of arrays of values
* @return {Array} The rows as objects
* @example