All Projects → XRPLF → xrpl-dev-portal

XRPLF / xrpl-dev-portal

Licence: other
Source code for xrpl.org including developer documentation

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
Jinja
831 projects
SCSS
7915 projects
HTML
75241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to xrpl-dev-portal

explorer
Open Source XRP Ledger Explorer
Stars: ✭ 18 (-94.55%)
Mutual labels:  ripple, xrp, xrp-ledger
rippled-php
A PHP library for rippled (XRP Ledger) communication.
Stars: ✭ 33 (-90%)
Mutual labels:  ripple, xrp, xrp-ledger
XpringKit
XpringKit provides a Swift SDK for interacting with Xpring Protocols (XRP/PayID/ILP). This library is deprecated.
Stars: ✭ 23 (-93.03%)
Mutual labels:  ripple, xrp, xrp-ledger
TheWorldExchange
A purely client-side wallet and direct interface showcasing the full functionality of Ripple / blockchain.
Stars: ✭ 34 (-89.7%)
Mutual labels:  ripple, xrp
xrpl-py
A Python library to interact with the XRP Ledger (XRPL) blockchain
Stars: ✭ 70 (-78.79%)
Mutual labels:  xrp, xrp-ledger
Rippled
Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger in C++
Stars: ✭ 4,029 (+1120.91%)
Mutual labels:  xrp, xrp-ledger
crypto-quotes
100+ Best of Crypto Quotes - I HODL, you HODL, we HODL! - BREAKING: BITCOIN JUST BROKE $22 000!
Stars: ✭ 12 (-96.36%)
Mutual labels:  ripple, xrp
artunis-mobile
XRP Wallet app for Android and iOS, built in React Native.
Stars: ✭ 23 (-93.03%)
Mutual labels:  ripple, xrp
Xrpl Dev Portal
XRP Ledger developer portal with documentation and examples
Stars: ✭ 198 (-40%)
Mutual labels:  ripple, consensus
xrp-wallet
Offline/Cold wallet for XRP
Stars: ✭ 12 (-96.36%)
Mutual labels:  xrp, xrp-ledger
ripple-binary-codec
Convert between json and hex representations of transactions and ledger entries on the XRP Ledger. Moved to: https://github.com/XRPLF/xrpl.js/tree/develop/packages/ripple-binary-codec
Stars: ✭ 18 (-94.55%)
Mutual labels:  xrp, xrp-ledger
node-bitstamp
bitstamp REST and WS API Node.js client 💵
Stars: ✭ 58 (-82.42%)
Mutual labels:  ripple, xrp
CoinGecko
A C++20 library for CoinGecko--a cryptocurrency data service.
Stars: ✭ 69 (-79.09%)
Mutual labels:  ripple
touchMyRipple
A simple library for apply the ripple effect where you want
Stars: ✭ 19 (-94.24%)
Mutual labels:  ripple
Ripple-Auto-Installer
OSU! Ripple Stack Installation Helper
Stars: ✭ 21 (-93.64%)
Mutual labels:  ripple
raftor
Distributed chat system built with rust
Stars: ✭ 31 (-90.61%)
Mutual labels:  consensus
FFF Protocol Core
FFF as a new generation of the underlying chain technology, applying power block chain of innovation and fall to the ground, will help the industry standard. FFF consensus mechanism: the application of a new work-proof mechanism, network contribution proof mechanism, refers to the contribution ability of servers, PC and other devices to improve …
Stars: ✭ 5 (-98.48%)
Mutual labels:  ripple
cashuwallet
Cashu is a cryptocurrency wallet for smartphones. Be your own bank. Accept payments or spend crypto directly from your phone.
Stars: ✭ 35 (-89.39%)
Mutual labels:  ripple
coinbin.org
₿ A Human–Friendly API Service for Crypto Currency Information.
Stars: ✭ 255 (-22.73%)
Mutual labels:  ripple
Motoro
Smart contracts for decentralized rentals of vehicles.
Stars: ✭ 96 (-70.91%)
Mutual labels:  consensus

