- Create the following
members.json
file{ "members": [ { "address": "[ADDR1]",
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 \
Create an unsigned transaction file upgrade.json
containing
{
"body": {
"messages": [
{
"@type": "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
"authority": "[POA_ADMIN_ADDRESS]",
"plan": {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use tokio_cron_scheduler::{Job, JobScheduler}; | |
#[tokio::main] | |
async fn main() { | |
let mut sched = JobScheduler::new(); | |
let _ = sched.add( | |
Job::new_async("1/7 * * * * *", |_uuid, _l| { | |
Box::pin(async { | |
println!("I run async every 7 seconds"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Traceback (most recent call last): | |
# File "example.py", line 57, in <module> | |
# root.appendRow(list(p)) | |
#TypeError: 'PySide.QtGui.QStandardItem.appendRow' called with wrong argument types: | |
# PySide.QtGui.QStandardItem.appendRow(list) | |
#Supported signatures: | |
# PySide.QtGui.QStandardItem.appendRow(PySide.QtGui.QStandardItem) | |
# PySide.QtGui.QStandardItem.appendRow(list) | |
if __name__ == '__main__': | |
app = QApplication(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from PySide.QtCore import * | |
from PySide.QtGui import * | |
@Slot() | |
def destroy_slot(): | |
print 'Destroyed' | |
if __name__ == '__main__': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PySide.QtCore import * | |
from PySide.QtGui import * | |
from ui.uiloader import UiLoader | |
class CloseEventFilter(QObject): | |
def eventFilter(self, target, event): | |
print event.type(), target | |
return False |
NewerOlder