gochain / wallet Goto Github PK
View Code? Open in Web Editor NEWGoChain Wallet
Home Page: https://wallet.gochain.io
GoChain Wallet
Home Page: https://wallet.gochain.io
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.
t.me/gochain_testnet/4884
Can use remix to edit/compile and just deploy through this wallet.
http://remix.ethereum.org/
Reenable after any of the fields are modified.
For read only functions and variables, should be able to access them without having to enter a private key.
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.
A lot of people getting errors on that. So check if it's prefixed and if not, add it.
Other extensions the user has installed could be stealing the wallet data, I believe a Chrome Extension can be locked down and inaccessible by other extensions or sites.
More:
https://www.chromium.org/Home/chromium-security/education/security-tips-for-crx-and-apps
When deploying a contract, the user has the option of overriding the default gas limit of 300,000:
When using a contract, the user does not have that option, and the gas limit defaults to 2,000,000:
(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.
It's hard coded to 2M.
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.
When generating an ETH private key from MEW it omits the '0x' and results in generating a different public address when inputting into the 'Send tx' portion of the GO wallet.
Attempts to verify this contract result in error:
https://explorer.gochain.io/verify?address=0xA7620862540F635342B166206108D7B31C875Dd8
Name: MirrorSC
Code: https://gist.github.com/jmank88/c86d4bd7772ac90954320914f1d60ecc
The interface displays: ERROR OCCURRED DURING ANTI-BOT CHECKING. PLEASE TRY AGAIN
The javascript console shows https://explorer.gochain.io/api/verify
returning 400
and then a null field access on the empty response object.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.