Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wrm3/sol_xfr

Solana & Token Transfer For Python
https://github.com/wrm3/sol_xfr

python s-p-l send solana tokens transfer

Last synced: about 1 month ago
JSON representation

Solana & Token Transfer For Python

Awesome Lists containing this project

README

        

# sol_xfr - Python 3.12.1, solana 0.34.0, solders 0.21.0 Example Code for Transfer Solana by Amount & SPL Tokens by Amount or ALL with priority fees to help overcome the recent network congestion
Solana & Token Transfer For Python

**Features**
Tranfer SOL Solana using Python on the Solana Blockchain
Tranfer SPL Tokens using Python on the Solana Blockchain
Examples of Use are in the cleverly named file sol_xfr_example.py

**Yada Yada Yada**
This is my first public github repository. I am sure it shows. All Apologies.
I promise someday to learn how to do a github repository properly!

This library will allow you to send SOL and also Tokens on Solana using Python code.
It includes the create of the token account to allow a transfer of tokens.
It includes priority fees for allowing the transactions to actually hit the blockchain.

As of right now the the priority fees are about correct for the current (April 8th, 2024) network congestion to go first try.
Network conditions however change, and in the future they may need to be increased to post or decreased to save some SOL.

I struggled with researching this for a very long time.
Everywhere I looked and found info for a different language or in some other cases were actually wallet stealers.
I don't want that to happen to anyone else!
I know how hard I searched, and I share this with you so you don't have to.

I realize that some AI will probably just snatch this up in the future. No-one will know anything about it origins. It will just be yet another regurgated AI response.

The code works today, and I have no doubts, that someone else can and will come along and make it better!

I don't intend of maintaining (currently) as a pip install library but more of a demonstrator.

But for today, I hope I made someones day, life, job or project just a little better!

**~FSTrent**

**Of course looking for crypto job!**

**Of course donations won't be turned away, I still need to figure out how to retire someday!**

Solana 4xMEKCT5mpshfRqfCHTeDEmfqQYj9W2MsH676fvUrC8s

[does that ever work :(]