Code Monkey home page Code Monkey logo

tonscan's Introduction

TON Blockchain Explorer

An open source address, block and transaction explorer for TON Blockchain.

See it in action

Contributing

If you'd like to add your address to our address book, you cat do it here: catchain/address-book. Please note that addresses from address book is not used in search. If you'd like to add your address into the search, please leave a message here.

If you'd like to submit a pull request, please run npm run lint and check for the errors before pushing. We also highly recommend opening an issue before doing anything, because this repository is a mirror and is not always up to date with the actual code base.

Building

Before building the project you should fill the environment variables in .env (or .env.testnet) file. You may refer to .env.example file for available variables.

All variables are optional, but we recommend filling at least TONCENTER_API_KEY (docs) and TONAPI_KEY (details).

TYPESENSE_API_KEY is used for real-time search. You may either use your own typesense server (in that case you should also change the TYPESENSE_API_ENDPOINT variable), or use our guest key. To obtain guest key, please leave a message here.

Then run:

npm install && npm run prod

For testnet:

npm install && npm run prod_testnet

Developing

npm run serve

To change host and port of the local server, change the APP_DEV_SERVER_HOST and APP_DEV_SERVER_PORT environment variables either in .env file or in command line. For example:

APP_DEV_SERVER_HOST=0.0.0.0 APP_DEV_SERVER_PORT=8080 npm run serve

Using

The result of the build is static files in dist folder. To start using tonscan, you may:

  • Upload the dist folder to your web server (see example config below)
  • Upload build.zip to Cloudflare Pages
  • Use any static file hosting, e. g. Firebase

Example nginx config:

server {
    server_name tonscan.test;
    root /path/to/tonscan/dist;
    index index.html;

    location / {
        try_files $uri $uri/ @rewrites;
    }

    location @rewrites {
        rewrite ^(.+)$ /index.html last;
    }
}

tonscan's People

Contributors

aspite avatar awesome-doge avatar bitpapa-com avatar carloslugones avatar david-build avatar defiton avatar delovoyhomie avatar hiyorimi avatar ingria avatar jaybbbb avatar johnnygogogo avatar kirillmelcin-old avatar lambda2331 avatar leon-todd avatar tonscan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tonscan's Issues

Incorrect display of the NFT owner on the NFT page

Bug Type

UI

Reproduction steps

If the NFT is for sale, the explorer will say that the owner is a sale-contract when you open the NFT page. However, the NFT will also display at the owner's address.

Actual result

The user gets different information by opening different pages of the explorer.

This does not depend on the specific marketplace, the same is observed on Disintar and GetGems.

Expected result

It is necessary to specify the information and display in more detail the specific owner of the NFT and the address of the sale contract like this:
image

Suggested Severity

Medium

Device

  • any

Additional Context

image
image
image
image

Some NFT's are not loaded on NFT collection page

Bug Type

Functional

Reproduction steps

Visit

Actual result

Some NFT cards are broken and error is logged on the console.
image
image

Expected result

It should specify or completely hide the card if img is not available to show.

Suggested Severity

Low

Device

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [Brave]
  • Version [v1.43.93]

Additional Context

No response

Alert does not have a format in which to search

Bug Type

UI

Reproduction steps

image

Actual result

Aler looks outdated. Does not inform the user about what format should be. (In this case, it is not clear from which network the address can be entered)

Expected result

  1. Ideally make a more modern UI for the alert
    If the 1. fails, then specify the address format in the alert.

Suggested Severity

Low

Device

Desktop (please complete the following information):

  • OS: Ubuntu 22
  • Browser Google Chrome
  • Version 105.0.5195.52

Additional Context

No response

Not all NFTs' icons displayed while scrolling the collection.

Bug Type

Functional

Reproduction steps

  1. Open any collection via Tonscan explorer (Ton Punks as example).
  2. Scroll down and look through collection items.

Actual result

Some of NFTs' icons couldn't display. These icons are impossible to see until the whole page will be refresh.
image

nft lost pic

Expected result

Display all NFTs' icons of collection.

Suggested Severity

Medium

Device

Desktop 1:
OS: Windows 10 Pro
Browser Google Chrome
Version 105.0.5195.127

