TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Web3anywhere: write and run web3 code from the browser

3 点作者 federiconitidi将近 6 年前

1 comment

federiconitidi将近 6 年前
Hey HN, I want to share with you a simple webapp I built to write, host, run web3 code from the browser. As I started learning Solidity and playing with some of the existing protocols (for example uniswap or compound) I felt the need an easier way to experiment with web3, which didn’t require starting a local server&#x2F; truffle&#x2F; ganache etc. The tool allows you to write javascript on the fly and call any smart contract function directly from the browser.<p>To get started, just copy&#x2F;paste 1) the contract address and 2) the ABI of the smart contract you want to interact with, then click on “Start interacting” – it will ask you to connect with MetaMask. If you want to start with an example, click on “Example: interact with Uniswap”, it will load up the Uniswap contract so you can play with it. Next, you’ll be able to write code in the editor and run it live. For now the tool works with contracts in mainnet only for now, but I’m thinking to add testsnets too.<p>I built this as a side project for myself and I hope you will find it useful too. It’s currently in beta and pretty bare bone, but I’d like to expand it if people are interested. If you decide to give it a spin and have any feedback I’d love to hear your thoughts!<p><a href="https:&#x2F;&#x2F;web3anywhere.herokuapp.com" rel="nofollow">https:&#x2F;&#x2F;web3anywhere.herokuapp.com</a>
评论 #20700941 未加载