Agoric: Create a DeFi dApp Using Agoric That’s Stored on Filebase
Learn how to create a DeFi dApp using Agoric that is stored on Filebase.
What is Agoric?
1. First, we need a Filebase IPFS bucket.
2. Select ‘Buckets’ from the left sidebar menu, or navigate to console.filebase.com/buckets.

3. Enter a bucket name and choose the IPFS storage network to create the bucket.

4. Next, download and install S3FS-FUSE on a Linux or macOS system.
5. Set up an Access Key file for use with S3FS-FUSE.
6. Mount your bucket.
7. Now, navigate into the mounted Filebase bucket.
8. Download and install the Agoric SDK:
9. Confirm Agoric has been installed:
10. Open 3 terminal windows. In the first terminal window, run the following command to initialize an Agoric dApp using the dApp demo template:
11. Install the Agoric SDK in the project’s directory:
12. In your second terminal window, run the following command:
13. Back in the first terminal window, run the following command to deploy the smart contracts for the dApp:
14. Then, in the first terminal window, run the following command to open an Agoric wallet:
15. In the third terminal window, run the following command to navigate into the ui directory and start the dApp User Interface:
ui directory and start the dApp User Interface:Last updated