when I start rippled, how to create my wallet and account for sending XRP to testnet

493 views
Skip to first unread message

山田欽

unread,
Nov 8, 2017, 9:11:40 AM11/8/17
to ripple server
when I start rippled, how to create my wallet and account for sending XRP to testnet
I am newbie to rippled.

passionofvc

unread,
Nov 9, 2017, 1:39:28 AM11/9/17
to ripple server


2017年11月8日水曜日 23時11分40秒 UTC+9 山田欽:

passionofvc

unread,
Nov 9, 2017, 1:40:36 AM11/9/17
to ripple server
Thanks you! Have another question!

1.generate Credentials https://ripple.com/build/xrp-test-net/ and get 10,000 XRP
2.send rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe to rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS
  and sending is fininshed and then balance decreased including tx fee
3.step 1 and step 2 is OK, but rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS not received any XRP, even show no Account found.
  by the way ,  rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS is create by local RippleD.exe daemon and RippleD run in test-net
so where would the balance go?


[ripple@localhost build]$ curl -s -X POST "https://api.altnet.rippletest.net:51234" -d @- <<-END
> {
>   "method" : "sign",
>   "params" : [
>     {
>         "secret" : "sawA4kNNCqSSieMASJyTqciTmtbzt",
>         "tx_json" : {
>             "TransactionType":"Payment",
>             "Account":"rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe",
>             "Amount":"1000000",
>             "Destination":"rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS"
>         }
>     }
>   ]
> }
> END
{"result":{"status":"success","tx_blob":"120000228000000024000000016140000000000F424068400000000000000A7321029820CC114806EA975210E59096DDC29C9398E5289E86E417D2926793C24C004B744630440220197889B8463E9453E77C8A1B084F154585DC4E096C1B77153758E7394A89E96C0220431438B503712940EE7086B7DDC32571D60E20AE280C2D7DD3C82FD9676AAB0181144BBB526C9104F8B50A3E51D2DFE84B55C3DA8201831470E7CDD1DBE503279C974694EEFE93581BEE947A","tx_json":{"Account":"rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe","Amount":"1000000","Destination":"rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS","Fee":"10","Flags":2147483648,"Sequence":1,"SigningPubKey":"029820CC114806EA975210E59096DDC29C9398E5289E86E417D2926793C24C004B","TransactionType":"Payment","TxnSignature":"30440220197889B8463E9453E77C8A1B084F154585DC4E096C1B77153758E7394A89E96C0220431438B503712940EE7086B7DDC32571D60E20AE280C2D7DD3C82FD9676AAB01","hash":"9B95CAC5EED0A41BE982C0DA3B85EBBC4C2C3A25595DC49B4A360E4A66A9E4A0"}}}

[ripple@localhost build]$ curl -s -X POST "https://api.altnet.rippletest.net:51234" -d @- <<-END
> {
>     "method": "submit",
>     "params": [
>         {
>              "tx_blob":"120000228000000024000000016140000000000F424068400000000000000A7321029820CC114806EA975210E59096DDC29C9398E5289E86E417D2926793C24C004B744630440220197889B8463E9453E77C8A1B084F154585DC4E096C1B77153758E7394A89E96C0220431438B503712940EE7086B7DDC32571D60E20AE280C2D7DD3C82FD9676AAB0181144BBB526C9104F8B50A3E51D2DFE84B55C3DA8201831470E7CDD1DBE503279C974694EEFE93581BEE947A"
>         }
>     ]
> }
> END
{"result":{"engine_result":"tesSUCCESS","engine_result_code":0,"engine_result_message":"The transaction was applied. Only final in a validated ledger.","status":"success","tx_blob":"120000228000000024000000016140000000000F424068400000000000000A7321029820CC114806EA975210E59096DDC29C9398E5289E86E417D2926793C24C004B744630440220197889B8463E9453E77C8A1B084F154585DC4E096C1B77153758E7394A89E96C0220431438B503712940EE7086B7DDC32571D60E20AE280C2D7DD3C82FD9676AAB0181144BBB526C9104F8B50A3E51D2DFE84B55C3DA8201831470E7CDD1DBE503279C974694EEFE93581BEE947A","tx_json":{"Account":"rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe","Amount":"1000000","Destination":"rBHz4W74nq3A4V4CkLFh5ngomxFxisSdyS","Fee":"10","Flags":2147483648,"Sequence":1,"SigningPubKey":"029820CC114806EA975210E59096DDC29C9398E5289E86E417D2926793C24C004B","TransactionType":"Payment","TxnSignature":"30440220197889B8463E9453E77C8A1B084F154585DC4E096C1B77153758E7394A89E96C0220431438B503712940EE7086B7DDC32571D60E20AE280C2D7DD3C82FD9676AAB01","hash":"9B95CAC5EED0A41BE982C0DA3B85EBBC4C2C3A25595DC49B4A360E4A66A9E4A0"}}}




[ripple@localhost build]$ curl -s -X POST "https://s.altnet.rippletest.net:51234" -d @- <<-END
{
    "method": "account_info",
    "params": [{ "account": "rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe" }]
}
END

{"result":{"account_data":{"Account":"rfuSnkGavGYcAy3sv6ENkFgsepRdRW5ENe","Balance":"9998999990","Flags":0,"LedgerEntryType":"AccountRoot","OwnerCount":0,"PreviousTxnID":"9B95CAC5EED0A41BE982C0DA3B85EBBC4C2C3A25595DC49B4A360E4A66A9E4A0","PreviousTxnLgrSeq":3958748,"Sequence":2,"index":"01B7DB2D721C7351A78151F04DA8F3918F33223D0CF7621104B3B4692CFC7750"},"ledger_current_index":3961878,"status":"success","validated":false}}


the RippleD.exe Daemon ins running in Winndow with testnet mode
acrding to https://github.com/ripple/rippled/issues/2078

C:\Users\\rippled\build\msvc.debug>RippleD.exe account_info rB8R7Jz2Ueh4p83RovUdkD9Naa5X6GNAJy
Loading: "C:\Users\\rippled\build\msvc.debug\rippled.cfg"
2017-Nov-09 06:24:50 HTTPClient:NFO Connecting to 127.0.0.1:5005
{
   "id" : 1,
   "result" : {
      "account" : "rB8R7Jz2Ueh4p83RovUdkD9Naa5X6GNAJy",
      "error" : "actNotFound",
      "error_code" : 19,
      "error_message" : "Account not found.",
      "ledger_current_index" : 3961815,
      "request" : {
         "account" : "rB8R7Jz2Ueh4p83RovUdkD9Naa5X6GNAJy",
         "command" : "account_info"
      },
      "status" : "error",
      "validated" : false
   }
}


2017年11月8日水曜日 23時11分40秒 UTC+9 passionofvc:
Reply all
Reply to author
Forward
0 new messages