0.1.0 • Published 2 years ago
web3-importer v0.1.0
web3 importer
Exports a CAR file with a given CID from a IPFS gateway and uploads it into web3.storage.
Usage
npm install web3-importer
const rootCid = 'bafy...'
const ipfsGatewayUrl = 'https://ipfs.io'
const web3StorageToken = 'eyJhbGc...' // Get it from web3.storage
await web3Import(rootCid, ipfsGatewayUrl, web3StorageToken)
0.1.0
2 years ago