-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
filebase is an s3 compatible decentralized storage service like tardigrade.io but instead of being based on the storj protocol its based on the sia protocol (and its cheaper).
No examples using the SDK but it should work like the CLI..
https://docs.filebase.com/client-configurations/aws-cli
https://medium.com/filebase/multipart-uploads-on-sia-using-filebase-and-the-aws-cli-6d180b1df77f
In order to use the AWS SDK with filebase will have to set the a custom endpoint when declaring the s3 API using an endpoint paream instead of the API version
var s3 = new AWS.S3({apiVersion: '2006-03-01'});
Kind of like this:
// Create MediaConvert service object using custom endpoint
var mcClient = new AWS.MediaConvert({endpoint: 'https://abcd1234.mediaconvert.us-west-1.amazonaws.com'});