Skip to content

Commit

Permalink
modifications to testnet writeup for blockchain integration (function…
Browse files Browse the repository at this point in the history
  • Loading branch information
gitaaron committed Jul 29, 2022
1 parent c7733ec commit 636ad1f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 12 deletions.
7 changes: 4 additions & 3 deletions docs/mvp/fotos/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ Once set up correctly you are able to perform all other [Fotos stories](/mvp/fot

[Here](https://drive.google.com/file/d/1BeIia_QthpVlhq9x_fYXaZdpp6QPdCVq/view?usp=sharing) is a video demonstrating the following steps.

1. [Acquire](https://github.com/functionland/fula-testnet#getting-box-multiaddress--peer-id) the Box multiaddress from it's server logs.

1. Copy the Box's multiaddress to your clipboard.
2. Copy the Box's multiaddress to your clipboard.

2. Go to Account -> Boxes.
3. Go to Account -> Boxes.

3. Add a new Box.
4. Add a new Box.

a ) Give the Box a name for identification purposes (can be anything).

Expand Down
34 changes: 34 additions & 0 deletions docs/mvp/pools/storage-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Providing Storage
id: storage-provide
---

# Providing Storage

## Acceptance Criteria

You see your balance increase on the [chain explorer](https://explorer.testnet.fx.land/#/explorer) after uploading a file to your node using Fotos.

## Preconditions

1. You are a running a [fula testnet](https://github.com/functionland/fula-testnet#setup) environment.

2. You have already [set up Fotos](../fotos/setup) and connected it to your Box running in the fula testnet environment.

## Steps

[Here](#TODO) is a video demonstrating the following steps.

1. In the Fotos app, tap on a photo to enter browse mode and tap the 'upload to cloud' icon in the top right.

2. [Take note](https://github.com/functionland/fula-testnet#find-the-cid-for-files-uploaded-via-the-fula-file-api) of the CID for the file that you just uploaded.

3. [Add](https://github.com/functionland/fula-testnet#ensure-the-file-you-added-is-part-of-ipfs-mfs) the file you uploaded to your IPFS node's MFS (so that it can be found by the proof engine).

4. [Take note](https://github.com/functionland/fula-testnet#find-your-account-id) of your Account ID.

5. Let the proof engine know that you are storing the file by [creating](https://github.com/functionland/fula-testnet#upload-a-manifest) a new manifest for the file you just uploaded.

6. [Restart](https://github.com/functionland/fula-testnet#restart-the-proof-engine) the proof engine to ensure it picks up the latest manifest.

7. [See that your balance has increased](https://github.com/functionland/fula-testnet#viewing-your-rewards) either by viewing the proof engine logs from docker-compose or by looking for your account in the chain explorer.
22 changes: 13 additions & 9 deletions docs/release/testnet-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ id: testnet-alpha

# Protocol Testnet Alpha Pre-release

Last updated: July 11, 2022
Last updated: July 29, 2022

## What is it?

The protocol testnet alpha pre-release includes the Fotos mobile application and some of the Box components that will be pre-installed on Box customer's raspberry Pis when they are shipped.

## What to expect

The software we are delivering to you today can give you an idea of how the Fotos mobile app will backup and store your photos to the Box.
The software we are delivering to you today can give you an idea of how the Fotos mobile app will back up and store your photos to the Box.

Once you have everything setup you should have two Boxes talking to each other running on your host machine.
Once you have everything set up, you should have two Boxes talking to each other running on your host machine.

You should be able to upload your media using Fotos from your mobile phone to one of the Boxes encrypted with a key from your own wallet.

You can verify that the photos are in fact synced to both Boxes and that you are able to view them on a different device.

You can also get an idea of how a decentralized identity might be generated from your and your friend' wallets in order to enable sharing of photos with each other.

Lastly, you can get a first glimpse of how backing up files (that you uploaded with Fotos) will cause rewards to be generated for you on the Fula testnet blockchain.

## Requirements

* one Android phone
Expand All @@ -31,7 +33,9 @@ You can also get an idea of how a decentralized identity might be generated from

* your own computer that can run [Docker](https://docs.docker.com/get-docker/)

* Linux is recommended ( macOS also works with a few additional steps)
* Linux is required for the last step

* macOS works for all other steps (works with a few additional instructions)

* each phone must be on the same network as the computer where the Box app is running

Expand Down Expand Up @@ -66,6 +70,8 @@ OR

If you believe the issue is happening in the backend then you can create an issue on the [Fula](https://github.com/functionland/fula/issues) repo and include the docker-compose server logs.

If you believe the issue has something to do with the testnet you can create an issue on the [testnet](https://github.com/functionland/fula-testnet/issues) repo and include the docker-compose server logs.

If you believe the issue is happening in the Fotos mobile client then you can create an issue on the [Fotos](https://github.com/functionland/fotos/issues) repo and describe what is going wrong.

If you don't know where the problem exists or don't have a Github account then please send us an [email](mailto:[email protected]) and attach the server logs if you are reporting a bug.
Expand All @@ -90,9 +96,7 @@ At this point, we recommend you not upload any highly sensitive media to the Box

### Box Setup

First, you can follow the instructions [over here](https://github.com/functionland/fula/blob/main/apps/cluster/README.md) for setting up a local pool on your host machine with Docker.

Make sure you read through all steps carefully to ensure your Box environment is up and running properly. In particular, pay close attention to the instructions on [getting the Box multiaddress / Peer ID](https://github.com/functionland/fula/blob/main/apps/cluster/README.md#getting-box-multiaddress--peer-id) as you will need that for setting up Fotos.
First, you can follow the instructions [over here](https://github.com/functionland/fula-testnet) for setting up a Fula testnet node on your host machine with Docker.

### Fotos Installation

Expand All @@ -106,6 +110,6 @@ Once you have Fotos and the Box environment properly installed you can proceed w

2. See [here](/mvp/fotos/backup) for instructions on backing up an image from your device to a Box using Fotos.

3. See [here](/mvp/fotos/availability) for instructions on verifying that your photos are still available even if one of the Boxes goes does.
3. See [here](/mvp/fotos/sharing) for instructions on sharing the image with a friend.

4. See [here](/mvp/fotos/sharing) for instructions on sharing the image with a friend.
4. See [here](/mvp/pools/storage-provide) for instructions on how to give yourself $FULA rewards for storing a file uploaded from your Fotos application.

0 comments on commit 636ad1f

Please sign in to comment.