Skip to content

Instantly share code, notes, and snippets.

package errors
import "fmt"
type ErrCode uint64
const (
IOError ErrCode = 0x00
LogicError ErrCode = 0x01
)
@thebevrishot
thebevrishot / json
Created April 21, 2021 10:53
coingecko-slugs.json
{
"BTG": "bitcoin-gold",
"BZRX": "bzx-protocol",
"SRM": "serum",
"SNT": "status",
"SOL": "solana",
"CKB": "nervos-network",
"BNT": "bancor",
"CRV": "curve-dao-token",
"MANA": "decentraland",
#!/bin/bash
# CONFIG SESSION
CHAIN_ID=band-laozi-mainnet
MONIKER=rest
# END
apt-get update
apt-get upgrade -y
apt-get install -y build-essential curl wget
FROM debian:bullseye AS builder
RUN apt update
RUN apt-get install -y build-essential libtool autotools-dev automake pkg-config libssl-dev \
libevent-dev bsdmainutils libgmp-dev cmake curl software-properties-common
# Install Berkeley DB 4.8
RUN curl -L http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz | tar -xz -C /tmp && \
cd /tmp/db-4.8.30/build_unix && \
../dist/configure --enable-cxx --includedir=/usr/include/bdb4.8 --libdir=/usr/lib && \