Note
More documentation for ArFleet is available at docs.arfleet.io.
ArFleet is a protocol built on and for Arweave+ao designed to facilitate the purchase of time-limited data storage from permissionless peers, eliminating the requirement of a third-party for enforcement.
NOTE: For testnet, only holders of ArFleet Genesis Pass would be able to use the provisioned testnet providers
- Node.js (v14 or later)
- npm or Yarn
- Git
- Clone the repository:
git clone https://github.com/aoacc/arfleet-js.git
- Navigate to the backend directory and install dependencies:
cd arfleet-js/backend npm install - Navigate to the frontend directory and install dependencies:
cd ../frontend npm install
Go back to the project directory
cd ..Run:
./arfleet clientif you are a client.
Or,
./arfleet providerif you are a provider.
When your client is running, you can use the ./arfleet client store <directory or file> command to store your data.
Note: in the current version, the data is available publicly.
- To pull the latest updates from the main repo run:
git pull origin master
- Navigate to the backend directory and install dependencies:
cd arfleet-js/backend npm install - Navigate to the frontend directory and install dependencies:
cd ../frontend npm install
To transfer your pass to another address, you can use the ./arfleet (client or provider) transferpass <your_outside_address> command. <-- instead of (client or provider) here, choose only one.
If you need access to the wallet generated by the node, you can find it in your home directory, then .arfleet-client or .arfleet-provider folder, then wallet.json.
To use your own wallet address, save it's keyfile from the wallet extension and rename it wallet.json. Then, replace the existing wallet.json file in the .arfleet-client or .arfleet-provider folder with your file. This will configure your Client or Provider node to use the desired wallet address.
Contributions are welcome! Feel free to open an issue or a pull request
This project is licensed under the MIT License - see the LICENSE.md file for details.