Commit Graph
32 Commits
Author SHA1 Message Date
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 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
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
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 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 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
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 Daniels c12b41fddd now with hexagon avatar + parsing for markdown (#285) 2022-07-20 14:45:11 -07: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 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
b5a3982523 Add balance zero notice (#158)
* Wip balance zero notice

* use new balance hook

* fix build

* switch mismatch logic

* Add tracking

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2022-06-02 01:55:13 +02:00
Nacho Iacovino ff52a715e4 Fix wrong image on Brave Wallet (#147) 2022-05-25 18:09:55 +02:00
Jonas Daniels 1d837f47b9 Jd/shrink it (#125) 2022-05-17 20:46:31 -07:00
Nacho Iacovino f0470bdf05 Fix Coinbase Wallet not showing on mobile (#120)
* Change filter

* Generic wallet icon

* Update icon

* Fix logic
2022-05-16 11:01:07 -07:00
Jonas Daniels 3b647fccc1 react 18 upgrade (#80)
* react 18 upgrade (WIP)

* fix typography logic

* fix lots of lint issues
2022-05-12 18:03:53 -07:00
Jonas Daniels a94139ab69 upgrade sdk (#106)
* upgrade sdk

* upgraded sdk more

* do not filter disabled connectors

* maybe make it work for now?

* update sdk more

* stable version
2022-05-05 19:19:02 -07:00
Jonas Daniels 267bf0db09 expose gnosis safe (#102)
* expose gnosis safe

* gnosis safe
2022-05-03 18:33:13 -07:00
Jonas Daniels 8d420235f6 add experimental gnosis safe implementation (#97)
* add experimental gnosis safe implementation

* update react sdk

* upgrade sdk

* new connect wallet dropdown /w gnosis

* fix learn more link

* upgrade deps mainly

* add gnosis and walletConnect popover

* add errors to gnosis

* handle outline badges properly
2022-05-01 14:53:00 -07:00
2eda4d3022 Custom Contract (working branch) (#35)
* initial /publish

* custom contract init (#27)

* clean up customContract interface for the moment

* upgrade sdk & make multi-uri publish work

* upgraded dependencies and customContract workflow

* more custom contract stuff

* publish ui update

* basic publish & deploy flow works

* cleanup eslint

* update sdk

* add contract address to toast and log it out

* integrate newer sdk version

* upgrade deps

* full deploy loop functional with updated sdk

* upgrade sdk

* upgrade deps

* upgrade sdk to fix big contracts

* full flow!

* update deps

* update to latest sdk, support custom contracts in contracts list

* one more sdk update

* cache keys // analytics mapping

* make mr. typescript happy

* try catch the resolve type (need to fix it in SDK)

* fix type check

* upgrade sdk & handle `ipfs=` from cli

* fix yarn lock

* publishBatch

* add very basic code tab

* fix build

* init cleaning up code tab

* fix zindex issue

* update code segments

* prep some more stuff

* remove duplication

* this wont build and that is ok

* fix build

* upgrade react package

* add super basic mint button

* update sdk

* clean up some custom contract interfaces a bit

* updated sdks all around

* change minting to useNFTMint

* append contract.functions to signatures so you can copy paste

* add byoc page tracking

* new publish page

* slightly fix hook

* custom deploy form update

* completely overhauled deploy flow now

* some improvements, empty states etc

* only show coming soon on non-mumbai

* tw-components

* fix contract items table

* upgrade deps

* fix secondary cta

* fix string

* fixed things more

* fix up code-block

* small code tab improvements

* Add mint drawer if ERC721 (#95)

* Update thumbnail/title/desc

* Add custom nft mint

* Fix FormHelperText

* Delete unused imports

* Remove imports

* fix build issues etc

* Add token drop (#93)

* Update thumbnail/title/desc

* Merge

* wip

* Token drop page working

* Add claim phases tab, add TokenDrop to conditionals

* update font size

* NFTs/token conditional

* Add QuantityInputWithUnlimited

* Update SDK

* Fix unlimited

* Remove fontSize

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

* set tokendrop back to coming soon

* remove "@dev" tag for sdk installation

* fix mappings file

* fix indentation on custom code tab

* ship central 🚢

* fix build

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jake Loo <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2022-04-28 17:51:20 -07:00
Jonas Daniels adb759d43c rewrite magic connector name 2022-04-22 21:26:37 -07:00
Nacho IacovinoandJonas Daniels da783950ff Small fixes for Magic connector (#78)
* Small fixes

* Make modals responsive

* Use useForm

* useForm more

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-22 18:06:11 -07:00
4e7fdd7cff am/magic (#76)
* Magic added to dashboard

* fixed react sdk

* switch network support

* use process env etc

* Add logo

* fix wallet connect icons

* Add logos from relative path

* Upgrade SDK version

* Add magic logo

Co-authored-by: adam-maj <[email protected]>
Co-authored-by: adam-maj <[email protected]>
2022-04-22 18:07:35 -04:00
Jonas Daniels b43a63e12d Initial commit 2022-03-17 14:41:47 -07:00