2021-05-28 12:51:21 +03:00
|
|
|
# aqua-dht
|
|
|
|
|
2021-07-13 11:02:46 -05:00
|
|
|
[Distributed Hash Table](https://en.wikipedia.org/wiki/Distributed_hash_table) (DHT) implementation for the Fluence network with an Aqua interface.
|
|
|
|
|
|
|
|
## Learn Aqua
|
|
|
|
|
2021-07-28 13:53:38 +03:00
|
|
|
* [Aqua Book](https://fluence.dev/aqua-book/)
|
2021-07-13 11:02:46 -05:00
|
|
|
* [Aqua Playground](https://github.com/fluencelabs/aqua-playground)
|
|
|
|
* [Aqua repo](https://github.com/fluencelabs/aqua)
|
2021-05-28 12:51:21 +03:00
|
|
|
|
2021-07-13 11:02:46 -05:00
|
|
|
## How to Use
|
2021-06-02 21:02:04 +03:00
|
|
|
|
2021-07-28 13:53:38 +03:00
|
|
|
See two examples in the [examples](./examples) directory:
|
|
|
|
- Writing an Aqua script using `aqua-dht`: [example.aqua](./examples/aqua/example.aqua)
|
|
|
|
- Calling `aqua-dht` functions in TS/JS: [examples/typescript](./examples/typescript)
|
2021-06-02 21:02:04 +03:00
|
|
|
|
2021-07-28 13:53:38 +03:00
|
|
|
## API
|
|
|
|
Documentation for `aqua-dht` can be found in [aqua-book](https://fluence.dev/aqua-book/libraries/aqua-dht).
|
2021-06-02 21:02:04 +03:00
|
|
|
|
2021-07-28 13:53:38 +03:00
|
|
|
API is defined in the [pubsub.aqua](./aqua/pubsub.aqua) module.
|