<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Edward Hall on Medium]]></title>
        <description><![CDATA[Stories by Edward Hall on Medium]]></description>
        <link>https://medium.com/@edward.hall?source=rss-95f6c10ea76d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zTGIaG6Vdlvp6SY-ElK2vg.jpeg</url>
            <title>Stories by Edward Hall on Medium</title>
            <link>https://medium.com/@edward.hall?source=rss-95f6c10ea76d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:40:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edward.hall/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[WHY ARE GAMERS SO ANTI-NFTS?]]></title>
            <link>https://medium.com/myosin-xyz/why-are-gamers-so-anti-nfts-653c00e36d69?source=rss-95f6c10ea76d------2</link>
            <guid isPermaLink="false">https://medium.com/p/653c00e36d69</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Edward Hall]]></dc:creator>
            <pubDate>Thu, 28 Jul 2022 16:06:20 GMT</pubDate>
            <atom:updated>2022-07-28T16:24:35.751Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6_ZxU_f-gpV2ntSQLz6Og.png" /></figure><p>NFTs have been one of the hottest trends in tech over the past two years. Media the world over has been awash with stories of cartoon JPEGs being snapped up by celebrities for seemingly insane sums of money, and of the young artists that created them becoming overnight millionaires.</p><p>While the commercial and social opportunities that NFTs can unlock are seemingly limitless, most people seem to dismiss NFTs as just a passing fad without really grasping their true potential. Perhaps most surprisingly, the one group of people that seems to have pushed back hardest against NFTs is the global gaming community.</p><p>For decades now, proud geeks (myself included) have been spending their pocket money and salaries on not only real world, “useless” collectibles from their favorite games and movies, but in-game digital items as well, such as <em>CS:GO</em> skins and <em>Fortnite</em> dance moves.</p><p>In fact, for 18 years, <em>Second Life</em> has had players exchanging its own digital currency, “Linden Dollars”, to change their character’s looks and clothing, or to upgrade the items they own and the places they live.</p><blockquote>At the same time, Zuckerburg’s Meta vision is neither radical nor original — digital landlords renting out virtual land in the metaverse is nothing new.</blockquote><p>In fact, the whole concept of owning and trading digital items has been a popular concept proposed by many visionaries since the earliest days of science fiction, and most notably during the cyberpunk explosion of the ’80s and ‘90s.</p><p>If there was one group that was the perfect demographic to love NFTs, one would think it would be gamers, because the idea of ownable digital assets has already been such a large part of their lives for so long. So why now, when NFTs are all the rage, do so many gamers seem to be so against them?</p><h3>Are you not entertained?</h3><p>An ongoing tug-of-war of profits vs fun has been ongoing within the gaming industry for many years now. While game development studios want to create the most enjoyable experiences, they are also incredibly expensive to run with thin margins, leading many studios to seek to maximize their profits.</p><p>The line between generating profits and becoming greedy is an incredibly fine one to walk. If you charge too much, you risk becoming a social pariah, enraging the online, pitchfork-wielding mob. But at the same time, a single unprofitable release has also been the death knell of many great studios.</p><p>As a result, we’ve seen too many studios pursue questionable money grabbing tactics, resulting in the wearing down of the average gamer’s resilience to bullshit. Gamers are increasingly fed up with what they see as greedy, manipulative behavior to extract even more money from their pockets for features and items that, more often than not, are underwhelming at best. As such, many likely see NFTs as just another money-grabbing tactic, especially the gaming veterans who have been weathering this storm for decades now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*tYUhLEa__spDxqMcfdxYYw.jpeg" /></figure><p>One of the biggest gripes of gamers is the loot box/crate, which is an evolution of the baseball trading card packs of the ’90s, booster packs for <em>Magic: The Gathering</em>, <em>Yu-Gi-Oh,</em> as well as the random loot drop system found in many MMOs.</p><p>The mechanism is tried and true: spend money to open an in-game pack, chest, crate, or container, virtual or physical, and you have a very low chance to receive a very rare item that is worth way more than the loot box cost to open, but a very high chance to receive a bunch of junk worth way less than the opening. The result: loot boxes pile up in your inventory, tempting you to spend money to open them by purchasing in-game tokens that often merely exist just to obfuscate their actual dollar worth.</p><p>In most games, it takes hundreds of opened loot boxes before one receives a rare item, and even then, unless you get really lucky, you will still likely have lost money, having spent far more than the value of the rare item itself.</p><blockquote><em>Loot boxes, in other words, are akin to lottery tickets, which is gambling. And if it’s in a kid’s game, then it’s gambling aimed at kids.</em></blockquote><p>Governments in Japan, China, UK, The Netherlands, and Belgium seem to agree, deeming some loot boxes to be forms of gambling and introducing legislation that regulates or bans the practice altogether.</p><p>Unfortunately, minting NFTs today often works in the exact same way. The most popular form of NFT PFPs today are generative art NFTs. Multiple attributes of varying rarity are randomly mixed together to form a unique character. These NFTs are deemed to be more or less valuable by the market for several reasons, but most notably for the overall rarity of the combined attributes as well as how visually appealing the resulting mix is. Minting these types of NFTs therefore has the exact same mechanic as loot boxes and gamers have seen it all before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*QU9NnZqlMKKQJesM8q6I5g.jpeg" /></figure><p>Many gamers are all too aware of economies of digital assets and how they can work too — not just from all the leveling up, acquiring gear, budgeting, planning cities, running farms, starting business and all the other financial decisions that may go into playing games themselves, but due to the participation in the trade of the in-game items too.</p><p>‍<em>Team Fortress 2</em> created an entire economy around silly hats, and the top <em>CS:GO</em> skins can sell for over $100,000. However, the price of a rare or good looking skin for a weapon that is in the current game weapon loadout meta may crash in price the moment that weapon becomes less popular due to inevitable stat balancing.</p><p>Dropped skins from crates in the current campaign can also fall in price when the next campaign comes out months later and there’s a bunch of newer, more exciting skins to acquire. So too with NFTs: when the latest drop comes out it may be the hottest collection trending on <em>OpenSea</em> right now, but there’s always something cooler, newer, more exclusive and with better utility on the horizon and gamers understand this cycle because they’re likely to have already lost money to it.</p><h3>Scammers, grifters and pitchforks, oh my!</h3><p>In addition to the challenges that NFT drops bring with price and value volatility, we’ve seen no shortage of scandals involving game streamers and influencers. Every week there seems to be a new product being marketed to gamers that isn’t in their best interests.</p><p>In 2016 there was a massive scandal where two prominent streamers were promoting an unsanctioned marketplace for <em>CS:GO</em> skins without disclosing their own conflicts of interest, not to mention the questionable legality of the entire endeavor. Another time, a streamer was hawking a gamer skincare product with the questionable claims that it would protect gamers from “blue light pollution” emitted from their monitors.</p><p>And of course, there was the scandal where a streamer launched his own cryptocurrency, and then promptly sold his entire holdings, crashing the price with over $500k of his fans’ money invested in it.</p><p>So when NFTs emerged as an offshoot of crypto, and multiple streamers and influencers started to promote them, it was only natural that gamers were already quite wary. One NFT project in particular drew the ire of some of the top <em>Twitch</em> streamers, as it used their faces without their prior permission. As such, the streamers in question were quick to distance themselves from the project and label the whole thing a scam.</p><p>And so it should come as no surprise that when the AAA gaming industry started getting involved, and major upcoming titles started announcing that they would be including NFTs in their new releases, gamers made it very clear they didn’t want them.</p><p><em>S.T.A.L.K.E.R. 2: Heart of Chernobyl</em> announced a partnership with DMarket to include NFTs and then canceled it the next day due to the overwhelming backlash. Team17 took only one day to cancel their <em>MetaWorms</em> NFT project, and <em>Discord </em>only took two days to announce the cancellation of their MetaMask integration.</p><p>So far in the history of blockchains, for every financial success story, there are countless stories of terrible losses. Gamers have seen the rug-pulls, scams, bear markets, 90% single-day price drops, and the death spiral of many play-to-earn (P2E) games.</p><p>The price of NFTs have also experienced a similar roller coaster. There is always a risk that the NFT you buy today may be worth a lot less tomorrow. Many gamers understand this, but more importantly, many still don’t see the actual point in owning NFTs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*m7C-BG4NFXFhMw2BiRPmWg.jpeg" /></figure><p>Why pay money to own a JPEG on a blockchain when you can just right-click and save it?</p><p>This is the clichéd criticism, and it shows that most people don’t really understand NFTs yet and their potential beyond ape profile pictures. We have yet to see mass adoption of NFTs and other web3 technologies, which can’t be blamed on the users, but rather the builders and developers who have failed to create real utility, education, and easy on-ramps for more mainstream audiences to get involved with web3.</p><h3>A brighter future?</h3><p>Currently, we are at an impasse between NFT P2E games, the majority of which feel like 2005 era flash games with an unnecessary blockchain bolted on that are simply not that fun to play, and an AAA industry that is being held hostage by outraged fans not allowing them to join the NFT party.</p><p>Here at <a href="https://twitter.com/myosin_xyz">Myosin.xyz </a>we believe this will change in due time but, for that to happen, web3 game developers need to make some serious changes and ask themselves this hard question:</p><blockquote><em>Is the game actually fun to play, with a user experience that is genuinely enhanced by the inclusion of web3 technologies, or has it simply been made to make the studio lots of money?</em></blockquote><p>Until P2E gameplay experiences are drastically improved, gamers will simply not be interested. Today, far too many web3 games have pointless gameplay, terrible graphics, and endless grinding, with the only reason to play being to try and get more money out than you risked putting in, before the whole thing implodes into a death spiral due to the poorly designed gaming tokenomics.</p><p>Pay-to-win (P2W) is an almost universally hated concept among gamers, but there’s a lot of room to create games where NFTs are included, but not as leveling boosters or higher stat weapons for example.</p><p><em>Team Fortress 2</em>, <em>CS:GO, Fortnite</em> and others achieved a huge amount of success by only having purchasable cosmetic items and the ability to attain all weapons fairly through gameplay. Yet with some web3 games, forget P2W — you can’t even start playing without purchasing expensive NFTs first.</p><p>On top of all this, we also see onboarding as a major barrier to entry for many mainstream audiences, as setting up crypto wallets can be cumbersome and hard to learn for some. Until onboarding and first time experiences for users are as simple as downloading a new app for your phone and creating a new account with just a few clicks, then web3 gaming can never truly go mainstream.</p><p>Good AAA games take years to make and we are only just starting to see the possibilities of emerging web3 technologies. And with time we will no doubt see great games that do get this balance right.</p><p><em>Project Moon</em> by <a href="https://twitter.com/12am">Midnight Society</a> for example is using the utility of NFTs as a founders pass to include its biggest fans and enabling them to contribute to the development process, shaping the game into what they want to play. <a href="https://twitter.com/playSHRAPNEL"><em>Shrapnel</em></a><em> </em>is using NFTs as beta access passes whilst also planning an entire NFT economy of UGC skins and maps and rewarding the creators based on their popularity with the community.</p><p>We are also fortunate at <a href="https://twitter.com/myosin_xyz">Myosin.xyz </a>to be working closely with <a href="https://twitter.com/FashionLeagueO"><em>Fashion League</em></a>, which is a female-focused fashion eSim game backed by senior leadership at Unity, Animoca Brands, and YGG, which is free to play, but also incorporates NFTs and P2E elements to enhance and improve the game mechanics.</p><p>The future of web3-enabled games is coming, but we believe that to execute successfully, developers and builders need to focus on building top notch gaming experiences that are genuinely synergistically enhanced by web3 technologies rather than just cash grabs from the players.</p><p>If we can all do that, the future of web3 gaming, the metaverse, and NFTs will be a bright one and something gamers will start to truly embrace.</p><p>Edward Hall<br><strong>Product Manager<br>Myosin.xyz</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=653c00e36d69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/myosin-xyz/why-are-gamers-so-anti-nfts-653c00e36d69">WHY ARE GAMERS SO ANTI-NFTS?</a> was originally published in <a href="https://medium.com/myosin-xyz">Myosin.xyz</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we won the ING “Cash me if you can” challenge at the 2017 Dutch Blockchain Hackathon]]></title>
            <link>https://medium.com/b9lab/how-we-won-the-ing-cash-me-if-you-can-challenge-e737f21cfea2?source=rss-95f6c10ea76d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e737f21cfea2</guid>
            <category><![CDATA[dbh17]]></category>
            <category><![CDATA[b9lab]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ing]]></category>
            <dc:creator><![CDATA[Edward Hall]]></dc:creator>
            <pubDate>Thu, 16 Feb 2017 14:50:54 GMT</pubDate>
            <atom:updated>2017-02-16T14:54:44.534Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RY5WCxv7jz-xzF3CCO9CGA.jpeg" /><figcaption>Photo: <a href="http://dejongensvanlucht.nl/">De Jongens van Lucht</a></figcaption></figure><p>Last weekend the <a href="https://www.b9lab.com/">B9lab</a> team competed in the <a href="https://blockchainhackathon.eu/">2017 Dutch Blockchain Hackathon</a>. One of the sponsors, <a href="https://www.ing.com/">ING</a>, also created an <a href="https://www.ethereum.org/">Ethereum</a> side challenge and during the event asked the participating hackers to solve a problem:</p><blockquote>If you find the bug in the smart contract and you’re the first to withdraw the (majority of the) Ether you’ll get to keep the Ether as well as receive a half-day Innovation Workshop delivered by ING!</blockquote><p>In the early hours of Saturday morning, during a short break from working on our main hackathon project, we realised that the ING challenge still hadn’t been solved by anyone yet and so we decided to give it a go. See if you can work out how to exploit ING’s faulty bank smart contract for yourself, I’ll provide the answer below:</p><pre>pragma solidity ^0.4.0;<br><br>/**<br> * @title allows inheriting contracts to selfdestruct and send remaining funds to bank-owner.<br> */<br>contract mortal {<br>    /* Define variable owner of the type address*/<br>    address owner;<br><br>    /* this function is executed at initialization and sets the owner of the contract */<br>    function mortal() { owner = msg.sender; }<br><br>    /* Function to recover the funds on the contract */<br>    function kill() { <br>      if (msg.sender == owner) selfdestruct(owner); <br>    }<br>}<br><br><br>/**<br> * @title A Transparent Decentralized Autonomous (and vulnerable) Bank.<br> * **** THIS CONTRACT CONTAINS A BUG - DO NOT USE ****<br> */<br>contract VulnerableBank is mortal {<br><br>    // Record of all balances (in wei).<br>    mapping (address =&gt; uint256) public userBalances;<br><br>    // Payment execution event.<br>    event Transfer(string message, address from, address to, uint256 amount);<br>    event Deposit(address from, uint256 amount);<br><br>    /**<br>     * @dev View the balance of the specified address.<br>     * @param user Address of the user.<br>     * @return balance The calculated perimeter.<br>     */<br>    function getBalance(address user) constant returns(uint) {  <br>      return userBalances[user];<br>    }<br><br>    /**<br>     * @dev Store the amount of wei sent with the message in your bank-account.<br>     */<br>    function deposit() payable {<br>      Deposit(msg.sender, msg.value);<br>      userBalances[msg.sender] += msg.value;<br>    }<br><br>    /**;<br>     * @dev Transfers the specified amount of wei from the sender&#39;s balance <br>     * to the specified recipient-address.<br>     * @param amount The amount of wei to transfer.<br>     * @param to The recipients address.<br>     */<br>    function executePayment(uint256 amount, address to) payable {<br><br>        // Only allow transfers from the message sender.<br>        address from = msg.sender;<br>        //address from = tx.origin;<br><br>        if (amount &gt; userBalances[from]) {<br>          Transfer(&quot;Amount greater than balance...&quot;, from, to, amount);<br>            <br>        } else { <br>          if (!to.call.value(amount)()) {<br>            Transfer(&quot;Call.value went wrong...&quot;, from, to, amount);  <br>          } else {<br>            userBalances[from] -= amount;<br>            Transfer(&quot;Payment executed.&quot;, from, to, amount);<br>          }  <br>        }<br>    }<br>}</pre><p>*</p><p>*</p><p>******* WARNING ANSWER BELOW ***********</p><p>*</p><p>*</p><p>Did you manage to work it out?</p><p>The smart contract can be exploited with a re-entry pattern attack. It contains a similar bug found in “The DAO” that led to the now infamous <a href="http://www.coindesk.com/understanding-dao-hack-journalists/">$150M hack</a> and eventual hard fork of Ethereum.</p><p>The bank contract accepts ether deposits from any address, and will only payout ether when a request comes from the same address that made the deposit. Although there are measures to check the balance of the depositor, the contract can be exploited with a recursive withdrawal pattern because it updates the balance after the transfer. So, if a user deposits ether using a contract of their own and then immediately requests it back in that same contract, then the faulty bank contract will not have yet come around to updating the user’s balance. The bank contract will therefore withdraw the amount back to the depositor multiple times and in effect drain the balances of other users of the contract in the process.</p><p>So, we knew how to exploit the contract, but we wanted to not only drain the contract of the majority of its ether, but to extract all of it with the minimum amount of gas used. We therefore needed to drain the exact balance and in a single attack. We duplicated the faulty bank contract on <a href="https://github.com/ethereumjs/testrpc">TestRPC</a> by using its own original deploy bytecode in order to carry out quick and free tests and make sure we had done everything correctly. We actually found out later that the Solidity code given in the challenge documentation was purposefully incorrect. The actual deployed code contained a trip-wire whereby if you re-entered too many times it would fail, however, our code was efficient enough to avoid this happening. We also checked the exact current balance of the account so we knew how much ether to send in the attack (the balance was actually slightly higher than when ING created the challenge due to several other teams sending it ether to see what would happen, thanks guys!). Once we were absolutely sure of what we were doing and how the faulty contract would react, we successfully carried out the attack and drained it of everything, leaving it with a balance of zero:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FAMgaZL6raBY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAMgaZL6raBY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FAMgaZL6raBY%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea5715aa65b610baf1c762ce86343141/href">https://medium.com/media/ea5715aa65b610baf1c762ce86343141/href</a></iframe><p>Start to finish, the whole thing took us around an hour. A few minutes to work out that it was a re-entry exploit. Around 30 minutes to write the attack code and the rest on stumbling upon Mist overlooked “features”, worries over losing ether on the main net and recording the process. We’ve put all of our code <a href="https://github.com/b9lab/ing-hack-challenge">online here</a> so that you can see exactly how we did it.</p><p>A big thank you to <a href="https://www.ing.com/">ING</a> for creating this fun challenge and for the awesome prize of an <a href="http://www.innovationstudio.ninja/">Innovation Workshop</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4IfoWaRZ6FTlWGwIwDbVRA.jpeg" /><figcaption>Photo: Frank Groeliken</figcaption></figure><p>If you want to learn more about Ethereum, Blockchains in general and how to write bug-free smart contracts check out our online <a href="https://academy.b9lab.com/?afmc=3l">Academy</a>. We have a <strong>LOT </strong>planned for this year, so stay tuned ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e737f21cfea2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/b9lab/how-we-won-the-ing-cash-me-if-you-can-challenge-e737f21cfea2">How we won the ING “Cash me if you can” challenge at the 2017 Dutch Blockchain Hackathon</a> was originally published in <a href="https://medium.com/b9lab">B9lab blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Ethereum Ropsten Testnet Faucet]]></title>
            <link>https://medium.com/b9lab/when-we-first-built-our-faucet-we-deployed-it-on-the-morden-testnet-70bfbf4e317e?source=rss-95f6c10ea76d------2</link>
            <guid isPermaLink="false">https://medium.com/p/70bfbf4e317e</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Edward Hall]]></dc:creator>
            <pubDate>Tue, 13 Dec 2016 19:24:58 GMT</pubDate>
            <atom:updated>2019-11-06T18:14:40.018Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gR2vG9Km2PWvblQYv77_xg.png" /><figcaption>The ether must flow!</figcaption></figure><p>When we first built our faucet we deployed it on the Morden testnet. Now that Ethereum has transitioned to its new testnet: <a href="https://blog.ethereum.org/2016/11/20/from-morden-to-ropsten/">Ropsten</a>, we have deployed a new faucet on Ropsten. This new faucet operates in exactly the same way as the old one, however, you will now need all of the new details in order to access it, which you will find below.</p><p>Please note: the faucet is throttled to give out only 0.5 ETH per minute. This is to prevent someone selfishly draining it all in a short period of time. Therefore, if multiple people happen to be making requests from the faucet at the same time, there may be a short wait before all the requests are fulfilled.</p><h3>How to Use It</h3><h4>Hardcore Decentralised Mode</h4><p><strong>Requirements</strong>:</p><ul><li><a href="https://github.com/ethereum/go-ethereum/">Geth</a> (or another Ethereum client that supports Web3)</li><li><a href="https://ipfs.io/docs/install/">IPFS</a></li></ul><p><strong>Instructions:</strong></p><p>Run:</p><pre>$ geth --testnet --rpc --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain &quot;*&quot; --rpcapi &quot;eth,web3&quot;</pre><pre># in another terminal</pre><pre>$ ipfs daemon</pre><p>Visit: <a href="http://localhost:8080/ipfs/QmU7Ecw419si7D8gq4tB3qVBraitBGeVrsMESHBMD1DnCb">http://localhost:8080/ipfs/QmU7Ecw419si7D8gq4tB3qVBraitBGeVrsMESHBMD1DnCb</a></p><p>You should see the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*k5aYcWZPRRR2HyEhp0hdjw.png" /></figure><p><strong>To withdraw ether:</strong> enter your address and press the “Send To” button.</p><p><strong>To donate ether:</strong> enter the desired amount and press the “Credit” button. This will top up the faucet’s balance.</p><p>We’ll try our best to keep an eye on the balance, but if you notice it is down to zero, please let us know: faucet@b9lab.com</p><h4>Script Ninja Mode</h4><p>If all you want to do is ask for half an ether in a single line where you replace the address with yours, here it is:</p><pre>$ curl -X POST  -H &quot;Content-Type: application/json&quot; -d &#39;{&quot;toWhom&quot;:&quot;0xb436ba50d378d4bbc8660d312a13df6af6e89dfb&quot;}&#39; <a href="https://ropsten.faucet.b9lab.com/tap">https://ropsten.faucet.b9lab.com/tap</a></pre><pre>Example result:</pre><pre>{<br>  &quot;txHash&quot; : &quot;0x66b19c77818fc1d9517ec8b3ade8e039b831104159ec7943387bb92507b58603&quot;<br>}</pre><h4>Easy Beginner’s Mode</h4><p>If you have neither Geth nor IPFS and still wish to use the service. We also have you covered. Visit: <a href="https://ipfs.io/ipfs/QmU7Ecw419si7D8gq4tB3qVBraitBGeVrsMESHBMD1DnCb">https://ipfs.io/ipfs/QmU7Ecw419si7D8gq4tB3qVBraitBGeVrsMESHBMD1DnCb</a></p><p>and follow the same instructions as above.</p><h4>How it works:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gmtcWUBGHXvAglj8h--Bg.png" /></figure><ul><li>When your browser loads the page from IPFS, it also loads the necessary CSS and JS.</li><li>Your browser then queries your local Geth or your Metamask for balance and waiting time.</li><li>If you are kind enough to donate to the contract, your browser submits a transaction to your local Geth or Metamask.</li><li>When you send to another address, there is a POST request sent to B9lab’s AWS Lambda “/tap” function with the recipient address:</li><li>The Lambda function picks the recipient address and calls the faucet contract on B9lab’s private Geth.</li><li>Geth returns a transaction hash.</li><li>The Lambda function forwards this transaction hash to the browser.</li><li>The browser queries your local Geth or Metamask until this transaction hash appears.</li><li>The browser updates the GUI.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70bfbf4e317e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/b9lab/when-we-first-built-our-faucet-we-deployed-it-on-the-morden-testnet-70bfbf4e317e">New Ethereum Ropsten Testnet Faucet</a> was originally published in <a href="https://medium.com/b9lab">B9lab blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethereum Testnet Faucet]]></title>
            <link>https://medium.com/b9lab/here-at-b9lab-we-just-built-a-faucet-on-the-ethereum-testnet-morden-fda93415e719?source=rss-95f6c10ea76d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fda93415e719</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Edward Hall]]></dc:creator>
            <pubDate>Tue, 19 Jul 2016 15:44:25 GMT</pubDate>
            <atom:updated>2017-01-06T17:16:31.167Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qL06frAg1k5RkYcqhp3fSw.png" /><figcaption>The ether must flow!</figcaption></figure><p><strong>Important Update: </strong>This faucet is no longer in use as it is on the old Morden Testnet. Please see my new post about how to access our faucet on the current Ropsten Testnet instead <a href="https://blog.b9lab.com/when-we-first-built-our-faucet-we-deployed-it-on-the-morden-testnet-70bfbf4e317e">here</a>.</p><p>Here at <a href="http://b9lab.com/">B9lab</a>, we just built a faucet on the Ethereum Testnet (Morden). We wanted to provide our students with free test ether for use in their own experiments and projects whilst they are working hard on our <a href="https://academy.b9lab.com/">Certified Ethereum Developer Course</a>. However, we have also decided to open this up to the rest of the Ethereum community to use too. We are passionate about blockchains and decentralised applications and want to support the community with tools and knowledge as best as we can. So, if you also need test ether to play around with and experiment with, please feel free to use our service. Our faucet currently allows 1 test ether per minute to be released.</p><h3>How it Works</h3><p>The Faucet was a fun little experiment for us to work on and it also provides an interesting case study in making decentralised applications as there is some slight complexity to the backend and even varying degrees of decentralised implementation depending on how hardcore your personal difficulty mode is set to.</p><h4>The Main Problem</h4><p>Most blockchains do not allow free transactions or messages. The ability to incur a large amount of bandwidth on a blockchain at no cost to a user provides a tempting attack vector for a malicious actor. Some blockchains protect themselves from spam attacks by creating a cost disincentive in the form of transaction fees. This therefore raises an interesting problem: how does a new user with no ether and therefore no ability to broadcast a message to the network inform a faucet through the network that they require ether?</p><h4>Our Solution</h4><p>A user requesting ether from our faucet needs to effectively have use of our private key in order to authorise the payment from our account, but at no point should the user have full control of our private key by knowing what it is. For this we have utilised the <a href="https://aws.amazon.com/lambda/">AWS Lambda</a> facility and created a function we called “/tap”. This creates a layer of abstraction between the user making the request and our private server that runs <a href="https://github.com/ethereum/go-ethereum/">Geth</a> and actually holds our wallet. We also wanted the front-end to be decentralised, so we have hosted this on <a href="https://ipfs.io/">IPFS</a> (<a href="https://github.com/ethersphere/swarm">Swarm</a> has not yet been released at time of writing).</p><h4>So, the Different Moving Pieces:</h4><ul><li>Your Browser</li><li>Your local Geth (or Ethereum client of choice)</li><li>Your Local IPFS daemon and gateway</li><li>B9lab’s AWS Lambda “/tap” function</li><li>B9lab’s private Geth in the cloud</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gmtcWUBGHXvAglj8h--Bg.png" /></figure><h4>What Happens:</h4><ul><li>When your browser loads the page from IPFS, it also loads the necessary CSS and JS.</li><li>Your browser then queries your local Geth for balance and waiting time.</li><li>When you are kind enough to credit the contract, your browser submits a transaction to your local Geth.</li><li>When you send to another address, there is a POST request sent to B9Lab’s Lambda “/tap” function with the recipient address:</li><li>The Lambda function picks the recipient address and calls the faucet contract on B9lab’s private Geth.</li><li>Geth returns a transaction hash.</li><li>The Lambda function forwards this transaction hash to the browser.</li><li>The browser queries your local Geth until this transaction hash appears.</li><li>The browser updates the GUI.</li></ul><h4>Future Plans For the Faucet:</h4><ul><li>Automatically update the GUI, especially the balance, if someone other than yourself has withdrawn in the last minute.</li></ul><h3>How to Use It</h3><h4>Hardcore Decentralised Mode</h4><p><strong>Requirements</strong>:</p><ul><li><a href="https://github.com/ethereum/go-ethereum/">Geth</a> (or another Ethereum client that supports Web3)</li><li><a href="https://ipfs.io/docs/install/">IPFS</a></li></ul><p><strong>Instructions:</strong></p><p>Run:</p><pre>$ geth --testnet --rpc --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain &quot;*&quot; --rpcapi &quot;eth,web3&quot;</pre><pre># in another terminal</pre><pre>$ ipfs daemon</pre><p>Visit: <a href="http://localhost:8080/ipfs/QmeqW2aZBGrBvmMp5L4sA9u92m4vtj4oJVxCUKXfWh4Qgt/throttled_faucet.html">localhost:8080/ipfs/QmeqW2aZBGrBvmMp5L4sA9u92m4vtj4oJVxCUKXfWh4Qgt/throttled_faucet.html</a></p><p>You should see the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*8iJXBqfR0mYtfetcEvgC4w.png" /></figure><p><strong>To withdraw ether:</strong> enter your address and press the “Send To” button.</p><p><strong>To donate ether:</strong> enter the desired amount and press the “Credit” button. This will top up our balance.</p><p>We’ll try our best to keep an eye on the balance, but if you notice it is down to zero, please let us know: faucet@b9lab.com</p><h4>Script Ninja Mode</h4><p>If all you want to do is ask for one ether in a single line where you replace the address with yours, here it is:</p><pre>$ curl -X POST  -H &quot;Content-Type: application/json&quot; -d &#39;{&quot;toWhom&quot;:&quot;0x8d3dc163f10dd803446937c18be93ad4713cf34d&quot;}&#39; <a href="https://ai42iwcf9h.execute-api.eu-west-1.amazonaws.com/prod/tap">https://morden.faucet.b9lab.com/tap</a><br>{<br>  &quot;txHash&quot; : &quot;0x121f0af308cb8dfe9c46ff824bbf8211a1d4ee884232229b0d61f35a6485fcfc&quot;<br>}</pre><h4>Easy Beginner’s Mode</h4><p>If you have neither Geth nor IPFS and still wish to use the service. We also have you covered. Visit: <a href="http://ipfs.b9lab.com:8080/ipfs/QmWBRdUQsLahC8dWVo3rS9jrFnxGSw3WHm5gcHu3URTv87/throttled_faucet.html">ipfs.b9lab.com:8080/ipfs/QmWBRdUQsLahC8dWVo3rS9jrFnxGSw3WHm5gcHu3URTv87/throttled_faucet.html</a></p><p>and follow the same instructions as above.</p><h3>How We Built It</h3><ul><li>It was built in Truffle and deployed on the Ethereum Testnet (Morden).</li><li>The Lambda function is written in Node Javascript and handles the interaction with the contract via our private Geth.</li><li>To publish on IPFS, the command was:</li></ul><pre>$ ipfs add -r environments/morden/build<br>added QmVHjofWkePtcG6er55Ur2r78bAKVsGNgVAGzZYpkp5dBK build/app.css<br>added QmU1W4Gn2nK5QzUbiZ5GHR2entm3q7FiQv2ygKw8PEustH build/app.js<br>added QmafEwKdeomCgQmufjaqiRxXUmGtjHB3actppUqWmR2gdd build/registrar.js<br>added QmepwVQhgqY9z8a2dsNJTYz58k9o9ytpRSz3kgBpJTuZJT build/throttled_faucet.html<br>added Qmdq1JAFe7R8s3Q7ref2oH2a7SVBf22kTvUHJzrBL9PrAX build/throttled_faucet.js<br>added QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn build/images<br>added QmQzTyW6V488MuEat6YoEiKAKrMGCR9Ej8L3gY5SfCC9AX build<br>$ ipfs pin add QmQzTyW6V488MuEat6YoEiKAKrMGCR9Ej8L3gY5SfCC9AX<br>pinned QmQzTyW6V488MuEat6YoEiKAKrMGCR9Ej8L3gY5SfCC9AX recursively</pre><ul><li>The majority of the work was done by <a href="http://b9lab.com/team/">Xavier Lepretre</a> and <a href="http://b9lab.com/team/">Corentin Larroche</a> (thanks guys!).</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fda93415e719" width="1" height="1" alt=""><hr><p><a href="https://medium.com/b9lab/here-at-b9lab-we-just-built-a-faucet-on-the-ethereum-testnet-morden-fda93415e719">Ethereum Testnet Faucet</a> was originally published in <a href="https://medium.com/b9lab">B9lab blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>