Commit Graph

19 Commits

Author SHA1 Message Date
mDuo13
eb0b9a66e5 Use Tickets tutorial upgrades
- Use Devnet for live examples
- Move code to a dedicated JS file instead of having it all inline
- Improve transaction submission logic
2021-02-01 19:05:33 -08:00
mDuo13
decda08a2a Move filter_interactive_steps to frontmatter
Requires Dactyl v0.13.2 or higher. Otherwise you'll get a "start_step()
is not defined" error.
2021-01-11 20:30:35 -08:00
mDuo13
ed32c6737b TicketBatch tutorial fixes 2020-12-16 13:52:42 -08:00
mDuo13
a93f58e783 TicketBatch tutorial progress 2020-12-07 17:58:51 -08:00
mDuo13
5657e8b47c Get Started updates
- Update ripple-lib to 1.8.0
- Incomplete "Get Started" widget for playing with RippleAPI for JS
2020-08-27 17:48:21 -07:00
mDuo13
c63d10d116 Most spelling, more style cleanup 2020-07-24 03:28:02 -07:00
Deniz Danaie
0b52af10a9 Prepare-Transaction-txJSON-must-be-a-string
```$ node sendtest.js 
<my_directory>\my_ripple_experiment\node_modules\ripple-lib\dist\npm\common\schema-validator.js:167
        throw new errors_1.ValidationError(result.errors.join());
        ^

ValidationError: instance.txJSON is not of a type(s) string
    at Object.schemaValidate (<my_directory>\my_ripple_experiment\node_modules\r
ipple-lib\dist\npm\common\schema-validator.js:167:15)
    at apply (<my_directory>\my_ripple_experiment\node_modules\lodash\lodas
h.js:475:27)
    at Object.wrapper [as sign] (<my_directory>\my_ripple_experiment\node_modules\
4mlodash\lodash.js:5317:16)
    at RippleAPI.sign (<my_directory>\my_ripple_experiment\node_modules\ripple-l
ib\dist\npm\transaction\sign.js:136:18)
    at Object.<anonymous> (<my_directory>\my_ripple_experiment\sendtest.js:28:22)   
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
  name: 'ValidationError',
  data: undefined
}```
As stated in https://xrpl.org/rippleapi-reference.html#sign, ```sign(txJSON: string, secret: string, options: object)``` txJSON must be a string; however ```doPrepare()``` returns a json.
2020-03-03 20:35:28 +01:00
Ryan Young
c855d4df13 update ripple-lib dep to 1.4.1 2019-11-07 23:05:53 -08:00
mDuo13
80ed51614f Add xrp-ledger.toml Checker
- Update ripple-lib to 1.2.4
- Redirects ripple.txt validator to the xrp-ledger.toml checker
2019-06-18 16:09:47 -07:00
mDuo13
aa8aa60f60 Replace triskelion loader with XRP logo loader 2019-06-13 11:58:26 -07:00
mDuo13
579afe766b Use JS shortcut for interactive tutorial breadcrumbs 2019-05-07 18:35:24 -07:00
mDuo13
b2bfac86f1 Use filter for interactive tutorial steps 2019-05-06 13:08:23 -07:00
mDuo13
4bd2b8e01e Add more cross-linking to Send XRP tutorial 2019-02-20 15:35:36 -08:00
mDuo13
4505d8c405 Send XRP: revs per reviews 2019-02-13 16:24:02 -08:00
mDuo13
b6aba14b43 Send XRP: Differences for production 2019-02-12 18:58:38 -08:00
mDuo13
62fe133109 Send XRP: Add progress breadcrumbs to interactive steps 2019-02-12 18:58:38 -08:00
mDuo13
c66594c2aa Send XRP: improvements to interactive stuff 2019-02-12 18:58:38 -08:00
mDuo13
a0a10e1993 Send XRP: add more interactive stuff to tutorial 2019-02-12 18:58:38 -08:00
mDuo13
f9ab1428fa Simple XRP payment tutorial (incomplete draft) 2019-02-12 18:58:38 -08:00