eric-volz/DefichainPython

Please Add a Simple Example of sending DFI between accounts

Closed this issue · 3 comments

Hello,

As I have seen the full project I am unable to find a fully working example of Sending token from one wallet to another.

it can help new people as it is a common transaction of transferring tokens .

Hey,

there is a Quickstart Guide where you can view a working example of two also very commonly used methods.
If you want to send tokens from one account to another, you just have to use other methods.

To send UTXO you can use the method: sendutxosfrom
To send tokens you can use the method: sendtokenstoaddress

Every method in the documentation also has an example how to use the individual method. You just have to have to replace this example with the methods specified in the Quickstart Guide and it should be working.

I hope this has helped you. Feel free to let me know if you need any further assistance. :)

thank you eric for your time,
one more question will you be adding a way to generate hexstring for ocean rawTx send function?

Your welcome :)

I'm already on it. :) You can see the progress in the raw_transaction branch.
My time is very limited right now, so it will take a while until it is finished.
When it's ready, I'll announce it on Reddit!