Skip to content

Instantly share code, notes, and snippets.


Hans Schoenburg hschoenburg

View GitHub Profile
View gaiad start
panic: invalid character -- Amino:JSON int/int64/uint/uint64 expects quoted values for javascript numeric support, got: 0.
goroutine 1 [running]:*Codec).MustUnmarshalJSON(0xc000542460, 0xc00049f500, 0x6f7, 0x700, 0x1276340, 0xc000bd7fc0) +0x8a, 0xc000d09a40, 0x18d4a80, 0xc0004cd9c0, 0x1907080, 0xc000d09a40, 0x1903260, 0xc000d09a40, 0x18d4a80, 0xc0004cda50, ...) +0xa1*Manager).InitGenesis(0xc000543110, 0x18e8540, 0xc000042068, 0x1900b60, 0xc000bd7ec0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) +0x298*GaiaApp).InitChainer(0xc0000a1800, 0x18e8540, 0xc000042068, 0x1900b60, 0xc000bd7ec0, 0x0, 0x0, 0x0,
View GoSyntax?.md

Not sure what the underscore is for here? (golang) How does assigning a struct literal to a var result in two return values? I dont understand.

 var (
   _ sdk.AppModule      = AppModule{}
   _ sdk.AppModuleBasic = AppModuleBasic{}
hschoenburg /
Last active May 6, 2019
Content for Cosmos Ledger Support Knowledgebase Content

The Cosmos Ledger app

Install the Cosmos app on your Ledger Nano S device to interact with the Cosmos Internet of blockchains. Use the app to sign and send transactions containing messages of any type such as sending or delegating ATOM tokens. The Cosmos Ledger app is maintained by the Cosmos dev team.

NOTE: The Cosmos Ledger app currently supports only the Nano S.

Before you start

Make sure you have completed the following steps

hschoenburg /
Last active May 6, 2019
Ledger tutorial Draft

(tutorial to be hosted by Cosmos and linked to from the Ledger Live store.

Using the Cosmos Ledger app

Using a hardware wallet to store your keys greatly improves the security of your crypto assets. The following is a short tutorial on using the Cosmos Ledger app to sign transactions with either the Gaia CLI or the web wallet.

At the core of a Ledger device, there is a mnemonic that is used to generate private keys. When you initialize you Ledger, a mnemonic is generated. This mnemonic is compatible with Cosmos accounts.

The tool used to generate addresses and transactions on the Cosmos Hub network is called gaiacli, which supports derivation of account keys from a Ledger seed. Note that the Ledger device acts as an enclave of the seed and private keys, and the process of signing transaction takes place within it. No private information ever leaves the Ledger device.

**Do not lose or share your 24 words with anyone. To prevent theft or loss of funds, it is best to keep multiple copies of your

View gist:bfd82accf5f0d9cc781595deb7ee09b9
"start": {
"reserved": false,
"week": 0,
"start": 0
"info": {
"name": "trees",
"nameHash": "92ec68524dbcc44bc3ff4847ed45e3a86789009d862499ce558c793498413cec",
"state": "CLOSED",

Keybase proof

I hereby claim:

  • I am hschoenburg on github.
  • I am hschoenburg ( on keybase.
  • I have a public key ASA8vIGRPo-W6pUgRN-rpT-bZehxY9-NbSNiHIBEgAf4zgo

To claim this, I am signing this object:

View gist:5846911
# config/unicorn.rb
# See comment by @paulelliott
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 29
preload_app true
# Shouldn't need to do anything for redis, since it's already connecting-on-request rather than on boot.
before_fork do |server, worker|
You can’t perform that action at this time.