Desktop 2:
OS: macOS 12.2.1
Browser Safari

Smartphone 1:
Device: Samsung Galaxy M31
OS: Android 12
Samsung Internet
Version 18.0.058

Smartphone 2:
Device: iPhone 12
OS: iOS 15.6.1
Browser Safari
Version 15.6.1

Additional Context

1.Records from test environments.

Microsoft Windows test video:

Microsoft.Windows.lost.pics.mov

MacOS test video:

macOS.lost.pics.mov

Android test video:

Android.lost.pics.mov.mov

iOS test video:

iOS.lost.pics.mov.mov
  1. Additional note.
    Sometimes(it looks like on the screenshot below) the user has an option for reloading but it looks not user-friendly when you look through thousands of pictures and have to push the button to refresh every lost pic.
    nft unloaded

Duplicates and lost NFT items on the NFT collection tab.

Bug Type

Functional

Reproduction steps

  1. Open any collection via Tonscan explorer (Ton Whales or Ton Diamonds as an example).
  2. Scroll down and look through collection items.

Actual result

Almost every time you look through one collection you will get at least one duplicate item and one will be lost.

image
image
image
image

Expected result

Looking through the whole collection without any duplicates or lost NFT.

Suggested Severity

Critical

Device

Desktop (please complete the following information):
OS: Windows 10 Pro
Browser Google Chrome
Version 105.0.5195.127

Additional Context

Perhaps, this behavior has a connection with how the offset is requested. For example, when I've got duplicates in the Ton Whales list,
image
query history was like
image

Response bodies for 60-82 items:
response content.zip

Video:

tonscan.duplicate.mov

Tonscan does not display some name tags

Bug Type

UI

Reproduction steps

Some of TON addresses on tonscan.org has its name tags, e.g., this one, but if the address having the name tag starts with "k" it will not display.

  1. Go to tonscan.org
  2. Check this address:
    "kf8guqdIbY6kpMykR8WFeVGbZcP2iuBagXfnQuq0rGrxgE04": "Large Giver 1"

Actual result

Instead of custom name tag, a user see the unreadable address.

Expected result

The name tags should be displayed

Suggested Severity

Low

Device

it does not depend on device type

Additional Context

Solution:

Change starting with "k" addresses to starting with "E".

kf8guqdIbY6kpMykR8WFeVGbZcP2iuBagXfnQuq0rGrxgE04 -> Ef8guqdIbY6kpMykR8WFeVGbZcP2iuBagXfnQuq0rGrxgPay

Unable to find DNS NFT item itself (when assigned to wallet)

Bug Type

UX

Reproduction steps

  1. Begin search for "foundation.ton"
  2. Search helper shows branded item (1), regular item (2) and some other "maybe-related" staff (not important now).

firefox_2023-05-15_15-00-00

Actual result

Both branded and regular items links to same "EQCD...qB2N" address, which is an wallet linked from foundation.ton DNS NFT.

Expected result

A link to DNS NFT itself (EQB43-VCmf17O7YMd51fAvOjcMkCw46N_3JMCoegH_ZDo40e address) should be searchable too.

For example, search helper may show two regular lines - one for assigned wallet, other for NFT itself.

Suggested Severity

Medium

Device

Desktop, Windows 10, Firefox v113. But I believe the text above is valid for any device :)

Additional Context

No response

Unable to get contract info on testnet (CORS error for 301 redirect)

Bug Type

Functional

Reproduction steps

  1. Open any address in testnet
  2. Switch to "Contract" tab

Actual result

Information is failed to load.

chrome_2023-07-17_11-56-01

CORS error is displayed in Developer Console.

Expected result

Contract data/source must be shown.

Suggested Severity

Medium

Device

Desktop: Windows 10: Chrome v114.0.5735.199 (latest), Firefox v115.0 (latest)

Additional Context

Below are request/response dumps.

I think browsers expect CORS headers to be present in 301 redirects too.

Fiddler_2023-07-17_11-55-20

Different fees shown for same transaction

Bug Type

UX

