Commit Graph

40 Commits

Author SHA1 Message Date
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 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
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
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
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
Josh 89caf65966
fix(explorer): fix error on mint pages related to NFTs (#20922) 2021-10-23 13:50:26 -07: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 1c88189a1c
explorer: Add transaction inspector (#17769)
* Add SolBalance component helper

* Add transaction inspector

* Feedback
2021-06-21 18:53:06 -05: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
Tyera Eulberg 2420b280a9
Update deprecated commitments (#16794) 2021-04-23 18:32:28 -06:00
Justin Starry c4f98f9c73
explorer: Add details pages for upgradeable loader accounts (#15836) 2021-03-14 01:11:59 +08:00
Justin Starry 186b342453
explorer: Update superstruct (#15835) 2021-03-13 13:31:52 +08:00
Justin Starry aaa44355b1
explorer: Display upgradeable program details (#15348) 2021-02-16 18:30:02 +08:00
Josh 0da11af827
explorer: Introduce flagged accounts provider (#15161) 2021-02-08 12:54:36 -08:00
Justin Starry ffeadd4e29
Explorer: don't throw error for strange token instructions (#13268) 2020-10-29 13:17:35 +08:00
Justin Starry 61c2970141
Explorer: remove wasm stake parsing (#13266) 2020-10-29 11:37:55 +08:00
Justin Starry 02bf9ca834
Refresh mint distribution when account info refreshes (#13064) 2020-10-21 18:47:02 +08:00
Josh 86ca85d72b
explorer: Add support for all parsed accounts (#11842)
* introduce vote and nonce validators

* introduce config, nonce, sysvar, vote validators / types

* change ConfigProgram to ConfigProgramData

* introduce vote account section and nonce account section, clean up superstructs

* nonce section

* round out vote account and nonce account

* refactor account components, add votes tab

* update program data name to program

* introduce slot hashes, stake history

* introduce blockhashes card and config account

* run fix format

* remove comment

* introduce config section and typings

* refactor tabs if blocks

* change superstructs to pick in some cases

* remove account owners, rename vote history, some nit fixes

* general cleanup and improvements

* add recency column

* add balance row to parsed accounts

* union account types under sysvar and config for improved typing. modify row headers for consistency.

* remove random spaces

* use proper type checking and clean up a cast
2020-10-10 01:03:45 -07:00
Bartosz Lipinski ef60d0f5ba
explorer/: Deactivated stake accounts report as delegated (#12262)
* feat: add getStakeActivation to web3.js

* feat: add activation status to delegation card

* style: pretty

* feat: add epoch to getStakeActivation call

* feat: add unit test for getStakeActivation in web3.js

* feat: add test for getStakeActivation in web3.js

* feat: add getStakeActivation

* chore: add rollup watch

* feat: use string literal for stake activation state

* fix: dont display empty () for not delegated accounts

* fix: remove optional chaining due to issue with esdoc

* chore: remove optional_chaining

* feat: add live test for getStakeActivation

* feat: add active/inactive stake to account page

* feat: extend _buildArgs to support additional options, simplify unit test

* chore: update @solana/web3.js tp 0.76.0

* style: resolve linter issues

Co-authored-by: Justin Starry <justin@solana.com>
2020-09-22 13:41:39 +08:00
Justin Starry 19f412b85c
Disable sentry in development and catch reporting errors (#12321) 2020-09-18 10:47:58 +08:00
Josh 53a900a28c
explorer: 11938 display owner in token distribution table (#11953)
* include owner on largest token distribution tab

* run format:fix
2020-09-01 09:21:47 -07:00
Justin Starry 8932e4821d
Filter explorer error reports when using custom cluster (#11911) 2020-08-30 22:19:39 +08:00
Justin Starry 0b47cd1c67
Add token2 support to explorer (#11905) 2020-08-29 20:50:45 +08:00
Justin Starry 4773e13ef7
Explorer: add error reporting (#11627) 2020-08-14 17:54:21 +08:00
Justin Starry a992bb5f94
Use common provider for explorer cached data (#11582) 2020-08-12 22:41:04 +08:00
Justin Starry 921529426d
Show token transaction history in explorer (#11473) 2020-08-09 00:29:42 +08:00
Justin Starry fb822688b7
Display detailed token account info on explorer (#11472) 2020-08-08 23:02:01 +08:00
Justin Starry c544116cf2
Add support for parsed stake accounts (#11469) 2020-08-08 21:06:24 +08:00
Justin Starry 102d15f081
Fix data fetching races in explorer (#11468) 2020-08-08 20:47:07 +08:00
Justin Starry 67fdf593a2
Split explorer account details page into tabs (#11450) 2020-08-08 00:38:20 +08:00
Justin Starry 4052008c42
Display owned tokens on account details page (#11335) 2020-08-02 21:55:36 +08:00
Justin Starry b6ea9f1861
Clean up explorer data providers (#11334) 2020-08-02 20:18:28 +08:00
Justin Starry ad75f08c43 chore: run latest prettier 2020-06-24 16:14:08 +08:00
Justin Starry 2312658492 Account history feed 2020-06-12 16:32:05 -07:00