/*
Module escrow models a simple leasing escrow system with discrete block
settlement. Users deposit funds into per-user escrow accounts, open leases that
incur a fixed per-block charge, and optionally close them. At each block (via
tick/end_block), open leases generate charges:
- If a user has sufficient escrow, charges move to the provider balance.
- If charges overdraw escrow, the user’s escrow is zeroed and all their still-open leases become Overdrawn.
package main | |
import ( | |
"context" | |
"crypto/tls" | |
"flag" | |
"log" | |
"net" | |
"github.com/mwitkow/grpc-proxy/proxy" |
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.
- 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 \
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
- cosmos-dump
- Docker
- Dump the chain data using the cosmos-dump tool
Based on https://github.com/fmorency/cosmovisor-poa-test, with a twitst.
git clone https://github.com/liftedinit/manifest-ledger.git
cd manifest-ledger
git checkout v0.0.1-alpha.10
make build
./build/manifestd version
v0.0.1-alpha.10
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
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 \
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 \