Commit Graph
107 Commits
Author SHA1 Message Date
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
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
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
Jonas Daniels 9f9566366b remove alchemy sdk (#467) 2022-09-08 21:28:35 -07:00
Nacho IacovinoandJonas Daniels 13a09e6c8c Dashboard releaser improvements (#451)
* Create released contracts component

* Pass address as prop

* A lot ot stuff, make stuff nice

* Clean imports

* Fix build

* Add visit profile button

* Fix releases not showing correctly

* No need for this

* Remove selectable

* Small stuff

* Merge

* Don't show projects on releaser profile

* Working version, only mainnets

* Only fetch mainnets on releaser page

* Improve loading and fetched states

* Copy update

* Fix only showing mainnets for ens

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-07 22:35:57 +02:00
Avneesh AgarwalandJonas Daniels cdaf68ee70 fix: typos (#455)
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-06 14:25:24 -07:00
Jonas Daniels a275770c79 Jd/og (#454)
* og generation

* internalize og:image generation

* correctly specify image dimensions

* remove unused constants

* downgrade puppeteer core & chrome-aws-lambda

* attempt to slim things down further

* add vercel.json?

* fix pattern

* slim things down further

* move unused-things

* massively shrink _app.ts

* small landingpage improvement

* extract screenshot-taking

* remove unsused screenshot

* deal with wrong url

* fix env stuff

* add profile og image

* fix release vs releases
2022-09-06 09:31:52 -07:00
Nacho Iacovino 2f111dd7c1 Add binance faucet (#445) 2022-09-01 14:09:15 +00: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
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 9babbf16ed add careers link (#417) 2022-08-24 10:35:39 -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
Adam MajmudarandJonas Daniels a6d5d6e573 Fix batch upload bug on edition drop (#391)
* Fix batch upload bug on edition drop

* Remove .yalc

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:18:56 -07:00
Nacho IacovinoandJonas Daniels 7b6e9a0fa6 Move remove button to settings tab (#388)
* Move remove button to settings tab

* Make on dashboard one single component

* Remove unused imports

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:11:07 -07:00
Nacho IacovinoandJonas Daniels 6ee73cfc2e Add isAdmin check on settings for prebuilts (#389)
* Add isAdmin check on settings for prebuilts

* Use AdminOnly component where it makes sense

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 11:39:29 -07:00
Nacho IacovinoandJonas Daniels b01c95568b Add reset flag to make signature drop single phase consistent (#387)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 18:23:09 +02:00
Nacho IacovinoandJonas Daniels adb13cc148 Show toggles for prebuilts on custom contract pages (#374)
* Show toggles for prebuilts

* Fix lgtm

* useIsAdmin for prebuilts

* Revert back

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-15 09:28:29 -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
Nacho IacovinoandJonas Daniels 7bddef4082 Prebuilt source tab (#366)
* Working hardcoded version

* Fetch correct contract for each prebuilt

* Fix lgtm

* Hardcode latest version, not main

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 12:26:53 -07:00
Nacho IacovinoandJonas Daniels 53dbc1b647 Add burn to NFTs and Token custom contract pages (#367)
* Working for nft with yalc

* Add detected extension

* Add token burn, use dev release of react sdk

* Use new hook instead of old mutation

* Update react dev SDK

* Add clarification text

* Number -> parseInt

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 20:40:37 +02:00
Jonas Daniels f81d732a8f various quick wins (#343)
* various quick wins

* fix more various things, unify table for functions, variables, events, etc

* input types table and markdown parsing for the fn comments

* attempt to fix the drawer behavior
2022-08-07 18:51:52 -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
Nacho IacovinoandJonas Daniels 70d03dafc2 Deploy drawer (#317)
* Make deploy from release a drawer

* Fix spacing

* Fix menu going off-screen

* Remove another instance of matchWidth

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-02 03:13:14 +02:00
Jonas DanielsandNacho Iacovino 688dc80043 lots of changes to handle new routing (#310)
* lots of changes to handle new routing

* handle some redirect cases

* remove unused stuff

Co-authored-by: Nacho Iacovino <[email protected]>
2022-08-01 09:57:40 -07:00
Jonas Daniels ab9494897f upgrade react query to stable (#307) 2022-07-27 11:51:18 -07:00
Nacho Iacovino 7116b90ec2 Enable minting additional supply (#294)
* Enable minting additional supply

* FIx error
2022-07-26 00:32:18 +02:00
Jonas Daniels c12b41fddd now with hexagon avatar + parsing for markdown (#285) 2022-07-20 14:45:11 -07:00
Nacho Iacovino 74c83e2362 Fix transfer and burn in sig drop (#254)
* Fix transfer and burn in sig drop

* Add typings, fix cache

* Delete console.log
2022-07-13 03:34:51 +02:00
Adam Majmudar 4429e7184d 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
2022-07-08 16:23:55 -04:00
Nacho Iacovino d6fe693b72 Fix single NFT lazy mint on Signature Drop (#246)
Fix single NFT lazy mint
2022-07-08 13:08:45 -07:00
Nacho IacovinoandJoaquim Verges b59471034e 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]>
2022-07-08 16:19:22 +02:00
Jake Loo f523829412 Update index.tsx 2022-07-04 18:51:59 -07:00
Jake Loo 11b0d5cca7 Update index.tsx 2022-07-04 18:44:29 -07:00
Nacho Iacovino 2edd66628e Merge both batch uploads into one (#219)
* Make two batch files into one

* Disable Delayed Reveal on Edition Drop

* Don't use full width drawer for airdrop/snapshot
2022-07-01 03:36:20 +02:00
Nacho IacovinoandJonas Daniels 4885193acb New "Add to Dashboard" flow (#213)
* Add checkbox on deploy

* New add to dashboard flow

* Fix form

* Add tracking

* Fix build

* Fix lgtm

* Switch logic

* Delete console.log

* Remove add to dashboard from prebuilt

* Fix layout shift

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-29 01:34:38 +02:00
Jonas Daniels 548eff41a8 update interact with contract ui (#208)
* update interact with contract ui

* fix eslint
2022-06-23 15:31:04 -07:00
Nacho IacovinoandJonas Daniels 78c00505ba Enable L2s (#204)
* Enable L2s

* push up changes

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-22 20:17:38 -07:00
Nacho Iacovino 99a892d9c9 Old/New FTUX (#199)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log

* Flow working

* UI changes

* Remove unused imports

* Fix link to /new

* Add ERC badge, fix descriptions

* Add tracking

* Add learn more

* Add attempt/failed connect wallet events

* Add sdk context
2022-06-17 23:39:35 -07:00
Nacho Iacovino 9cc65c0654 Small ftux changes (#197)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log
2022-06-16 21:18:12 -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