{% extends "base.html.jinja" %} {% block bodyclasses %}no-sidebar{% endblock %} {% block mainclasses %}landing page-community{% endblock %} {% block main %}
{#
#}

{% trans %}Solutions to Accelerate Development{% endtrans %}

{% trans %}Code Samples{% endtrans %}
Submit Code Samples
{% trans %}Explore Code Samples{% endtrans %}

{% trans %}Browse sample code for building common use cases on the XRP Ledger{% endtrans %}

{# {% set code_samples = [ { "href": "https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/checks", "title": _("Checks Tutorials"), "langs": [ "js", "json-rpc", "websocket", "cli" ], "description": _("Create, cash, and cancel Checks for exact or flexible amounts.") }, ] %} #} {% set code_samples = all_code_samples() %} {% set lang_icons = { "cli": "assets/img/logos/cli.svg", "go": "assets/img/logos/golang.svg", "java": "assets/img/logos/java.svg", "js": "assets/img/logos/javascript.svg", "py": "assets/img/logos/python.svg", "http": "assets/img/logos/globe.svg", } %}
{# container #} {# col-lg-12 mx-auto #}

{% trans %}Contribute Code Samples{% endtrans %}

{% trans %}Help the XRPL community by submitting your
own code samples{% endtrans %}
Fork and clone

Fork the xrpl-dev-portal repo. Using git, clone the fork to your computer.

Add to folder

Add your sample code to the content/_code-samples folder. Be sure to include a README.md that summarizes what it does and anything else people should know about it.

Commit and push

Commit your changes and push them to your fork on GitHub.

Open a pull request

Open a pull request to the original repo. Maintainers will review your submission and suggest changes if necessary. If the code sample is helpful, it’ll be merged and added to XRPL.org!

Submit Code Samples
{% endblock %} {% block analytics %} {% endblock analytics %}