Commit Graph
147 Commits
Author SHA1 Message Date
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 975a8170a6 new apikeys update (#1398) 2023-07-13 05:40:05 +00:00
Jonas Daniels 75d7fa81c2 upgrade dependencies (#1393) 2023-07-12 04:40:14 +00:00
Tair Asim 47a1c7076a feat: api keys v2 (#1356)
* feat: api keys v2

- new api keys with pk/sk
- domains, wallets and service restriction
- secret regeneration

completes FTD-1879, FTD-1880, FTD-1835

* minor pr feedback

* test jam feedback

completes FTD-1902

* show none when no service targets

* change copy

* enable all services

* add service actions

fixes FTD-1874

* f

* sort saved services

* add copy pk on create
2023-07-11 01:24:36 +00:00
Adam Majmudar 82a7e96221 Filter events to last 20,000 blocks (#1311)
Update filter on events
2023-06-17 02:14:23 +00:00
Adam MajmudarandJonas Daniels 4d4a34378c [Auth] Support for multiple wallet login, refresh tokens, and safe login (#1297)
* Fix login with Safe

* Fix login with Safe

* Update dashboard

* Require signature again and support gnosis signing

* fix build

* popup transaction prompt in safe wallet case

* Update

* Update

* Update to new auth

* Update version

* Update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-13 21:16:36 +00:00
Tair AsimandJonas Daniels a9fd20d6f7 polish: api keys + tables (#1267)
* polish: api keys + tables

- style tables and extract into table container
- refactor api keys to sub components
- show api key name and created at
- remove two step approach to creating keys
- define menu list/item styles on theme level

completes FTD-1752

* add missing ChainId import

* fix types

* add edit edit modal

* add update key func

* make work with local api server

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-05 17:26:21 +00:00
Jonas Daniels 1d41e15737 force login flow & guest wallet (#1236)
* force login flow

* slightly better styled modal

* fix build

* upgrade to nightly to fix signing after switching accounts

* add guest wallet

* fix chanlist page

* do not show signature prompts when wallet is headless

* track accept and cancel
2023-05-27 00:27:28 +00:00
Manan Tank fd9b2bdcd8 Update popular chains - add Base Goerli, remove BSC testnet (#1186) 2023-05-08 22:54:20 +00:00
Danny Friday f0d25891a1 Use new paths for API keys (#1183)
* Use new paths for API keys

* Lint
2023-05-08 20:09:22 +00:00
cb8eca2a0c Add support for API Keys (#1164)
* Add support for API Keys

* Update

* Fix import

* Fix invalidation

* Add a getting started flow

* Fix

* Fix everything

* Remove console.log

* Update

* Logout if there's an address mismatch

* Logout if there's an address mismatch

* Add error messages

* Add wallets

* Escape apostrophe

* Add link to documentation

* Update copy

* rename and added CW button demo

* reorder wallets

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-05-04 16:31:17 +00:00
Manan Tank f2ce226d59 network config improvements, Fix FTUX flash (#1089)
* fix "add custom network" opening "edit network" modal

* code cleanup

* code cleanup

* reduce width of network config form on unknown network slug page

* Fix FTUX flash
2023-04-10 17:17:01 +00:00
Manan Tank 17b3fea6c8 No config Any EVM (#1086)
* temp

* make it work
2023-04-08 04:35:41 +00:00
Nacho IacovinoandJonas Daniels 7b42e1c9d0 Stop using prebuilt form, only custom contract form deploy (#1009)
* ContractMetadata detection on deploy

* Royalty detection

* Primary sale detection

* Platform Fee detection

* This feels better

* It works now :D

* Add split detection, cleanup

* Cleanup

* More cleanuppp

* Moar remove

* Kill useWeb3 hook

* nvm we need this

* Enable any evm for thirdweb contracts

* DefaultValue 0

* update sdk

* nope

* Remove double title

* Update dependencies

* install nightly

* use latest

* Fix default values

* Delete prebuilt analytics file

* fix wallet address not being filled in on subsequent renders

* Remove resolution

* Make inputs required

* Enable all chains for tw contracts

* Fix input default value

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-04-04 23:36:46 +00:00
Jonas Daniels fa7bc7ce08 permission tab bug fix (#1053) 2023-03-31 23:35:56 +00:00
Nacho Iacovino 6029534d14 Show Phantom option when Phantom not installed (#1052) 2023-03-31 19:58:24 +00:00
Nacho Iacovino 214609cc01 Stop UI flashing, use react hooks for permissions (#1040)
* Stop UI flashing, use react hooks

* Use delayed display for contract ftux

* Make DelayedDisplay a component
2023-03-31 00:57:37 +00:00
Jonas Daniels d1da4dd7d1 lots of clean up (#1030)
* lots of things

* further cleanups
2023-03-28 11:35:08 +00:00
Manan TankandJonas Daniels 406bb83f6b connect wallet v2 (#965)
* cwv2 lets go

* Switch Theme

* lots of cleanup

* Gnosis safe

* add wallet connect v1

* Add Safe and other confirmation popovers back

* fix the build error

* update sdk, remove device wallet

* new dev version

* Fix wallet autoconnect on prod

* Fix Gnosis Safe Connection glitch, UI improvements

* update all deps to nightly

* remove unused packages, update to nightly sdks

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-25 02:30:32 +00:00
Nacho Iacovino 39723cbf40 Fix distribute funds for native token (#1011) 2023-03-23 20:32:01 +00:00
Jonas Daniels 1fda6b7d90 ipfscdn -> thirdwebcdn (#987) 2023-03-17 02:34:19 +00:00
Nacho Iacovino 9cb90b89f0 Upsell testnet switch on deploy (#978)
* Upsell testnet switch on deploy

* Add tracking

* Fix build

* Better tracking
2023-03-16 17:24:43 +00:00
Nacho Iacovino 91b888b5da Mobile improvements/fixes (#944) 2023-03-06 20:43:21 +00:00
Nacho Iacovino a058700638 Add faucets from chainInfo to no funds popover (#906)
* Add faucets from chainInfo to no funds popover

* Use correct sdk

* Fix build
2023-02-23 19:57:22 +00:00
Jonas Daniels 2f2945c63e ur a wizard harry (#905) 2023-02-23 18:18:12 +00:00
Jonas Daniels a02b3774ab Jd/various error fixes (#888)
* various error fixes

* update deps
2023-02-18 19:17:12 +00:00
Nacho Iacovino 617b727ee9 Track request funds button (#878) 2023-02-15 20:41:50 +00:00
Nacho Iacovino a305f85d2c Add configure network button tracking (#875) 2023-02-15 19:36:37 +00:00
Mariano Fuentes eb556e6891 fix gnosis safe select network (#865) 2023-02-14 19:21:23 +00:00
Jonas Daniels 42077cea8e fix re-setting contractInfo to null for no reason 2023-02-14 09:49:17 -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
caa6e5635d Add marketplace v3 tabs (#827)
* Add direct listings tab logic

* Add common table for both direct listings and english auctions

* Add UI to cancel listing/auction

* Disable create listing button if no address

* Detect features

* Update storage

* Can deploy marketplace v3 and create direct listings

* Can create english auctions

* Update auth

* Fix build

* Add marketplace v3 deployment event

* We got status pog

* Rendering english auctions

* Add getValid results filter

* Update create listing text

* Only show select if extension enable, default to one from tab

* Fix logic

* Fix cache

* Fix build

* Show default snippets if possible

* Update sdks

* Update storage

* Add support for 3d files (#837)

* Fix overflow in markdown renderer caused by inline code (#836)

* Add support for 3d files

* fix up nft media?

* seems to work now

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add price column

* Fix math

* Only allow to create each listing on each tab

* No need to detect here anymore

* Use NFTMedia commponent, make tooltip nicer

* Add CTA if no NFTs found

* Remove plural

* Remove invalid prop

* Move comments

* Improve platform fees text for marketplace

* Add new staking section and marketplace v3 to beta section

* Give auctionTimes defaults

* Update SDKs to nightly

* Use previous nightly D:

* Fix build

---------

Co-authored-by: sid <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2023-02-04 03:32:04 +00:00
Jonas Daniels 99d202d91c fix magic build when missing the env var (#833) 2023-02-02 20:34:47 +00:00
Nacho Iacovino 703d3c144c Show prebuilt code tab for Multiwrap and Pack (#808) 2023-01-18 02:31:06 +00:00
Jonas Daniels 41c37d34ab various fixes (#710)
* various fixes

* load gradient with priority

* gradient improvements

* bit of opacity fading in

* does not need fading with priority set

* move newsletter section

* revert some dynamic stuff

* add a timeout to privacy notice to prevent flash
2022-12-06 10:00:10 +00:00
Nacho IacovinoandJonas Daniels ad9e643737 Add Import flow (#690)
* WIP Import contract

* Don't read twice

* Make UI a bit nicer

* Fix import contract flow flash

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-02 19:05:55 -08:00
Jonas Daniels a4ad801333 updated navbar header (#664) 2022-11-23 00:05:47 +00:00
Jonas Daniels 3cd482a421 Explore Page (#625)
* init contract shelves

* updated styles etc

* update theme

* fix some more stuff

* lots more things

* fix release revalidate api

* lots more things

* reset colors

* navbar change

* fix font stuff

* cleanup pkg json

* unify prefix

* quick and dirty extension bar

* fix various things

* fix some mobile stuff

* switch release upsell messaging

* address a ton of feedback

* shuffle around title stuff

* further improvements

* add deploy upsell to category pages

* fix couple more things

* push up changes so far
2022-11-19 05:59:47 +00:00
Jonas DanielsandJoaquim Verges 1b91237787 [Upgrade SDKs] - new drops (#621)
* updated claim conditions

* fix several things

* update embed

* allow single phase to be added

* fix claimer snapshot button

* fix it for realz

* fix learn more suffs

* it workz!

* update to re-allow claiming etc

* make it nightly & update sdk

* update to latest SDK with all chains enabled

* fix various claim condition things

* fix snapshot defaults

* change explainer

* fix snapshot with overrides

* fix eiman-bug

* fix small stuff

* maybe we should actually pass the damn data?

* update SDK to fix custom price claims

* update embed uri

* update sdks and embed logic, etc

* actually deploy specific versions for prebuilt contracts

* update to latest dev version of sdk

* driveby add new gnosis safe supported chains

* fix latest deploy on initial load

* stable sdks and embed

* remove withSentry (no longer needed)

Co-authored-by: Joaquim Verges <[email protected]>
2022-11-16 22:21:45 +00:00
Nacho Iacovino 3324204e40 Fix Solana copy address (#629) 2022-11-04 19:14:50 +00:00
Nacho IacovinoandJonas Daniels b85b6ec650 Fix useReleasesFromDeploy hook (#606)
* Fix hook, remove old chains references

* Use nightly

* Remove logs

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-25 19:03:41 +00:00
Nacho Iacovino 0ff2c3a98a Fix other instances of useClipboard (#607) 2022-10-24 18:07:14 -07:00
Jonas Daniels a945d1ff52 update packages to nightly with new magic link and gnosis safe (#599)
* update packages to nightly with new magic link and gnosis safe

* update deps
2022-10-21 16:34:55 -07:00
5db96a64c7 [SOLANA] (#486)
* init solana dashboard

* some updates

* deploying programs works?

* solana program page is go

* more updates

* various updates and improvements

* git add maybe?

* working state

* working minting / nft list

* working drop lazy mint + latest nightly

* dashboard works

* forgot to add things

* fix various small things

* fix rpc

* implement token page + code organization

* update SDK

* rename accounts to program

* implement token mint button

* split dashboard into evm vs sol and separate out solana programs

* fix caching

* upgrade to combined sdk

* merge in main

* update to latest nightly SDK

* tabs for days

* lul query client maybe?

* remove unused hook

* add super basic nft drawer

* lots of updates to start on nft drawer etc

* add code tab content

* fix merge conflicts

* pass program address to code tab

* some changes

* some minor updates

* new nft drawer and table

* drawer for solana done (v1)

* fix a bunch of stuff

* fix some tracking

* update nightly

* add programId to program deploy event

* adapt to changes in react lib

* upgrade to dev version

* Add batch upload to Solana (#539)

* First small necessary refactor

* Working version

* Working version with yalc

* Use nightly

* Move everything around

* Remove unused imports

* Fix types

* Add state for hasTried

* Fix conditions

* Add solana

* Move selectedReveal to be part of the form

* Improve logic

* Update dependencies

* Make drawer fullscreen

* Fix hasFailed logic

* Fix types

* Make inputs required conditionally

* Fix types

* Make loading work

* Remove repeated code

* Remove unused

* Pass progress as a prop

* Move common files to core-ui

* massive cleanup

Co-authored-by: Jonas Daniels <[email protected]>

* feat(faucet): build solana faucet (#528)

* feat(faucet): build solana faucet

* chore: update names

* fix: type

Co-authored-by: Jonas Daniels <[email protected]>

* fix: minor stuff

Co-authored-by: Jonas Daniels <[email protected]>

* fix: feedback

* feat: minor improvements

* feat: add faq section

* refactor: refactor faq

* add accordion

* minor fix

Co-authored-by: Jonas Daniels <[email protected]>

* tiny fix

* Revert batch upload styles (#541)

* Fix typo, fix drawer width

* Revert to old batch upload styles

* Fix some more styles

* Fix progress bar styles

* Update to using TWRegistry

* [Solana] Add claim conditions to NFT Drop (#542)

* Add tab and getter

* Working version

* Delete unused imports

* Currency selector works but I hate it

* Add maxClaimable

* Fix build issue

* Make batch upload work again

* Fix claim conditions for devnet

* Test fix

* Delete console.logs

* A lot of solana stuff (#545)

* Remove unused banner

* Hide Claim Conditions tab for no drops

* Add loading state

* Remove comment

* Add helper text for nft drop supply

* Delete log

* Add loading state to program list

* Add redirect if you don't have any program deploys

* Add default instant reveal for Solana

* Fix styles

* Fix logic

* doc fixes

* fix(faucet): minor issues (#543)

* fix(spacing): fix spacing in faq

* feat: some updates from feedback

* fix: use linkButton

* feat: use fetch

* remove test code

* fix: err handling

* pass err

* fix sucecss state

* fix: link

* some updates

* small fixes

Co-authored-by: Nacho Iacovino <[email protected]>

* update to latest nightly

* fix up form and update deps

* Add claim button to Solana (#555)

* wip

* Add claim buttons, fix warning, disable buttons conditioanlly

* Use nightly

* Delete unused import

* Solana hackathon landing (#554)

* feat: build hackathon page (#547)

* wip: build hackathon page

* add some more stuff

* feat: responsievness and some minor stuff

Co-authored-by: Nacho Iacovino <[email protected]>

* First section

* Fix PrizeSection

* Add link to register now

* Add judges and footer

* Update startTime for hackathon

* Fix Schedule

* Add tracking

* Add pageId

* Prettier?

* Prettier again

* Prettier you're drunk

* This is my life now

* Remove unused import

* Add og metadata

* Update SEO

Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add solana landing page (#556)

* Add landing page for Solana

* Add solana landing page

* Add shopify landing

* Add shopify

* Remove quote

* Add meta tags

* Add landing page updates

* Add links

* small cleanups

* fix various & pagination on nft table solana

* Show unclaimed instead of tokenId for lazy minted tokens

* add full install command for solana react

* show create cli command in code tab for react

* add funds notice for solana

* add various things

* various updates

* various updates

* updated some guides and copy based on juan feedback

* Fix Solana faucet link

* Add disclaimer on how to deploy with Devnet

* Small fixes

* Update guidelines

* Fix currency selector bug

* Update hero copy

* fix build issues

* update to latest

* link solana cards

* Add partners

* update og images for shopify & solana

* Add solanathon og:image

* copy changes

* Update image size

* Center sponsors

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Adam Majmudar <[email protected]>
2022-10-12 17:41:45 +00:00
Jonas Daniels 68c70c6934 stop quering deprecated chains witbout RPCs (#540)
* stop quering deprecated chains witbout RPCs

* upgrade sdk version to nightly (which removes the deprecated chains
2022-10-06 07:29:10 +00:00
Jonas Daniels b851ed3476 [Permissions, Token] - fix permissions for custom contracts, use new token hooks (#535)
* fix permissions by upgrading sdk etc

* remove unused imports

* fix token
2022-10-04 13:26:32 -07:00
Nacho IacovinoandJonas Daniels 542d495f30 Add error handling for token API not supported (#531)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-03 11:10:35 -07:00
Joaquim Verges 8d4fdbcbd1 Expose proxy deploy flow for released contracts (#509)
* Expose proxy deploy flow for released contracts

* disable chain ids that don't have implementations

* update imports

* add factory/proxy to tracking event

* add s_factory on deploy too
2022-09-27 18:12:31 -07:00
Nacho Iacovino 1dba6075c6 Render goerli l2s on dashboard (#490)
* Render goerli l2s on dashboard

* Fix wrong chainId
2022-09-22 03:05:40 -07:00
Jonas Daniels 02dbfb5f9f Update embeds, update SDKs (#489)
* use dev sdks

* upgrade dev versions

* upgrade to nightly

* upgrade embeds

* fix default color option

* fix small issue

* fix uri issues for ipfs resolution

* update sdks again
2022-09-22 09:43:44 +00:00