how send coin at exchange?
Exchange must provide a public key (like, for example, 3GhhbovFXcR3Wri8CE6Z4n6RRx8XGVTrzCBRgBQuYeBhSJftvcF5RahahLuu94fhuNFvGkpVrxR3sW5
q52jeAxcpRPL4zmeQR4o4BZ ). (Public keys can be generated by the wallet using JSON-RPC methods)
Then user must change account owner of one of his accounts by inserting Exchange public key
After that, exchange will have 1 account assigned to this public key (with it's coin balance), and user can send more coins simply sending coins to this account number.
It's easy... because when you work with accounts it's like when you work with a traditional bank.
Example:
- User has a free account 182610-61 (with balance of 100 PASC)
- User executes a "Transfer account to a new owner" operation, inserting exchange public key 3GhhbovFXcR3Wri8CE6Z4n6RRx8XGVTrzCBRgBQuYeBhSJftvcF5RahahLuu94fhuNFvGkpVrxR3sW5
q52jeAxcpRPL4zmeQR4o4BZ
- Exchange will receive account 182610-61 and also 100 coins.
- If user wants to send more coins to the exchange, just send coins to account 182610-61
Also, if user changes other accounts owner to Exchange's public key, Exchange will have more than 1 account associated to this user... introducing the possibility to trade accounts too.