js
js copied to clipboard
bundlrStorage no longer supported
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