{"repo":"decentraland/eth-connect","free":true,"listed":false,"github":"https://github.com/decentraland/eth-connect","clone":"git clone https://github.com/decentraland/eth-connect.git","description":"🔌 Ethereum connector for Decentraland scenes and applications","language":"TypeScript","stars":49,"topics":["ethereum","web3","typescript","json-rpc","eth"],"license":null,"category":"blockchain-web3","readme_excerpt":"eth-connect eth-connect is a TypeScript-based web3 library alternative which implements the Generic JSON RPC spec as well. You can follow the JavaScript API documentation until TypeScript docs are released. Design goals - A Typed web3.js alternative - Have as few convention-invented functions as possible (by following the RPC specs as much as possible) - Leverage WS and HTTP providers - Portable (support and work equally in both browser and node) - Painless eth usage: Using contract factories, well-split event types (block, transaction and contracts plus topics) - async/await out of the box Installation Using NPM: Importing as a browser module: Examples Below are some simple illustrative examples. You can also find more complete examples are in the integration /tests folder. Initialize with a provider or Initialize a contract Get the accounts Build the project Clone this project and run the following in the terminal: Run tests Comparison web3 eth-connect ------------------ :------: :-----------: Browser support ✔ ✔ Promise API ✖ ✔ Strict type checks ✖ ✔ TS/JS Docs ✖ ✔ Wiki Docs ✔ ? Coverage ![][wc] ![][ec] Dependents ![][wdp] ![][edp] Install size ![][wis] ![][eis] [wd]: https://img.shields.io/npm/dm/web3.svg [ed]: https://img.shields.io/npm/dm/eth-connect.svg [wc]: https://coveralls.io/repos/ethereum/web3.js/badge.svg?branch=master [ec]: https://codecov.io/gh/decentraland/eth-connect/branch/master/graph/badge.svg [wb]: https://travis-ci.org/ethereum/web3.js.svg [eb]: https:/","default_branch":null,"files":null,"tree":[],"storefront":"/r/decentraland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/decentraland/eth-connect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}