Skip to main content

Mapping Addresses to Dynamic IPs, Simplified

Project description

Address Ping System (APS) for Naruno

Address Ping System (APS) is a tool designed to check the online status of servers associated with blockchain addresses in Naruno. With APS, you can ensure that the servers you want to communicate with are online and reachable before sending any messages or making any transactions.

Features

  • Decentralized system
  • Secure communication between nodes
  • Fast and easy to use
  • Checks online status of servers associated with blockchain addresses

Installation

You can install APS by pip3:

pip3 install address_ping_system

Usage

*If you want to use address_ping_system you must to use Naruno. For now please checkout the Baklava Testnet.

Getting address of client and server:

narunocli -pw

Server

For a server to be pinged by APS, it needs to have a corresponding APS entry with trusted user addresses set up.

from address_ping_system import aps

my_aps_server = aps("MyNarunoPass")

my_aps_server.add_user("client_address")

my_aps_server.run()

also you can use in command line:

aps --password MyNarunoPass --trusted_users ["client_address"] run

Client

To use APS, you can call the aps.ping function with your blockchain address and the server's blockchain address as parameters:

from address_ping_system import aps

my_aps_client = aps("MyNarunoPass")

result = my_aps_client.ping("server_address")

print(result)

my_aps_client.close()

also you can use in command line:

aps --password MyNarunoPass ping "server_address"

This will return a boolean value indicating whether the server associated with the provided blockchain address is online and reachable.

Contributing

Contributions to APS are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.

License

APS is released under the MPL-2.0 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

address_ping_system-0.5.1.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file address_ping_system-0.5.1.tar.gz.

File metadata

  • Download URL: address_ping_system-0.5.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for address_ping_system-0.5.1.tar.gz
Algorithm Hash digest
SHA256 6749550e292f14ca98a78e915f4a8237180c2c1e820375025d0885d9948241a3
MD5 a5a38f05c4143dc7a4f8a1fde2f23f23
BLAKE2b-256 3bd0c7b82aecafb8bb466b01dfe9a23d0f79a55933bf2ed3c6bbcabcee64024a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page