Skip to content

Instantly share code, notes, and snippets.

Avatar

Stoyan Dimitrov StoyanD

  • San Francisco
View GitHub Profile
@StoyanD
StoyanD / initChain.sh
Created Nov 21, 2019
Validator command creating the attendees array in the genesis file from Eventbrite
View initChain.sh
# Generate the genesis attendees from the eventbrite api
$LYD add-genesis-attendees
@StoyanD
StoyanD / genesis.json
Created Nov 21, 2019
Module attendees array generated from Eventbrite API
View genesis.json
"attendees": [
{
"id": "1284763457",
"address": "cosmos174w50psqkfu5ztg3wjqeveyflzuwqv0ke8rf22",
"name": "Stoyan Dimitrov",
"sponsor": true
},
{
"id": "1284763459",
"address": "cosmos15s0tszqwpk0trgm82mwkjfu0zgtn05a4wl053l",
@StoyanD
StoyanD / initChain.sh
Last active Nov 21, 2019
Validator command changing the consensus configurations
View initChain.sh
# Sets the consensus configurations file for the node to quicken block times
$LYD consensus-config
@StoyanD
StoyanD / config.toml
Last active Nov 21, 2019
The reduced consensus configuration parameters
View config.toml
timeout_propose = "200ms"
timeout_propose_delta = "200ms"
timeout_prevote = "200ms"
timeout_prevote_delta = "200ms"
timeout_precommit = "200ms"
timeout_precommit_delta = "200ms"
timeout_commit = "800ms"
@StoyanD
StoyanD / scan.json
Last active Nov 18, 2019
Fig. 8 Scan event between 2 players recorded on chain
View scan.json
{
"type": "longy/Scan",
"value": {
"id": "MDEzYTNhZjQwZmE0YTdjNjZiM2YxYTFiNjZjMmRkZDM1ZjY2ZTVjYmI3NTllYTY0MzE0NGVlZTUwMjRjYzhiYjA3NGZkMzA0MGQyMGY4MGFmNjZjZTU=",
"s1": "cosmos1vsc5fmh9qfxv3wc8flfsgrfqlq90vm89787up9",
"s2": "cosmos17s86ff7xdvl35xmxctwaxhmxuh9mwk023rd829",
"d1": "ZEtZY211OW5QUVlDdGpBVE94UDBVd0lMTGlleHNWMmc3THBUalJacGZTZUc2R05KTkhBbExXOEpCSy9EeC9QbzJIQ2I1MVU4dHM2N0k1ZFhrRy9odFVRNmJjMVdYYWpsSnpNcFpmNzd3bnFDeTc1UXlkZDB2elU1U2pnV09sNWVqT3FjSldLMjVvbTZLZTJ3Q29qcGhBd2hIMk1kS1FKTUNzUzhkeGVOaFhvPTo6Omo2Szh5b1pKYkcwd0ZXNVI6OjpTNjI2RkZMUDJJVlljVnFNU0c3MEE2djFTaVlnN280aTBheThpWXJzYmJTMHk0eldpWXJTRkEzV2hSVUNrSkU1MThsYVZ4VHBlS0VXTkRNWDZKSE0zdHJkQ3hqL3ZteWFjNWYwWjVHbFIxbnMwOWZIV0Jhbk4zamE2cUR2aHhIYnE4d1RXdz09",
"d2": "TEFFeUJCQ1oxbmlSRkl1MW1SNmEva2xRNG9WZmVzeUpjeExtTUtBck5scXJGcGR2UitNdHVnUzBhUTk3L1cxTXZ1ajFwbXJRN0JtRDdieUNlY2dycTNsV25LbHo1aFcyTjZ1NkE5MnBHTzBtcmdqRnc0c0VqSERhYWhjNktWN3hvRGp6bE1NakJlMEtDaHgzbDU0WmtjZTBtbzhqQ3lJejZNZlozVzNsai9JPTo6OkkzdTFTMFJaTGkxMVFiTFM6Ojp3NnNDRk1EZzByUThBOUNVdz
View keybase.md

Keybase proof

I hereby claim:

  • I am stoyand on github.
  • I am stoyan19 (https://keybase.io/stoyan19) on keybase.
  • I have a public key ASB3lf1LB2yzyESPdS-BbdlIFd1E-tfYEPE4nY2_oRC9Mwo

To claim this, I am signing this object:

View dependancies
compile 'com.appboy:android-sdk-ui:1.15.2'
compile 'com.google.firebase:firebase-messaging:9.4.0'
compile 'io.branch.sdk.android:library:1.+'
//Google Services
compile 'com.google.android.gms:play-services-ads:9.4.0'
compile 'com.google.android.gms:play-services-analytics:9.4.0'
compile 'com.google.android.gms:play-services-cast:9.4.0'
compile 'com.google.android.gms:play-services-location:9.4.0'