temptemp3 / arc-200

ERC20 like token on AVM (Algorand + Voi)

Home Page:https://arc200.algodrop.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bounty: add explorer links

temptemp3 opened this issue · comments

As a user of ARC200 app, I would like to navigate to Voi Observer (block explorer) by clicking address in token address page and token id in token page.

Additional info

Screenshot 2023-11-19 at 12 57 11

Add explorer account links to https://voi.observer/explorer/account/ACP4CXBXEVEYH6LKZRFWF2HG3FEESIWJWTYBSTQELR7K46G3IHYFAPFX3E/transactions

Screenshot 2023-11-19 at 12 56 12

Add explorer token app link to
https://voi.observer/explorer/application/6779767/transactions

Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

I'm interested in giving it a shot. Can you assign this enhancement to me?

@AryanPandeyy have at it ; ) Let me know if you have any questions!

I was able to setup and run the app on local environment.
So you want user to be redirected after clicking on token address?
For example if my token address is :T27KCOINEI3VVZBDKNRE46BLN7QWLLL7CBXPNCJFTL56HPPHFBPMVDEI6I
so they should be redirected to "https://voi.observer/explorer/account/T27KCOINEI3VVZBDKNRE46BLN7QWLLL7CBXPNCJFTL56HPPHFBPMVDEI6I/transactions"
Please correct me if i'm wrong.

Not all addresses and token ids will be external links. Only the ones underlined in the image should be external. The rest are internal. I recommend making a utility function that will switch the external link based on explorer. Note, node options include:

  • voi testnet (use Voi Observer for now)
  • algorand testnet
  • algorand mainnet

Link to block explorer from app id no longer needed