Skip to content

Instantly share code, notes, and snippets.

View webmaster128's full-sized avatar

Simon Warta webmaster128

View GitHub Profile
Estimated attempts needed: 1048576
Tried 477522 keys (~45.54%; 90098.5 keys/s)
Found matching account!
Private Key: B09A6C87656DB076B0F776BE7404DA7ED12907B05A689BD90B480A1FAF05127E
Account: xrb_3simo746d48crxw15oaqndzno7khgcbj67jzw8xig3paafphz8nsdz8bnx9e
Estimated attempts needed: 1048576
Tried 342440 keys (~32.66%; 90520.8 keys/s)
Found matching account!
Private Key: EC767582F65C407D055F8716E258D33D26E52C9504BC578DC3D7424C680F5353
Account: xrb_1simopqazg9kgwetyao89a7qxy55j8nsqr4rxpb13xcg9rx4hrnurtbg6g6c
@webmaster128
webmaster128 / README.md
Last active July 30, 2022 20:05
Get started with Substrate on Ubuntu 18.04

Install Substrate

sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y \
  && sudo apt install -y docker.io pwgen jq joe screen \
  && sudo reboot

Now run screen and inside

BurnTx

In Lisk and derivative systems, addresses are strings in the format [0-9]{1,21}L. Those addresses are generated by an eight byte hash of the public key, represented as an unsigned 64 bit integer, i.e. the range [0, 18446744073709551615].

As you can see, the address format allows representing addresses that exceed the uint64 range. Addresses in the format [0-9]{1,21}L

This file has been truncated, but you can view the full file.
[inf] 2018-07-28 20:12:37 | Block 5124318894049523058 loaded from: 159.89.105.72:7001 - height: 5037761
[inf] 2018-07-28 20:12:37 | Block 15662886212575383509 loaded from: 159.89.105.72:7001 - height: 5037762
[inf] 2018-07-28 20:12:37 | Block 11290399134264654155 loaded from: 159.89.105.72:7001 - height: 5037763
[inf] 2018-07-28 20:12:37 | Block 9749993075036455491 loaded from: 159.89.105.72:7001 - height: 5037764
[inf] 2018-07-28 20:12:37 | Block 5191939123358002670 loaded from: 159.89.105.72:7001 - height: 5037765
[inf] 2018-07-28 20:12:37 | Block 9179948205808223725 loaded from: 159.89.105.72:7001 - height: 5037766
[inf] 2018-07-28 20:12:37 | Block 13896625729685812420 loaded from: 159.89.105.72:7001 - height: 5037767
[inf] 2018-07-28 20:12:37 | Block 4482064082487197139 loaded from: 159.89.105.72:7001 - height: 5037768
[inf] 2018-07-28 20:12:37 | Block 7779295221362926998 loaded from: 159.89.105.72:7001 - height: 5037769
[inf] 2018-07-28 20:12:37 | Block 8040204139379963933 loaded from: 159.89.105.72:7001
Sat, 28 Jul 2018 20:12:01 GMT { success: true,
height: 5030757,
broadhash: '87f0cfcc7623794d388f1bb2ba46cf9195caafe9257009cd0ce3b6a71472cef7',
nonce: 'mqjRzRoANYDH2mYg',
httpPort: 7000,
version: '1.0.0-rc.1',
os: 'linux4.15.0-29-generic' }
Sat, 28 Jul 2018 20:12:03 GMT { success: true,
height: 5030757,
broadhash: '87f0cfcc7623794d388f1bb2ba46cf9195caafe9257009cd0ce3b6a71472cef7',
@webmaster128
webmaster128 / lisk_bridge_light.py
Last active June 27, 2018 21:44
Lisk lisk_bridge.sh just for custom commands. Usage: `python lisk_bridge_light.py -h 5594490 -c "echo 123 | hexdump -C"`
try:
import urllib2 as urlreq # Python 2.x
except:
import urllib.request as urlreq # Python 3.x
import json
import subprocess
import sys
import time
import argparse
Connected to database snapshot_validator_tmp_2018-06-13T09-56-07Z_pid32354
Transaction count 1616
Blocks count 34138
Height: 34138
Reading transactions ...
Reading transactions finished in 40 ms
Reading blocks ...
Payload length calculated: 19619 expected: 19619
Payload transaction: 0/0/32/5057926541223936699L/10000000000000000 715435610815407684
Payload transaction: 2/0/32/0L/0 16407485105335412957
[inf] 2018-06-12 17:41:23 | Block 652044279897365212 loaded from: 209.50.56.66:5001 - height: 79341
[dbg] 2018-06-12 17:41:23 | Cache - onTransactionsSaved | Status: false
[dbg] 2018-06-12 17:41:23 | Block applied correctly with 0 transactions
[dbg] 2018-06-12 17:41:23 | Performing forward tick
[dbg] 2018-06-12 17:41:23 | Cache - onNewBlock | Status: false
[inf] 2018-06-12 17:41:23 | Block 6534773222692857889 loaded from: 209.50.56.66:5001 - height: 79342
[dbg] 2018-06-12 17:41:23 | Cache - onTransactionsSaved | Status: false
[dbg] 2018-06-12 17:41:23 | Block applied correctly with 0 transactions
[dbg] 2018-06-12 17:41:23 | Performing forward tick
[dbg] 2018-06-12 17:41:23 | Cache - onNewBlock | Status: false
@webmaster128
webmaster128 / burned_money.csv
Last active October 7, 2018 22:12
LSK burned by transactions to addresses out of the uint64 range
Lisk address amount (LSK)
88888888888888888888L 0.00000005
111291927890909688453L 4.9
45552822168800676881L 2093.7132803
102578089172695223748L 1
158417393714384967784L 0.5
66767893317355082007L 930
79378290046298522419L 39.8
82995860846885414674L 30.52210389
146740799137033984447L 204.18347391
@webmaster128
webmaster128 / create config.json entry
Created May 24, 2018 22:12
Passphrase encryption for beta6-beta7. Credits to carbonara
'use strict';
const crypto = require('crypto');
const defaultKey = 'YOUR DECRYPTION KEY';
const delegateSecret = 'YOUR PASSHPRASE';
const delegatePublicKey = 'YOUR PUB KEY';
const crypter = crypto.createCipher('aes-256-cbc', defaultKey);
let encrypted = crypter.update(delegateSecret, 'utf8', 'hex');