Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Latest commit

 

History

History
 
 

preserve-to-buckets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@truffle/preserve-to-buckets

Configuration

To preserve your files to Textile Buckets, you will need to install Textile's hub tool, register and create authentication keys.

hub init
hub keys create
 - account
 - Require Signature Authentication (recommended): N

Then you need add these keys as well as a bucket name to an environment in your truffle-config.js

module.exports = {
    environments: {
        development: {
            buckets: {
                key: "MY_BUCKETS_KEY",
                secret: "MY_BUCKETS_SECRET",
                bucketName: "truffle-preserve-bucket",
            }
        }
        // ... other environments
    }
    // ... rest of your truffle-config
};