Skip to content

Instantly share code, notes, and snippets.

View fmorency's full-sized avatar
💭
🚀

Félix C. Morency fmorency

💭
🚀
View GitHub Profile
@fmorency
fmorency / proxy.go
Created August 22, 2025 17:39
grpc-proxy
package main
import (
"context"
"crypto/tls"
"flag"
"log"
"net"
"github.com/mwitkow/grpc-proxy/proxy"
@fmorency
fmorency / gc-047-050-migration.md
Last active August 13, 2025 19:45
Ghostcloud 0.47 to 0.50-POA

Ghostcloud Migration Guide

This gist provides instructions on how to migration from Ghostcloud on ComsosSDK 0.47 to Ghostcloud on CosmosSDK 0.50 (POA). The procedure assumes a cutover to a new chain running using Ghostcloud CosmosSDK 0.50 POA.

  1. Stop a running Ghostcloud 0.47 node and export the ghostcloud module state
    # The `--log_level error` parameter IS IMPORTANT. Do not remove.
    ghostcloudd export --log_level error \
                       --height [HEIGHT] \
                       --for-zero-height \
@fmorency
fmorency / dashboard-e2e-setup.md
Created May 1, 2025 14:56
Setup e2e manifest-dashboard with Manifest Prometheus

Requirement

  • The following host ports must be available:
    • 9091: Manifest Prometheus on localhost (SSH Tunnel)
    • 9273: Telegraph HTTP listener
    • 9274: Telegraph Prometheus Monitoring
    • 8880: vmalert (live rules) Prometheus Monitoring
    • 5432: TimescaleDB
    • 3000: PostgREST
    • 5173: bun dev dashboard url
@fmorency
fmorency / cosmos-psql.md
Last active October 18, 2024 19:16
Cosmos chain indexing in PostgreSQL
@fmorency
fmorency / cosmovisor-poa-sw-upgrade-group.md
Last active July 31, 2024 15:46
cosmovisor + POA + Software Upgrade + Group Proposal
@fmorency
fmorency / groups.md
Created June 19, 2024 15:07
Group creation and proposal

Cosmos x/group creation and proposal

Create a new group and a new group policy

  1. Create the following members.json file
    {
      "members": [
        {
          "address": "[ADDR1]",
@fmorency
fmorency / osmo-ibc-lp.md
Created June 4, 2024 14:54
Osmosis Testnet IBC + LP

This document provides instructions on how to create IBC connection from the manifest chain to Osmosis Testnet 5 as well as how to create a Liquidity Pool.

Requirements

  • Manifest manifestd binary
  • Osmosis osmosisd binary
  • Manifest node with public endpoints
  • Manifest relayer account funded with umfx
  • Osmosis relayer account funded with uosmo
  • Hermes relayer binary
@fmorency
fmorency / xfeegrant.md
Created May 30, 2024 17:59
Using xfeegrant

Allow manifest1efd63aw40lxf3n4mhf7dzhjkr453axurm6rp3z (user2) to pay gas fees for manifest1hj5fveer5cjtn4wd6wstzugjfdxzl0xp8ws9ct (user1) for message type /cosmos.bank.v1beta1.MsgSend only.

manifestd tx feegrant grant manifest1efd63aw40lxf3n4mhf7dzhjkr453axurm6rp3z manifest1hj5fveer5cjtn4wd6wstzugjfdxzl0xp8ws9ct \
    --allowed-messages /cosmos.bank.v1beta1.MsgSend \
    --keyring-backend test \
    --home ~/.manifest-local1 \
    --gas auto \
    --gas-prices 0.001umfx \
    --gas-adjustment 1.3 \
@fmorency
fmorency / xfeegrant.md
Created May 30, 2024 17:56
Using x/feegrant

Allow manifest1efd63aw40lxf3n4mhf7dzhjkr453axurm6rp3z (user2) to pay gas fees for manifest1hj5fveer5cjtn4wd6wstzugjfdxzl0xp8ws9ct (user1) for message type /cosmos.bank.v1beta1.MsgSend only.

manifestd tx feegrant grant manifest1efd63aw40lxf3n4mhf7dzhjkr453axurm6rp3z manifest1hj5fveer5cjtn4wd6wstzugjfdxzl0xp8ws9ct \
    --allowed-messages /cosmos.bank.v1beta1.MsgSend \
    --keyring-backend test \
    --home ~/.manifest-local1 \
    --gas auto \
    --gas-prices 0.001umfx \
    --gas-adjustment 1.3 \
@fmorency
fmorency / poa-sw-upgrade.md
Last active May 17, 2024 15:10
POA Software Upgrade

Create an unsigned transaction file upgrade.json containing

{
  "body": {
    "messages": [
      {
        "@type": "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
        "authority": "[POA_ADMIN_ADDRESS]",
 "plan": {