Set of classes and tools to communicate with a Noso wallet using NosoP

Overview

NosoPy

Set of classes and tools to communicate with a Noso wallet using NosoP(Noso Protocol).

The data that can be retrieved consist of:

  • Node information
  • Pool information

Since this coin's protocol is transitioning from version 1(P1) to version 2(P2), this will probably be a short lived repository.

Instruction for use

Node Info

from nosopy import NosoNode

node = NosoNode('Win1', '192.210.226.118', 8080)
node_info = node.get_info()
if node_info is not None:
    print(f'Node: "{node.name}" {node.host}:{node.port}')
    print('  Peers:', node_info.peers)
    print('  Block:', node_info.block)
    print('  Pending:', node_info.pending)
    print('  Sync Delta:', node_info.sync_delta)
    print('  Branch:', node_info.branch)
    print('  Version:', node_info.version)
else:
    print('Something went wrong while retreiving the NodeInfo')

Pool Info

0: print(f' Miners: {pool_info.miners_count}') for miner in pool_info.miners: print(f'Address: {miner.address}') print(f'Balance: {miner.balance}') print(f'Blocks: {miner.blocks_until_payment}') print('------------------') ">
from nosopy import NosoPool

pool = NosoPool('ITBPool', '2.tcp.ngrok.io', 11687, 'Password')
pool_info = pool.get_info('gcarreno-main')

print(f'Pool: "{pool.name}" {pool.host}:{pool.port} "{pool.password}"')
print(f'  Hash rate: {pool_info.hash_rate}')
print( '  Fee:', str(pool_info.fee/100) + '%')
print(f'  Share: {pool_info.share}%')
if pool_info.miners_count > 0:
    print(f'  Miners: {pool_info.miners_count}')
    for miner in pool_info.miners:
        print(f'Address: {miner.address}')
        print(f'Balance: {miner.balance}')
        print(f'Blocks: {miner.blocks_until_payment}')
        print('------------------')
You might also like...
CryptoApp - Python code to pull wallet balances from a variety of different chains through nothing other than your public key.

CryptoApp - Python code to pull wallet balances from a variety of different chains through nothing other than your public key.

All Tools In One is a Script Developed with Python3. It gathers a total of 14 Discord tools (including a RAT, a Raid Tool, a Token Grabber, a Crash Video Maker, etc). It has a pleasant and intuitive interface to facilitate the use of all with help and explanations for each of them. Cloudshell-sandbox-reporter - Helper modules and classes for writing to Cloudshell sandbox console
Cloudshell-sandbox-reporter - Helper modules and classes for writing to Cloudshell sandbox console

Cloudshell Sandbox Reporter This project provides utility classes for formatting

Async boto3 with Autogenerated Data Classes

awspydk Async boto3 with Autogenerated JIT Data Classes Motivation This library is forked from an internal project that works with a lot of backend AW

A simple discord bot named atticus that sends you the timetable of your classes upon request
A simple discord bot named atticus that sends you the timetable of your classes upon request

A simple discord bot named atticus that sends you the timetable of your classes upon request. Soon, it would you ping you before classes too!

A bot written in Python to automate attending classes on MyClass (Codetantra).

codetantrabot This is python program to attend class on myclass(codetantra) Prerequisites You should have Python3 and Pip installed on your system Run

ToqueIO Nuke tools - A collection of tools designed to assist in enhancing your workflows within nuke

ToqueIO Nuke tools - A collection of tools designed to assist in enhancing your workflows within nuke

DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.
DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.

DevSecOps pipeline for Python Web App A Jenkins end-to-end DevSecOps pipeline for Python web application, hosted on AWS Ubuntu 20.04 Note: This projec

Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects

Gnosis-py Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects: EthereumClient, a wrapper over Web3.py Web3 client includin

Releases(v0.4.3)
Owner
Noso Project
Noso Project
LavaAPI - A simple library for accepting payments and using the LAVA Wallet

This library was created to simplify the LAVA api provided on the official websi

Vlad Baccara 8 Dec 18, 2022
Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages or sending secret message through mail.

Secret-Whisper A Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages ?? or sending secr

null 3 Jan 1, 2022
WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate.

WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate. You can send messages to the server and read messages, making it useful for cross-chat programs.

Waton 1 Nov 22, 2021
Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py

Scratch2py Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py Installation Run this command i

null 2 Jan 13, 2022
pyDuinoCoin is a simple python integration for the DuinoCoin REST API, that allows developers to communicate with DuinoCoin Master Server

PyDuinoCoin PyDuinoCoin is a simple python integration for the DuinoCoin REST API, that allows developers to communicate with DuinoCoin Main Server. I

BackrndSource 6 Jul 14, 2022
A small module to communicate with Triller's API

A small, UNOFFICIAL module to communicate with Triller's API. I plan to add more features/methods in the future.

A3R0 1 Nov 1, 2022
Ethereum transactions and wallet information for people you follow on Twitter.

ethFollowing Ethereum transactions and wallet information for people you follow on Twitter. Set up Setup python environment (requires python 3.8): vir

Brian Donohue 2 Dec 28, 2021
Trust-minimized Bitcoin wallet

coldcore Trust-minimized, airgapped Bitcoin management This is experimental software. Wait for a formal release before use with real funds. A trust-mi

James O'Beirne 121 Jan 1, 2023
Announces when a web3 wallet receives a token

excitare_cito v2.0 by Bogdan Vaida ([email protected]) Announces when a web3 wallet receives a token. You can create an account on Pushsafer.com

null 1 Nov 30, 2021
DeFi wallet on Chia Network.

DeFi wallet on Chia Network.

GobyWallet 21 Aug 12, 2022