Reproduction steps

  1. Look at this wallet: https://tonscan.org/address/EQBaIpArmpyjo2bXNcB_-DmKitP4KodxMK_NUcvbOTobjkyw
  2. Expand the transaction with timestamp "10/23/2023, 03:43:32 PM" and amount 171.5 TON.
  3. Note that the fee is 0.008012018 TON.
  4. Click on the sender name (death.ton).
  5. Expand the same transaction (with the same timestamp and amount).
  6. Note that the fee is 0.008352013 TON.

Actual result

Different fees are shown for the same transaction.

Expected result

It seems like tonscan shows two different fees for every transaction (even for the simplest form of transaction; from one wallet to another), as if one is what the sender pays and the other is what the recipient pays. But people say that only the sender pays transaction fee. Maybe they lie?

If only the sender pays for a transaction, show the same fee no matter where the transaction is shown.

If both sender and receiver pays for a transaction, make that clear in the user interface. Maybe a tooltip when the mouse cursor is over the word "Fee", showing the text "Paid by sender" or "Paid by recipient". (Just make sure that the tooltip does not get in the way if the user tries to select and copy the fee amount.)

Suggested Severity

Medium

Device

Browser in Microsoft Windows or Linux.

Additional Context

No response

Unable to get contract info on testnet

Bug Type

Functional

Reproduction steps

  1. Open https://testnet.tonscan.org/
  2. Search for any contract, like EQAK8C7Jv9RBWLLGM1J4-MJttkfSGLQva8oL-fG45UKAb3Ud
  3. You will get empty value for contact type, also Contract tab is empty
    TON Explorer :: EQAK8C7Jv9RBWLLGM1J4-MJttkfSGLQva8oL-fG45UKAb3Ud 2022-11-01 12-06-17

It looks like actual backend - https://testnet.api.ton.cat/ - is failed to provide results, it returns net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH. May be SSL issue...

Actual result

Info about contracts on testnet is failed to load

Expected result

Info about contracts

Suggested Severity

Medium

Device

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome, Safari

Additional Context

No response

The contract appears as a .ton domain even if it is not part of .ton domain zone

Bug Type

UI

Reproduction steps

  1. Deploy a smart contract that implements the TON DNS standard

Example: https://tonscan.org/address/EQCkvks2A9kMO-7klPgwXn_M9jKyxqvcC2Y5TqAo3B8svRGN

This bug opens up opportunities for scamming. (For example, selling fake domains)

Actual result

The contract will appear as domainname.ton

image

Expected result

The user is expected to be notified that the contract is not a real domain in the .ton domain zone

Suggested Severity

Medium

Device

All browsers

Additional Context

No response

Inconsistent Tonscan data

Good morning,
one of the key feature of a blockchain is that it is transparent and can be analysed by anyone. However, in the case of the TON blockchain, which is in the top 15 according to CMC, and from a technological point of view is the most promising one, it seems impossible to know what the statistics are.
CMC
-Circulating Supply: 3,431,892,088
-Total Supply: 5,047,558,528
Tonscan
-Circulating Supply: 3,414,166,606
-Total Supply: 5,047,558,528
Tontech
-Circulating Supply: 3,436,986,739
-Total Supply: 5,089,155,274
TonStat
-Circulating Supply: ?
-Total Supply: 5,089,086,273
CG

-Circulating Supply: 1,473,591,410
-Total Supply: 5,057,362,773
Is anyone able to explain the reason for these inconsistencies, despite the source being the same and transparent?
Thank you

fees are not shown for transactions

Bug Type

Performance

Reproduction steps

  1. Show the history of some wallet.
  2. Expand a transaction.

Actual result

The fee paid by the wallet for the transaction is not shown.

Expected result

Fee is shown.

Suggested Severity

High

Device

Tested both Chrome on Microsoft Windows and Firefox on Linux.

Additional Context

It worked until some time yesterday.

Extra table renderings when there is nothing (tabs History, NFTS)

Bug Type

UI/UX

Reproduction steps

vokoscreenNG-2022-09-21_05-13-27.webm

Actual result

Extra table renderings when there is nothing.
When loading tabs, extra tables appear and immediately disappear. (tabs: History, NFTS)

Expected result

In serious applications, this should not work.
Fix the application life cycle (False table views should not flicker)

Suggested Severity

Critical

Device

Desktop (please complete the following information):

  • OS: Ubuntu 22
  • Browser Google Chrome
  • Version 105.0.5195.52

