Commit Graph
321 Commits
Author SHA1 Message Date
Yash 8d739b6d7d Verification via contract-api (#2306)
* Verification via contract-api

* fix types

* enable auto verify
2024-03-12 23:12:07 +00:00
Nacho IacovinoandJonas Daniels ee6c3a35ff Remove old registry and use v5 (#2266)
* Remove old registry

* also this one

* Not removing from old registry anymore

* merge registry files

* wip works

* Refactor city

* Fix build

* One more thing

* Prettier?

* ???

* This should work

* My prettier is broken

* Can't live like this

* Resolve comments

* Abstract

* Sure

* Should use this

* Remove unused

* change approach

* Delete graphql/generated.ts

Signed-off-by: Nacho Iacovino <[email protected]>

* also remove deprecated mainnets

* Wip - failed build

* Define dashboard chain

* format

* Latest

* latest

* Remove log

* Not sure why we need this

* Back to this

---------

Signed-off-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-08 20:06:12 +00:00
Nacho Iacovino 1b1efa1421 Fix Split deployment (#2290)
* Fix Split deployment

* Format

* nope

* now

* Okay
2024-03-05 17:11:26 +00:00
Joaquim VergesandNacho Iacovino 79ab480696 Show Update NFT Metadata button for 1155 NFTs (#2280)
* Show Update NFT Metadata button for 1155 NFTs

* A lotta changes

* Take into account erc

* Working

* Better

* Remove log

* Format

* Remove devdependencies

* Only import types when necessary

* Wallets on nightly

* whoops

* Fix build?

* Expect error for now

* Don't update tw package for now

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-05 16:47:21 +00:00
Nacho Iacovino 48f890f673 Stop ignoring warning :) (#2279)
* Cleanup eslint disable

* Revert this one

* Fix stuff
2024-03-02 00:27:51 +00:00
Jonas DanielsandJoaquim Verges 0c0cfdad84 Jd/cleanup (#2258)
* remove unused gql queries

* remove generated file

* init knip

* run knip and remove unused

* lock

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-02-28 17:58:56 +00:00
Nacho Iacovino e46ed2e805 Improve DeprecationAlert logic (#2215)
* Fix deprecation alert

* Never showing it when it shouldn't be there
2024-02-16 19:28:30 +00:00
Nacho Iacovino 8ff34c8f8c Add deprecation notices to chains (#2211)
* Add deprecation alert warning to ChainPage

* Add deprecation alert to contracts pages

* Add deprecation notice to chainlist and rpc-edge list

* chain id -> chain ID

* Add deprecation notice to chain selection

* Save status

* Remove log

* Fix feedback

* Disable txn button, add alert to deployment form
2024-02-16 01:04:11 +00:00
dependabot[bot]andNacho Iacovino d2e14b35ca build(deps): bump date-fns from 2.30.0 to 3.3.1 (#2198)
* build(deps): bump date-fns from 2.30.0 to 3.3.1

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.3.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.30.0...v3.3.1)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* This is enough?

* Better treeshaking

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-13 16:59:12 +00:00
Nacho Iacovino 8adfa86090 Allow non-checksummed addresses (#2206)
* Allow non-checksummed addresses

* Fix ENS addresses

* Missed this one

* Also this one
2024-02-13 16:21:50 +00:00
Nacho Iacovino 157f3cdeb9 Improve publish reliability (#2202)
* Take name out of the object

* All of this makes sense to me
2024-02-12 19:45:56 +00:00
Manan TankandNacho Iacovino 2d31d67630 Add showThirdwebBranding prop configuration in CW playground (#2191)
* Add showThirdwebBranding configuration in CW playground

* Fix WelcomeScreen preview

* hide powered by thirdweb

* Revert Tab color change, update deps

* Fix build

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-12 18:24:31 +00:00
Joaquim Verges 6b86d8ea93 Smart Wallet Sponsorship Policies (#2134)
* Smart Wallet Sponsorship Policies

* WIP policies form

* feedback

* mapped types

* working state

* update to latest api server api

* lint

* lint

* fix form

* link to configuration from api key settings

* move EW config

* lint

* link to configuration

* ui fixes

* rename to sponsorship rules

* add doc links

* remove native currency option for now

* doc link
2024-02-06 23:58:28 +00:00
easyrun42 2d107bc149 add frames to published contracts (#2165)
* published contracts frame redirect

* use vercel preview url for now

* slug

* add nextjs-cors

* warpcast class and redirect

* sentry debugging

* debuggin changes

* debug 2

* set location on the header

* redirect

* add simple hello route for testing

* use runtime edge

* prettier fix

* cleanup changes

* cleanup changes

* rename to schema for untrusted metadata
2024-02-02 13:44:14 +00:00
Nacho Iacovino 33e7953e6c Add to dashboard -> Import (#2146) 2024-01-25 02:11:05 +00:00
Nacho Iacovino e2b1f0f52e Fix vulnerabilities (#2130)
* Resolve vulnerabilities

* More

* More

* Bring back graphqurl

* Fix eslint warnings

* Fix prettier
2024-01-25 01:25:08 +00:00
Nacho Iacovino bb969d39a0 Bring back import contract button (#2144)
* Bring back import contract button

* Remember to return
2024-01-25 00:18:31 +00:00
Yash 9db9ba95ee Remove import contract (#2128)
* Remove import contract

* fix

* cleanup

* fix
2024-01-18 19:13:52 +00:00
Joaquim Verges daab4cf912 update to latest nightly SDKs (#2111)
* update to latest nightly SDKs

* fix embedded wallet dev flags
2024-01-10 23:25:11 +00:00
Manan Tank 1692e4b04e Update Docs links (#2110) 2024-01-10 22:25:00 +00:00
Nacho Iacovino 454c9c224b Fix overflow on marketplace listing (#2088) 2024-01-02 20:13:35 +00:00
Joaquim Verges 71127b890e dont autoverifiy on deploy (#2073) 2023-12-20 02:14:43 +00:00
Yash 0e7bc00911 Update default params for deployment (#2067)
* Remove default values for forwarders

* forwarder fieldset

* fix

* remove duplicate

* set value

* fix

* sdk latest nightly

* clean up

* fix

* fix
2023-12-16 23:53:59 +00:00
Yash de1f8c31bd Update packages (#2044)
* latest nightly

* update params
2023-12-09 06:29:29 +00:00
Yash 4182d67329 Update packages (#2033)
* update publisher and forwarder

* update packages

* update packages

* remove broken published pages

* nightly
2023-12-04 19:43:07 +00:00
Joaquim Verges def7035355 Enable all chains for older AccountFactory contracts (#2009) 2023-11-25 08:13:37 +00:00
04ad22c250 Migrate checkouts v0 (#1986)
* feature(payments): initialize GQL and page structure

* initialize apollo provider

* port over .graphql files and fix up generation

* fix codegen

* .ts files are fine for hooks

* feat: add credentials option to ApolloClient

* .env.example update

* Get payments seller id from api server in fetchAuthToken (#1839)

Get paymentsSellerId from api server in fetchAuthToken

* Push up example with `paymentsSellerId`

* Remove console.logs

* Move to component to compile

* Render all contracts table (filtered)

* Enable payments button

* Abstract a bit

* Add graphql query to usePayments

* Get analytics

* Add parsedOverview

* Fix prettier

* Create checkout logic

* Create checkout form shenanigans

* Some UI massaging

* A bit more

* Enable payments redirect

* Work for erc1155, disable cache

* yes

* Some progress with cache? :D

* loglog

* Fix tracking

* Abstract remove button

* We're doing it backwards

* Cast to number

* whoops

* Edit checkout logic plz

* Empty state

* plz

* Fix for real

* Default

* Filter contracts, some more empty states

* Moar empty states

* Error flow

* More empty states, less foot shooting

* Get contract name for payment-enabled contracts

* Filter default checkout, show contractId

* Fix url redirect

* whoops

* Fix logic

* feature: added checkout seller account settings to dashboard (#1931)

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

* invalidateQueries onSuccess

* Revert prior change and add apollo refetch()

* Try network-only

* Add for contracts as well

* wip

* API Keys capabilities yay

* Remove network-only policy

* Use lazy queries

* Fix api keys

* isLoading states

* All the cache

* now

* Rename

* Big wip

* Fix date picker

* chore: added thirdweb_client_id to checkout fragment (#1957)

* stuff

* Ensure accountId

* Copy

* Fix mutation

* Fix loading states

* wip

* Kyb shenanigans

* Kyc shenanigans :D

* More kyc shenanigans

* Fix file uploader?

* Annoying response

* RPC url pls

* Remove unused imports

* Nope

* Lots of checks

* Fix kyb check

* Kyc improvements

* Moar

* hid hid

* Move around

* Nope

* Cache?

* Lowercase

* Webhooks file

* Add more supported chains

* Full

* Fix RPC url

* Update contractArgs

* Much better

* Error state

* Validation for URL

* Allow empty string

* Improve KYB experience

* Add compliance email

* Fix upload to cloudflare

* Add preview button

* Improve preview

* Okay

* Fix font weight

* Just because

* Use the Preview environment for workflows

* Pass environment var name context through

* syntax update

* Test - show public env var

* syntax

* See if public variable makes it through

* Add public api

* Use secrets instead of vars

* Remove test

---------

Signed-off-by: Jonas Daniels <[email protected]>
Signed-off-by: Edward Sun <[email protected]>
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: gerrysaporito <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-22 23:21:53 +00:00
Joaquim Verges 4bf8c36a89 Simplified smart wallet tab (#1998)
* wip smart wallet page flow

* simplified smart wallet tab

* fix build

* add account counts in table
2023-11-21 03:33:03 +00:00
Joaquim Verges 493c32721e show full params on any account factory (#1862) 2023-10-27 23:51:33 -07:00
Joaquim Verges e9a99292ef Expose default admin param for account factories (#1860) 2023-10-27 21:44:12 +00:00
Nacho IacovinoandJonas Daniels 22c5c04346 Next 14 and cleanup (#1854)
* Update package

* Update to next 14, winter cleanup

* More cleanup

* fix build

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-27 02:51:11 +00:00
Yash 6705f5f6cc Fix composite abi (#1853)
* fix composite abi

* consider old publish

* always true for MarketplaceV3

---------

Signed-off-by: Yash <[email protected]>
2023-10-26 23:50:18 +00:00
Jonas Daniels 4c8325b0d9 chore(routing): massively simplify page routing and middleware (#1852)
* chore(routing): massively simplify page routing and middleware

* refactor: Remove unused code and files

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 22:19:11 +00:00
Nacho Iacovino 3a590e3b25 Engine followups (#1828)
* Backend wallets overview changes

* Transactions table updates

* Copy fix

* Exploration of swagger css commented

* Copy changes

* use magic hook

* Better flow for when wallet is not connected
2023-10-25 03:14:37 +00:00
ebea69352b Add engine dashboard (#1815)
* feat: Add Engine tab to dashboard

* A lot of stuff? Config done

* Backend wallets table

* Add import/create backend wallet capabilities

* Update margin

* Filter txns by chain id

* Add balance check

* Fix build

* Add functions

* Only show remove config if not on local

* whoops

* Add tracking for set wallet config

* Try again

* Update schema for txns

* Update design, save URL in local storage

* Add trailing slash always

* Always simplify url

* Auth works

* Add admin grant/revoke

* Reshuffle stuff

* Add access tokens capabilities

* Add webhooks capabilities

* General updates

* Add local config

* Renaming and moving stuff around

* Hide tab

---------

Co-authored-by: Phillip Ho <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-25 00:05:31 +00:00
Yash 88e43694c9 Enable dynamic pattern marketplacev3 publish (#1798)
enable dynamic pattern marketplacev3 publish
2023-10-17 15:13:02 +00:00
Yash 80582cc97d Update deterministic deploy option (#1789)
update deterministic deploy option
2023-10-16 18:27:36 +00:00
Manan Tank c93dc28fd7 ConnectWallet component + playground improvements (#1737)
* update

* Remove custom SignInModal and add base-gor

* use Goerli on playground

* update

* update lock

* Fix Build

* update

* update

* update

* update

* update

* update

* Fix Build

* update

* update

* update

* Fix Safe wallet

* Fix Build

* update

* Add termsOfServiceUrl and privacyPolicyUrl

* Make coinbase recommended

* update both accents on accentText change
2023-10-11 14:27:32 +00:00
Jonas Daniels 5b32c3d05e refactor(solana): remove support for solana (#1733)
* refactor(solana): remove support for solana

* chore: update @thirdweb-dev/react and @thirdweb-dev/sdk versions

* remove unused code & re-update-next-versions

* refactor: Remove unused Solana currency metadata

* fix build
2023-10-09 19:46:47 +00:00
Nacho Iacovino d13da631d1 Checkbox labels UX (#1750)
Fix checkout labels
2023-10-05 18:04:13 +00:00
Manan TankandJonas Daniels 9742d29ef4 Add custom welcome screen in ConnectWallet component (#1716)
* Add custom screen in ConnectWallet component

* update thirdweb connect OG meta

* update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-09-28 20:35:15 +00:00
Tair Asim f57362d9a1 chore: make smart wallets page simpler (#1675)
fixes FTD-2161
2023-09-19 20:34:05 +00:00
Nacho Iacovino c42e7bb062 Remove paperClientId from snippet (#1685)
* Remove paperClientId

* Unpublished -> Custom
2023-09-19 19:44:44 +00:00
Nacho Iacovino 61835c734c Show latest version on contract card (#1619)
* Show latest version on contract card

* Unnecesary
2023-09-05 06:09:33 +00:00
Yash 2e5557ea6b Option to deploy deterministically (#1604)
* option to deploy deterministically

* fix

* optional salt input

* tooltip

* lowercase

* sdk dev build 3682

* sdk nightly with param encoding fix

* hide advanced deploy options when not needed

* fix versions

* fix versions

* dev build with cli fix

* nightly
2023-08-31 03:04:41 +00:00
Tair Asim 284f6c358b chore: don't dismiss drawer on outside click (#1597)
fixes FTD-2072
2023-08-28 16:41:26 +00:00
Nacho IacovinoandYash a1fb2d14eb Add dynamic contract support to publish (#1560)
* Add dynamic contract fieldset to default factory form

* Add routerType to extraMetadata in ContractPublishForm component

* Fix build

* Fetch published contracts and versions

* sdk dev build update

* sdk dev build update

* Skeleton states, new sdk

* New sdk

* Update again

* remove log

* Fix build, finally

* Fix typo

* Latest sdk

* latest nightly

* fix

* latest nightly

* ERC1155Supply templates and guides

---------

Co-authored-by: Yash <[email protected]>
2023-08-24 15:25:38 +00:00
Nacho Iacovino 33fd3a6ef1 Fix unnamed deploy param displayName (#1555)
* Fix unnamed title

* Remove log
2023-08-17 18:27:45 +00:00
Nacho Iacovino 647b49eeb7 Use * instead of _unnamed (#1553) 2023-08-16 22:40:27 +00:00
Nacho Iacovino b58614fa1c Fix publish with empty param (#1552)
* Fix publish with empty param

* Parse on deploy

* Add title
2023-08-16 22:14:57 +00:00