Skip to content

Instantly share code, notes, and snippets.

View drunkirishcoder's full-sized avatar

Daniel Jin drunkirishcoder

  • dfns
  • Philadelphia
View GitHub Profile
@drunkirishcoder
drunkirishcoder / deploy.ts
Created January 2, 2024 13:36
deploy erc721
import { DfnsWallet } from '@dfns/lib-ethersjs6'
import { DfnsApiClient } from '@dfns/sdk'
import { AsymmetricKeySigner } from '@dfns/sdk-keysigner'
import dotenv from 'dotenv'
import { ContractFactory, JsonRpcProvider } from 'ethers'
dotenv.config()
const rpcProvider = new JsonRpcProvider(process.env.SEPOLIA_RPC_PROVIDER_URL!)
@drunkirishcoder
drunkirishcoder / polkadot-0.9.36.man
Created December 28, 2022 21:37
Polkadot 0.9.36 manpage
polkadot@48e2f6bb340f:~$ polkadot --help
Polkadot Relay-chain Client Node
Usage: polkadot [OPTIONS]
polkadot <COMMAND>
Commands:
build-spec
Build a chain specification
check-block
@drunkirishcoder
drunkirishcoder / gaiad-client.toml
Created December 26, 2022 19:40
gaiad default client toml
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
###############################################################################
### Client Configuration ###
###############################################################################
# The network chain ID
chain-id = ""
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
@drunkirishcoder
drunkirishcoder / gaiad-config.toml
Created December 26, 2022 19:38
gaiad default config toml
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or
# relative to the home directory (e.g. "data"). The home directory is
# "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable
# or --home cmd flag.
#######################################################################
### Main Base Config Options ###
@drunkirishcoder
drunkirishcoder / gaiad-app.toml
Last active December 26, 2022 19:39
gaiad default app toml
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
###############################################################################
### Base Configuration ###
###############################################################################
# The minimum gas prices a validator is willing to accept for processing a
# transaction. A transaction's fees must meet the minimum of any denomination
# specified in this config (e.g. 0.25token1;0.0001token2).
@drunkirishcoder
drunkirishcoder / gaiad-7.1.0.man
Created December 20, 2022 23:36
gaiad 7.1.0 manpage
~ $ gaiad -h
Stargate Cosmos Hub App
Usage:
gaiad [command]
Available Commands:
add-genesis-account Add a genesis account to genesis.json
collect-gentxs Collect genesis txs and output a genesis.json file
config Create or query an application CLI configuration file
@drunkirishcoder
drunkirishcoder / lighthouse-3.3.0.man
Created December 10, 2022 23:57
lighthouse 3.3.0 manpage
root@1f4ece29dcff:/# lighthouse -h
Lighthouse v3.3.0-bf533c8
Sigma Prime <contact@sigmaprime.io>
Ethereum 2.0 client by Sigma Prime. Provides a full-featured beacon node, a validator client and utilities for managing
validator accounts.
USAGE:
lighthouse [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
@drunkirishcoder
drunkirishcoder / geth-1.10.26.man
Created December 10, 2022 16:10
geth 1.10.26 manpage
~ $ geth -h
NAME:
geth - the go-ethereum command line interface
USAGE:
geth [global options] command [command options] [arguments...]
COMMANDS:
account Manage accounts
attach Start an interactive JavaScript environment (connect to node)
@drunkirishcoder
drunkirishcoder / erigon-2.31.0.man
Created December 9, 2022 23:05
Erigon 2.31.0 manpage
~ $ erigon -h
NAME:
erigon - erigon experimental cli
USAGE:
erigon [global options] command [command options] [arguments...]
VERSION:
2.31.0-stable-a53e8a3e
@drunkirishcoder
drunkirishcoder / utserver.conf
Created November 13, 2014 01:04
uTorrent server configuration for linux
#
# This file is configuration setting for uTorrent for Linux. If you're making
# changes to an existing config file, be sure to delete or rename the settings
# files. They'll be recreated upon startup.
#
# Many of these settings are only read from the configuration file when the
# uTorrent settings file settings.dat does not already exist in the settings
# directory. Once settings.dat exists, the values specified in the configuration
# file for these settings will be ignored, and the values stored in settings.dat
# will be used. For other settings, the server will load the values from the