Additional Context

No response

Jetton data is not displayed in testnet version

Bug Type

UI

Reproduction steps

Visit:https://testnet.tonscan.org/jetton/EQBA8Rhbop8xLEC_zJ3FRw6MrnsvYFV6r0bsbq8BWSClH_Il

Actual result

Here is the result:
tonscan
Yet still api returns correct result:
api-result

https://testnet.api.ton.cat/contracts/jetton/EQBA8Rhbop8xLEC_zJ3FRw6MrnsvYFV6r0bsbq8BWSClH_Il

Expected result

Pretty much expect api values to display in the UI.

Suggested Severity

Medium

Device

Screenshots taken in Mozilla Firefox 104.0.2 but tested on several other devices none of which displayed correcty.

Additional Context

BTW:It used to work in the past as far as i remember.

Inconsistent domain contract types

Bug Type

Functional

Reproduction steps

  1. Visit https://tonscan.org/address/EQDyK-8Mgl1rXYnI9BIoi997q8U3N9e_uhoiVe7xWXIdZmXD (contract of pool.ton)
  2. Visit https://tonscan.org/address/EQBX9yonQV8hyDY3j70eaTIydF8mxdL_blnOVJ4xM6es2TkD (contract of broadcaster.ton)
  3. Compare the contract types.

Actual result

Screen Shot 2022-09-16 at 9 31 59 PM

Screen Shot 2022-09-16 at 9 21 16 PM

Expected result

Both contracts should be recognized as .ton domain contracts.

Suggested Severity

High

Device

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 105

Additional Context

No response

Contract information not loading {"statusCode":500,"error":"Internal Server Error","message":"Not enough bytes for magic prefix"}

Bug Type

UX/Functional

Reproduction steps

vokoscreenNG-2022-09-20_11-39-14.webm

Actual result

Contract block not loading

Expected result

The contract block is loading

Suggested Severity

Critical

Device

Desktop (please complete the following information):

  • OS: Ubuntu 22
  • Browser Google Chrome
  • Version 105.0.5195.52

Basically, it's a server error. Most likely will work from any device.
An additional check is needed to see if the server's hard drive may be filled with logs.

Additional Context

No response

Consistently failing to load certain NFT items

Bug Type

UI

Reproduction steps

  1. Visit https://tonscan.org/nft/EQD7Qtnas8qpMvT7-Z634_6G60DGp02owte5NnEjaWq6hb7v

Actual result

The first NFT item always fails to load even if the "Try again" button is clicked or the page is reloaded.

Screen Shot 2022-09-16 at 9 52 25 PM

Expected result

All NFT items should load.

Suggested Severity

High

Device

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 105

Additional Context

