Karishma
Karishma
Hello, I am learning react native and I need your help. I am not able to load all the message on the GiftedChat component. Only the last message is visible...
Return type for owner_of for erc721 is a Ethereum address. https://github.com/cennznet/cennznet/blob/develop/evm-precompiles/erc721/src/lib.rs#L190 https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#IERC721-ownerOf-uint256- On using custom interface to return me a string `function ownerOf(uint256 tokenId) external view returns (string memory);` It...
Detail - RPC calls for NFTs return decoded json object which can be used as it is ``` curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "nft_getTokenInfo", "params":[206,0,1]}' https://nikau.centrality.me/public {"jsonrpc":"2.0","result":{"attributes":[],"owner":"5H14vxnz18N4raNRGZDNnRtF1vXC5uUru4LxTxz2ZUSxuxfF","royalties":[["5H14vxnz18N4raNRGZDNnRtF1vXC5uUru4LxTxz2ZUSxuxfF","0.070000"]]},"id":"1"}...
` curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "nft_getTokenInfo", "params":[206,0,1]}' https://nikau.centrality.me/public` Returns data ``` {"jsonrpc":"2.0","result":{"attributes":[],"owner":"5H14vxnz18N4raNRGZDNnRtF1vXC5uUru4LxTxz2ZUSxuxfF","royalties":[["5H14vxnz18N4raNRGZDNnRtF1vXC5uUru4LxTxz2ZUSxuxfF","0.070000"]]},"id":"1"} ``` Its a plain object.. However https://github.com/cennznet/cennznet/blob/develop/crml/nft/src/lib.rs#L1429 the return type is of type TokenInfo......
https://github.com/cennznet/api.js/issues/403 type definition are generated from metadata on node side. With this issue, need to update all the method in camelcase in all our CRML.. for example seriesMetadataURI to seriesMetadataUri
**PR checklist** Marketplace precompile SFT support
Bridging from TRN->ETH side, when it is a futureverse (proxyExtrinsic). EBD stores the sender (EOA) as the from address. There is a requirement to use fpass address in these case....
**PR checklist** - [ ] Describe the added/changed/fixed/removed behaviour - [ ] Tag related issue(s) - [ ] Add appropriate unit tests and/or integration tests to the [integration test repository](https://github.com/futureversecom/seed-integration-tests)
**PR checklist** Support non XRPL tokens to bridge from/to TRN->XRPL ROOT on xrpl chain is https://xrpl.to/token/65aae5e2119350f927cdc19ef8a9df84?fromSearch=1 with currency - 524F4F5400000000000000000000000000000000