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
""" | |
Utilities for 'monKey cards', card-style stat sheets for Appditto's MonKeys | |
Copyright (C) 2021 Vyryn | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU Affero General Public License as | |
published by the Free Software Foundation, either version 3 of the | |
License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, |
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
""" | |
Utilities for interacting with unreliable Wax endpoints for transactions on that network. | |
Copyright (C) 2021 Vyryn | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU Affero General Public License as | |
published by the Free Software Foundation, either version 3 of the | |
License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, |
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
# By Vyryn, licensed under GNU GPL. | |
# Some basic Meros testnet RPC communication to make it a little more convinient to monitor network status and | |
# test transaction success timing. A few basic async functions and what amounts to terrible examples of their use. | |
import json | |
import asyncio | |
import time | |
URL = "10.0.0.109" | |
PORT = 5133 |
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
# Wax api Alienworlds Mining aggregator by Vyryn. Licensed under the GNU AGPLv3. | |
# https://www.gnu.org/licenses/agpl-3.0.en.html | |
import asyncio | |
import json | |
from datetime import datetime | |
# pip install aiohttp | |
import aiohttp | |
# pip install parsedatetime | |
import parsedatetime as pdt |
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
"""Helpers for creating actions on atomictoolsx contract. By Vyryn, licenesed under AGPL.""" | |
from aioeos import types | |
contract = 'atomictoolsx' | |
def announcelink(creator: str, key: str, asset_ids: [int], memo: str, authorization=[]) -> types.EosAction: | |
return types.EosAction( | |
account=contract, | |
name='announcelink', |
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
# By Vyryn, licensed under GNU GPL. | |
# Some basic Meros testnet RPC communication to make it a little more convinient to monitor network status and | |
# test transaction success timing. A few basic async functions and what amounts to terrible examples of their use. | |
import json | |
import asyncio | |
URL = "10.0.0.109" | |
PORT = 5133 |
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 math import pi | |
""" | |
Licensed by Vyryn under the MIT License. | |
This script simplistically calculates emission temperature and peak emission wavelength for a Dyson sphere of varying | |
parameters. | |
The US energy sector is ~$350B while US GDP is ~20T |
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 matplotlib | |
import numpy as np | |
import matplotlib.pyplot as plt | |
""" | |
Licensed by Vyryn under the MIT License. | |
A randomization plot of a number of civilizations in the galaxy and their light cones. | |
To give a general visual idea of how few would be observable relative to how many there are. | |
""" | |
scaling_factor = 1/3000 |