Commit Graph

464 Commits

Author SHA1 Message Date
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
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
microwavedcola1 f00016b647
add support for time in force order type (#23255)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-02-22 21:12:02 +08:00
Justin Starry 1351c1bbcf
Explorer: Add ed25519 sigverify precompile to search results (#23228) 2022-02-18 07:18:01 +00:00
Daniel Kilimnik d6927365ed
explorer: show only AccountHeader for tokens (#23063) 2022-02-14 21:53:13 +08:00
man0s f67a27eeea
Add missing deployment slot check for verifiable build badge (#23032) 2022-02-09 18:40:56 +08:00
man0s 86c3990c25
Add verified/unverified badge to Program Account view (#22825)
* Add verified/unverified badge to Program Account view

* Generalize to any number of build verification providers
2022-02-06 18:11:12 +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 477cb539d0
Explorer: Sort block program ids in filter dropdown (#22674) 2022-01-22 05:09:58 +00: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
man0s c17e54e3f6
Add download bytecode button to explorer (#22459) 2022-01-16 12:46:02 +00:00
Justin Starry 08e64c88ed
explorer: fix missing logs error for old transactions (#22350) 2022-01-07 00:48:20 +00:00
Justin Starry 3f88994e0f
explorer: Fix setting custom RPC URL (#22187) 2021-12-30 19:50:08 +08:00
microwavedcola1 94aa9e568a
Mango instruction decoding: use generic helper from mango-client (which is often auto updated by dependabot) instead of relying on a manual instruction lookup table (#21985)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-12-17 19:46:34 +00:00
tjshipe e130b2cffc
Add reduce only to mango instruction parsing (#21583)
* add reduce only to mango instruction parsing

* yarn format
2021-12-04 00:21:42 +00:00
Ryan a0d490d98e
Add Metaplex metadata to token addresses (#21532) 2021-11-30 23:44:15 -05:00
Justin Starry d637371882
explorer: fix modal backdrop z-index (#21499) 2021-11-29 22:52:12 +00: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
Justin Starry 04551183a5
explorer: add support for more serum instructions (#21451) 2021-11-28 13:42:01 +00:00
Justin Starry 7aad6fa6a6
explorer: Prettify program logs for transactions page (#21453) 2021-11-27 19:11:58 -06:00
dependabot[bot] 02c07d0c93
chore:(deps): bump @blockworks-foundation/mango-client from 3.1.1 to 3.2.7 in /explorer (#21384)
* chore:(deps): bump @blockworks-foundation/mango-client in /explorer

Bumps [@blockworks-foundation/mango-client](https://github.com/blockworks-foundation/mango-client-v3) from 3.1.1 to 3.2.7.
- [Release notes](https://github.com/blockworks-foundation/mango-client-v3/releases)
- [Commits](https://github.com/blockworks-foundation/mango-client-v3/commits)

---
updated-dependencies:
- dependency-name: "@blockworks-foundation/mango-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* fix compile errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
2021-11-25 08:41:10 -06:00
Justin Starry 72d7e426a6
explorer: fix stake account activating state (#21294) 2021-11-16 10:08:22 +01:00
Josh bea61e9543
feat: switch token list to Solana strategy (#21292) 2021-11-16 01:54:31 +00:00
Justin Starry f707dac358
explorer: hide rank when it is null (#21277) 2021-11-15 14:17:57 +01:00
Justin Starry 47e6848fbf
explorer: Display more decimals for small token prices (#21276) 2021-11-15 12:45:49 +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
DR497 fb36f0085b
explorer: add domain names to account details (#20911) 2021-10-25 19:14:24 -07: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 2c60c48eb2
Added Prettier fixes for NFTArt (#20752)
Co-authored-by: Will Roeder <roederw@wills-mbp.lan>
2021-10-17 15:33:05 -04:00
Will Roeder 5a02a92013
Added a View Original link for NFT assets (#20709)
Co-authored-by: Will Roeder <roederw@wills-mbp.lan>
2021-10-17 03:09:09 +00:00
Will Roeder d363ec98a9
Added better layout suppport in MetaplexNFTHeader for mobile devices (#20705) 2021-10-17 02:19:08 +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 149d224557
Fixed video NFT asset dimensions and vertically centered ALL NFT art (#20666) 2021-10-13 19:10:15 +00:00
Will Roeder e6776effb9
explorer: Added an Error Image Placeholder and resolved a fetching issue for NFT assets (#20608)
* Fixed an issue where NFT assets were continually fetched if we failed to get the asset from a fetch.
Cleaned up/removed un-used NFT asset code.
Added an error image when we failed to fetch the asset.

* Corrected some fetching logic and added a error placeholder timeout since onError/onLoad are never fired for <img /> if the src is undefined
2021-10-12 16:19:59 -07:00
Larry Jarry f3f28f9611
Add Quarry Redeemer and Quarry Merge Mine to known addresses (#20565) 2021-10-10 17:17:19 -04: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
Jon Cinque 7149c2da0d
explorer: Update stake pool program id (#20474) 2021-10-06 11:12:36 -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
Larry Jarry 41c160d582
Adds Quarry Protocol programs to the Solana Explorer (#19936)
* Adds Quarry Protocol programs to the Solana Explorer

* Formatting
2021-10-01 13:21:06 +00: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
Justin Starry 32ece63338
explorer: Display block timestamp (#20309) 2021-09-29 15:15:45 +00:00
Justin Starry f58501b4b9
explorer: Make account owner program label clearer (#20214) 2021-09-25 16:30:09 +00:00
Justin Starry f8827e2f08
Update serum program labels (#20155) 2021-09-24 04:48:41 +00:00
underscorepeter 5402a77c63
Update Step swap program name (#20112)
* Update Step swap program name

* Fix lint error
2021-09-23 19:34:01 -04:00
Ryan M. Shea 8dbed193c2
Add new logos to README files and docs (#20049)
* Add new logos to README files and docs

* Add explorer logos
2021-09-21 13:35:36 -06:00
Ruud van Asseldonk fb0c590090
Add Lido for Solana program address label to explorer (#19870) 2021-09-15 09:52:20 -05:00
Justin Starry 4cc17ec6a7
explorer: Fix wrapping for pretty hex data (#19835) 2021-09-13 17:07:13 -05:00
Justin Starry af005d79ad
explorer: Display invoked programs in block transaction list (#19815) 2021-09-12 19:05:46 -05:00
Justin Starry ab152f1319
explorer: Pretty print instruction data hex strings (#19813) 2021-09-12 16:02:11 -05:00
Siong d2731a2d93
add Mercurial to Solana Explorer. (#19812)
* add Mercurial to Solana Explorer.

* format fix.

* alphabetize the program.
2021-09-12 14:47:16 +00:00
Michael Huang c8b285bce0
fix mislabeled SUNNY program on explorer (#19809)
* fix mislabeled SUNNY program on explorer

* Fix type error

* prettier
2021-09-12 13:10:12 +00:00
Justin Starry f8870ff1e3
explorer: Display writable badge instead of readonly badge (#19808) 2021-09-12 07:46:08 +00:00
tmoc 4afd6dddc8
Adding Orca program IDs (#19731) 2021-09-08 23:41:53 +00:00
Justin Starry 37fe5139cc
Add more program labels to explorer (#19630) 2021-09-06 22:00:13 +00:00
microwavedcola1 46db029a00
Bump mango client used by explorer, previous version was breaking explorer builds (#19668)
* Bump mango client used by explorer, previous version was breaking explorer builds

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

* run prettier

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-09-06 14:41:18 -07:00
microwavedcola1 f7a5c0301a
Mango v3 integration (#19437)
* mango v3 integration

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

* more instructions InitMangoAccount, Deposit, Withdraw, InitSpotOpenOrders, ConsumeEvents

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

* add support for addPerpMarket

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

* code review

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

* make group config handling generic

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

* code review

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

* fix issue where rpc calls would be done infinitely - basically react useeffect (when to change) was not narrow enough + added some caching

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-09-04 00:01:29 +02: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 2c648cc6b6
fix: support uninitialized upgradeable program account in AccountSection (#19268) 2021-08-17 12:07:10 -07:00
Josh 5fde4ee3ae
fix: price can be unexpectedly missing even under Coingecko success result (#19209) 2021-08-12 18:12:07 +00:00
Justin Starry f5ce2c2d63
Add incinerator to explorer search results (#19125) 2021-08-09 16:10:42 +00:00
Josh 93c20d0a47
feat: show transaction errors in log (#18843) 2021-07-26 13:54:50 -07: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
Sebastian Bor 2bc7edfd01
Explorer: Include loader ids in program labels (#18778) 2021-07-21 11:23:47 +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
Josh d9970c0a7d
fix: only bind cluster stats on working connections (#18763) 2021-07-19 17:59:47 +00:00
Josh 74b29c0b6f
feat: localize token supply number (#18654) 2021-07-14 04:09:44 +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 f871afd548
fix: prevent negative count up period on tps card (#18344) 2021-07-01 00:47:54 +00:00
Josh 50deba1f10
feat: additional serum instructions (#18209) 2021-06-24 22:12:47 +00:00
Justin Starry 522062350b
explorer: retain inspector signatures and show simulation error (#18178) 2021-06-23 16:00:49 -05: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 67795f5baa
explorer: increase color contrast (#18124) 2021-06-22 00:33:55 +00: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
Josh 8a574baae2
Explorer: add token market prices from Coingecko (#17289)
* feat: add coingecko prices to tokens with associated coingeckoId

* feat: useCoingecko util
2021-05-17 12:43:18 -07:00
Justin Starry 0a6fa1999a
explorer: Fix bonfida dependency (#17120)
* explorer: Fix bonfida dependency

* fix import
2021-05-08 15:09:14 +08:00
Josh 769136f586
feat: associated token program card (#17043) 2021-05-05 11:49:05 -07:00
Josh 1594a7f11a
fix: change unlisted to unknown for unknown token accounts (#16981) 2021-04-30 15:21:47 -05:00
DR497 0ef5a9b1d7
explorer: add Bonfida Bots instructions (#16872)
* explorer: add Bonfida Bots instructions

* Update explorer/src/components/instruction/BonfidaBotDetails.tsx

Co-authored-by: Josh <josh.hundley@gmail.com>

* explorer: Bonfida Bot instructions fixes

Co-authored-by: Josh <josh.hundley@gmail.com>
2021-04-29 15:47:10 -07:00