js icon indicating copy to clipboard operation
js copied to clipboard

bundlrStorage no longer supported

Open LucasMoskun opened this issue 11 months ago • 0 comments

In the readme it shows this sample:

import { Metaplex, keypairIdentity, bundlrStorage } from "@metaplex-foundation/js";
import { Connection, clusterApiUrl, Keypair } from "@solana/web3.js";

const connection = new Connection(clusterApiUrl("mainnet-beta"));
const wallet = Keypair.generate();

const metaplex = Metaplex.make(connection)
    .use(keypairIdentity(wallet))
    .use(bundlrStorage());

However i have recently upgraded to

    "@metaplex-foundation/js": "^0.20.1",

and now I am receiving the error:

Module '"@metaplex-foundation/js"' has no exported member 'bundlrStorage'.

This stack exchange post says bundlrStorage is no longer supported https://solana.stackexchange.com/questions/10450/how-can-i-import-bundlrstorage-in-metaplex-library-in-js

What are we supposed to do now? At the very least readme should be updated.

I see this release message says "transition from bundlr to irys" https://github.com/metaplex-foundation/js/commit/f2d02ac5672983613ac965a94011da10d949c49f

LucasMoskun avatar Mar 11 '24 14:03 LucasMoskun