Commit Graph

170 Commits

Author SHA1 Message Date
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 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 f627b7d826
Explorer: Disable cluster url replacement on localhost (#28385) 2022-10-14 01:38:39 +00:00
Justin Starry bcbf4c7fb3
Explorer: Support displaying closed program accounts (#28336) 2022-10-11 03:11: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
Justin Starry 40d881d3d0
Explorer: Bump @solana/web3.js to v1.62.0 (#27769)
* Explorer: Bump @solana/web3.js to v1.62.0

* Don't fetch unsupported transaction versions
2022-09-15 18:54:18 +00:00
Justin Starry db0bff0668
explorer: Don't show token holdings for accounts with too many tokens (#27604) 2022-09-06 14:16:39 +00:00
Justin Starry 9348a23dfa
Explorer: Refactor parsed transaction handling (#27050) 2022-08-10 11:04:54 +00:00
steveluscher c502fc72f6 fix: use `maxSupportedTransactionVersion` param when getting raw transactions in Explorer 2022-07-22 08:34:14 +00:00
Steven Luscher 2acb6c37a5
fix: teach the Explorer how to ask for transaction version zero (#26729)
* fix: teach the Explorer how to ask for transaction version zero
* chore: upgrade web3.js
2022-07-21 21:38:24 -07:00
Michael Hess e5feb1fb45
Explorer: Support Fungible Asset token standard (#24630)
* feat: Support Fungible Asset token standard

* fix formatting
2022-05-05 23:33:56 +08: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 4e2d96fe88
explorer: display slot leaders on block details page (#24727) 2022-04-27 04:57:18 +00:00
yung soosh 865a8307e2
Enable the explorer to render content from data URIs (#24235)
* Enable explorer to render images from data URIs

* Add regex to check for image mime type
2022-04-12 08:17:26 +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
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 7943e8a1c3
fix(explorer): retry should trigger loading state (#23417)
* fix(explorer): retry should trigger loading state

* fix(explorer): Solana ping add refreshing state
2022-03-01 11:41:11 -08: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
joeaba 92e43df266
restore explorer's rpc endpoint 2022-01-22 16:18:41 -05:00
joeaba dec21524e1
replace mainnet-beta endpoint 2022-01-22 16:10:23 -05:00
joeaba b0486f0aaa
reverse rpc-endpoint changes 2022-01-22 15:55:31 -05:00
joeaba ba5faa2582
update explorer's mainnet-beta endpoint 2022-01-22 15:38:14 -05:00
Justin Starry 3f88994e0f
explorer: Fix setting custom RPC URL (#22187) 2021-12-30 19:50:08 +08:00
Ryan ca716c400a
Explorer Metaplex NFTs: Adding External URL Button (#21095)
* Metaplex NFTs: Added external URL button to explorer

- moved fetching MetadataJSON from URI to MetaplexNFTHeader
- checked if external_url exists in MetadataJSON
- rendered a button to link to the external url if it exists

* cleanup unused import

* fixed code formatting

* Changed NFT website button to overview section field and Moved NFT URI fetch logic to accounts provider.

* removed unused CSS

* Update TokenAccountSection.tsx

* fixed formatting and 1 other error
2021-11-29 00:22:27 +00:00
dependabot[bot] cd7331c6be
chore:(deps): bump @metaplex/js from 2.0.1 to 4.4.1 in /explorer (#21457)
* chore:(deps): bump @metaplex/js from 2.0.1 to 4.4.1 in /explorer

Bumps [@metaplex/js](https://github.com/metaplex/js) from 2.0.1 to 4.4.1.
- [Release notes](https://github.com/metaplex/js/releases)
- [Changelog](https://github.com/metaplex/js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/metaplex/js/compare/v2.0.1...v4.4.1)

---
updated-dependencies:
- dependency-name: "@metaplex/js"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* breaking changes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-11-28 21:39:33 +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
Josh bea61e9543
feat: switch token list to Solana strategy (#21292) 2021-11-16 01:54:31 +00: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
Josh 59a1d46c38
fix(explorer): do not display NFTs without an edition (#21120) 2021-11-01 22:03:19 +00:00
Justin Starry 78d99b89c0
explorer: fix epoch page failure state (#21068) 2021-10-29 16:01:49 +01:00
Josh 89caf65966
fix(explorer): fix error on mint pages related to NFTs (#20922) 2021-10-23 13:50:26 -07:00
Justin Starry 4188554e77
explorer: Speed up cluster stats loading (#20916) 2021-10-23 15:51:10 +00:00
Will Roeder 05569caade
[Explorer] Change to consume @metaplex/js (#20637)
* Removed duplicated Metaplex logic/schemas and instead consume @metaplex/js

* Bumped @metaplex/js version to 1.2.0

Co-authored-by: Will Roeder <roederw@wills-mbp.lan>
2021-10-17 02:14:50 +00: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
Justin Starry 58f8713292
explorer: Display confirmed block's child slot (#20322) 2021-09-29 19:50:27 +00: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
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
Josh d9970c0a7d
fix: only bind cluster stats on working connections (#18763) 2021-07-19 17:59:47 +00:00
Josh d2b07dca9d
fix: regression in rewards provider where lowestFetched is off by one (#18392) 2021-07-02 19:06:40 +00:00
Josh 483a1477f3
Explorer: display message when block rewards not found for interval (#17943)
* fix: disable block not found error message and give feedback for rewards not found

* feat: add lowest available epochs for rewards

* feat: make sure current epoch is not fetched
2021-06-23 13:49:52 -07:00
Justin Starry 1c88189a1c
explorer: Add transaction inspector (#17769)
* Add SolBalance component helper

* Add transaction inspector

* Feedback
2021-06-21 18:53:06 -05:00
dependabot[bot] e440d00ba0
chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer (#17785)
* chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* fix formatting

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-06-11 16:52:27 -07:00
Justin Starry 179856c13a
explorer: Display correct list of block programs (#17489) 2021-05-26 08:21:07 -07:00
Josh 752cd7d15e
feat: use specialized explorer endpoints (#17516) 2021-05-26 07:09:35 -07:00
dependabot[bot] 744f4dd834
chore:(deps): bump prettier from 2.2.1 to 2.3.0 in /explorer (#17454)
* chore:(deps): bump prettier from 2.2.1 to 2.3.0 in /explorer

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

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

* format

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-05-24 21:24:11 -07:00
Josh 741f99ebb6
Explorer: introduce rewards tab for stake/vote accounts (#16851)
* feat: introduce staking rewards tab

* feat: take into consideration stake activation

* fix: report fetch errors

* fix: find rewards all the way to epoch 0

* fix: find rewards all the way to epoch 0

* fix: autocomplete error

* fix: load one page at a time
2021-05-20 14:00:48 -07:00