peerchemist / trotter

Trotter does abstraction on creation of NFT tokens on multiple evm-based blockchain networks.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

/list shows token even after it was sent way (via /transfer) #44

Closed peerchemist closed 3 years ago

peerchemist commented 3 years ago

/transfer resp:

{
  "success": true,
  "message": "Nft transfered successfully",
  "data": {
    "network": "ETH_TESTNET",
    "contractAddress": "0xC21fCdd14D700f126a2e78984E688fdb53D4e68a",
    "nftID": "90000003",
    "name": "Froggy frog.",
    "ipfsHash": "QmfNoawoFHsN7S8F1u2rsNZWUD5qbAv9ZmDuvZn39YwqJu",
    "price": "0",
    "author": "Froggy.",
    "owner": "0x1A614AA2a4DB99448DC9B9edd4CcA78D2F127e6d",
    "description": "Test.",
    "properties": "",
    "statement": ""
  },
  "transactionHash": "0x5b0ad9adcd23e074f34e689c304cc4ceb0fd9c28547798b128cd723f12670c10"
}

(this operation came later)

/list resp:

{
  "success": true,
  "message": "Nfts fetched successfully",
  "data": [
    {
      "price": "",
      "author": "Froggy.",
      "name": "Froggy frog.",
      "about": "Test.",
      "statement": "",
      "properties": "",
      "editions": null,
      "type": "Test.",
      "ipfsHash": "QmfNoawoFHsN7S8F1u2rsNZWUD5qbAv9ZmDuvZn39YwqJu",
      "nftID": "90000003",
      "network": "ETH_TESTNET",
      "owner": "0x7148A8f4C7d7EEdf3A173A0882d105287fddF70C"
    }
  ]
}
peerchemist commented 3 years ago

It should at least reflect that there is a new owner of the NFT when you do the /list

peerchemist commented 3 years ago

@ochukochris is this done now? Have you tested?

bigchiano commented 3 years ago

this has been fixed, tested and confirmed working.