Skip to main content

OpenLP Python SDK 0.1.1

Project description

OpenLP Python SDK

Open Loyality Points (OpenLP) is an opensource Loyality Point platform build top on public blockchain.


Auther: Midhun Chandrasekhar


Date: Sep 04, 2022


Place: Kerala, In



Build

GitHub Workflow Status


Technologies

Ethereum

Solidity


Python


Documentation

*OpenLP Version 0.1.0 Doc


Status

Installation

pip install web3

pip install openlp3

Usage

Deploy smart contract from https://github.com/Midhun-Chandrasekhar/OpenLP on EVM

compatible blockchain (etherium).

Import

from openlp import OpenLP

Initializing

olp = OpenLP3("network_address", "contract_address", "contract_owner_private_key", "contract_abi")

Contract Information

olp.contract_info()

Issue loyality point to wallet

olp.issue_points("wallet_address", 1000)

Burn loyality point to wallet

olp.burn_points("wallet_address", 100)

Get Loyality balance

olp.user_points("wallet_address")


License


Contributing

contributions welcome

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

openlp3-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

openlp3-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file openlp3-0.1.1.tar.gz.

File metadata

  • Download URL: openlp3-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for openlp3-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1c9ee75eeb4fdf3e317713f1cf74622546b0e3d7c5cb443757f812cc2f4705a7
MD5 c1000359ce9f46186eb9df82630dd790
BLAKE2b-256 0491e1cb05f6cfe400c54bc83d79a09d5119a7cea6bb730a748c2f6f17055b07

See more details on using hashes here.

File details

Details for the file openlp3-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: openlp3-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for openlp3-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2229a2c347882d2f2356882bfe32294ba3e8dccad57cc5358ce018608867d8c4
MD5 3077f9979955a2d87bd84109600a685f
BLAKE2b-256 3574651e856838c217e85f1207b8f4ea6951f68ce5ac1e909703fcbb3d93c67a

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