2018-04-09 12:59:51 +00:00
|
|
|
## Preamble
|
|
|
|
|
|
|
|
Idea: 154
|
|
|
|
Title: Support web3.js library
|
|
|
|
Status: Draft
|
|
|
|
Created: 2018-04-09
|
|
|
|
|
|
|
|
## Summary
|
|
|
|
Ensure that any DApp that works in Metamask also works in Status by providing web3.js library support.
|
|
|
|
|
|
|
|
## Swarm Participants
|
|
|
|
- Lead Contributor: [@flexsurfer](https://github.com/flexsurfer)
|
2018-04-10 08:17:34 +00:00
|
|
|
- Contributor: [@dmitryn](https://github.com/dmitryn)
|
2018-04-10 08:07:14 +00:00
|
|
|
- Contributor: [@mandrigin](https://github.com/mandrigin)
|
|
|
|
- Contributor: [@dshulyak](https://github.com/dshulyak)
|
2018-04-10 08:17:34 +00:00
|
|
|
- Testing & Evaluation:
|
2018-04-09 12:59:51 +00:00
|
|
|
- PM: [@rachelhamlin](https://github.com/rachelhamlin)
|
|
|
|
- UX: N/A
|
|
|
|
|
|
|
|
## Product Overview
|
|
|
|
|
|
|
|
A fundamental step in supporting the developer ecosystem is to ensure that any existing DApp loads and is operable in the Status browser.
|
|
|
|
|
|
|
|
Users:
|
|
|
|
1. Developers who want to develop a new HTML DApp for Ethereum from scratch
|
|
|
|
2. Developers of existing HTML DApps that work on desktop with Metamask
|
|
|
|
3. Users exploring DApps in Status
|
|
|
|
|
|
|
|
There are a number of bugs preventing this currently. In addition to resolving any known issues, we will provide support for the web3.js library.
|
|
|
|
|
|
|
|
### Product Description
|
|
|
|
|
2018-04-09 13:58:26 +00:00
|
|
|
Developers testing on Status should find that any mobile-optimized HTML DApp is compatible.
|
2018-04-09 12:59:51 +00:00
|
|
|
|
|
|
|
Users can load, log in to, and transact inside any DApp using the Status browser.
|
|
|
|
|
|
|
|
### Requirements & Dependencies
|
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [#3174](https://github.com/status-im/status-react/issues/3174): Some Android devices can't find web3 library
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [#784](https://github.com/status-im/status-go/issues/784): Contract handler not called after contract deployment
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [#2479](https://github.com/status-im/status-react/issues/2479): web3 filters don't work with Status chat bot
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [#2704](https://github.com/status-im/status-react/issues/2704): Personal sign message support (CryptoKitties blocker)
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [#3131](https://github.com/status-im/status-react/issues/3131): Scrolling glitch in ERC dEX
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] [ISSUE REQUIRED](https://github.com/status-im/status-react/blob/develop/resources/js/web3_init.js#L25): Sync calls are not supported in Status
|
2018-04-09 12:59:51 +00:00
|
|
|
|
2018-04-10 08:39:56 +00:00
|
|
|
- [ ] ISSUE REQUIRED: [Blockchain Cuties](https://blockchaincuties.co ) does not load inside Status
|
2018-04-09 12:59:51 +00:00
|
|
|
|
|
|
|
### Minimum Viable Product
|
|
|
|
|
|
|
|
Goal date:
|
|
|
|
|
|
|
|
Description:
|
|
|
|
- Fix known issues.
|
|
|
|
- Support web3.js library v.0.20.3
|
|
|
|
|
|
|
|
Testing days required:
|
|
|
|
|
|
|
|
## Exit Criteria
|
|
|
|
- Test cases defined for web3.js v.0.20.3
|
|
|
|
- Known issues closed
|
|
|
|
|
|
|
|
## Success Metrics
|
|
|
|
- All tests pass QA
|
|
|
|
- Every Selected DApp works (loads, logs in, transacts)
|
|
|
|
|
|
|
|
## Future Iterations
|
|
|
|
- Support [web3.js 1.0](https://web3js.readthedocs.io/en/1.0/)
|
|
|
|
|
|
|
|
## Copyright
|
|
|
|
|
|
|
|
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
|
|
|
|
|