Commit Graph

513 Commits

Author SHA1 Message Date
Justin Starry 5948b6c741
explorer: Display error details on tx page (#25186) 2022-05-13 07:55:38 +00:00
Ikko Ashimine 7e4397204a
chore: fix typo in security-txt.ts (#25160)
seperated -> separated
2022-05-12 21:28:52 +08: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
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
Steven Luscher 8043e88233
fix: enable React 18 in Explorer via use of `createRoot` (#24859) 2022-05-02 12:19:08 -07:00
Steven Luscher 06ffd9009e
fix: don't fatal Explorer when there's a 'failed' type message at the top level (#24868) 2022-04-30 18:27:42 -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
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
Justin Starry 4e2d96fe88
explorer: display slot leaders on block details page (#24727) 2022-04-27 04:57:18 +00:00
Yihau Chen 9f34968a7f
explorer: replace Block with Slot (#24725) 2022-04-27 11:47:37 +08: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 8d3de3cd6b
Add Solanart program name (#24574)
* misc: add solanart program name

* feat: add solanart global offers program
2022-04-22 20:25:43 +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
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
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
Nico Gründel 4c058b48b6
Explorer: remove link from discord security contact (#24097) 2022-04-04 18:12:53 +08:00
Noah Gundotra 694292f7fa
add candy machine v2 to known program names (#24072)
Co-authored-by: Noah Gundotra <noahgundotra@noahs-mbp.mynetworksettings.com>
2022-04-02 02:28:19 +00:00
Blaž Hrastnik 436048ca2b
explorer: Add Chainlink programs to known addresses (#24037) 2022-04-01 07:54:54 +00: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
page18 c1bf85b109
Explorer: Add Swim Swap Program to known addresses (#23660) 2022-03-15 12:18:35 +08: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
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