https://github.com/byteball/odapp-hub
https://github.com/byteball/odapp-hub
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/byteball/odapp-hub
- Owner: byteball
- Created: 2024-03-27T19:46:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T19:28:58.000Z (about 1 year ago)
- Last Synced: 2025-04-14T14:17:28.380Z (about 1 year ago)
- Language: JavaScript
- Size: 131 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ODapp - hub for dapps on Obyte
## Install
Install node.js, clone the repository, then
### 1 step
If you want to use the database of another full node running on the same host (instead of syncing our own), open package.json file and change the package name to the name of that node (e.g. "obyte-hub", "obyte-relay", etc).
### 2 step
```sh
npm install
cp .env.mainnet .env
```
> [!IMPORTANT]
> Before running, read the text below
## If you don't have an Obyte node on the same host
Open .env file and change `EXTERNAL_FULL_NODE` to 0. Then, we'll sync our own full node.
## If you are using an [obyte-hub](https://github.com/byteball/obyte-hub) running on the same host
Open .env file and change `USE_SQLITE_FOR_ASSET_METADATA` to 1.
## Run
```sh
node main.js
```