Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.52 KB

File metadata and controls

38 lines (31 loc) · 1.52 KB
description What is the Synapse SDK?
layout
width title description tableOfContents outline pagination metadata
default
visible
true
visible
true
visible
true
visible
true
visible
true
visible
true

About

The Synapse SDK is an easy-to-use library allowing developers to get started with the Filecoin Onchain Cloud and its services, such as Filecoin Beam. It allows you to store & retrieve data from Filecoin, as well as pay for these services.

When making storage deals, you can set up your data to retrievable through Filecoin Beam by setting the withCDN flag to true in the Synapse SDK config.

const synapse = await Synapse.create({
  privateKey: "YOUR_PRIVATE_KEY",
  withCDN: true,
});

Head to the Synapse getting started guide to get started, and to see clearly in code how to include Filecoin Beam when you create an instance of Synapse.

Key Links