Commit Graph
72 Commits
Author SHA1 Message Date
easyrun42 af66f2a52b feat: farcaster frame (superchain) (#2294)
* feat: superchain farcaster frame

* chore: frame images

* chore: cleanup

* chore: updates

* chore: update plan image

* chore: update pnpm lock yaml

* chore: replace frame to be on superchain page
2024-03-12 15:29:11 +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
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
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 IacovinoandJonas Daniels 8097fe6b0e NFT table and NFT detail on v5 (#2240)
* Expand

* wip

* wipwip

* Optimize registry in preparation

* Should be 1155

* evm renaming

* wrappitywrap

* Add comment

* Remove log

* not wrappitywrap

* Update sdk

* Fix erc1155 single nft page

* Revert removing old registry

* Also this one

* Fix

* Update sdk

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-02-28 01:04:11 +00:00
Jonas Daniels 33d4f13b43 perf: Improve performance of getEVMThirdwebSDK() function 2024-02-23 21:13:33 -08:00
Jonas Daniels 2d24833783 fix(useRegistry): add invariant for chainId not provided 2024-02-23 17:25:06 -08:00
Jonas Daniels b3b61f5f9a switch to pnpm (#2257)
* switch to pnpm

* chore(ci): fix pnpm install command

* cleanup

* chore: Remove unused dependencies and imports
2024-02-24 00:25:27 +00:00
Jonas Daniels bc92b03fe7 perf: optimize sdk key generation (#2249) 2024-02-23 20:08:40 +00:00
Jonas Daniels 121226ed91 feat: Add invariant check for input chain (#2246) 2024-02-23 18:24:58 +00:00
Nacho IacovinoandJonas Daniels 0566e0c725 thirdweb v5 (#2231)
* First read

* More reads

* Target es2020

* No need anymore

* feat: Update thirdweb client initialization

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-02-21 12:00:02 +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
Nacho Iacovino 454c9c224b Fix overflow on marketplace listing (#2088) 2024-01-02 20:13:35 +00:00
Jake Loo b5ab0cb2ba Fix snowtrace sourcecode verify api (#2085)
* Fix snowtrace sourcecode verify api

* Update blockroute snowtrace API

* Blockroute API compatibility
2023-12-25 14:49:00 +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
Jake Loo 79bb24deac Support dev env (#1959)
* dev RPC url

* Support thirdwebstorage-dev.com

* More dev env url

* format prettier
2023-11-15 16:42:38 +00:00
Jonas Daniels 2074f60bb8 feat(chain): make all sorts of image data work by using the next image optimizer (#1837)
* style: Adjust ChainIcon size and padding

* feat: Add logic to determine IPFS gateways

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 00:14:25 +00:00
Jonas Daniels 4837c95a09 feat: add YourFilesSection to DashboardStorage page (#1788)
* feat: add YourFilesSection to DashboardStorage page

* refactor: remove file preview column

* style: add monospace font to file size text

* fix(components): fix YourFilesSection pagination and data fetching

* fix(dropzone): Invalidate pinned files query on file upload

* feat(storage): add file list refetch on upload

* chore(useApi): keep the promise around to avoid multiple fetches

* feat: Add AccountPermissionsV1 to guides and templates
2023-10-18 06:15:24 +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
Kien Ngo 144e44116a Quick fix for create direct listing on dashboard (#1641)
Quick fix
2023-09-11 01:31:29 +00:00
Joaquim Verges b67803c711 faster contract resolution + bytecode extension detection (#1572)
* testing fetching ABIs from contract resolver

* updates

* add import banner

* fix build, await refetch

* fix invalidation

* add toast

* fix build

* fix page id
2023-08-22 21:50:12 -07:00
Nacho Iacovino e08fc35c18 Add new NFT API (#1546)
* Add simplehash nft api

* Fix logic

* Add bigger delay to contract checklist
2023-08-22 18:42:05 +00:00
Jonas Daniels 032154d7b8 chore: Add public IPFS gateway URL for uploading files (for solana) (#1567)
chore: Add public IPFS gateway URL for uploading files
2023-08-19 02:41:39 +00:00
Jonas Daniels c7d6af8897 fix: Update thirdweb API host and client ID (#1511)
* fix: Update thirdweb API host and client ID

* refactor: rename function queryFn to publishedContractQueryFn

* chore: Update @thirdweb-dev/auth and related packages
2023-08-09 04:27:30 +00:00
Jonas Daniels 645892bad3 feat(sdk): Add clientId to ThirdwebStorage and IpfsUploader (#1468) 2023-08-01 02:25:27 +00:00
Yash 1d8ba1c37c Add Base scan (#1460)
* add base scan

* fix lint
2023-07-31 14:47:19 +00:00
iketw 64bf2230b4 Pass correct clientId to rpcs (#1429) 2023-07-21 02:47:04 +00:00
Jonas Daniels d5483e1eda replace with real client_ids 2023-07-18 13:07:00 -07:00
859320b6ed feat: add bundle ids to keys (#1404)
* feat: add bundle ids to keys

completes FTD-1886

* typo

* fix ui bug

* Update sdks

* Merge branch 'ta/keys-add-bundle-ids' of https://github.com/thirdweb-dev/dashboard into ta/keys-add-bundle-ids

* Fix build

* Update sdks

* hide services

* fix count

* update nightly

* update to [email protected]

* fixes

* dont hide rpc

* copy - remove thirdwebs

* missing form values

* dont be smart about none

* feat: validate api keys (#1406)

completes FTD-1826

* Add descriptions

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-07-17 22:10:55 +00:00
Jonas Daniels 31556f0a1b fix embeds and dashboard (#1382)
* fix embeds and dashboard

* ipfscdn io
2023-07-10 04:44:14 +00:00
Jonas Daniels 279f38a1ac update storage and sdks (#1366)
* update storage and sdks

* fix build?

* fix type issues

* update embeds again
2023-07-04 18:05:54 +00:00
Nacho Iacovino e0ca91b14a Update default gateway (#1365) 2023-07-04 15:36:48 +00:00
Jonas Daniels cdc9a63592 new embed url scheme (#1344)
* new embed url scheme

* switch to v1 ipfs hashes and to ipfs public
2023-06-28 03:21:02 +00:00
Dustin 58465ea244 Update sdk.ts (#1343) 2023-06-27 19:41:25 -07:00
Manan Tank 792b62ff81 Move /gas, /check-verification-status, /email-signup, /luma-events APIs to edge (#1281)
* delete /api/paper/register

* Move /gas api to edge

* move /check-verification-status api to edge

* move /email-signup to edge

* Move /luma-events API to edge

* cache /check-verification-status if verified
2023-06-07 18:43:46 +00:00
Jonas Daniels 9cd8422b6b remove ens api route (#1274) 2023-06-05 17:08:26 +00:00
Jonas Daniels 47b4095b0e ipfs-2 (#1219) 2023-05-19 16:18:23 +00:00
Nacho Iacovino 933491a6e5 Add support for more chains on NFT API (#1191) 2023-05-10 00:21:25 +00:00
Nacho Iacovino 5a76ff6999 Add support for Sepolia NFT API (#1188) 2023-05-09 15:17:06 +00:00
520c2c6380 Bear Market Airdrop (#1075)
* fix gnosis safe select network

* Initial transfer to dashboard

* remove axios

* Feedback from PR / code cleanup

* Fixed image imports and resolve most vercel comments

* move email input box to claim and adjust ui to support light mode

* carousel of prizes and ui fixes from bobby designs

* responsiveness

* remove all prizes from main page

* Ui tweaks and gif confetti

* Edit contracts deployed, add pagination

* add empty state to contracts

* update image size

* update contracts using allowlist and fix some ui bugs

* organize imports

* list contracts

* testjam fixes

* setup new relayer and fix contract query for contracts deployed

* add custom sdk

* Use supply hook

* Dont rquire pack

* Small changes

* Custom SDK context

* fix loading contracts on account change

* fix forwarder

* Delete unused

* A lotta changes

* updated version to nightly

* More changes

* Don't show name

* A lotta stuff

* remove resolution and remove extra email icon

* Fix text color for claim/subscribe button

* add trackers and fix some small bugs

* more trackers

* update trackers naming conventions

* update constant

* update tracker category name to make more sense

* fix comments on trackers

* add og image

* update bear pack image, no bg

* Edit copy for why section

* add extra line break for tweet

* update copy

* update oz link and new contracts

* update FAQ

* update pack terminology

* filter only on mainnet and specific chains

* styling issues with button and pack copy

* chain name more visible

* styling fixes and copy

* styling fixes

* add filtering by chain and deployer address

* add hover to claim btn

* add quicknode card assets

* update contract addresses to SAFE ones.

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-15 00:51:09 +00:00
Jonas Daniels 1fda6b7d90 ipfscdn -> thirdwebcdn (#987) 2023-03-17 02:34:19 +00:00
Jonas Daniels e654980da4 update dependencies (#951)
* update dependencies

* fix supply based things

* fix some more things
2023-03-08 03:01:27 +00:00
Jonas Daniels 66cf419832 auto-verify where possible (#896) 2023-02-22 02:00:01 +00:00
Jonas Daniels b31220590b fix loading state and chain adding 2023-02-14 09:30:49 -08:00
Jonas Daniels 302f423d5e reset storage, dont fetch data urls via proxy 2023-02-14 01:57:03 -08:00
1064350681 Any EVM + middleware (#814)
* homepage: infinite looping logo carousel

* split partners logo among two rows on mobile

* remove lazy loading from partner logos

* Fix partner logo cut off on safari

* fade-in logo carousel at the container edge

* v1

* v2

* remove temp code changes

* switch network *technically* works, and new chains package

* Fix src warning in AsyncContractTypeCell

* Updated Design for config form, fix metadata error

* add initial deployment status modal

* Fix contract duplication bug in dashboard

* Make RPC url always editable

* v3 - middleware + refactor

* reset form when selecting custom option

* Fix crash on sources tab for unsupported chains

* add missing deps in effects

* /evm - use SSG with fallback

* /evm - add ensQuery dehydration back

* /solana - fix program page loading issue

* Allow editing details for custom chains

* solana program context

* fix build crash

* fix all the networkOrAddress getters

* use chain icons from chains package

* separation of fallback and final page

* Fix wrong default network type in form

* validation improvements in configure network form

* disable custom chains from dropdown on On non thirdweb contracts deploy page

* Fix wrong network slug

* custom chain improvement

* Fix Lightmode UI of Network Config Form

* UI improvements for network search dropdown

* UI tweaks

* code review cleanup

* UI tweaks

* Network Config Form: Better Keyboard UX

* fix broken /contracts/release and /contracts/deploy routes

* add configure networks button for custom contract deployment page

* UI tweaks for network configurator

* fix merge

* add the icon to the custom chain

* Bunch of Improvements

* Improve auto chain configuration
* Do not allow adding custom network with existing chain id
* Show delete default chains with 1-click add
* Convert delete dialog to a popover
* Retain all fields when selecting a chain from list
* Allow configuring chain Icons
* Allow using chainId as network slug for custom networks
* Remove unnecessary chainInfos object passed in provider

* configurable slug + prefill form

* improve scrollbar styling

* upgrade to newer sdk etc

* make it work

* Various testjame improvements

* Stop form submit event propagation
* preselect “testnet” for custom network based on name
* Clear form errors when selecting a network from list
* Improved UI for Delete network popover
* Disable “Add Network” button when on add network page
* Change fallback chain icon

* custom and search tabs

* reduce layout shift when switching tabs

* allChains caching with idb

* Add IPFS upload button for icon input

* Deploy Modal, chain icon, code cleanup

* Fix Deploy Modal not working for custom contract deployment
* Fix Fantom testnet icon
* Remove useDashboardNetwork()
* Update Deploy Modal wording in case for 3 prompt scenario
* Remove hardhat and localhost from CURRENCIES object
* Remove gateway.ipfscdn.io from images.remotePatterns in next config

* add chain config tracking

* remove useChainInfos()

* Remove EVM_RPC_URL_MAP usage as much as possible

* Fix Network Switcher for non-default chains

* upgrade new dev sdk versions

* fix versions

* Fix contractInfo.chain not available on contract page of custom chain

* Fix contract page links in overview page

* Update default chain Icon

* bunch of UI improvements for network configuration modal

* Better active state for add network button and chains
* Suggest a slug for custom network
* Show chain id next to network names in list
* Allow searching by chain id
* Autofocus on first input of the form
* Add cross button for clearing search input
* Toggle search results open state with chevron icon
* Add icons in chain list

* handle wallet connected to unsupported network in <SupportedNetworkSelect/>

* No reload required after adding a network

* revert last commit - reload still required

* handle case where wallet is connected to an auto configured chain - show it as unknown network

* update dependencies and switch to activeChain and supportedChains

* nightly sdk versions

* Improved Icon Uploader

* always use default chains for polygon registry work

* dev version & updated list fetching

* Improved Chain ID input in Network Configurator

* Improved Network ID validation and prefill

* Hide etherscan verification button for non-default chains

* Form Refactor + network type toolip

* update deps

* update package versions

* upgrade dependencies

* show "create custom"  when no search results found

* slug calculated from prefillName should not be considered dirty

* open edit screen when selecting already configured network from list

* fuzzy search with fuse.js

* replace thirdweb key with it's value in form

* temp fix for getChainRPC throwing error

* update to newer chains package

* lots of rpc cleanup etc

* fix nightly maybe?

* upgrade to nightly packages

* add initial import contract search input

* fix localhost

* clean up smoe more stuff

* lots of updates

* Show "Request Testnet Funds" button in wallet when applicable (#856)

* fix crash on events page

* Fix Links in Overview page

* import contract improvements

* Fix wrong explorer tab link in ContractPermissionsPage

* make search faster (individual queries)

* properly split contract and program routing

* remove all via stuff etc

* various further improvements

* add a proxy and setup storage to hit that proxy

* further cleanup

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-02-14 09:37:47 +00:00
Nacho IacovinoandJonas Daniels 5124cb5be9 Solidity Input validation and UX improvement (#811)
* Add IntInput and SolidityInput main component

* Add address input

* Fix various bugs

* Add bytes input

* Add button to convert to bytes if not valid

* Add uri input (as any fml)

* Add bool input

* Move stuff around

* Add ENS resolve to address input

* Make the form context optional

* Use AddressInput everywhere in the app

* Add shouldDirty

* Add raw input

* No logs

* Various changes

* Wip array input

* Fix errror not showing

* Solve weird opacity thing

* Better error feedback on uint/int

* Fix bug on version validation

* Add To Wei button conversion

* A bit cleaner now

* Bytes input improvement

* Fix validation

* Separate tuple input

* Move int input validation

* Move bytes input validation

* Move address input validation

* Improve int validation

* wip rawinput

* Improve bytes validation

* wip

* Pass solidityName for IPFS upload

* Fix string input condition

* Add camelToTitle function and solidityType placeholders

* Test stuff out

* Add validation for int[] and array[]

* Remove unused import

* Use raw input for tuple for now

* Pass solidityComponent for better FormHelperText, especially tuples

* Better error msg for tuple

* Delete unused improt

* Only validate if there's components

* Remove unused file

* Improve address input UX

* Don't render empty helperText

* Fix address input edge cases

* Optional chaining

* Fix error

* Accept empty array for bytes type

* Fix string input

* Make buttons smaller

* Make JSON input monospace

* Remove fixed todo

* Improve error color

* Fix int/uint []

* Remove log

* various fixes

* use prod api during build step?

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-24 18:30:30 -08:00
508377d061 New publish flow (#782)
* wip

* First page styling

* Implement first pageToShow

* Add contractParams page

* Add deployable via proxy and factory

* Dynamic next button

* New design proxy page

* New design for factory deployment page

* New design for contract parameters

* Small stuff

* Change chainName label width

* Add paste icon

* Extract PasteInput component

* Extra contract params page

* Extract ProxyPage

* Extract factory page

* Rename page to inputGroup

* Extract landing page

* Rename to fieldset

* Add padding to preview

* Use tw Card

* Lot of changes

* Fix build

* Add info to select option, change size of description text

* Fix Next logic

* Default option to what you had before

* Keep dirty fields

* Update info for options

* More updates

* Copy changes

* Edit logic

* make displayName and version required properly

* Fix auto submit issue

* Various changes

* Add placeholders

* Update description

* Make initialize function mandatory

* Add hover on deploy button

* Add semver validation

* Remove comment

* Improve UI for template variables

* Change order around

* Fix typo

* Update publish contract button color

* Remove supported template variable heading

* Fix placeholderVersion NaN

* Fix proxy/factory inputs on mobile

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-01-13 22:37:00 +00:00
Jonas Daniels 39977a3e36 remove deprecated og pages (#784) 2023-01-10 19:38:04 +01:00
Jonas Daniels 6c92524fd8 cleanup .env file and add description to each env var (#733) 2022-12-13 11:39:05 -08:00