Commit Graph

74 Commits

Author SHA1 Message Date
Rome Reginelli
8c39456504 Merge pull request #1058 from ripple/nk/xrpl4j-starter
Adds a Getting Started with Java tutorial and Java sample code to other tutorials.
2021-05-06 20:04:56 -07:00
nkramer44
0ea8f5c2bd add another link 2021-05-05 11:21:39 -04:00
nkramer44
605fcc7b50 fix links for XrplClient 2021-05-05 10:40:47 -04:00
nkramer44
571ea65c2a remove whitespace 2021-05-05 10:24:01 -04:00
nkramer44
762cd6dc34 remove SendPayment.java.
Add Java to send-xrp tutorial
2021-05-04 15:50:32 -04:00
nkramer44
b1cbdeb331 get rid of preparing payment from getting started 2021-05-04 13:19:38 -04:00
mDuo13
02a852ec56 Use frontmatter for tutorials 2021-04-21 18:44:41 -07:00
mDuo13
d476617646 More frontmatter updates 2021-04-21 15:15:32 -07:00
mDuo13
43b1aef137 Use auto hierarchy tech 2021-04-15 18:24:41 -07:00
mDuo13
7fa5844313 Send XRP: more updates for 1.0.0 2021-03-31 17:22:00 -07:00
mDuo13
4acd483220 Send XRP (py): updates for 1.0.0 2021-03-31 17:16:24 -07:00
mDuo13
412cafdc09 Send XRP: fix link 2021-03-29 18:29:39 -07:00
mDuo13
3971906c88 Send XRP: xrpl-py examples 2021-03-26 17:30:56 -07:00
mDuo13
6d91616a62 Improve & refactor interactive tutorial code
Interactive tutorials: more consistent style

Interactive tutorials: Use new generics for send-xrp, use-tickets

Interactive tutorials: clean up now-unused code

Interactive tutorials: progress & debugging of errors

Interactive: Require Destination Tags; and related

- Validate addresses in Transaction Sender and warn on Mainnet X-address
- Option to load destination address from query param in Tx Sender
- Some more/updated helpers in interactive tutorial JS

Interactive tutorials: fix JA version

Interactive tutorials: readme, include code filter (incomplete)

Interactive tutorials: improvements for consistency

Interactive Tutorials: finish readme

Interactive tutorials: fix syntax errors
2021-03-24 13:59:22 -07:00
mDuo13
45e9ddd3a8 Update ripple-lib dependency in templates:
- Use variable in more places
- Move lodash dep to a variable with integrity check
- Update examples in some places that refer to 1.8.0
2021-03-03 15:23:36 -08:00
mDuo13
604c6fe469 Fix some broken links 2021-02-23 15:03:50 -08:00
mDuo13
6025be47ee [JA] update generate-step for consistency w/ EN 2021-02-11 15:12:50 -08:00
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
dfbdd15df5 Add explicit code language markers 2020-09-08 14:16:47 -07: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
72002fd773 Support theme-aware diagrams:
- SVG diagrams can adapt to the visual theme of the site through CSS.
- Use the include_svg filter to include a diagram that adapts to the
  theme.
- The styles/_diagrams.scss file controls the color mappings for
  theme-aware digrams.
- Theme-aware diagrams are limited to specific colors and diagram
  styles. Use UMLet or Google Draw and confirm that the diagram is still
  legible when you build it.
- This commit updates existing diagrams in most places to be
  theme-aware.
2020-08-17 13:12:01 -07:00
mDuo13
c63d10d116 Most spelling, more style cleanup 2020-07-24 03:28:02 -07:00
mDuo13
83686c40c6 Translation edits, cleanup 2020-06-22 16:44:43 -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
mDuo13
3224907140 Clean up config file locations 2020-01-13 14:58:17 -08:00
mDuo13
100b2cc47d More 'ledger index' standardization 2019-11-27 15:21:27 -08:00
mDuo13
db5da68093 Deletable accounts info / style updates 2019-11-27 15:21:27 -08:00
Rome Reginelli
a1f89e1c67 Merge pull request #718 from mDuo13/ja_target
Add Japanese translation
2019-11-09 06:36:24 -08:00
Ryan Young
c855d4df13 update ripple-lib dep to 1.4.1 2019-11-07 23:05:53 -08:00
mDuo13
7b188351c0 CRLF to LF; fix some broken links 2019-11-05 23:09:32 -08:00
mDuo13
430e4f4515 Japanese translation: add remaining files 2019-11-05 23:08:41 -08:00
mDuo13
d972643b6e IA: add links for tutorials
IA: more tutorial links

IA: Tutorials stuff

- Move 'Cancel or Skip a Transaction' to 'About Canceling a Transaction'
  (Fixes #582)
- Add more 'See Also' links to Escrow & Payment Channel tutorials
2019-10-16 14:39:08 -07:00
mDuo13
acd096e607 Fix residual ripple.com/build/ links 2019-07-26 11:04:02 -07: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
fa7ccf7be6 Move monitoring ws-tx to Get Started cat 2019-05-16 16:55:24 -07:00
mDuo13
d19c8ffdf8 Tx history chaining: done with 1st draft of code 2019-05-15 19:39:59 -07:00
mDuo13
513d8fe8ec Monitoring for transactions: start chaining code 2019-05-15 13:12:43 -07:00
mDuo13
cf6712f2ad Inc tx: steps for history chaining 2019-05-09 18:10:43 -07:00
mDuo13
e2d838604f Interactive 'Read Payments' step 2019-05-08 13:47:36 -07:00
mDuo13
5d6ea00931 Inc payments: sample code for reading amount received. 2019-05-07 18:35:46 -07:00
mDuo13
579afe766b Use JS shortcut for interactive tutorial breadcrumbs 2019-05-07 18:35:24 -07:00
mDuo13
6d5ead0ffd Monitor inc tx: dispatcher 2019-05-06 18:05:27 -07:00
mDuo13
b2bfac86f1 Use filter for interactive tutorial steps 2019-05-06 13:08:23 -07:00
mDuo13
77a7093249 Monitor payments: start interactive tutorial 2019-05-03 20:03:20 -07:00
mDuo13
5665d5f697 Start tx metadata explanation doc 2019-05-01 18:37:42 -07:00
mDuo13
84dcedf6ae Reliable tx submission: replace incomplete sentence 2019-03-22 15:11:24 -07:00