The Solana COS On-Demand Sync API allows users to copy blockchain archive data from Solana blockchain into their own Tencent Cloud Object Storage (COS) buckets.
To use the sync service, you must first grant write access to our system’s root ID on your Tencent Cloud Object Storage (COS) bucket.
- Log in to your Tencent Cloud Console.
- Navigate to Cloud Object Storage (COS) and select your bucket.
- Open the Permissions settings -> Bucket ACL
- Add our Root ID with write access to the bucket. Root ID:
200034403835
- Save the changes to apply the permissions.
Note: If your bucket has public write access, no further action is required.
Note: Right now, the transfer is limited to 'eu-frankfurt' region. Your bucket needs to be located in 'eu-frankfurt'
Once the necessary permissions are in place, you can initiate a data sync by specifying the desired start and end block numbers along with your Tencent COS bucket name and email address for notifications.
curl -X POST "https://getsolana-api.bwarelabs.com" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "startBlockNumber=1000" \
-d "endBlockNumber=2000" \
-d "[email protected]" \
-d "bucketName=test-bucket-6546465464"
After the sync process completes, you will receive an email confirmation with details about the copied data. Ensure that the provided email address is valid and accessible.
Note: If you want to import that data into a HBase cluster and be able to serve data from it, see solana-syncer - HbaseSync
By providing your email address to initiate the sync process, you acknowledge and accept that we may send you transactional emails related to the completion status of your request. We do not use your email for marketing purposes or share it with third parties. We do not store your email.