From c42f6f0aa8937b1afc4eb5e71727ab99b0fa4de2 Mon Sep 17 00:00:00 2001 From: Anton Yemelyanov Date: Wed, 20 Dec 2023 22:20:45 +0200 Subject: [PATCH] readme --- README.md | 45 +++++++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 34004ee..a532a48 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,36 @@ # kaspa-ng -## Destop p2p node and wallet for Kaspa built on top of [Rusty Kaspa](https://github.com/kaspanet/rusty-kaspa) core framework +_ALPHA RELEASE - This project is work in progress and and has been pre-released for testing purposes only._ +_It is not intended for production use at this time._ -## Building +### Desktop p2p node and wallet for the Kaspa Network -For prerequisites, please follow the Rusty Kaspa [build instructions](https://github.com/kaspanet/rusty-kaspa#getting-started). +This project is built on top of an incorporates the [Rusty Kaspa](https://github.com/kaspanet/rusty-kaspa) core framework. -## Running Native -``` +### Building + +To build this project, you need to be able to build Rusty Kaspa. If you have not built Rusty Kaspa before, please follow the Rusty Kaspa [build instructions](https://github.com/kaspanet/rusty-kaspa/blob/master/README.md). + +Once you have Rusty Kaspa built, you will be able to build and run this project as follows: + +#### Running as Native App +```bash cargo run --release ``` -## Running Web -``` +#### Running as Web App +```bash cargo install trunk -trunk serve +trunk serve --release ``` Access via [https://localhost:8080](https://localhost:8080) -## Browser Extension +While the application is a static serve, you can not load it from the local file system due to CORS restrictions. Due to this, a web server is required. This application is designed to be built with [Trunk](https://trunkrs.dev/) and is served from the `dist/` folder. This is a self-contained client-side application: once the application is loaded, the web server is no longer required. -This project currently supports Chrome browser extension target, but this component of the project is under heavy development and is not ready for use. -``` +#### Running as a Browser Extension + +This project currently supports Chrome browser extension target, but this part of the project is under development and is not ready for use. + +```bash ./build-chrome ``` - -
- Windows x64 -Windows build instructions -
-
- Linux -Linux build instructions -
-
- Mac OS -Mac OS build instructions -