GithubHelp home page GithubHelp logo

teemowallet's Introduction

Chrome Extension (built with TypeScript + React)

本人英语不好可能下面的表述会有语法错误

This project is a boilerplate project to allow you to quickly build chrome extensions using TypeScript and React.

Building

  1. Clone repo
  2. npm i
  3. npm run dev to compile once or npm run watch to run the dev task in watch mode
  4. npm run build to build a production (minified) version

Installation

  1. Complete the steps to build the project above
  2. Go to chrome://extensions in Google Chrome
  3. With the developer mode checkbox ticked, click Load unpacked extension... and select the dist folder from this repo

合并

  1. 保持当前分支代码最新 并 push
  2. 切到master 分枝, 并 拉取最新代码
  3. 在master 分枝, git merge (需要合并的分枝)
  4. master push 到github

3 的 操作表示 把 xx 分枝 合并进master

teemowallet's People

Contributors

vincentopensource avatar dabanli123 avatar qingmingzi avatar

Stargazers

Gábor Mihálcz avatar Jimmy avatar dzmitry-lahoda avatar  avatar

Watchers

James Cloos avatar lights li avatar tanyuan avatar Jimmy avatar  avatar

teemowallet's Issues

dAPI consistency

Hello!

I'm wondering if it was possible to have more consistency between Teemo API and o3 API.
Right now the getProvider() and getAccount() are similar, but the getBalance() is different.
On o3 I have to do this:

o3dapi.NEO.getBalance({
            "params": [
            {
              "address": address
            } ],
            "network": 'MainNet'
          })

While on Teemo I have to do this:

Teemo.NEO.getBalance({
            params:{
              "address": address
            },
            network: 'MainNet'
          })

I thought that later, the idea was to allow the smart economy package to handle all provider in a smart way, but if these simple methods are already different, I will have to handle them differently depending on the provider .. This is only for the getBalance() as the other I mentioned are exactly the same :)

Provide Claim Gas function

If user owns NEO in their wallet, GAS will be generated for that user. So in Teemo, user should be able to see how much GAS is claimable, and also be able to claim GAS.

disconnect() function

I would like to have a disconnect() function available on Teemo dApi, so that I can trigger a new wallet connection if the user wants to change the wallet.

Basically something which triggers a disconnect event and then allows me to listen to that event.

Teemo.NEO.send() returning error

Hello!

Trying to implement Teemo dAPI and I'm having issue with the send() function.
I tried with your own example, I do have enough GAS in my wallet, but for some reason it's not working.

I get the popup once I do a send(), but there's an error in the console and the popup looks empty.

Screen Shot 2019-03-19 at 20 31 40

Screen Shot 2019-03-19 at 20 29 30

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.