0.7.7 • Published 3 months ago

@fluencelabs/aqua-lib v0.7.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Aqua

Aqua is a new-gen language for distributed systems.

Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network.

Aqua's runtime is heterogeneous: it includes browsers, servers, devices, all involved in solving a single task. Therefore, Aqua scripts are compiled into several targets at once, with AIR and Typescript as a default.

aqua-lib

API of the protocol-level functions in the Fluence Network.

This API is available on all peers powered by Fluence nodes, and a part of the API is available on JS/TS-based (browsers, NodeJS) peers.

Documentation

See Aqua Book.

How to use it in Aqua

Add @fluencelabs/aqua-lib to your package.json dependencies, and then in your Aqua script, import and use it:

import "@fluencelabs/aqua-lib/builtin.aqua"

-- gather Peer.identify from all nodes in the neighbourhood
func getPeersInfo() -> []Info:
    infos: *Info
    nodes <- Kademlia.neighborhood(%init_peer_id%, nil, nil)
    for node in nodes:
        on node:
            infos <- Peer.identify()
    <- infos
0.10.2

3 months ago

0.10.1

3 months ago

0.10.0

3 months ago

0.9.1

4 months ago

0.9.0

5 months ago

0.8.2

5 months ago

0.7.6

8 months ago

0.7.5

8 months ago

0.7.7

8 months ago

0.8.1

6 months ago

0.8.0

6 months ago

0.7.4

8 months ago

0.7.3

9 months ago

0.7.2

11 months ago

0.7.1

12 months ago

0.7.0

1 year ago

0.6.0

2 years ago

0.5.2

2 years ago

0.5.0

2 years ago

0.5.1

2 years ago

0.4.1

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.3.4

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.3.0

2 years ago

0.3.1

2 years ago

0.2.1

2 years ago

0.2.0

3 years ago

0.1.14

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.12-1

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago