Borker is a first-of-its-kind, Twitter-like microblogging platform built on top of the Dogecoin p2p network. Borker is open-source, decentralized, borderless, permissionless, pseudonymous, immutable, and censorship-resistant.
Borker-server follows the Borker Protocol Spec and depends on superdoge and the borker-rs library.
Borker-Server serves two purposes:
- Syncing and persisting borker-specific data synced from the Dogecoin blockchain.
- Serving up a REST API consumable via http.
https://documenter.getpostman.com/view/7663576/S1ZufC5D
https://documenter.getpostman.com/view/7663576/S1ZufBzu
https://github.com/nodesource/distributions/blob/master/README.md
- confirm installation with:
node -v
npm -v
npm install -g typescript
git clone https://github.com/borkerprotocol/borker-server.git
cd borker-server
cp borkerconfig-sample.json borkerconfig.json
cp ormconfig-sample.json ormconfig.json
"externalip": "", // ip or url of prefered superdoge node. If blank, default is localhost
"start": 2795597, // starting block height to begin sync. Should be greater than or equal to 2795597 (borker genesis)
"ssl": { // optional ssl information for running your node over https
"cert": "",
"privkey": "",
"chain": "",
"fullchain": ""
}
npm install
npm run build
If you don't want to sync from Borker genesis (which can take a while...), you can get the latest DB in the releases
tab.
npm start