The NFT in question seems to be inactive (https://tonscan.org/address/EQDSnCuPTa73vLR91L1pfy32ivel-jCulWFMQp40cARgXtCW). Anyhow, it should not be shown as a persistent error.

The hash from the backend is displayed differently on the frontend in the "History" table

Bug Type

UI

Reproduction steps

Case 1 (with slash):

  1. Open this address https://tonscan.org/address/EQA1nVcPqLmrCBsD7OvuJ4QUCBV9VUWhKiA2VYoNgE2_na-g
  2. Click on a row with underscore character in the hash

Case 2 (with plus):

  1. Open this address
  2. Click on a row with minuses in the hash

Actual result

Case 1.
The hash with underscore, but on the backend without underscore:

bug_tonscan_hash_actual_result

Case 2.
The hash with minus, but on the backend without minus:

bug_tonscan_plus_actual_result

Expected result

Case 1.
The hash must be with a slash, as on the backend (for example, if you reveal detailed information):

bug_tonscan_hash_expected_result

Case 2.
The hash must be with a plus, as on the backend (for example, if you reveal detailed information):

bug_tonscan_plus_expected_result

Suggested Severity

Medium

Device

Desktop:

  • OS: macOS Big Sur (11.6.1)
  • Browser: Chrome
  • Browser version: 105.0.5195.125 (x86_64)

Additional Context

After some investigation, I may be guessing that there is can be different behaviour in getTransactions function
(https://github.com/catchain/tonscan/blob/master/src/js/api.js#L58) and getTransaction function (https://github.com/catchain/tonscan/blob/master/src/js/api.js#L103).

There is a feeling that as if the code in the repository has not been updated. For example, I didn't find any new API methods (for example, getTransactionsByAddress). And so it's harder to guess what could have gone wrong.

tonscan.org suddenly shows garbage instead of timestams

Bug Type

Localization

Reproduction steps

I used tonscan.org for several months and it showed timestamps like 2023-07-23 15:32:48 that can be copied and pasted into spreadsheets. But some time today it stopped showing it. Instead it shows some garbage like Oct 19, 2023, 07:40 PM. That string is much harder to interpret (seconds are missing completely!) and breaks sorting of dates.

The site has no documentation so I can not read what settings are needed in the browser to get proper timestamps from tonscan.org.

Actual result

Oct 19, 2023, 07:40 PM

Expected result

2023-10-19 19:40:??

Suggested Severity

High

Device

Desktop:

  • Microsoft Windows
  • Chrome
  • Version 118.0.5993.88

Also tested on Firefox/Linux but the timestamps never worked there.

Additional Context

No response

Unfair tick closure

Bug Type

Other

Reproduction steps

#49
(Supplemented the ticket with transcripts. To make it clearer)

Actual result

Not affiliated with #41

The ticket indicates bugs in the implementation of these two sections:
Снимок экрана от 2022-09-21 09-42-37

Expected result

Move the ticket to the open state

Suggested Severity

Critical

Device

ALL DEVICES

Additional Context

No response

about .env

Hi
Give,please, some description about .env
What does means sentry and what is lite ? Liteclient?
This repo only for ton? For freeton? Everscale?

According to tonscan, there may be a case when 0 != 0 или 0 ≈ 0

Bug Type

UI

Reproduction steps

Снимок экрана от 2022-09-20 12-15-25

Actual result

0 ≈ 0

Expected result

image

Learn more about regular math with 0. Correct if you can.
It might be more correct
image
(тождество)
image
But I think that in this case it will be enough to put =
or enter your operator for this case

Ideally just leave it at 0
Снимок экрана от 2022-09-20 12-29-51

Suggested Severity

Low

Device

Desktop (please complete the following information):

  • OS: Maths, Ubuntu 22
  • Browser Google Chrome
  • Version 105.0.5195.52

Most likely it will be reproduced on all devices.

Additional Context

No response

Can't search domain name in .ton format

Bug Type

UI

Reproduction steps

  1. Open tonscan.org
  2. Type any domain name in search field in .ton format (for ex: wallet.ton)
  3. Get error

Search working if:
4. Resize browser window or open tonscan.org from mobile browser
5. Enter domain again
6. Get searched domain
7. Resize browser window back
8. Search now working on this domain

Actual result

Get error: Domain misconfigured or does not exist

Screen Shot 2022-09-17 at 3 01 05 AM
Screen Shot 2022-09-17 at 2 59 52 AM

Expected result

Show searched domain name.

Suggested Severity

Medium

Device

Desktop (please complete the following information):

  • OS: macOS High Sierra 10.13.6
  • Browser: Chrome
  • Version: 105.0.5195.102

Additional Context

No response

Amount of jettons sent is not shown

Bug Type

Functional

Reproduction steps

  1. Go to a wallet.
  2. Scroll to 2023-11-15.
  3. Find a transaction where 400.15 TON was sent. It was sent together with an amount of TONNEL jettons of equal value to an exchange to provide liquidity.
  4. Find the amount of TONNEL jettons that was sent.

Actual result

The amount of TONNEL jettons that was sent is not shown in the history, although other transactions from 2024-01-02 show amount of TONNEL jettons received. It seems like only received amounts of jettons are shown, not sent amounts. The jetton wallet does not show it either.

Look at the wallet with tonviewer to see that the amount of TONNEL jettons sent with the 400.15 TON was approximately 2500.63.

Expected result

Tonscan should show the exact amount of TONNEL jettons sent in the transaction (and the amount of LP jettons received).

Suggested Severity

Vulnerability

Device

tonscan.org

Additional Context

No response

This doesn't look like a valid address. Where'd you get that?

Bug Type

Functional/UI/UX

Reproduction steps

vokoscreenNG-2022-09-21_05-13-27.webm

Actual result

An invalid address message appears.

Expected result

I think this is a redundant message. The address EQADXaOqEmIzxvJBN9oQeaNYEA9Q5EBIYxQUYF7uM6InWJCr is valid.
Perhaps there should be a warning about a large number of requests.

Suggested Severity

Low

Device

Desktop (please complete the following information):

  • OS: Ubuntu 22
  • Browser Google Chrome
  • Version 105.0.5195.52

Additional Context

No response

Support reading jetton metadata when stored onchain

Creator of the open source Jetton Deployer here.

We have chosen to store jettons deployed with our tool on-chain.

Quoting from our readme on the issue:

  • Where is this metadata stored? - The Jetton standard supports storing metadata either on-chain or in an off-chain URL (a JSON file hosted somewhere). It is our belief that the best practice is storing metadata on-chain. Why? Let's explore the alternatives:

    • On-chain - On-chain data is immutable, users can be guaranteed that important fields like the symbol will not change without their consent. On-chain data is also guaranteed to always be available. This deployer always stores metadata on-chain.

    • Off-chain IPFS (ipfs:// URL) - IPFS data is immutable so it's safe like on-chain. But IPFS data is not guaranteed to always be available. Availability depends if someone is willing to pin the data (similar to seeding in torrents). If this someone goes out of business or suffers downtime, token metadata will disappear. This is an unnecessary risk in our eyes.

    • Off-chain website (https:// URL) - This is by far the worst option. The owner of the website could change the metadata without user consent (not necessarily on purpose if the website is hacked). The website can also be taken down and the metadata will disappear. Users should never invest money in tokens that have their metadata stored this way.

    What about the Jetton Logo URI, if it's stored on a website, can't it change? Yes, it can change and this is a feature. We believe that logos can go through rebranding without putting users at risk. Satoshi Nakamoto didn't design the current logo of Bitcoin when he wrote the initial code.

Tonscan is already able to read such jettons, but not their metadata:
Example on tonscan
Example on jetton.live

An example code for parsing such metadata can be found here

We believe it would be an important addition to support this.

Add “verified” and “scam” badges for jettons

Bug Type

Other

Reproduction steps

  1. Open the wallet https://tonscan.org/address/EQCnfLo2ieqO7beFc389Y8u4Sn3NityzMqlmu4OJFZJkmCs5#tokens
  2. see scam contracts without warning lable

Actual result

I see 3 contracts and can't understand if they real or fake

Expected result

I want to see lable "valid" or "scam" for official jetton contracts like eth, usdt, mantle and so on

Suggested Severity

Low

Device

Any device.

Additional Context

It should be great if you create group or support bot in telegram to have an opportunity to contact with you.

Incorrect history

Bug Type

UX

Reproduction steps

  1. Open https://tonscan.org/address/UQA959x68-Xw4KuAjW2m_c2zrZAIrwNPa8HeHuo0ARQG7lX6
  2. See that balance is 0, but in history there is a record about transfer 20000 TON. These are worthless tokens, they have no value. Why are they displayed as TON? This confuses users. It would be much better to name them differently, such as JET, or not display them in the history, but move them to a separate tab.

Actual result

20000 Jetton tokens show in history as 20000 TON.

Expected result

The 20000 Jetton tokens are displayed differently, so I understand that these are just tokens and not TON.

Suggested Severity

Medium

Device

Desktop

  • Ubuntu 22.04.4 LTS
  • Firefox 124.0.1

Additional Context

No response

Error getting contract data for inactive addresses

Bug Type

Functional

Reproduction steps

Preconditions:

  • Used wallet address without transactions

Steps:

  1. Open TON Scan website https://tonscan.org/
  2. Copy address TON wallet EQDg9lXcf2MLa5q9PqMb5-aJ_bsx5_CzduuOzkD9jfhDDmie and add to the field 'Enter TON address'
  3. Click on tab 'Contract' on the address page and pay attention on blocks: info, code, data

Actual result

Clicking on the Contract tab displays a preloader that does not change to wallet address information
ton4

Expected result

The Contract tab displays information about the wallet address

Suggested Severity

High

Device

Device
Desktop (please complete the following information):
OS: [Windows]
Browser [chrome]
Version [105.0.5195.127]

Additional Context

I tried to check on other addresses where there is any activity and I see that there is information. Below example on TON Diamond
sample
sample diamond

Improve stability of contract extender API

This API is used for getting info about contracts, such as:

  • jetton and nft metadata on respective pages
  • nft enumeration on collection page
  • contract source info on address page
  • contract info on address page
  • resolving domains

Some NFT images are not displayed in the NFT tab catalog

Bug Type

Functional

Reproduction steps

Preconditions:

  • The users in the catalog has nft from the TON Planets collection

Steps:

  1. Open https://tonscan.org/
  2. Add wallet address to the field 'Enter TON address' and press 'Enter'
  3. Click on tab 'NFTS'
  4. Scroll down till NFT with nft collection text 'Welcome to TON planet'
  5. Pay attention on the screen

Actual result

The user sees an image of their NFT
ton6
ton66
ton656

Expected result

White background displayed instead of image.

Suggested Severity

Low

Device

Device
Desktop (please complete the following information):
OS: [Windows]
Browser [chrome]
Version [105.0.5195.127]

Additional Context

The bug reproduced on three different addresses

If user move to the NFT page, the image will be displayed on NFT page

Improve UX when getting error from API

Bug Type

Functional

Reproduction steps

  1. Type in any wallet address in the search (for example: EQAyydOEBX_MQd-xyrDg9Aoxan7uS5eVS75XXxSoU6sAaH7B)
  2. Click on any other transactions
  3. Click "NFT's" at tabbar
  4. Click "Contract" at tabbar

Actual result

Sometimes on tabbar you got 500 error from api with this response from server:

No working liteservers with ls_index=None, archival=None

And you got freezed skeleton without any modal or snackbar with error.

zapis-ekrana-2022-09-16-v-174843_ZtJx3Q3o.mp4

Expected result

If problem with api from other services then need show for user modal card or snackbar with error

Suggested Severity

High

Device

OS: macOS
Browser chrome
Version 105

Additional Context

Example url with 500 error

https://api.ton.cat/v2/contracts/address/EQCb5wPBb7NoRUe3yds_ip6toFajonLcKKlOaafr4DjIEXat/source

tonscan.org no longer shows domain names in From and To fields after switch from EQ to UQ

Bug Type

Functional

Reproduction steps

Look at any wallet at tonscan.org.

Actual result

Only addresses are shown in the From and To fields.

Expected result

Domain names are shown instead of addresses when they exist.

Suggested Severity

Medium

Device

Linux and Microsoft Windows.

Additional Context

It may be because addresses are shown starting with UQ instead of EQ. Maybe it will be fixed when everyone has somehow reassigned their domain name to the UQ version of the address. But it would be better if it just worked immediately.

Contract tab is not working

Bug Type

Functional

Reproduction steps

Precondition: User should have an available TON wallet address

  1. Go to https://tonscan.org/
  2. Enter your TON address
  3. Click on "Contract"

Actual result

Infinity loading appears after clicking on "Contract". Status 500 appears for "source" GET request

Expected result

"Contract" tab is working

Suggested Severity

Medium

Device

Desktop:

  • OS: macOS Monterey
  • Browser: Brave
  • Version: v1.43.93

Smartphone:

  • Device: iPhone 7
  • OS: iOS 14.2
  • Browser: Brave
  • Version: 1.42

Additional Context

Screenshot 2022-09-21 at 00 10 56

Screenshot 2022-09-21 at 00 16 45

Fail to find .ton NFTs

Bug Type

Functional

Reproduction steps

  1. Visit https://tonscan.org/address/EQBer9OO72xjjbqbVT_8clEBd9eLX90T51f574KiHpCNWVYq
  2. Switch to NFTs.

Actual result

Screen Shot 2022-09-16 at 10 23 28 PM

Expected result

The address EQBer9OO72xjjbqbVT_8clEBd9eLX90T51f574KiHpCNWVYq owns the domains spsp.ton (https://dns.ton.org/#spsp) and trinity.ton (https://dns.ton.org/#trinity). Both should be listed under the NFTs tab.

Suggested Severity

High

Device

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 105

Additional Context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.