Skip to main content
To get started with the Self-hosted version you need to fork/clone the Mycelium SDK repo and build the project. Here are quick steps how to make this
1

Clone the repo

git clone https://github.com/MyceliumSDK/mycelium-sdk.git
2

Install dependencies

pnpm install
3

Build the SDK

cd package/sdk && pnpm install
The built SDK can then be used in your application or imported as a local library to any of your local project

Varialbes

To use the SDK in the self-hosted mode, you need to provide several necessary environment variables during the SDK initialization, similar how it was with the Cloud version
You don’t need to provide any variables for the SDK before the building process. Environment variables are necessary only for using the SDK after
You can check the Varialbes section to get the list of all necessary varialbes

Testing

There is an infrastructure in Mycelium SDK monorepo to test the self-hosted version and start contributoin to the project You can use local SDK with a chain fork along with pre-build faucet. To quickly interact with a build SDK you can also use a ready-to-use CLI You can use CLI with SDK to qucikly test its functionality

Test SDK with CLI