Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying tokens #9

Closed
6 of 8 tasks
MrStahlfelge opened this issue Jul 27, 2021 · 2 comments · Fixed by #96
Closed
6 of 8 tasks

Displaying tokens #9

MrStahlfelge opened this issue Jul 27, 2021 · 2 comments · Fixed by #96
Labels
enhancement New feature or request

Comments

@MrStahlfelge
Copy link
Member

MrStahlfelge commented Jul 27, 2021

There are some sorts of assets that could be shown or displayed within the app's balance screen.

Tokens

example transaction with "kushties"

  • Display balance with name
  • Implement details screen for a token showing all known information
  • Show EIP-21 badges

NFT

Image NFT

  • Display preview picture in lists
  • Display picture in details screen
  • Implement confirmation screen to display these pictures, otherwise placeholder is shown

Video/audio

Placeholder image in lists, play in details screen

SigUSD/SigRSV

More info

https://github.com/ergoplatform/eips/blob/master/eip-0004.md#ergo-tokens-standard

https://ergonfts.org/

Address with NFTs/SigUSD: https://explorer.ergoplatform.com/en/addresses/9g59gGF8jxyQxVVqKhxk3THHk56Q2SqjWD6WAix14qqCWZPDyBz

Icons
https://github.com/capt-nemo429/nautilus-wallet/tree/master/public%2Ficons%2Fassets

Price

ErgoDex price: Pool Address -> add pools for every token, then sums of ERG value / sum token
or this one

@MrStahlfelge MrStahlfelge added the enhancement New feature or request label Jul 27, 2021
MrStahlfelge added a commit that referenced this issue Aug 8, 2021
@MrStahlfelge
Copy link
Member Author

1.2.2112 displays tokens with balance and name

@MrStahlfelge MrStahlfelge changed the title Displaying assets Displaying tokens Sep 7, 2021
MrStahlfelge added a commit that referenced this issue Dec 2, 2021
iOS SendFundsViewController add buttons for filling max amounts to send #54
@MrStahlfelge
Copy link
Member Author

MrStahlfelge commented Feb 8, 2022

New token db table:

Tokens
id
issuingbox
name
description
decimals
full_supply
r7_type (eip4)
r8 (nft_contenthash)
r9 (nft_contenturl / coverurl)
minting_tx
--- changeable
genuity (0, 1, 2, 3)
thumbnail_bytes
thumbnail_type
updated_ms
nanoerg_value

To get the additional registers, it is needed to first ask for the token id (getApiV1TokensP1 https://api.ergoplatform.com/api/v1/tokens/{p1}) and then get the minting box information

MrStahlfelge added a commit that referenced this issue Feb 24, 2022
MrStahlfelge added a commit that referenced this issue Feb 25, 2022
MrStahlfelge added a commit that referenced this issue Feb 26, 2022
MrStahlfelge added a commit that referenced this issue Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant