Skip to content

Instantly share code, notes, and snippets.

View duccas's full-sized avatar
💭
Staketab - Staking & Infrastructure Solutions for Web3

Ducca duccas

💭
Staketab - Staking & Infrastructure Solutions for Web3
View GitHub Profile

Note: If you haven't already added your qanet public address to our Google Sheet, please go ahead and add it using the link below. Only public addresses listed in this doc will receive public qanet tokens for testing. If you added your public address while a public qanet is running, you will have to wait until the next release to receive your tokens. Alternatively, you can ask the community members in the qa-task-force channel to send you some tokens now. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

Running a node with Docker:

  • The easiest solution for connecting to our public qa-net "pickles-public" is to use the pre-baked docker image minaprotocol/mina-daemon-baked:pickles-public which includes the files up to step 10 of the "Running a node in a VPS or Linux Machine" and is not limited to Debian/Ubuntu.
  1. Copy your public/private key files (usually ~/keys/my-wallet and ~/keys/my-wallet.pub) to ~/mina-keys/
  2. `cd ~
@duccas
duccas / daemon.json
Created December 22, 2020 16:55
Daemon to Mina
{
"genesis": {
"genesis_state_timestamp": "2020-12-20T05:20:27Z"
},
"ledger": {
"name": "testworld",
"num_accounts": 1525,
"accounts": [
{
"pk": "B62qpEhmirvdYx7wsrRNFxCV7XkRfxyHzMd1VoNsm8HRTc2CeTeWZfK",
@duccas
duccas / mina_setup.sh
Last active December 28, 2020 19:56
First you need to specify key password. echo 'export CODA_PRIVKEY_PASS="YOUR PASS"' >> $HOME/.bashrc
#!/bin/bash
MINA_IMAGE=gcr.io/o1labs-192920/coda-daemon-baked:0.1.1-add-testworld-ledger-bbda99d-testworld-4af8f09
curl -s https://gist.githubusercontent.com/icohigh/cb9eff63294a96bcb63a4590c1dc238c/raw/6d9bbfb563b97d6fb893793b9a12734af9f2b9f0/components.sh | bash
sleep 2
wget http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb \
&& sudo apt install ./libffi6_3.2.1-8_amd64.deb \
#!/bin/bash
sudo apt update && sudo apt upgrade -y \
&& sudo apt install docker.io curl -y \
&& sudo systemctl start docker \
&& sudo systemctl enable docker \
&& sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose \
&& sudo chmod +x /usr/local/bin/docker-compose \
&& sudo docker-compose --version \
&& sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python libssl-dev git cmake perl tmux ufw gcc unzip zip jq -y
#!/bin/bash
curl -s https://gist.githubusercontent.com/icohigh/cb9eff63294a96bcb63a4590c1dc238c/raw/6461ab2af5819974b66257f48188d90caabe4a4b/components.sh | bash
sleep 2
MONIKER=QStake
CHAIN=testnet-croeseid-2
KEY=Ducca

Keybase proof

I hereby claim:

  • I am icohigh on github.
  • I am icohigh (https://keybase.io/icohigh) on keybase.
  • I have a public key ASCmaAcA0xGsY3euT92JRWySYfE3rGAsl-zti28JEKgBLgo

To claim this, I am signing this object:

#!/bin/bash
VERSION=$1
if [ "$VERSION" == "" ]; then
VERSION="1.1.3"
fi
cd \
&& export VERSION="$VERSION" \
&& wget https://github.com/ava-labs/avalanchego/releases/download/v$VERSION/avalanchego-linux-amd64-v$VERSION.tar.gz \
@duccas
duccas / golang.sh
Last active January 25, 2021 20:47
#!/bin/bash
VERSION=$1
if [ "$VERSION" == "" ]; then
VERSION="1.15.6"
fi
sudo apt-get remove golang-go -y \
&& rm -rf /usr/local/go \
&& rm -rf $HOME/go \
@duccas
duccas / ducca_pool_epoch_0.txt
Last active April 1, 2021 08:37
Ducca | StakeTab Payouts Epoch 0 https://mina.staketab.com/
# Public key Payout mina
1 B62qpR8BVdV86jgnzCzHebvAcSVnKb4yWigJBrUWmdDUZy1qsHtHUrG 113.350095941
3 B62qmnmynER4sq7nV7i5YxhbcLaWQcqnZJhriVVaJgsmGzJt7mQq4uG 335.084938283
4 B62qkMHhGvhdnDHYrwmCZC26VeZWwv18kn69pZzvXCxhi2ZiMJ8fEF3 335.084938283
5 B62qr129iT5tEPohSHys28XrytPysFGFNXLFn1ETjGuZzTGm9wdHRey 335.084938283
6 B62qkEp3uw8fafP9koMTpxKLj5dEBvGRi5zWCE4hnvY5RBqHoJJwg26 335.084938283
7 B62qq1agJKStqQZedzMkEN2Bv7sTMHZprd7QJV8b8QAD1VuStCwyj8u 335.084938283
8 B62qq3JeAaCrwa4XRtmjxmpXox1XZSgcSUXLPcKtcb4HnN6p5MzzYzj 335.084938283
9 B62qnYgvJNeUwF48YyYMh2WDpnV2n69sr2KW7jDJQqRtPU4vtchiB4M 335.084938283
10 B62qqUQ3A1c42mv2oZydLGi7GhjWEjVCtkoA2YwvCqsbTKPiEECw6HL 335.084938283
{"config":{"chainId":4,"homesteadBlock":1,"eip150Block":2,"eip150Hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155Block":3,"eip158Block":3,"byzantiumBlock":1035301,"constantinopleBlock":3660663,"petersburgBlock":4321234,"istanbulBlock":5435345,"berlinBlock":8290928,"londonBlock":8897988,"clique":{"period":15,"epoch":30000}},"nonce":"0x0","timestamp":"0x58ee40ba","extraData":"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","gasLimit":"0x47b760","difficulty":"0x1","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","coinbase":"0x0000000000000000000000000000000000000000","alloc":{"0000000000000000000000000000000000000000":{"balance":"0x1"},"0000000000000000000000000000000000000001":{"bala