AWS SDK - JavaScript
Preparation
Development Examples
Install the S3 client
import { S3 } from '@aws-sdk/client-s3';
const s3 = new S3({
endpoint:"https://endpoint.4everland.co",
credentials: {
accessKeyId: "4EVERLAND-Bucket-APIKey",
secretAccessKey: "4EVERLAND-Bucket-APISecret"
},
region: "4EVERLAND",
});Create a bucket
Upload a file
List the files in the bucket
Requesting IPFS CID and Arweave Hash
Last updated