This example assumes the ERC1155 Access Control is Role Based.
Your Sidekick smart wallet should be the new
owner now if you plan to execute transactions from Sidekick. It won’t work to mint new tokens if you do not transfer ownership
to the Sidekick smart wallet or use Role Based Access Control and grant the minter role to the Sidekick smart wallet.Mint an NFT with Role Based Access Control
Complete Sidekick Setup
Make sure you have gone through the Sidekick Setup guide.
Get your Sidekick smart wallet address
Send a GET request to the
/sidekick/smart-account-address endpoint to retrieve your Sidekick smart wallet address. This address will be used to interact with your NFT contracts.If your NFT is not Role Based, instead of granting the minter role you will need to transfer ownership of the contract to the Sidekick smart wallet.