WeaveDB as a Nostr Relay
Censorship ResistanceHow it WorksDevelopmentQueriesClients
Nostr Relay++
powered by Decentralized Database
Deploy Relay
Get Started
Deploy a Nostr Relay (Docker Compose & NodeJS required)
git clone https://github.com/weavedb/nostr-relay.git
cd nostr-relay && yarn
yarn gen-config && yarn run-relay
Set up and Run a Nostr Client
cd nostr-relay && yarn setup
cd client && yarn && yarn dev
Now a Nostr client is running at localhost:3000.
View events on WeaveDB Scan at scan.weavedb.dev/node/localhost/db/nostr.
WeaveDB Enables True Censorship-Resistance for Nostr
Data Permanency
Events are stored on the Arweave permanent storage, which makes Nostr truly censorship resistant. Your data will not be lost even all relays shut down.
Lightning Performance
WeaveDB is the one and only fully decentralized DB with web2 performance. Each DB is a high performance app-specific rollup to Arweave. And queries are served via gRPC.
Indefinite Scalability
WeaveDB stores data on Arweave, which is indefinetely scalable. Arweave gateways guarantee accessibility and liveness of the data independent of Nostr relays.
Smart Contracts
WeaveDB is a smart contract database, which transforms raw Nostr events into more structured collections. You can apply advanced logic to suit your applicaiton needs.
Onchain Composability
Nostr events are stored as smart contract states, which means now Nostr is composable with other onchain protocols. This opens up countless possibilities for Nostr.
Media Uploads
Irys enables easy media uploads to the Arweave permanent storage. Any kinds of media files such as images, audios and videos are also censorship resistant with WeaveDB.
How it Works
1
WeaveDB Relay receives raw Nostr events.
2
Events are transformed into collections by smart contract logic.
3
Data are bundled up and stored permanently on Arweave.
4
Clients fetch data with sophisticated queries via gRPC.
5
Regular Nostr queries via web sockets are still possible.
6
Media files are also permanently stored and censorship resistant.
7
Super advanced app logic for clients can be built all onchain.
Our Talk at BTC/Arweave Conference
Simple Dapp Development
1
Everything is just simple JSON in WeaveDB.
2
WeaveDB comes with CL tools and no-code web console.
3
FPJSON allows highly advanced logic on data manipulation.
4
WeaveDB blockchain explorer works as Nostr Event scan.
Go to WeaveDB
Powerful Queries for Nostr Clients
DB indexers are all onchain, which provides permanent APIs to client dapps.
Full Onchain Nostr Dapps
1
WeaveDB is a smart contract DB with a powerful DSL.
2
Transform Nostr events any way you want with powerfull utilities.
3
All the app logic is fully onchain defined by smart contract.
4
Apps are even composable with other blockchains via relayers.
5
Deploy your own client with one click DB fork.
Go to Jots Social for Nostr
powered by WeaveDB