Commit Graph

117 Commits

Author SHA1 Message Date
Noah Gundotra 119b7332f0
explorer: Only show supply page for custom urls (#29273)
only show supply page for custom urls
2022-12-14 23:01:28 -05:00
Noah Gundotra 5d6f94ef42
Explorer: add alert notice to Project Serum deployments (#28913)
* explorer: add scam notice to serum deployments

* explorer: prettier fix

* explorer: generalize account-incident alerting

* explorer: format:fix

* explorer: remove github registry link

* explorer: remove unused fetch

* Change flagged accounts from context to flat record
2022-12-14 13:27:47 -05:00
Justin Starry d884f08723
Explorer: Show simulation error if no logs are returned (#28416) 2022-10-16 14:13:44 +00:00
Justin Starry d42e5725fe
Explorer: Batch account fetching (#28415)
* Bump @solana/web3.js to 1.66.0

* Explorer: Add batched account fetcher to reduce RPC rate limiting
2022-10-16 21:18:49 +08:00
Justin Starry c38bca9932
Explorer: Refactor account provider data types (#28390) 2022-10-14 06:41:32 +00:00
Justin Starry 2562e1b296
Explorer: Fix transaction inspector simulation (#28375) 2022-10-13 12:32:17 +00:00
Justin Starry f3fda4652b
Explorer: Support parsed address lookup table responses (#28137) 2022-09-29 13:08:01 +00:00
Justin Starry 874fbcb9d4
Explorer: Split out `SolBalance` component from utils (#28072)
Explorer: Split out SolBalance component from utils
2022-09-26 09:25:15 +00:00
Justin Starry b93392cfca
Explorer: Support displaying and inspecting versioned transactions (#27825)
* Explorer: Bump @solana/web3.js to v1.63.1

* Explorer: Support displaying and inspecting versioned transactions
2022-09-24 07:10:14 +00:00
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 9348a23dfa
Explorer: Refactor parsed transaction handling (#27050) 2022-08-10 11:04:54 +00:00
Pierre 8015aedfdd
explorer falls back to token list when uri is blank and tokenDetails exists (#26800)
explorer fallback to token list when uri is blank and tokenDetails exists

Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
2022-07-26 20:28:05 -07:00
Jacob Creech 9e791ec9b7
fix: match wallet + dapp ordering with ft metadata on Explorer (#26751)
fix: match wallet + dapp ordering with ft metadata

Previously if token metadata existed from the legacy token-list, that trumped any other metadata displayed. This created a problem where tokens that inserted data in token-list could not longer update their token metadata even if they still owned the mint authority. Wallets such as Solflare and Phantom also take on-chain metadata first over legacy token-list metadata, so it is good to match them.
2022-07-25 14:47:50 -07:00
Justin Starry 8ef33a53a5
explorer: Add account bytes to tx inspector (#26200) 2022-06-24 10:40:30 +00:00
Arrowana 11e6e4118b fix to show loading while tx details are being fetched 2022-06-12 16:20:08 -07:00
Justin Starry 5948b6c741
explorer: Display error details on tx page (#25186) 2022-05-13 07:55:38 +00: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
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 f71b51f9a7
explorer: Show address for unknown programs in logs (#24770) 2022-04-28 16:25:24 +08:00
Jacob Creech b080352436
fix: Update custom metadata token disclaimer (#24750)
* fix: Update custom metadata token disclaimer

There have been quite a few reports of people creating tokens and then being confused by the disclaimer on their own token. Added some additional information + a CTA to verify based on feedback

* fix: update token metadata disclaimer to warning
2022-04-28 00:37:38 +08:00
Yihau Chen 9f34968a7f
explorer: replace Block with Slot (#24725) 2022-04-27 11:47:37 +08: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
Stella Wang 4793c2c48e
fix: adds grab mint metadata for ft's (#24496)
* fix: adds grab mint metadata for ft's

* fix: adds unverified tag to tokens from meta

* fix: adds unverified banner
2022-04-22 15:55:46 +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
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
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
Josh 3ddd018452
feat(explorer): reenable solana ping widget (#23443) 2022-03-02 16:11:35 +00:00
Josh d0ba914d2b
fix(explorer): rollback ping until api is more stable (#23419) 2022-03-01 19:57:23 +00:00
Josh f6a06826d8
feat(explorer): add Solana Ping to cluster stats page (#23239)
* feat: add Solana Ping to explorer

* fix: remove br tags in label
2022-03-01 10:50:48 -08:00
Daniel Kilimnik d6927365ed
explorer: show only AccountHeader for tokens (#23063) 2022-02-14 21:53:13 +08:00
Radu Pașparugă 88bf3c7063
Add timestamp zone toggle to Explorer (#22616)
* Add timestamp zone toggle to Explorer

* style: code formatting
2022-01-22 12:41:41 +08:00
Justin Starry 08e64c88ed
explorer: fix missing logs error for old transactions (#22350) 2022-01-07 00:48:20 +00:00
Justin Starry ffb5518cbe
explorer: Update bootstrap and dashkit (#21458)
* Update dashkit style assets

* Update bootstrap to v5

* Fixes for new dashkit and bootstrap

* Fix deprecation warnings in dashkit

* Bump bootstrap to v5.1
2021-11-28 14:49:22 -06:00
Justin Starry 7aad6fa6a6
explorer: Prettify program logs for transactions page (#21453) 2021-11-27 19:11:58 -06:00
Will Roeder b8ac6c1889
Added a supply check to confirm a SPL Token is actually a Metaplex NFT (#21145)
Co-authored-by: Will Roeder <roederw@titan.lan>
2021-11-03 19:52:04 +00:00
Will Roeder 9ff561134d
[Explorer] Reverted a change to require that Metaplex NFTs have a `MasterEdition` and added a decimal check (#21132)
* Fixed an issue where NFTs without an Editon were not shown as NFTs

* Added a central isMetaplexNFT helper and added the correct logic to TokenAccountSection

Co-authored-by: Will Roeder <roederw@titan.lan>
2021-11-02 04:30:26 +00:00
Justin Starry 78d99b89c0
explorer: fix epoch page failure state (#21068) 2021-10-29 16:01:49 +01:00
DR497 fb36f0085b
explorer: add domain names to account details (#20911) 2021-10-25 19:14:24 -07:00
Will Roeder a03aba15b0
Added a Metadata tab to display Metaplex Metadata (#20525)
* Added a Metadata tab to display Metaplex Metadata for Metaplex NFTs

* Added a new tabs key for metaplexNFTs

* Forgot to run Prettier like a n00b
2021-10-08 16:17:32 -04:00
Will Roeder 7783030437
Adding NFT support to the Explorer (#20009)
* Adding NFT support to the explorer / copying over required Metaplex logic

* Fixing a whitespace issue causing validation to fail

* Removed MetadataProvider and instead metadata is being stamped on TokenProgramData

* Fixing EOF new line sanity check issue

* Added styling improvements to the Creator dropdown and NFT asset

* Forgot to run Prettier

* Creator address links were only redirecting to Mainnet. This redirects to the appropriate cluster

* Removed dependencies not required for Explorer based use. Fixed package-lock.json because of a legacy npm version

* Removed react-content-loader and popperjs

* Removed MeshArt. Nobody likes VR anyways

* Capped HTML animation asset width to 150px

* Added an Editon check to properly identify NFTs

* Refactoring away for un-necessary helpers

* Dropped antd and added an image loading placeholder

* Added a HTML animation flickering fix

* Removed arweave check for valid uri properties

* Resolving some nit comments and cleaning up

* Adding Tooltips to better explain the content in the NFT Header

* Started consuming MasterEdition data which is being used to display Seller Fee and Max Supply information in the Token Account Section

* Fixing a bug where Edition NFTs weren't properly supported

* Added better Edition support and labeling when there isn't Master Edition information added to metaplex metadata

* Fixed Max Supply issue where 0 should be displayed as 1

* Updated tooltips to be shorter and more user friendly

* Separting NFTHeader from AccountDetailsPage, adding a new TokenSection for NFTs and adding some cleanup
2021-10-05 14:30:05 -04:00
Justin Starry 5952b65932
explorer: Add epoch details page (#20335) 2021-09-29 23:08:19 -04:00
Josh 5c35ab619d
feat(explorer): load and display transaction details when commitment is confirmed (#20053)
* feat(explorer): load and display transaction details when commitment is confirmed

* feat: rename DetailsCard to DetailsSection

* fix: prevent details from showing when transaction unavailable
2021-09-29 19:23:40 +00:00
Justin Starry ab152f1319
explorer: Pretty print instruction data hex strings (#19813) 2021-09-12 16:02:11 -05:00
Justin Starry f8870ff1e3
explorer: Display writable badge instead of readonly badge (#19808) 2021-09-12 07:46:08 +00:00
dependabot[bot] bbc4fdb767
chore:(deps): bump typescript from 4.3.5 to 4.4.2 in /explorer (#19463)
* chore:(deps): bump typescript from 4.3.5 to 4.4.2 in /explorer

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix error type

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-09-03 18:05:13 +00:00
Sebastian Bor 2f3df8cce0
Explorer: Show simulation error for Upgrade instruction with none existing buffer (#18838) 2021-07-22 16:28:04 +01:00
Sebastian Bor b867fa154e
Explorer: Initialise instruction logs for single line system log (#18777) 2021-07-21 17:52:57 +01:00
Josh 8549c19f1a
Explorer: introduce Coingecko price cards on mint pages (#18653)
* feat: add coingecko prices, market caps, volume to token account

* feat: add updated time to price widget

* feat: add loading state to coingecko and break front page price data into widgets

* fix: prevent flicker on refresh
2021-07-20 09:43:17 -07:00