Post
Topic
Board Development & Technical Discussion
Re: Need idea for FASTER Balance & transaction update
by
ranochigo
on 28/06/2020, 07:08:01 UTC
Someone have the curl syntax to send from one address to one wallet?

I see this example:

{inputs:[{"wallet_name":"alice", "wallet_token":"YOURTOKEN"}], value: 5000000}

But this is example to use as inputs and id like to use a wallet for outputs, i tried a lot of combinations without success, someone can help?
Hmm, CMMIW but I don't think you can send the coins to a specific wallet instead of an address. Wallet tokens are not meant to be exposed and they don't have off-chain transactions this could easily expose the keys that is contained within the wallet.

we did this method in our site: instead of using unique address for each user, generate addresses for each deposit and tell users to send payment only one time to each address and change address after a successful payment. this way you do not need to check balance of all addresses every time. you just check one when they deposit and then show summary of all addresses balance from db.
Most people won't read what you put on the site and just assume that the addresses are reusable. You'll have a bigger headache trying to transfer out the funds that were accidentally sent to old addresses than to just monitor all the addresses that was generated in the first place.