nobu-maeda / n3xb

naive nostr nym exchange for Bitcoin - An open protocol for decentralized Bitcoin exchanging and a global common order book
https://n3xb.io
68 stars 3 forks source link

n3xB

naive nostr nym Exchange for Bitcoin

n3xB (pronounced nexbie) is a layer 2 open protocol inspired by, and runs on top of Nostr. n3xB aspires to become a standard language for making P2P trade orders, how to negotiate between maker and takers, and on how to take these orders. Allowing different Bitcoin P2P solutions to interoperate, enabling separation of concerns, resulting in a global order book of shared deep liquidity that is not wall-gardened by any one particular solution.

Goals

n3xB's position in the broader P2P trade software/protocol stack

n3xB's position in the broader P2P trade software/protocol stack

Why?

Prevent fragmentation of liquidity

Reduce developer platform risk

Separation of concerns

Mobile friendly architecture

Maximize censorship resistance

Protocol Proposal

1 - Architecture

2 - Make Order Note

3 - Peer Messaging

4 - Take Order Message

5 - Trade Response Message

Implementation & Demos

Crusty-n3xB - A Rust library implementing the n3xB protocol

OceanSea - Demo application trading fictional 'fiat' against Testnet Bitcoin

Other Implementation Possibilities

E1 - Onchain Multi-sig with trust limited Arbitrator

E2 - Lightning with Coordinator as Maker Proxy

E3 - Lightning with negotiated Coordinator

Feedback & Questions

The n3xB project is an early and mostly speculative proposal. The n3xB protocol specification, along with any derivative implementations are experiments in hope to better understand what needs there are in the Bitcoin ecosystem, along with what solutions might be wanted by the Bitcoin community. As such, any feedback or questions would be very valuable. Feel free to raise an Issue or start a Discussion here in Github. Or visit the n3xB Discord to start a conversation!