ipnpy 0.0.1

Creator: bigcodingguy24

Last updated:

Add to Cart

Description:

ipnpy 0.0.1

A modern, easy-to-use library for interacting with the IPN, written in Python.

Key Features


Interaction with the IPN API.
Creating and managing transactions.

Installing

Python 3.9 or higher is required
To install the library, use the command
pip install ipnpy

To install the development version, do the following:
git clone https://github.com/IPNTools/ipn-py
cd ipn-py

Quick Example

Send transaction:
from ipnpy.rpc import EvmJsonRPC

provider = EvmJsonRPC('https://data-seed-prebsc-1-s2.binance.org:8545/')
transaction = provider.send_native_token(
private_key='YOUR_PRIVATE_KEY',
from_address='0xdB87EE96B5D2D7F5b0e9eC400240D605f870756f',
to_address='0xdB87EE96B5D2D7F5b0e9eC400240D605f870756f',
amount=23000,
)

print(transaction)

Add, replace and delete address in IPN:
from ipnpy.ipn import IPNTools

ipn = IPNTools(secret_key='YOUR_SECRET_KEY')
ipn.add_address('address4')
ipn.replace_addresses(addresses=['address1', 'address2', 'address3'])
ipn.delete_address('address3')

Links


Official IPN site
Telegram channel

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.