GithubHelp home page GithubHelp logo

therbendo / nimiq.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nimiq/nimiq.github.io

0.0 0.0 0.0 13.12 MB

Nimiq Frontend Developer Reference

Home Page: https://nimiq.github.io

License: MIT License

JavaScript 86.46% Shell 0.06% Ruby 0.02% HTML 10.59% CSS 2.86%

nimiq.github.io's Introduction

Nimiq Ecosystem

By using Nimiq APIs and libraries you can

  • extend your projects, websites, and apps with a payment system; and
  • allow customers of your online shop to pay comfortably with NIM directly from their browser; or
  • build apps and services enriching the Nimiq apps ecosystem.

The goal of this documentation is to get you started integrating Nimiq into your project.

Content

Terminology

Nimiq is aiming for mainstream adoption and thus strives to use laymen terms for all UIs. Building apps using Nimiq APIs and libraries means becoming part of the Nimiq Ecosystem. For optimal usability and a pleasant user experience for your users, we highly recommend using the same terminology for all user facing parts.

While using layman terms in the UI, within the code, typical terms of the crypto space are being used. The following map will give you an idea which term to use when. See the “Terminology” section in the FAQs on nimiq.com for more details on each term.

Layman term (for UI use) API term Term in code
Nimiq Account Number
NQXX XXXX XXXX ...
address core code: userFriendlyAddress
front-end: humanReadableAddress
Nimiq Account
address + label
account account
Nimiq Wallet
with one or more accounts
walletId keyId or loginId
Account Recovery Words
24 words
n/a mnemonicPhrase

Tech

The Nimiq front-ends are build with TypeScript 3 and CSS on Vue.js and delivered compiled to ES2015. Find more details here. The Front-ends are tested on latest versions of Firefox, Chrome/Chromium, and Safari.

Improve This Documentation

Great idea! Welcome on board! If it's rather a smaller issue your after —such as wording, typos, or adding a few lines— use the little pen icon in the lower right. GitHub will help you to fork the repository, do the changes, and finally start a pull request so that your changes can be reviewed and merged in.

If you have bigger plans, a good starting point is to summit an issue. This way, the team as well as community members can contribute to the idea, collect facts, and give advice. Once some communication has happened and it's clear what should be done to improve the documentation, go ahead and get the source code from Github and set up you machine to build GitHub pages as described below

Get Source Code

git clone [email protected]:nimiq/nimiq.github.io.git nimiq --recursive

Note: If you experience issues during this step, make sure you have an SSH key set up for your GitHub account. Even if you clone the repository using HTTPS, submodules might require SSH.

Build Documentation Locally

Please refer to the Doc-Theme documentation.

Modify Referred Repositories

The documentation structure makes use of Git submodules, i.e. including source code from other repositories.

Update Modules

cd nimiq
git submodule foreach --recursive git pull

Fetch new Modules

cd nimiq
git pull
git submodule sync
git submodule update --recursive --remote
git submodule foreach --recursive git checkout master

Add a Submodule

cd nimiq
git submodule add -b <branch> <repository> [<submodule-path>]

For example:

git submodule add -b master ../x-element.git libraries/x-element/

Remove a Submodule

cd nimiq
git submodule deinit <submodule-path>
rm -rf .git/module/<submodule-path>

nimiq.github.io's People

Contributors

svub avatar sisou avatar danimoh avatar panoramicrum avatar matthewdludwig avatar eligioo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.