mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
Updating dev docs
This commit is contained in:
@@ -9,3 +9,17 @@ This file contains notes taken during software development. These notes may even
|
|||||||
- [minimal-slp-wallet](https://www.npmjs.com/package/minimal-slp-wallet) is used to access tokens and BCH on the Bitcoin Cash blockchain.
|
- [minimal-slp-wallet](https://www.npmjs.com/package/minimal-slp-wallet) is used to access tokens and BCH on the Bitcoin Cash blockchain.
|
||||||
- A 'server selection' dropdown allows the user to select from an array of redundent back end servers.
|
- A 'server selection' dropdown allows the user to select from an array of redundent back end servers.
|
||||||
- This site is statically compiled, uploaded to Filecoin, and served over IPFS for censorship resistance and version control.
|
- This site is statically compiled, uploaded to Filecoin, and served over IPFS for censorship resistance and version control.
|
||||||
|
|
||||||
|
## File Layout
|
||||||
|
|
||||||
|
The top-level file layout of this app looks like this:
|
||||||
|
|
||||||
|
- App.js - the main application orchestates these child components:
|
||||||
|
- GetRestUrl - retrieves the REST URL for the selected back-end web3 server from query paramenters in the URL.
|
||||||
|
- LoadScripts - Loads the modal with a waiting spinner animation until the external script files are loaded.
|
||||||
|
- NavMenu - the collapsible navigation menu
|
||||||
|
- InitializedView & UnitializedView - the default Views that are displayed depending on the state of the app.
|
||||||
|
- ServerSelect - allows the user to select a different web3 back end server.
|
||||||
|
- Footer - Footer links
|
||||||
|
|
||||||
|
After initialization, the InitailizedView is displayed. This loads the AppBody, which is a wrapper for each View. Views are selected using the navigation menu. When one View is selected, the others are hidden.
|
||||||
|
|||||||
Reference in New Issue
Block a user