-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Short tech docs from readme #168
Comments
Swarm extension is no longer required ! Should be changed in readme and here ! |
It's already updated in the readme: Lines 45 to 60 in 0920d35
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blossom Technical Documentation
Introduction
Blossom is a browser extension that acts as a web3 framework for dApps and serves as a Fair Data Society account manager for end-users. It is available on the Chrome web store.
Configuration
Before running the extension, it needs to be configured for proper build and execution. Configuration is stored in the
.env
file at the root directory. If it doesn't exist, create one using the.default.env
template. The main configuration properties are:production
ordevelopment
based on the build mode.Installation
Build the extension by running:
This will generate compiled files in the
dist
directory.To load the extension in the Chrome browser:
chrome://extensions
.Load unpacked
button and select thedist
folder.Setting up the Environment
Swarm Extension
The Blossom extension can be configured to retrieve Bee URL and Bee debug URL directly from the Swarm extension. This is required for running tests. Before running tests, ensure the required environment is set up.
FDP Play
The Blossom extension requires a blockchain RPC provider and a Swarm gateway. For development, use fdp-play.
Install the environment:
Start the environment:
Bee Postage Batch
Ensure there's at least one postage stamp created. To create one in the Bee node, run:
Development
To start the project in development mode:
This will watch for changes in source files and compile them on every change.
Tests
Tests include both unit and integration tests. To run tests, ensure all dependencies are started and then execute:
npm test
Documentation
To run documentation web pages locally, navigate to the
docs
directory and install dependencies:Then start the server:
bundle exec jekyll serve
This documentation provides a comprehensive guide on how to set up, install, and run the Blossom extension. For more advanced interactions and details, developers can refer to the javascript library documentation in the
library
folder as mentioned in the original README.The text was updated successfully, but these errors were encountered: