-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,44 @@ | ||
# elabox-system-tools | ||
Tools to manage different parts of Elabox | ||
Elabox runtime. Provides system that handles communication and execution of dapps. | ||
|
||
|
||
## VS CODE DEBUGGER SETTING | ||
This necessary capturing ide related conditions. foundation.system.IDE constant is true if currently debugging inside ide. | ||
- Open laun.json | ||
- add buildflags property to launch configuration if not yet existed "buildFlags": "-tags=IDE" | ||
- Open launch.json | ||
- add buildflags property to launch configuration if not yet existed "buildFlags": "-tags=IDE" | ||
|
||
## Building from Source | ||
- Configure for building | ||
``` | ||
cd ./internal/scripts | ||
./setup.sh | ||
``` | ||
|
||
- Building | ||
``` | ||
cd ./internal/scripts | ||
./build.sh | ||
<follow sh instructions> | ||
``` | ||
|
||
## Consepts | ||
An operating system designed with holistic approach and security in mind powered by blockchains. | ||
Features: | ||
- Decentralized Identity(DID) - access to the system and its data are protected by your identity. | ||
- Smart Contract | ||
- Dapp Store - install and publish 3rd party dapps via dapp store | ||
|
||
Dapp Architecture | ||
- a Dapp can talk to each other, broadcast and listen to any events | ||
and handle background tasks. This is made possible via json RPC on the top of socket. | ||
- Apps are being managed and handled by AppMan( Application Manager). | ||
- a dapp should be defined on info.json | ||
- a dapp compose of 3 main components. | ||
|
||
Service - a component that runs on background and provides services that can be consumed by other dapps. | ||
|
||
Activity - a component that would only run when started by user or another dapp. Usually this component contain UI to handle user operations. | ||
|
||
Broadcast Listener - a component that would only executes after an event was triggered. Analogy | ||
Sample Broadcast listener | ||
|