xrpl-dev-portal icon indicating copy to clipboard operation
xrpl-dev-portal copied to clipboard

Tutorial: Set up your account for listing XRP as an exchange

Open mDuo13 opened this issue 3 years ago • 0 comments

We should have a tutorial that covers how to set up hot and cold wallets for an exchange, with sample code (optionally interactive, though that may not set a good precedent for how people manage their secrets).

This would be complementary to the List XRP as an Exchange doc and might cover some of the same ground as Getting Started, or could act as a next steps doc assuming you've already gone through that and maybe Send XRP as well.

Not necessarily complete list of things to cover...

  1. URL of rippled. User can choose test net or live net. Probably RPC, but maybe websockets, too.
  2. server_info. Does connection work? Important info like "server_state", "peers", "completed_ledgers",... faucet (if test net). Initial funding of the "hot" wallet.
  3. account_info. Difference between XRP vs drops.
  4. AccountSet. A transaction!
    • Require destination tag. Require Auth. Any other recommendations.
    • Explain why are these important. And about submitting transactions.
  5. tx lookup by hash. Difference between provisional result vs validated.
  6. wallet_propose. Now we've created "cold" wallet. Unfunded.
  7. Payment tx. The moment they've been waiting for!
  8. account_info again.
  9. And AccountSet again. Only this time we sign and then submit. Illustrating how an offline cold wallet can remain secure.

mDuo13 avatar Apr 07 '21 02:04 mDuo13