Commit Graph
58 Commits
Author SHA1 Message Date
Nacho IacovinoandJonas Daniels ed0b4b2569 Smart Wallets -> Account Abstraction (#2349)
* Smart Wallets -> Account Abstraction

* Extra renaming

* Update dependencies

* only service utils lol

* Update contract-ui/tabs/overview/helpers/getGuidesAndTemplates.ts

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-18 20:33:17 +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
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
Jonas Daniels cb3575faa1 chore: Update API endpoint for fetching chains (#2169)
* chore: Update API endpoint for fetching chains

* prettier fixes?

* stop fighting me prettier please :)
2024-02-01 21:00:24 +00:00
Manan Tank 1692e4b04e Update Docs links (#2110) 2024-01-10 22:25:00 +00:00
Firekeeper 500574494c Cleanup Unity code snippets (#1995)
* Cleanup Unity code snippets

* Formatting
2024-01-05 23:19:17 +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 IacovinoandJoaquim Verges e4e13e7881 New dashbord product grouping (#1585)
* New wallets sidebar

* basic smart wallet page

* Update overview

* Use select instead of radio group

* Whoops

* Fix

* Fix loading

* Small changes to connect wallet tab

* fix loading states

* Rename to connect

* Add explanation to smart wallets

* New internal dashboard navbar

* Fix?

* Capitalizationn

* Pls

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-08-25 01:22:28 +00:00
Joaquim Verges 10a43bcd80 copy changes for smart wallet notices (#1550) 2023-08-15 14:22:15 +00:00
Nacho Iacovino 86f66d3d08 Improve smart wallet factory UX (#1548)
Improve smart wallet factory experience
2023-08-15 00:46:57 +00:00
Joaquim Verges d76b68c947 change code snippet for initializing TS SDK (#1424)
* change code snippet for initializing TS SDK

* even clearer

* add python and go snippets
2023-07-19 09:08:56 +00:00
e115cbc969 Banners and clarifications for api keys (#1413)
* Add AnnouncementCard

* Add clarifications

* Update banner

* Update value prop

* Update url

* Update components/homepage/sections/ValuesSection.tsx

* Invert colors

* Add clarification for bundle

* Fix import

* make announcement bg shiny

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Tair Asim <[email protected]>
2023-07-19 01:37:34 +00:00
Jonas Daniels d5483e1eda replace with real client_ids 2023-07-18 13:07:00 -07:00
Nacho Iacovino 54d11ec0ae API keys tracking + initialization (#1405)
* Add tracking to api keys

* Update sdk initializations

* Update RN

* Update contract-ui/tabs/code/components/code-overview.tsx
2023-07-15 00:01:18 +00:00
nkrishang 6842b9e0d5 Rename smart wallets of the SDK -> accounts (#1348)
* Rename smart wallets of the SDK -> accounts

* revert back change in robots.txt
2023-06-29 16:17:16 +00:00
Nacho Iacovino a222bb344b Add environment as query param on build tab (#1342) 2023-06-28 00:17:39 +00:00
Nacho Iacovino 6d5866e87a Improvements to Accounts page (#1326)
* Link to created account, show associated accounts on table

* Add info on build tab for smart wallet factory

* Add some margin

* Fix build

* Fix build

* Update sdks
2023-06-26 17:07:03 +00:00
Nacho Iacovino efa7afe35f Fix wrong icon in embeds connect wallet (#1282)
Fix icon not working
2023-06-07 22:47:54 +00:00
Manan Tank 17b3fea6c8 No config Any EVM (#1086)
* temp

* make it work
2023-04-08 04:35:41 +00:00
Adam Majmudar c21e74d1b4 Update call snippets for react and typescript (#1068)
* Fix code tab with new react & sdk snippets

* Update TS snippets

* Fix web3 button
2023-04-04 19:32:29 +00:00
Nacho IacovinoandJonas Daniels 99cc71528c Make the selector a dropdown on the sidebar on build tab (#1046)
* Make the selector a dropdown on the sidebar

* Fix build

* Hide sidebar on mobile

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-04-03 16:28:13 +00:00
Nacho Iacovino 9786439194 Fix js snippet (#1038) 2023-03-28 20:26:08 +00:00
Jonas Daniels d1da4dd7d1 lots of clean up (#1030)
* lots of things

* further cleanups
2023-03-28 11:35:08 +00:00
iketw 636298f880 [RNCodeTab] Add a link for installation instructions (#985) 2023-03-16 21:14:35 +00:00
iketw 69eca5f1d7 Add React Native code snippets (#976)
* [ReactNativeDashboard] Add ReactNative code tabs in Dashboard and code snippet to the landing page

* complete RN installation steps

* [RNInstall] Add dependencies comment

* [RN] direct users to installation guide
2023-03-16 18:26:43 +00:00
Joaquim Verges 6a01c87553 show unity code snippets in dashboard (#977)
* show unity code snippets in dashboard

* make js the default code selection
2023-03-14 23:51:06 +00:00
Nacho Iacovino 91b888b5da Mobile improvements/fixes (#944) 2023-03-06 20:43:21 +00:00
Jonas Daniels acbe1b2601 Jd/sidebar (#941)
* fix couple build things

* further improvements

* update
2023-03-05 02:29:36 +00:00
Nacho Iacovino bbb72f94b1 Fix default replace (#919) 2023-02-27 22:42:59 +00:00
Nacho Iacovino 2a2c618dbb Snippets in more languages (#915)
* Only one language selector

* Make selector fetch different snippets

* No prebuilt tab

* Replace wallet address with connected wallet

* Remove comments

* Don't show unity contract metadata snippets
2023-02-26 07:24:11 +00:00
Nacho IacovinoandJoaquim Verges 4d77cb623a Extension-based code tab (#912)
* Change order to not have an empty line

* Extension-based code tab

* Fix logic on when to show custom code tab

* wip sidebar

* Fix sidebar linking

* New UI

* Add icon to sidebar

* Remove unused imports

* Only show for custom contracts

* Don't have the sidebar on publish page

* Update sdks

* Update components/contract-components/hooks.ts

* fix storage

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-02-25 04:02:01 +00:00
Nacho IacovinoandJonas Daniels bcc59561c3 New code tab (#901)
* Working version with read/write functions

* Add event tab and clean up

* Fix args

* A lot of stuff to initialize the chain

* Pass RPC for Python/Go

* Revert for now

* Fix js init

* Remove log

* Revert for now

* Add unity init and more event snippets

* Add getting started to chainSlug page

* Fix build

* Configure chain when clicking a contract to deploy

* Fix styles

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-24 00:03:16 +00:00
Jonas Daniels 66cf419832 auto-verify where possible (#896) 2023-02-22 02:00:01 +00:00
Nacho IacovinoandJonas Daniels b69691b402 Dashboard revamp (#860)
* Move current /dashboard to /contracts

* Renamings

* Create navbar

* Add dashboard cards

* Add changelog with base styles

* Better styles

* Add arrow

* Basic storage page

* Add integrating into your app section

* Fix build and style

* Add IpfsUploadDropzone component

* Add visibility public

* Improve styles

* Make nicer copy hash component

* Make it responsive

* Basic card structure

* Render all chains

* Link to chain page

* Add search

* Fix long chain styles

* Update search width

* Update color

* Slice the list for now

* Use new TrackedCopyButton component

* Fix styles

* Various feedback addressed

* Address chains feedback

* Disable upload with disconnected wallet

* lots of changes

* Progress things amiright

* No logs

* Change supported types

* Small changes

* Add sidebar

* Rename chains to rpc

* Add metadata to upload

* Change gateway section

* Add CLI section

* Update chains page SEO

* Update URL

* Change checkmark to only show when chain was added to dashboard

* upgrade deps

* RPC page changes

* Improve cli section in /storage

* Revert gateway section

* lots of cleanup

* further cleanup

* small fix

* remove yalc

* remove rocket

* Small improvements for storage page

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-21 19:46:20 +00: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
Jonas Daniels 6e03c1e51e ethers v5 (#854) 2023-02-10 05:41:45 +00:00
ccbcbe6485 feat: Add contract overview page (#826)
* build your app

* correct link for build your app

* add share contract

* add padding to badge preview

* linting and add contractType prop

* night progress

* most nacho fixes

* hide view all button and handle conditional guide/template rendering

* small tweak for rahul

* UI tweaks

* Update Guide Links

* add events table -- event links not working

* reorganize ui, simplify latest events, more apparent build your app link

* add skeleton

* minor event label ui tweak

* fix skeleton height and add autoscroll to top

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-02-01 15:53:15 -08:00
Nacho Iacovino 703d3c144c Show prebuilt code tab for Multiwrap and Pack (#808) 2023-01-18 02:31:06 +00:00
Nacho Iacovino 646b3bac3e Fix wrong chainName on code tab on release page (#727) 2022-12-13 00:36:45 +00:00
Nacho Iacovino cec19593ad Add code tab to releases (#725) 2022-12-12 16:14:47 -08:00
Jarrod WattsandJonas Daniels 448fb117f3 Jw/code tab v3 patches (#641)
* Add isLoading and error to code tab useContact snippet

* Add @latest to solana starter CLI snippet

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-14 19:04:22 +00:00
Nacho IacovinoandJonas Daniels 323b5e3cf4 Add Web3Button option to code tab (#597)
* Add Web3Button option to code tab

* Add docs link

* Fix build

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-21 03:13:25 +00: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
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
Jonas Daniels 53e92add39 move over the last prebuilt pages and use @nightly (#481)
* move over the last prebuilt pages and use nightly

* fix lint

* update to latest dev

* remove log

* fix various more things

* upgrade to @nightly

* fix lister for creating listings

* update dependencies to solve token metadata issue
2022-09-13 21:15:37 +00:00
752b2c2634 Refactor for react/sdk v3 (#457)
* Refactor claim conditions

* Add util function

* Full NFT pages refactor

* Improve onDashboard

* Token refactor fun

* Fix some logic

* Make token drop use custom contract pages

* Remove all the things

* Fix checks

* Fix delayed reveal

* Fix marketplace embed

* Fix lgtm

* Change detection strategy

* Improve some checks

* Reduce use of actualContract

* Fix lgtm

* Fix build

* Some renamings and some more cleanup

* Default sources to release source if found

* Fix lgtm

* Rename multiwrap

* Use useTokenDecimals hook

* Fix token forms not accepting decimals

* Check decimals for inputs

* Fix logic

* Update packages

* update SDK + add Optimism/Arbitrum goerli testnets

* Add goerli l2s to disabled chains of gnosis

* Add comment

* Fix todo

* Rename detection

* Fix code tab on multiwrap and pack

* Add deprecated text

* Add faucet links

* Prettier comments

* Check isDirty for all forms

* add latest nightly

* upgrade nightly and use stable for storage

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-09 18:16:09 -07:00
Nacho IacovinoandJonas Daniels c480421c97 Make nft drop contracts use custom contract page (#405)
* Make nft drop contracts use custom contract page

* Fix claim conditions detection of token drop

* Hide tab until we fix erc20 cc

* Fix hooks

* Fix lgtm

* Add MinterOnly checks

* Only show burn/transfer/airdrop if balance > 0

* Fix token balance

* Fix lgtm

* Redirect old urls

* Delete console.logs

* Fix import

* Add claim conditions banner

* Use old code tab for prebuilts

* Disable add button when conditions are saving

* Only show banner to admins

* Remove eslint disable

* Use activeChainId

* Don't render Drawer if not minter

* Clean stuff

* Stop breaking react

* Improvypvyvpy

* Show button but disable it

* Save omg

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-31 01:41:41 +00:00
Nacho IacovinoandJonas Daniels afce321924 Update how we get contract explorer (#406)
* Update how we get contract explorer

* Use same fn on code tab

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-23 15:25:28 -07:00
db1a16166c Move function selector on code tab (#390)
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:40:39 -07:00
Nacho Iacovino c9a7387084 Code tab fixes (#357)
* Fix network

* Fix empty parameter
2022-08-10 21:39:04 +02:00