Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<style type="text/css">
.ansi2html-content { display: inline; white-space: pre-wrap; word-wrap: break-word; }
.body_foreground { color: #AAAAAA; }
.body_background { background-color: #000000; }
.inv_foreground { color: #000000; }
@levicook
levicook / _template.json
Last active May 10, 2023 21:50
Characters from Better Call Saul
{
"name": "",
"description": "",
"image": ""
}
$ cargo run --release --bin sui-node -- --config-path fullnode.yaml
info: syncing channel updates for '1.62.1-x86_64-unknown-linux-gnu'
info: latest update on 2022-07-19, rust version 1.62.1 (e092d0b6b 2022-07-16)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
@levicook
levicook / all-traits
Last active April 17, 2022 02:26
xalt 🤝 xape?
XALT Traits
BACKGROUND
BODY
EXALTED_STAT
FUR
GLASSES
HEAD
MOUTH
❤️
node_modules
package-lock.json
2HCaiPHxWFb4WjdqZKbjVa7Y8TDa1pjF4XadKNmSQcXz
Dxc5B7Lwtp3kr4SaPSU26qgDp6VNVUP7ZFZonBBSPfSD
4eCjbUCE3JwC3quzdvLZwRnn7rMB57voRPZLXmDNCeYV
HFPaT6WKk9SkwtYVZ5m5Sqw7ZbyehGu9GHjsctigm49S
CQUk6Djk6ZopPps1gZwzpgp7X7nFwyzcRp4sDauGpDHo
DmrkajG3SrTXnYSYxGRfkzfvhkevD6RdtFk4SdLC2G6Q
FRgYM8AUf2nMLa1prSwUiX6SmzWQdXywNYERu2cx1y1p
AxXhiZKyFHxgkjDF6XpGZ8SSo9sPAT1H2VR4sUiqrm83
3D49QorJyNaL4rcpiynbuS3pRH4Y7EXEM6v6ZGaqfFGK
GRnx8CHP9oabu2PScVBxDXb2dExQ99oqW6Uh3Sn1Dkdm
@levicook
levicook / dape-mints.json
Last active January 4, 2022 06:51
Ape Mint Hashes
[
"127RACV8SfCbbVrLdRbukh63zCDcubW4xVGh6aV6pnZi",
"12BL2dkEvZFndkoAYW8hywJyjyqWfwWkVXhe1y4todSv",
"12C4w448q4nkeBa8Nv864mBD6m2gYk55uAyGHaA6SewL",
"12Cj2zaVkaxjWrCbbacYVWMTsRdAJnZVLe8WsAoG57mf",
"12Hzt883ocDZnorzCVi2u8KPZiwLZtpSmtQKwMHz5pUJ",
"12JF4YdDzWvhnr36ThC8L7C6RxkhQcJAGRJ6Rhestt1U",
"12N6ehGsoe7LFHFxtXFxK8z286PKA5gpMApFVqWpaGiu",
"12pKJHBUs9vnwNvj3MexoQ1rSCGkwwXQjLt5cJY9AqfW",
"12qWDHB66K1pDUzcod8iuTpUcQD6uUjFaig776rE6uXv",
curl http://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ",
{
"encoding": "jsonParsed",
"filters": [ ]
}
@levicook
levicook / curl.bash
Created September 9, 2021 13:36
token accounts for a specific mint
curl http://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
{
"encoding": "jsonParsed",
"filters": [
types/config.go:81: panic("Config is sealed")
types/kv/kv.go:21: panic("invalid comparison result")
types/address.go:94: panic(err)
types/address.go:97: panic(err)
types/address.go:100: panic(err)
types/address.go:599:// Returns an empty sting if the byte slice is 0-length. It panics if the bech32 conversion
types/address.go:604: panic(err)
types/address.go:658: panic(err)
types/bech32/legacybech32/pk.go:33:// Deprecated: MustMarshalPubKey calls MarshalPubKey and panics on error.
types/bech32/legacybech32/pk.go:37: panic(err)