Commit Graph
24 Commits
Author SHA1 Message Date
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
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 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