Giter Site home page Giter Site logo

eth's Introduction

@pie-dao/eth

Installation

yarn add @pie-dao/eth

Commands

yarn lint

Runs the linter to make sure all is well with the world. Please make sure to do this prior to submitting any PRs. Code which fails linting will be rejected.

yarn release

Lints and the publishes the to npmjs.org.

Development

https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react

Note: When developing locally using yarn link, make sure to link react as well:

This problem can also come up when you use npm link or an equivalent. In that case, your bundler might “see” two Reacts — one in application folder and one in your library folder. Assuming myapp and mylib are sibling folders, one possible fix is to run npm link ../myapp/node_modules/react from mylib. This should make the library use the application’s React copy.

eth's People

Contributors

dmvt avatar

Watchers

James Cloos avatar  avatar

eth's Issues

[Feature] JSDoc documentation

User Story

  • As an <audience/user>: dev
  • I want to <action/task>: be able to read concise documentation of what each function does
  • so that <outcome/goal/benefit>: so I don't have to read the code to know what's happening

Type

  • Enhancement
  • Maintenance
  • Refactor

Description

https://en.wikipedia.org/wiki/JSDoc

Definition of Done

Attach files or screenshots if it's helpful for this issue.

[Feature] Blocknative Connect

User Story

  • As an <audience/user>: user
  • I want to <action/task>: connect to eth using Blocknative
  • so that <outcome/goal/benefit>: more wallets are supported

Type

  • Enhancement
  • Maintenance
  • Refactor

Description

The standards are not respected by the majority of wallets. Blocknative Connect resolves this issue by providing a common interface for connecting to various wallets. https://www.blocknative.com/onboard

Definition of Done

  • When blocknative is connected (via the adapter class), clicking the connect eth button initiates the connect flow
  • When blocknative is not connected or available, we fall back on the current approach of using window.ethereum / metamask only

Attach files or screenshots if it's helpful for this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.