XRPL Dev Portal

The XRP Ledger Dev Portal is the authoritative source for XRP Ledger documentation, including the rippled server, client libraries, and other open-source XRP Ledger software.

To build the site locally:

  1. Install Dactyl and lxml:

     sudo pip3 install dactyl lxml
    
  2. Clone the repo and change into its directory:

     git clone [email protected]:XRPLF/xrpl-dev-portal.git && cd xrpl-dev-portal
    
  3. Build the site to the out/ directory:

     dactyl_build -t en
    

If you get an error, try upgrading Dactyl before building:

  sudo pip3 install --upgrade dactyl

For more details, see the contribution guidelines (EN) (日本語) and the contributor Code of Conduct (EN) (日本語).

Domain Verification Checker

If you make changes to the Domain Verification Checker tool and edit the domain-verifier-checker.js file, you will need to do the following:

  1. Install webpack and required libraries via npm:

     npm install webpack webpack-cli --save-dev
     npm install ripple-binary-codec ripple-address-codec ripple-keypairs
    
  2. From the project root directory (this step may be different depending on how you installed webpack)

     cd assets/js
     webpack-cli domain-verifier-checker.js --optimize-minimize -o domain-verifier-bundle.js
    
  3. Build the site:

     cd ../..
     dactyl_build -t en
    

Locale Strings

The templates can contain strings that are intended to be translated. These strings are marked off with {% trans %} and {% endtrans %} tags. You can't have any Jinja block control structures in these tags, but you can have some HTML markup and some basic Jinja variable-printing logic. See the Jinja Documentation for what's possible.

If you make changes to these strings, or want to add or update a translation, you'll need to do some extra steps to manage the locale files. These steps require the Babel (pybabel) commandline utility. To install it:

sudo pip3 install Babel

You don't need Babel to build and view the site otherwise.

Add a language

This repo has English (en) and Japanese (ja) locales set up already. To add a language (do this from the repo top dir):

$ pybabel init -l ja -i ./locale/messages.pot -o ./locale/ja/LC_MESSAGES/messages.po

Instead of ja (in two places in the above line!!) use the locale code for the language you plan to add. There's no exhaustive, definitive list, but this list of locale codes is a good starting place.

This creates a "PO" file (./locale/ja/LC_MESSAGES/messages.po) with empty translations for the strings in the templates, based on the "PO Template" file (./locale/messages.pot).

To actually add translations for strings, you need to edit the new PO file for this translation. You can edit the PO file file with a text editor, or use a more advanced tool if you're a pro. Don't change the msgid values, do change the msgstr values.

When you're done translating, compile the PO files.

Update Strings

If there are new or updated {% trans %} tags in the templates, first use this command to extract them:

$ pybabel extract -F ./locale/babel.cfg -o ./locale/messages.pot ./

Then, update every language's .po files with the list of strings, as follows:

$ pybabel update -l ja -d ./locale/ -i ./locale/messages.pot

The above example is for Japanese (-l ja). Repeat for each language code.

Now edit the PO files (for example, locale/ja/LC_MESSAGES/messages.po) to add translations for each newly-added string. Again, repeat for each language.

If you only want to change an existing translation for a given string that hasn't changed in the original, you can skip straight to editing the PO files without running any update or extract commands.

After you've edited all the PO files, be sure to compile them.

Compile Strings

Whether you added a language, added new strings, or tweaked an existing translation, you must compile the PO files (text) to MO files (binary) to get Dactyl to use them.

To compile all PO files:

$ pybabel compile -f -d ./locale/

If you added a new language for the first time, you need to make sure its target definition (in the dactyl-config.yml file) has the MO file in the locale_file field.

After that, next time you build the site using Dactyl it should pull the updated translations!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].