2021-07-21 20:20:09 +03:00
|
|
|
# Aqua API of IPFS-adapter
|
2021-07-30 17:16:41 +03:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
See [Aqua Book](https://fluence.dev/aqua-book/libraries/aqua-ipfs).
|
|
|
|
|
|
|
|
## API
|
2021-07-21 20:19:13 +03:00
|
|
|
Public API is defined in [ipfs-api.aqua](/aqua/ipfs-api.aqua).
|
|
|
|
|
|
|
|
ipfs-adapter service API is defined in [ipfs.aqua](/aqua/ipfs.aqua).
|
|
|
|
|
2021-07-21 20:20:09 +03:00
|
|
|
## How to use Aqua API in TypeScript
|
2021-07-30 17:16:41 +03:00
|
|
|
There's a simple example in [example](/example/index.ts)
|
2021-07-21 20:19:13 +03:00
|
|
|
|
|
|
|
## How to update ipfs.aqua from ipfs_pure.wasm
|
|
|
|
While in `aqua` directory, run `npm run generate-aqua`
|