Commit Graph
28 Commits
Author SHA1 Message Date
Jake Loo e546a00049 Support etherscan verification for un-released contracts (#557)
* unreleased contract verification

* short-circuit params extraction for 0 input
2022-10-12 12:40:51 -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
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
Jonas Daniels 46c82127d1 add KYB and init adding register contract (#463)
* add KYB and init adding register contract

* bearer id

* full setup loop

* merge in main

* integrate nightly of sdk

* paper enabled flag
2022-09-20 22:07:18 +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
Jonas Daniels 9f9566366b remove alchemy sdk (#467) 2022-09-08 21:28:35 -07:00
Joaquim Verges 761887a354 Enable BSC + add query param to force show the verify button (#440)
* Enable deploys on BSC

* force verify button to show up when adding query param
2022-08-30 13:24:04 -07:00
Jonas Daniels 34780d7fcd binance + monorepo nightly (#435)
* binance + monorepo nightly

* update to latest nightly

* even more nightly

* update versions

* stable versions
2022-08-29 23:50:56 +00:00
Jonas Daniels 15a2749c20 remove extension detect (#433)
* remove extension detect

* fix up verification status
2022-08-27 14:29:16 -07:00
Jonas Daniels e8f84b4f8e add back sentry (#427)
* add back sentry

* fix up verify api route for now?

* upgraded deps
2022-08-25 23:12:38 -07:00
Nacho IacovinoandJonas Daniels 7777cd81b8 Sources cleanup (#392)
* Add Copy ABI to relases

* Use Accordion, fix types

* Move accordion to own component

* Fix condition

* Move stuff around

* Rename source to sources

* Simplify logic

* Simplify logic in sources tab

* Fix abi type

* Fix more abi types

* Prettier did this

* Fix lgtm

* Get ABI from deployed contract

* Fix query

* Get ABI for prebuilts

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-17 16:59:58 -07:00
Jonas Daniels c65366365e show contract name in dashboard instead "custom" when possible (#373)
* show contract name in dashboard instead "custom" when possible

* fix typescript issue
2022-08-12 15:43:40 -07:00
Jonas Daniels 588261671e attempt using dedicated alchemy url + better ipfs resolution (#344)
* attempt using dedicated alchemy url + better ipfs resolution

* fallback true instead of blocking maybe

* shallow render for redirect purposes

* small cleanup
2022-08-09 09:57:34 -07:00
Jonas Daniels 6e09d7f85b much longer cache for releases (#326)
* much longer cache for releases

* lots of cache changes etc

* fix vercel url issue

* fix small further things

* only revalidate on actions that actually cause caches to get stale
2022-08-02 21:34:44 -07:00
Jonas Daniels d23b27bad0 small updates (#309) 2022-07-27 18:11:26 -07:00
Nacho Iacovino 9fe29f9d11 Batch upload for custom contracts (#277)
* Make two batch files into one

* Disable Delayed Reveal on Edition Drop

* Don't use full width drawer for airdrop/snapshot

* big wip

* Detect correct feature

* Make it work

* phrasing plz

* Fix lgtm

* Update SDK
2022-07-19 15:54:09 -07:00
4a14491515 Etherscan verification API (#231)
* etherscan verification API

* Add info hints for arrays and struct inputs (#241)

* Add placeholder text for arrays and structs

* Update spacing

* Update JSON message

* Add testnet support for new contracts (#226)

* Add testnet support for new contracts

* Fix already selected chain

* Sig drop coming soon

* Enable multiwrap on mainnets

* Fix pack url and disable on l2 testnets

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

* Fix push to previous route (#229)

* Fix push to previous route

* Merge branch 'main' of https://github.com/thirdweb-dev/dashboard into ni/push-to-previous-route

* Prettier error and tx responses on contract explorer (#243)

Add tx hash

Co-authored-by: Joaquim Verges <[email protected]>

* Enable signature drop custom page (#230)

* WIP of enabling signature drop

* Update SDK

* Fix copy

* fix build error

* Reset to empty array if maxClaimable 0

* Consistent methods

* Fix filter

* Fix build

* Add embed

* Fix useEffect

Co-authored-by: Joaquim Verges <[email protected]>

* Fix single NFT lazy mint on Signature Drop (#246)

Fix single NFT lazy mint

* Add activity tab to custom contracts (#245)

* Move activity display to activity tab

* Add new activity table

* Update padding on accordion

* Show at most 2 events on a row

* Removed unused imports

* polish ui

* ui polish

* log RPC url

* add readonly settings

* switch to default providers

* update latest SDK, cleanup

* show error message when contract is not released

Co-authored-by: Adam Majmudar <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-07-14 13:56:16 -07:00
Nacho IacovinoandJonas Daniels fcba9f7bc1 Add all new chains (#191)
* Add all new chains

* Import from SDK

* Add RPC urls

* Fix type error

* Fix currency map

* Fix build

* Fix imports

* Add faucets, fix stuff

* Rename

* Add Optimism/Arbitrum icons

* Disable arbitrum/optimism

* Fix build

* Fix build again

* Update SDK

* Update TypeScript SDK

* Add registry

* Fix faucets

* Update embeds

* slight changes

* Update embeds

* Filter gnosis, update optimism kovan alchemy url

* Simplify transfer modal

* Remove console.logs

* Fix embeds

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-14 17:02:21 -07:00
Jonas Daniels 02a488b4a1 fix splits logic more (#136) 2022-05-23 00:51:18 -07:00
Jonas Daniels 1d837f47b9 Jd/shrink it (#125) 2022-05-17 20:46:31 -07:00
Jonas Daniels b51b7f9a6d fix v1 projects now showing up for a given address on dashboard (#101)
* fix v1 projects now showing up for a given address on dashboard

* add feedback modal

* fix up feedback form

* amek rating a bit safer
2022-05-02 19:47:30 -07:00
Jonas Daniels 07faeabaab upgrade thirdweb sdks (#41)
* upgrade thirdweb sdks

* upgrade deps more

* make the balance endpoint a bit safer

* make splits sane
2022-04-04 14:13:51 +02:00
Nacho Iacovino e5d49aa657 Delete feedback modal, add link to hellonext (#39) 2022-03-31 11:30:27 +02:00
Nacho Iacovino 556b4f4a50 Gas estimator (#30)
* Add mapping

* Basic modal with gas price

* Fetch gas price from etherscan

* Only 4 decimals

* Make /gas a page

* Create gas endpoint

* Show USD value

* Built switch

* Linting

* Make ETH the default

* Prettier pls

* Fix styles

* Fix corner

* Border color change

* Add useGas query

* Add defaults

* Fetch data only once

* Use try/catch and promise.all

* Consistent naming

* Move default inside parenthesis

* Use parenthesis

* Prettier pls

* Add undefined to possible type

* Fix error status

* Add key directly to query

* Add links to portal

* Add tooltips

* Add disclaimer

* Add ethereum badge

* Add external link icon

* Make Switch smaller

* Use semantic borderColor
2022-03-30 16:43:33 +02:00
adam-maj 1b052de983 am/splits (#15)
* Get address balances for splits contract

* Distribute all currencies

* Update tokens on distribute

* filter out native token

* Add numTransactions
2022-03-21 22:33:26 -04:00
Jonas Daniels 80f61b45ec remove unused env vars from .env.example and remove unused api endpoints 2022-03-17 15:27:49 -07:00
Jonas Daniels b43a63e12d Initial commit 2022-03-17 14:41:47 -07:00