https://github.com/amdev9/dapp-browser
Electron.js desktop application that helps to securely run decentralized web applications with the ability to use the API to access a secure blockchain wallet, a distributed IPFS network and blockchain connectors
https://github.com/amdev9/dapp-browser
blockchain dapp-browser dapps decentralized decentralized-applications electron electronjs ethereumjs
Last synced: about 9 hours ago
JSON representation
Electron.js desktop application that helps to securely run decentralized web applications with the ability to use the API to access a secure blockchain wallet, a distributed IPFS network and blockchain connectors
- Host: GitHub
- URL: https://github.com/amdev9/dapp-browser
- Owner: amdev9
- Created: 2019-05-15T18:48:19.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-05T18:41:05.000Z (over 2 years ago)
- Last Synced: 2024-05-21T05:31:12.239Z (about 2 years ago)
- Topics: blockchain, dapp-browser, dapps, decentralized, decentralized-applications, electron, electronjs, ethereumjs
- Language: TypeScript
- Homepage: https://youtu.be/P2xLfsDUvfg
- Size: 67.2 MB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Demo

## Documentation
Details of architecture described in Readme https://github.com/cypherpunk99/dapp-browser/tree/develop/docs/README.md
## Deploy instruction
For **Linux** enable sandbox (change value from `0` to `1`): `/proc/sys/kernel/unprivileged_userns_clone`
**Development setup:**
```
git clone https://github.com/cypherpunk99/dapp-browser && cd dapp-browser
npm install
npm run setup
```
Spawn new shell & wait for build process finish:
```
npm run dev
```
**Run tests:**
```
npm run test-main
```
**Build application for Linux/macOS**
```
npm install
npm run build
```
and get executable file from `./electron/main/release` folder.
**Build for Windows:**
***Requirements:***
1. Python 2.7
2. NodeJS v.11 or higher version
3. Visual Studio 2015
4. ```npm install --global windows-build-tools```
Run build process and get '.exe' file from ```./electron/main/release``` folder.
```
npm install
npm run build
```
**How to upload dapp into IPFS**
- Download go-ipfs client
- Upload Dapp folder.
You can upload Dapp folder with native ipfs client by command:
```ipfs add -r ```
To keep the files online and avoid them to be garbage collected, just use the pin command and they will remain online as long as your ipfs daemon is running.
```ipfs pin add -r ```
- Copy IPFS hash (Dapp list located in ```main/modules/AppsManager/component->AppsProvider```)
- If you create new Dapp in development mode, please change path to yours Dapps folder in ```main/modules/AppsManager/component:112``` parseDapps method (ex. ```constants.DAPPS_PATH```)