Bitcoin Forum
May 21, 2024, 02:50:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: AioTx - simple python crypto library  (Read 86 times)
Grommash9 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 5


View Profile
May 04, 2024, 11:04:11 AM
 #1

Hello! I am working in crypto a lot and a lot of times I writing the same code for get balance, send transactions, block monitoring, etc.

So I decided I have skills for create my library for interact with different blockchains.

The idea is to not use web3 or analogs and just call the node, and also make same interface for all networks

Now I have done ETH and BSC, I will do UTXO client next so BTC and LTC should be ready soon too.

You can install my library by command `pip install aiotx`

Here is url for documentation:
https://grommash9.github.io/aiotx/

Here is source code url:
https://github.com/Grommash9/aiotx

I am not a master in writing so I will just attach a screenshots of how you can use my library and maybe you will find that useful

- covered by tests (all the functions with different inputs)
- tested on python 3.9, 3.10, 3.11, 3.12
- have block monitoring module with handlers - so you can build block monitoring applications in minutes

Please let me know what you think about it ( i can't figure out how to attach images here maybe moderator can edit my post? )

https://ibb.co/Xxccj5V
https://ibb.co/QJsQRVv
https://ibb.co/0s7Dnq3
https://ibb.co/NshPqT6
Ambatman
Full Member
***
Offline Offline

Activity: 322
Merit: 158


★Bitvest.io★ Play Plinko or Invest!


View Profile WWW
May 04, 2024, 07:14:11 PM
 #2

newbies can't really post images on Bitcointalk.
But I can help with that.






Grommash9 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 5


View Profile
May 20, 2024, 04:41:28 PM
 #3

I have pushed few new versions

Now my library supporting BTC and LTC, as you know that networks should know about transaction and we should store them somewhere so I have implemented sqlite/mysql database connectors for that

Now you can connect to public node and send BTC/LTC in bulk mode or single mode
You can deduct commission from recipients
And it's also have auto commission logic

All of the methods are tested and described in documentation

I am not able to upload pictures here so please look at the code examples in the repo itself

https://github.com/Grommash9/aiotx
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!