Giter VIP home page Giter VIP logo

wallet's Issues

Add a timer during a transaction

This is another good place for people to see the performance and for good demos.

Once user clicks Send Tx, show a second clock that ticks up (seconds) until it's done. Then once it's done, show the total elapsed time.

Make it fairly noticeable too, large size.

Support for posting data to a contract

Currently, reading contract data works, but posting data isn't done yet.

Eg: to do a token transfer, it should popup a "to" and "amount" field (extraced from the ABI) and allow user to post it.

Enable Custom Gas Limit for 'Use Contract'

When deploying a contract, the user has the option of overriding the default gas limit of 300,000:
screenshot from 2018-12-20 08-28-00
When using a contract, the user does not have that option, and the gas limit defaults to 2,000,000:
screenshot from 2018-12-20 08-28-10
(example tx)
Users should have the option to override just like when deploying.

An additional 'nice to have' feature would be to use eth_estimateGas either automatically or via a manual 'auto-fill' button to calculate an appropriate gas limit, so they don't have to guess.

Initial wallet release

  • Add warning to use it in incognito mode
  • Put live
  • Release source
  • Write quick blog post

Some bugs in interacting with contracts

This contract: 0x002938CD48ec417d9f788d66Ca9cBf4daD75Cd2b on testnet

This abi:

[{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

Choose balanceOf function and watch console.

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.