Skip to content

Instantly share code, notes, and snippets.

@0xcd21
0xcd21 / moon_03.js
Created September 1, 2022 12:46 — forked from vasa-develop/moon_03.js
SimpleAsWater: Building a Chat Application using Libp2p
'use strict'
/* eslint-disable no-console */
const PeerId = require('peer-id')
const PeerInfo = require('peer-info')
const Node = require('./libp2p_bundle')
const pull = require('pull-stream')
const Pushable = require('pull-pushable')
const p = Pushable()
const chalk = require('chalk');
const emoji = require('node-emoji')
@0xcd21
0xcd21 / cluster.sh
Created August 28, 2022 11:50 — forked from joeltg/cluster.sh
IPFS Cluster Setup
#!/bin/bash
set -x
USER=ec2-user
GROUP=ec2-user
# Update these when appropriate
IPFS_VERSION=v0.4.21
IPFS_CLUSTER_VERSION=v0.10.1