ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
309 stars 137 forks source link

DHT over ADNL (Rust Implementation) #308

Closed liketurbo closed 1 year ago

liketurbo commented 1 year ago

Summary

In continuation of #258 and #296, this one involves Rust implementation of DHT.

Context

A Rust implementation of DHT serves two purposes for TON ecosystem:

  1. Provides you with a ready-to-use library for your applications
  2. Stands as a valuable guide for your own DHT implementation

Goals

Deliverables

Definition of Done

Reward

Total: $2015

Oriental Release Date

3 weeks

liketurbo commented 1 year ago

I've reduced the footstep reward because it's a reimplementation of #258. I opted for only a 30% reduction compared to #258 since Rust development still presents its challenges. Additionally, I decided to skip the ADNL over UDP implementation because there is an ADNL over TCP version available here tonstack/adnl-rs and here liketurbo/adnl-liteclient. Both use TCP, but I hope it's simply a matter of switching the socket type.

pyAndr3w commented 1 year ago

I don’t know how the TON community feels about Everscale at the moment, but there are interesting libraries for Rust with good support.

https://github.com/broxus/everscale-types https://github.com/broxus/everscale-network

(compatible with TON)