I'm trying to write a Node script that will transfer an ERC1155 token on the Matic network from my address to someone else's address.
I thought I could just use https://github.com/maticnetwork/matic.js, but it seems to only work for ERC20/ERC721 tokens.
I then played around with https://docs.moralis.io/moralis-server/sending-assets#transferring-erc1155-tokens-semi-fungible, but I can't figure out how to authenticate it using web3 or truffle + my wallet mnemonic. Moralis seems like it's meant for frontend authentication (ie MetaMask Chrome Extension), but I need this to work with backend code.
Does anyone know how to do this? Thanks in advance!