A Step-by-Step Guide to Setting up an Ocean API

2023-03-13


Over the past few weeks, DeFiChain Ocean nodes have encountered occasional service disruptions. The community's developers are actively working to address this issue. Meanwhile, community members can either (1) use a custom Ocean API hosted by other members or (2) create their own Ocean API.

This article will provide a step-by-step guide on how to set up your own Ocean API.


How to Set Up Ocean API?

Step 1: Download the following yaml file and add it to your project directory: https://github.com/JellyfishSDK/jellyfish/blob/main/apps/whale-api/docker-compose.yml


Step 2: Make the following edits to the yaml file:


Step 3: Run the whale API yaml file in the CLI.


When you run the above yaml, the following happens:

Original: https://blog.defichain.com/2023/03/a-step-by-step-guide-to-setting-up.html