Library to register opmentis miners.
Project description
Opmentis
Opmentis is a Python package designed to manage user registrations within a decentralized application, allowing users to register as miners or validators with AWS DynamoDB. This package simplifies the process of user registration by providing a single function that can handle different user roles based on the presence of a stake.
Features
- User Registration: Simplified user registration that supports different roles (miner or validator).
- Easy Configuration: Configuration managed through environment variables for AWS settings.
- Scalable and Secure: Uses AWS DynamoDB for scalable and secure data storage.
Installation
Install Opmentis using pip:
pip install opmentis
Usage
Registering a Miner
To register a new user as a miner:
from opmentis import register_miners
# Example: Registering a miner
miner_wallet_address = "miner_wallet_address"
miner = register_miners(wallet_address=miner_wallet_address)
print("Miner Registered:", miner)
Contributing
Contributions to Opmentis are welcome. Please fork the repository, make your changes, and submit a pull request.
License
For more information and updates, visit GitHub repository URL or contact the project maintainers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opmentis-0.1.0.tar.gz
.
File metadata
- Download URL: opmentis-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5f9a22dbcb4312c44bd6caa847f319e466d2830521e925a6659c1944a4c90b |
|
MD5 | d7bb5eb5fbe97adcb6141cfdef187220 |
|
BLAKE2b-256 | e1252f4964b0f3c56c4a596334804b6cb008c7df9407c68e40e4a9971dd68ea5 |
File details
Details for the file opmentis-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: opmentis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1004ed8c91a368530fecc772ee71e4b93818b2955823ce5a03b2d9054a430c |
|
MD5 | d4b875bb7e52fdb0c44fc02ae53280b6 |
|
BLAKE2b-256 | ee83265a3fe21f83cc04888241c6a9c2fbd2d3548c590a4c8195011a752bfabc |