Today Beckn is a server to server protocol. In a typical open network , aggregators and tech providers provision cloud space for sellers to onboard and participate in a network.
Am attempt is made here to create network with out aggregators or cloud platforms.
Users machine's resources will be used to make peer to peer communication between transacting parties(e.g buyer and seller)
With this goal, we have come up with a design using ice and stun protocol (hole punching).
A free hosted stunserver can be used to identify a seller app (public (host/ udp port) that got opened when that seller app tried to connect to the stun server.
This port is kept alive by stun server and published in the Beckn registry by the seller app..
Same would happen on the buyer side
Search engines would index seller catalogs that a seller wishes to publish.
Buyer would use search engines to discover sellers and then use the seller's open port to transact.
Goals
[ ] Stun proxy agent that can be installed by peers . It should handle :
Stun. Communications
proxy requests to a Beckn application cohosted in the same machine..
[ ] identifying/make changes to the reference registry to handle registering urls that would allow communication via the udp port open using stun protocol
[ ] identifying/make changes to reference bap and bpps to handle request proxying via this proxy.
Expected Outcome
A complete beckn transaction between buyer and seller apps on different nat firewalled machines.
Ticket Contents
Description
Today Beckn is a server to server protocol. In a typical open network , aggregators and tech providers provision cloud space for sellers to onboard and participate in a network.
Am attempt is made here to create network with out aggregators or cloud platforms.
Users machine's resources will be used to make peer to peer communication between transacting parties(e.g buyer and seller)
With this goal, we have come up with a design using ice and stun protocol (hole punching).
Goals
Expected Outcome
A complete beckn transaction between buyer and seller apps on different nat firewalled machines.
Acceptance Criteria
No response
Implementation Details
Ice, stun, turn, udp hole punching , http3 Http Proxy server
Mockups/Wireframes
No response
Product Name
Beckn stun agent
Organisation Name
Beckn Open Collective
Domain
No response
Tech Skills Needed
Docker, Java
Mentor(s)
@venkatramanm
Complexity
High
Category
Poc
Sub Category
Backend