AWS SDK - Ruby
Please read the following to understand how to use the 4EVERLAND Bucket with AWS SDK - Ruby. This guide outlines the integration of AWS SDK API for Ruby with the 4EVERLAND Bucket to facilitate file uploads to the IPFS or Arweave storage networks.
Preparation
Download and install Ruby in your development environment.
Download and install the AWS SDK for Ruby in your development environment.
Register a free 4EVERLAND account.
If you need to use Arweave storage, you need to create an Arweave bucket. Click to learn more.
To obtain the corresponding API key in the bucket, click to learn more.
Development Examples
Create a bucket
endpoint
: https://endpoint.4everland.co
aws_access_key_id
: Bucket-Access Keys-API key
aws_secret_access_key
: Bucket-Access Keys-API Secret
bucket_name
: The desired bucket name to create
Upload a file
bucket_name
: Your bucket name
object_key
: The name of the file to be uploaded
object_path
: The path of the file to be uploaded
Requesting IPFS CID and Arweave Hash
endpoint
: https://endpoint.4everland.co
aws_access_key_id
: Bucket-Access Keys-API Key
aws_secret_access_key
: Bucket-Access Keys-API Secret
bucket_name
: The bucket name where the target file is stored
object_name
: The name of the target file
If you have any questions, please join our Discord server, or send us an email at contact@4everland.org.
Last updated