Skip to content

Instantly share code, notes, and snippets.

View drandreaskrueger's full-sized avatar

drandreaskrueger

View GitHub Profile
@drandreaskrueger
drandreaskrueger / compose_sign_and_send_extrinsic(substrate)
Last active June 25, 2021 00:00
compose_sign_and_send_extrinsic(substrate) - both results (bottom) done with rc3 - added python @quickstart - cleaned up, new scalecodec version
#!/usr/bin/env python3
"""
@summary: Send extrinsic - how to? Example doesn't work yet for substrate & node-template.
For reporting in https://github.com/polkascan/py-substrate-interface/issues/14
Output RESULTS = see bottom of this file
@version: v05 (25/June/2020)
@since: 10/June/2020
@author: https://github.com/drandreaskrueger
@see: https://github.com/drandreaskrueger/chainhammer-substrate for updates
@drandreaskrueger
drandreaskrueger / plutoalert_StarTrek.py
Last active March 10, 2022 01:23
clone and init my plutoalert github repo, then run the example script, showing all Star Trek episodes in the plutotv EPG
#!/bin/python3.7
# this gist
# https://gist.github.com/drandreaskrueger/94d3b92d57976da77ae2753b45314aeb
# is intended to run at PythonAnywhere
# https://www.pythonanywhere.com/gists/94d3b92d57976da77ae2753b45314aeb/plutoalert_StarTrek.py/python3/
#
# but see the 'sorry, EMPTY RESULT' info in
# README.md --> Geoblocking --> Python online execution environments: pythonanywhere