- We're growing in terms of team and the product
- We're moving from "prototyping" to "production" --> our needs change
- Need to shift our mindset to "delivering"
- Need a way to manage all the 1001 endeavours we have
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +samuli is my blockchain ID. https://onename.com/samuli |
An interface for immutable databases
ImmutableDB is an abstract interface for content-addressed databases that:
- save the same blob of data to the same key every time (write)
- return the same blob of data with the same query key every time (read)
The difference to a a traditional key-value store is that the key doesn't get specified explicitly. Instead, the key gets calculated based on the data using a hashing function. This is also called content-addressed storage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// const ipfsd = require('ipfsd-ctl'); | |
const IPFS = require('ipfs') | |
const ipfsd = require('ipfsd-ctl'); | |
const OrbitDB = require('../src/OrbitDB'); | |
const Timer = require('./Timer'); | |
// usage: benchmark.js <network hash> <username> <channel>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs.init(1 * 1024 * 1024, (err) => { | |
if(err) { | |
logger.error("Couldn't initialize file system:", err) | |
} else { | |
logger.debug("FileSystem initialized") | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const PubsubMessageStream = require('ipfs-pubsub-message-stream') | |
class Pubsub { | |
constructor (send: Function) { | |
this._subscriptions = {} | |
this._send = send | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Components for Orbit */ | |
'use strict' | |
const styles = { | |
layout: { | |
flex: { | |
display: 'flex', | |
}, | |
row: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello, WebVR! - A-Frame</title> | |
<meta name="description" content="Hello, WebVR! - A-Frame"> | |
<script type="text/javascript" src="lib/aframe.min.js" charset="utf-8"></script> | |
<script type="text/javascript" src="lib/orbitdb.min.js" charset="utf-8"></script> | |
<script type="text/javascript" src="lib/ipfs-browser-daemon.min.js" charset="utf-8"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const path = require('path') | |
const AccessController = require('./access-controller') | |
class OrbitDBAccessController extends AccessController { | |
constructor (orbitdb) { | |
super() | |
this._orbitdb = orbitdb | |
this._db = null |
OlderNewer