Observed since 20 Oct, 19:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Mapping Addresses to Dynamic IPs, Simplified
ANS is a decentralized system that maps blockchain addresses to dynamic IPs, making it easy to access servers with changing IP addresses. With ANS, you can access your server by using your unique blockchain address instead of constantly searching for its changing IP address.
You can install ANS by pip3:
pip3 install address_name_system
*If you want to use address_name_system you must to use Naruno. For now please checkout the Baklava Testnet.
Getting address of client and server:
narunocli -pw
For accessing your dynamic IPs over blockchain you should create a address_name_system and giving trusted user addresses.
from address_name_system import ans
my_ans_server = ans("MyNarunoPass")
my_ans_server.set_encrypt_key("mystrongencrypt_key")
my_ans_server.add_user("client_address")
my_ans_server.run()
also you can use in command line:
ans --password MyNarunoPass --encrypt_key "mystrongencrypt_key" --trusted_users ["client_address"] run
To use ANS, you can call the ans.ip function with your blockchain address as the parameter:
from address_name_system import ans
my_ans_client = ans("MyNarunoPass")
ip_address = my_ans_client.ip("server_address", "mystrongencrypt_key")
print(ip_address)
my_ans_client.close()
also you can use in command line:
ans --password "MyNarunoPass" ip "server_address" "mystrongencrypt_key"
This will return the dynamic IP address associated with your blockchain address.
Contributions to ANS 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.
ANS is released under the MPL-2.0 License.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.3 | 18 Apr 2023 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 19:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c1ab2c1c398a75f46d812a897464aeb1c3e8d70a2328dacf224e4aac755eb407