Skip to content

Instantly share code, notes, and snippets.

@sieemma
sieemma / Joystream-Node.md
Last active November 23, 2023 10:10
Setting up Joystream node and running a Validator

Running Joystream Node - Using Docker Approach

Hardware and other Requirements:

  1. Linux Kernel 5.16 or newer
  2. x86-64 compatible
  3. 4 physical cores @ 3.4GHz
  4. An NVMe SSD of 1 TB(Can be less than than this. Current chain size is around 75GB but it's still growing so choose size carefully)
  5. 16GB Memory
  6. The minimum symmetric networking speed is set to 500 Mbit/s
  7. Currently, at least 41.667k JOY in a single account, which is the minimum to sign up – actually getting a validator slot likely requires more
@sieemma
sieemma / diff.json
Last active November 16, 2023 17:59
report
{"unexpectedLocal":["102759","102760","102775","102776","102787","102788","102812","102818","102822","102872","102915","102950","102953","102954","103053","103054","103055","103056","103057","103058","103059","103060","103091","103092","103093","103094","103095","103096","103097","103098","103105","103106","103107","103108","103135","103136","103167","103168","103169","103170","103189","103190","103247","103248","103249","103250","103251","103252","103253","103254","103285","103286","103301","103302","103305","103306","103317","103318","103319","103320","103321","103322","103357","103358","103359","103360","103361","103362","103363","103364","103379","103380","103381","103382","103383","103384","103417","103418","103419","103420","103463","103464","103487","103488","103489","103490","103491","103492","103493","103494","103547","103548","103549","103550","103651","103652","103653","103654","103699","103700","103701","103702","103703","103704","103757","103758","103759","103760","103791","103792","103795","1037
#!/bin/bash
############################################################################
# This script simply formats a block device and mounts it to the data
# directory in a very safe manner by checking that the block device is
# completely empty
#
############################################################################
set -eu
if [ $# -ne 2 ]
@sieemma
sieemma / distupgrade.md
Last active October 3, 2023 12:19
Upgrading the Distributor node 1.3.0

UPGRADING ARGUS TO 1.3.0

Back up your config files

For root users:

Make a backup folder called configbackup

mkdir configbackup
id: sieemmaCDN
endpoints:
queryNode: http://localhost:8081/graphql
joystreamNodeWs: ws://localhost:9944
directories:
assets: ./local/data
cacheState: ./local/cache
logs:
file:
level: debug
@sieemma
sieemma / concordium_txn_bulksend
Last active January 28, 2021 16:33
concordium_txn_bulksend
Mission T3
Simple bash files to help with bulk sending transactions successively.
Thanks to Ataraxia and Javier from the concordium community for coming in to help get this working.
To begin, let's install the following packages:
cd
sudo apt-get update -y
sudo apt-get install -y expect
@sieemma
sieemma / sudo_user_issue
Last active October 11, 2020 15:34
Unable to resolve host. Solved
Having sudo command issues? Let's solve it fast:
cd
type:
hostname and press enter.
copy the output. # let's say the output was host555
@sieemma
sieemma / Linux_serve_newuser
Last active October 22, 2020 22:07
Adding new user to your vps server
How to add a new user on a linux vps
# Log in to the vps server using the:
root username and
password
# After a successful login, start:
# In the next command, your_desired_username should be any username you want to give to your new user. Please, change it and do not
@sieemma
sieemma / concordiumtestnet3.txt
Last active February 2, 2021 21:08
concordium testnet.
This document was prepared to help others with the concordium testnet3 set up.
Comments are welcomed to make this document a better one for us all.
# For the sake of people who might not be faimiliar with codes but would like to try their hands on this testnet, I have made it easy to follow.
# All statements beginning with a "#" are not part of the command.
# This guide was written and tested for ubuntu/debian distros of linux.Other OS can alter the code and use for their OS as well as found in the official docs of concordium.
Official Concordium guide link here: https://developers.concordium.com/testnet/docs/quickstart-node#enabling-inbound-connections