42 Commits
Author SHA1 Message Date
Manuel WedlerandGitHub 90fd801b45 Embed verify.sourcify.dev as Sourcify verification method (#3027)
* Embed verify.sourcify.dev as Sourcify verification method

* Rephrase Sourcify option inside verification method selector

* Mock iframe content in test

* Fix test

* Update screenshot for test
2025-11-04 12:31:49 +01:00
e6ff66b084 Bump react to v19 (#2782)
Co-authored-by: tom <[email protected]>
2025-06-11 20:03:31 +02:00
tom goriunovandGitHub fae4990e1f API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00
Max Alekseenko 11d43b2c12 remove 2nd request for contract verification activity 2025-04-23 14:52:33 +02:00
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
Max AlekseenkoandGitHub dd42ed6903 Merits: activity cards and tracking (#2662) 2025-04-15 19:59:09 +02:00
tom 1b1c3b9b37 fix contract verification form test 2025-03-25 12:32:05 +01:00
tom ec00c81061 contract verification: other methods 2025-03-06 19:54:15 +01:00
tom f9a3452100 contract verification: flattened code method 2025-03-06 19:05:25 +01:00
tom goriunovandGitHub 7187fc80e6 Support verification of Stylus contracts (#2450)
* add Arbitrum Sepolia dev preset

* base form layout

* add validation for repo url and commit hash

* improve global error text

* show stylus contract info

* add test for contract verification form

* hide "open in IDE" for stylus contracts

* [skip ci] adjust validation rules for GitHub URL

* change contract info items order

* fix error text styles
2024-12-11 13:17:23 +01:00
48b39022d3 Account v2 (#2262)
* simple profile button and auth modal layout

* connect email and code screens to API

* add screens to modal for wallet authentication

* migrate to pin input

* user profile menu

* refactor otp field

* fix passing set-cookie from api response

* add wallet info into profile menu

* add mobile menu

* show connected wallet address in button

* my profile page re-design

* custom behaviour of connect button on dapp page

* style pin input

* add logout

* handle case when account is disabled

* handle case when wc is disabled

* remove old components

* refactoring

* workflow to link wallet or email to account

* link wallet from profile

* show better OTP code errors

* add email alert on watchlist and verified addresses pages

* deprecate env and remove old code

* remove code for unverified email page

* add auth guard to address action items

* move useRedirectForInvalidAuthToken hook

* add mixpanel events

* refetch csrf token after login and fix connect wallet from contract page

* Add NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY env

* migrate to reCAPTCHA v3

* resend code and change email from profile page

* better wallet sign-in message error

* fix demo envs

* update some screenshots

* profile button design fixes

* fix behaviour "connect wallet" button on contract page

* fix linking email and wallet to existing account

* bug fixes

* restore the login page

* update screenshots

* tests for auth modal and user profile

* add name field to profile page and write some tests

* [skip ci] clean up and more tests

* update texts

* change text once more

* fix verified email checkmark behaviour

* pass api error to the toast while signing in with wallet

* [skip ci] disable email field on profile page

* bug fixes

* update screenshot

* Blockscout account V2

Fixes #2029

* fix texts and button paddings

* Form fields refactoring (#2320)

* text and address fields for watchlist form

* checkbox field component

* refactor private tags form

* refactor api keys and custom abi

* refactor verifiy address and token info forms (pt. 1)

* refactor token info forms (pt. 2)

* refactor token info forms (pt. 3)

* refactor public tags form

* refactor contract verification form

* refactor contract audit form

* refactor auth, profile and csv export forms

* renaming and moving

* more refactoring and test fixes

---------

Co-authored-by: aagaev <[email protected]>
2024-10-30 12:56:57 +01:00
tom goriunovandGitHub 91b5be58d5 Add support for zkSync smart-contracts (#2173)
* additional form fields

* pass optimization modes from API and handle single verification method case

* display zk contract info
2024-08-20 10:27:46 +02:00
tom 772797996a Update verification methods in the UI 2024-07-31 13:29:43 +02:00
tom goriunovandGitHub 09f787bba4 Contract: License (#1668)
* display license on contract page and in the list

* add new field to the form

* review fixes
2024-03-05 11:13:52 +04:00
tom goriunovandGitHub c84c1ac51b "Verify contract" page (#1394)
* route and dummy page

* form layout

* validate address on form submit

* fix form reset

* update screenshot

* fix ts errors
2023-12-11 16:57:50 +04:00
tom goriunovandGitHub 79f7ee655c More events for mixpanel analytics (#1160)
* color mode property for PageView and AccountAccess events

* account events

* contract events

* address events

* event for more button
2023-09-19 11:17:36 -03:00
tom goriunovandGitHub 05945f6cf7 refactor page layout components (#1087)
* update csv export text

* fix pw tests

* base layout and customization for home page and search results page

* refactor rest of the pages

* refactor AppError

* move header padding to layout

* move nextjs utils to separate folder

* combine PageServer and Page

* make useQueryClientConfig hook

* add tests

* remove unused var

* fix envs for pw

* fix pw tests
2023-08-15 19:28:00 -04:00
tom goriunovandGitHub 984b6e7339 vyper contract verification: bugfix and improvements (#896)
* change hint and enable contract name field

* fix form re-submiting

* update screenshot

* change vyper multi part method

* vyper standard input json method

* fix required error message for sources field

* pin api host

* fix locked form

* clean up
2023-07-10 15:08:36 -04:00
tom 749cfc7fda hide unnecessary fields for standard input contract verification method 2023-05-26 16:07:33 -03:00
tom 14f5038430 support is_rust_verifier_microservice_enabled flag 2023-03-30 16:06:37 -03:00
tom 284998cb04 defatul value for evm version field 2023-03-27 13:09:32 -03:00
tom 4665b7eadb contract fixes 2023-02-27 11:34:05 -05:00
tom 8826cfa5b2 Merge branch 'main' of github.com:blockscout/frontend into verification-redesign 2023-02-17 17:35:46 -05:00
tom d16cffa38e address routes 2023-02-16 12:56:18 -05:00
tom 54cfb80c44 fix linting 2023-02-16 12:48:18 -05:00
tom f58d76a080 sourcify new flow 2023-02-16 11:34:39 -05:00
tom c6c1906e13 fix big files upload issue 2023-02-15 13:24:58 -05:00
tom 7ede237b33 form reset when method is changed 2023-02-14 14:52:59 -05:00
tom 22a52b36db method field changes 2023-02-14 10:32:56 -05:00
tom cc621c3292 api fixes 2023-02-08 10:29:29 -05:00
tom 750500b508 better errors 2023-02-06 12:11:05 -05:00
tom 690cd662af success case 2023-02-03 10:20:08 -05:00
tom 5dac835703 error handling 2023-02-02 13:07:21 -05:00
tom 4532355606 vyper multi part method 2023-02-01 18:38:38 -05:00
tom 23759d31b9 submit form to api 2023-02-01 17:39:30 -05:00
tom 45a57279cd form config 2023-02-01 11:04:22 -05:00
tom 32bdc409a8 fixes 2023-01-27 15:54:44 -06:00
tom b11c56a252 redirects 2023-01-23 17:32:44 -06:00
tom c57d7e43c1 error and disabled state 2023-01-23 17:06:41 -06:00
tom 25f16208c2 file removal and standard input method 2023-01-23 11:34:54 -06:00
tom e39b07fb40 methods sections + yul and name fields 2023-01-20 12:33:25 -06:00
tom 16802924f2 method field 2023-01-20 11:13:59 -06:00