trust-wallet-ios
trust-wallet-ios copied to clipboard
How to set an ERC721 Token as a collectible within Trustwallet?
I've gotten an ERC721 token contract created. I have the tokenURI, the token ID, the contract, the name, and symbol. I was wondering how do I set the variables :
@objc dynamic var id: String = "" @objc dynamic var uniqueID: String = "" @objc dynamic var contract: String = "" @objc dynamic var name: String = "" @objc dynamic var category: String = "" @objc dynamic var annotation: String = "" @objc dynamic var imagePath: String = "" @objc dynamic var externalPath: String = ""
I know the id is the tokenID, the contract is the contract address, plus obviously the name, and imagepath. But how would I set the rest of the variables to make the token show up as a collectible? Thanks.