Commit Graph

337 Commits

Author SHA1 Message Date
Victor Pontis 900f8a3b2b
explorer: Add information about NFToken NFTs and Collection (#26716)
This adds NFToken support to the Solana Explorer so that users can see NFToken NFTs and Collections and do some basic /exploring/. NFToken Docs: https://nftoken.so

## Feature Overview

[Loom Video](https://www.loom.com/share/362e24aa66ac4db198b3e014a99235cb)

<img width="1175" alt="CleanShot 2022-07-21 at 12 55 08@2x" src="https://user-images.githubusercontent.com/1319079/180270677-f02c0646-107e-4566-85b7-cd6a9f4b9eac.png">
<img width="1177" alt="CleanShot 2022-07-21 at 12 55 00@2x" src="https://user-images.githubusercontent.com/1319079/180270686-d376bcba-3477-47ef-8cb0-972ad3b8d22c.png">

## Code Overview

[Loom Video](https://www.loom.com/share/bdab68e55d73462a9222b105dd2316cb)
2022-08-26 12:49:37 -04:00
Justin Starry ba4a2d2241
Explorer: Add details page for address lookup table accounts (#27133) 2022-08-14 14:50:23 +00:00
Justin Starry 0e4ce87870
Explorer: Display address lookup table instruction type (#27106) 2022-08-12 14:20:33 +00:00
Justin Starry 9348a23dfa
Explorer: Refactor parsed transaction handling (#27050) 2022-08-10 11:04:54 +00:00
Pierre 4308db74e4
Hide vote txs that don't invoke any other programs like the comment says (#26727)
Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
2022-07-23 15:57:32 +02:00
Leopold Schabel 458a872234
explorer: mark verifiable builds as experimental (#26553)
Add "(experimental)" and use a neutral badge instead of a green one.

The current iteration of verifiable builds does not come with
particularly strong guarantees - best to avoid giving users
any false sense of security.

It relies on an unaudited third party service independent of the explorer,
and the nature of Cargo's build process means it is hard to make strong
claims about the resulting artifacts.
2022-07-11 16:02:42 +01:00
Daniel Chew 72dc813ada
add explorer support for pyth batch update price ix (#26240) 2022-06-27 18:08:13 +00:00
Justin Starry 8f51c2d985
explorer: add support for upgrade nonce ix (#26007) 2022-06-16 14:51:45 +00:00
Justin Starry 344c19dbe3
explorer: Add fee column to block history card (#25573) 2022-05-26 02:54:25 +00:00
Josh 105562bb89
feat(explorer): superstruct checking for token-2022 instructions (#25405) 2022-05-23 10:57:14 -06:00
Justin Starry 3b3046ab3d
explorer: Add support for new compute budget ixs (#25446) 2022-05-21 17:24:25 +00:00
steveluscher 7bb867404f fix: correct the fragment URL of inner instruction cards in Explorer 2022-05-02 12:50:00 -07:00
Steven Luscher 2108803b0c
feat: you can now deep link to a particular instruction in Explorer (#24861)
* fix: when creating new cluster URLs, don't carry the fragment forward

* feat: added a utility that computes a transaction's URL fragment

* feat: introduced a React context you can use to scroll to elements

* feat: you can now deep link to a particular transaction in Explorer
2022-05-02 12:21:13 -07:00
Justin Starry f8354bdbcd
explorer: Synchronoize timescale for tps and ping stats (#24865) 2022-04-30 13:37:13 +08:00
Steven Luscher 0769ee4204
fix: repair React types in explorer (#24858)
* chore: upgrade Explorer React typedefs to match installed version of React

* fix: a stream player materializing no longer re-renders the VideoArtContent

* chore: upgrade Sentry React for compatibility with React 18 types
2022-04-29 21:58:34 -07:00
Justin Starry d07604f770
explorer: Don't show successful count if meta missing (#24864) 2022-04-30 12:11:37 +08:00
Justin Starry b8c13eb506
explorer: Fix empty state for filtered transactions (#24863) 2022-04-30 12:11:29 +08:00
Justin Starry 45314a89b0
explorer: Hide compute units if log parsing fails (#24848) 2022-04-30 04:11:59 +08:00
Justin Starry 898b3529ff
explorer: Support filtering block transactions by account (#24787) 2022-04-28 19:01:12 +08:00
Justin Starry aa1d34b09e
explorer: Allow sorting block transactions by compute (#24786) 2022-04-28 10:23:33 +00:00
Justin Starry 1d6df736a3
explorer: Improvements to block transactions list (#24785)
* explorer: Show CPI programs in block transactions list

* explorer: Hide votes from block transactions and display compute col

* explorer: Add greater than sign to compute if tx logs truncated
2022-04-28 18:15:01 +08:00
Justin Starry 34c109d6e9
explorer: Improve displayed transaction instruction logs (#24780) 2022-04-28 08:46:15 +00:00
Justin Starry f71b51f9a7
explorer: Show address for unknown programs in logs (#24770) 2022-04-28 16:25:24 +08:00
Justin Starry 4e2d96fe88
explorer: display slot leaders on block details page (#24727) 2022-04-27 04:57:18 +00:00
Justin Starry 2df1c1cd52
explorer: parse compute budget instructions (#24703) 2022-04-26 17:09:00 +00:00
Justin Starry b046c9a776
explorer: fix pretty printed logs for native programs without logging (#24700)
* explorer: fix pretty printed logs for native programs without logging

* prettier
2022-04-26 16:56:07 +00:00
Thomas Pompon 2ae911ee55
feat(explorer): add attributes tab for metaplex nfts (#24580)
* feat(nfts): add attributes tab

* fix: filter attributes to keep objects matching schema

* chore: rename component and format

* fix: support attribute value if it's a number
2022-04-22 20:06:00 +08:00
Josh 95e5a20713
feat(explorer): show orange for 25-50 percent ping loss (#24530) 2022-04-20 15:35:13 +00:00
Dennis Antela Martinez 5de8061bed
look up domain owner on .sol search (explorer) (#24300)
* lookup domain owner on .sol search

* add detected domain names to search options

* lookup domain owner on .sol search

* add detected domain names to search options

* add loading state and only append domain search results if search state has not changed

* rm url and rename fn

* useRef to check if domain lookup is still valid
2022-04-16 15:28:44 +08:00
Dennis Antela Martinez 8274959c50
limit token options appended to search options object (#24410) 2022-04-16 13:58:50 +08:00
Dennis Antela Martinez 47e1c9107d
Explorer: Fix domain table and bump @bonfida/spl-name-service to 0.1.30 (#24312)
* migrate performReverseLookup from bonfida

* Fix display name fetching

Co-authored-by: Justin Starry <justin@solana.com>
2022-04-15 16:32:10 +08:00
man0s b4b26894cd
Iterate on IDL account/instruction decoding (#24239)
* Switch to more integrated Anchor data decoding

* Revert anchor account data tab and better error handling
2022-04-13 15:38:59 -04:00
Justin Starry b6903dab6e
Explorer: Fix verified collection row rendering (#24269) 2022-04-12 08:22:42 +00:00
Noah Gundotra 559ee5a843
Explorer: Add Anchor Decoding to Programs/Accounts/Transactions (#23972)
* Add program idl to the Program page
* Add instruction decoding to the Tx page
* Add account decoding to the Account page
2022-04-06 10:22:49 -07:00
Nico Gründel 4c058b48b6
Explorer: remove link from discord security contact (#24097) 2022-04-04 18:12:53 +08:00
Felipe Custodio 9abebc2d64
feat: parse and display Security.txt in explorer (#23995)
* feat: parse and display Security.txt

* implement review suggestions

* rename Encryption to Secure Contact Encryption

* Update explorer/src/components/account/UpgradeableLoaderAccountSection.tsx

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>

* address re-review

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2022-03-31 17:23:32 +08:00
steveluscher 5e08701189 feat: the search bar now auto-focuses when you first visit the site 2022-03-26 00:05:15 -07:00
Josh 9dbb950a25
feat(explorer): show ping server metrics unavailable (#23914)
* feat: show ping server metrics unavailable

* fix: formatting
2022-03-24 13:54:51 -06:00
Josh 100fd03f3e
feat(explorer): solana ping set minBarHeight (#23894) 2022-03-23 20:35:59 +00:00
microwavedcola1 1b7b261460
feat(explorer): render program name, ix name, and account names from on chain idl for specific anchor programs (#23499)
* show titles of ix, from idl

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* remove unused

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* remaining accounts

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fallback

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fix from code review: remove default for the non fallback case

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* keep camelcase

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* formatting

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-03-23 12:14:26 -07:00
Josh 911aa5bad3
fix(explorer): can't convert too large of stake to number (#23876) 2022-03-23 09:34:43 -07:00
Josh 5541a5873b
fix(explorer): serum init open orders has optional openOrdersMarketAuthority (#23875) 2022-03-23 09:32:24 -07:00
Josh 6b76391ed2
fix(explorer): add sync native to token program decode (#23874) 2022-03-23 09:31:58 -07:00
Justin Starry 4f18d73281
Explorer: Add support for cluster specific program ids (#23609) 2022-03-11 23:22:31 +08:00
Richard Patel 3d021cffa3
explorer: add Pyth instruction support (#23551) 2022-03-11 21:59:16 +08:00
SolanaMonkeyBusiness fb974489a5
fix(explorer): metaplexNFTHeader for unverified collection (#23498)
Current behavior: 
When the NFT is in an unverified collection, the metaplex NFT header displays a 0.
Example : https://explorer.solana.com/address/ARA6zvFJZAydh6mdAgc7A6pMpZotCQj6eYugUMpEWKYh

Expected behavior:
The metaplex NFT header should display nothing
2022-03-09 13:44:12 -08:00
Richard Patel 949006b5a2
explorer: format Instructions title as singular/plural (#23553) 2022-03-09 20:53:29 +08:00
Will Roeder ba771cdc45
feat(explorer): adding verified on-chain collection support (#23490)
* Adding Verified On-chain Collection tag to help consumers check if their NFTs are authentic

* On-chain isn't quite the same as NO-chain

* Grammar fix

* Added Collection Owner verification to guarantee this is actually a Collection Mint
2022-03-04 18:35:35 -08:00
Josh 43347f3da6
fix(explorer): change title to average ping time (#23463) 2022-03-03 03:28:23 +00:00
Josh d43786edcf
fix(explorer): remove purple from ping (#23445) 2022-03-02 16:57:41 +00:00