Using Rarible Plugin to lazy mint an NFT on Rinkeby Testnet. But getting errors like:
Error: Nothing saved to memory card
Error: Invalid JSON RPC response: “Unauthorized”
await Moralis.start({
serverUrl: "MORALIS_SERVER_URL",
appId: "MORALIS_APP_ID",
masterKey: "MORALIS_MASTER_KEY",
});
await Moralis.initPlugins();
const customEnable = async () => {
const web3Provider = new Web3.providers.HttpProvider("RINKEBY_SPEEDY_NODE");
const web3 = new Web3(web3Provider);
return web3;
};
Moralis.setEnableWeb3(customEnable);
await Moralis.enableWeb3();
await Moralis.Plugins.rarible.lazyMint({
chain: "rinkeby",
userAddress: "USER_ADDR",
tokenType: "ERC1155",
tokenUri: "/ipfs/HASH",
supply: 1,
royaltiesAmount: 5,
});