<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: xf00f</title>
    <description>The latest articles on DEV Community by xf00f (@xf00f).</description>
    <link>https://dev.to/xf00f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F108864%2F4f68613e-bf3d-43f3-9f07-159356bfaae2.png</url>
      <title>DEV Community: xf00f</title>
      <link>https://dev.to/xf00f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xf00f"/>
    <language>en</language>
    <item>
      <title>web3x - TypeScript port of Ethereums web3.js, for tiny builds.</title>
      <dc:creator>xf00f</dc:creator>
      <pubDate>Sat, 20 Oct 2018 00:56:43 +0000</pubDate>
      <link>https://dev.to/xf00f/web3x---typescript-port-of-ethereums-web3js-for-tiny-builds-3jkj</link>
      <guid>https://dev.to/xf00f/web3x---typescript-port-of-ethereums-web3js-for-tiny-builds-3jkj</guid>
      <description>&lt;p&gt;web3x is a port of web3.js to TypeScript. The main driving factor, beyond the need for a clean, robust, modular, type-safe client implementation for the browser and node.js, is build sizes. With web3.js coming in at ~800kb (~230kb compressed), it can have a noticeable impact on user experience on mobile when combined with the multitude of other libraries an application may require. Every little helps.&lt;/p&gt;

&lt;p&gt;This new release of web3x focuses on reducing build sizes further. Most Dapps only use the Eth module and expect an end user to use a provider like MetaMask to handle their accounts. In such cases it makes no sense to distribute code for multiple providers, the crypto code for handling accounts in local storage, shh, bzz, etc. By structuring component initialisation properly, tree-shaking will exclude most of the library that isn't required.&lt;/p&gt;

&lt;p&gt;A minimal application with web3x that deals with ERC20 contracts via MetaMask will produce a build via webpack of ~162kb (~46kb compressed).&lt;/p&gt;

&lt;p&gt;I am committed to maintaining this library going forward to satisfy any user of web3.js. Further, if there are any developers that find web3.js (and web3x) are missing key functionality that means they have to import other libraries, let me know as web3x aims to serve as many use cases as possible.&lt;/p&gt;

&lt;p&gt;Github:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/xf00f/web3x"&gt;https://github.com/xf00f/web3x&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Packages:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/web3x"&gt;https://www.npmjs.com/package/web3x&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/web3x-es"&gt;https://www.npmjs.com/package/web3x-es&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
