Commit Graph

3 Commits

Author SHA1 Message Date
Felipe Mendes 8b88cf2881
feat: UI metamask integration (#41)
* feat: add redux and metamask slice

* refactor: move from metamask to generic wallet using ethers

* feat: add wallet button base

* feat: add getContract function and mint functionality

* refactor: move functions to ethereum file

* feat: wallet menus and disconnect function

* refactor: Ethereum object typings

* feat: add FleekERC721 contract interaction abstraction

* refactor: remove token detail fetch mock using

* refactor: add ethereum mint function to mint site component

* feat: add wallet initialize

* wip: add signature for lastTokenId function

* feat: integrate list of tokens

* refactor: mint params construct

* fix: global window.ethereum type definition

* fix: remove console log

* fix: remove todo comment

* fix: list view items displaying
2022-12-20 14:24:41 -03:00
Felipe Mendes 4836dd0436
chore: precommit hooks (#18)
* chore: add husky and lint-staged

* chore: add postinstall script

* chore: add prepush test hook

* chore: add skip tests flag

* chore: remove skip tests flag

* chore: fix format command to verify json files
2022-12-16 14:57:49 -03:00
Camila Sosa Morales 09d24f9723
feat: mint site view (#15)
* wip: add routes

* refactor: add config for hot reload con vite.config.js

* wip: added chakra-ui. start with the form

* feat: add formik for form validation

* feat: added validation for addresses

* feat: add success/failure message. add onSubmit handler

* feat: add setSubmitting false

* feat: update metadata fields

* wip: add mocked function

* feat: mocked onSubmit funciton

* Apply suggestions from code review

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* Apply suggestions from code review

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>

* refactor: PR review changes

* feat: add validation for image urls. remove controller address

* reafctor: refactor fields validation

* refactor: create input field component

* style: add responsive styles. change bg color and font. change back button

* refactor: apply PR comments

Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
2022-12-13 09:32:55 -03:00