See Land-Plan
Documentation from box follows:
go-fula
is an implementation of the Fula protocol in Go (Golang). It is designed to facilitate smooth communication between clients and a mesh of backend devices (servers) and provide APIs for developers to build mobile-native decentralized applications (dApps).
A React Native app can communicate with servers using the @functionland/react-native-fula
library, which abstracts the underlying protocols and libp2p
connection and exposes APIs similar to those of MongoDB for data persistence and S3 for file storage.
Data is encrypted on the client side using WebNative Filesystem (WNFS) ( with bridges for Android and iOS ). The encrypted Merkle DAG is then transferred to the blox server using Graphsync.
The blox stack can provide backup guarantees by having the data pinned on multiple servers owned by the user. In cases where absolute assurance of data longevity is required (e.g. password records in a password manager app or scans of sensitive documents), the cids of encrypted data can be sent to the Fula blockchain and backed up by other blox owners, who are rewarded for their efforts.
By default, Libp2p connections are established through Functionland's libp2p relay over the internet or directly over LAN without the use of a relay.
Name | Description |
---|---|
blox | Blox provides the backend to receive the DAG created by fulamobile and store it |
mobile | Initiates a libp2p instance and interacts with WNFS (as its datastore) to encrypt the data and Send and receive files in a browser or an Android or iOS app. Available for React-Native here and for Android here |
exchange | Fula exchange protocol is responsible for the ctual transfer of data |
Name | Description |
---|---|
WNFS for Android | Android build for WNFS rust version |
WNFS for iOS | iOS build for WNFS rust version |
git clone https://github.com/functionland/go-fula.git
cd go-fula
go run ./cmd/blox --authorizer [PeerID of client allowed to write to the backend] --logLevel=[info/debug] --ipniPublisherDisabled=[true/false]
The default generated config goes to a YAML file in home directory, under /.fula/blox/config.yaml
goreleaser --rm-dist --snapshot
This process includes some iOS specific preparation.
make fula-xcframework