Categories
Arbitrage Bot DeFi DEX erc20 javascript web3js

Swap tokens with 1inch Exchange in JavaScript: DEX and Arbitrage part 2

For this tutorial will see how to execute a trade using 1inch DEX aggregator in Javascript with the web3.js library. At the end of the tutorial, you’ll know how to exchange ERC20 tokens and Ether directly on the Ethereum blockchain. This article is part 2 (part 1 here) of tutorials we started while using the […]

Categories
erc20 Getting started javascript

Waiting for a transaction to be mined on Ethereum with JS

In the previous tutorial we learnt how to send a transaction to an Ethereum smart contract, we’ll now see how to wait for a transaction to be mined and get it’s result. When you sbumit a transaction to the blockchain, you’ll receive the transaction hash of the new transaction. In order to wait for the […]

Categories
Getting started javascript

Compiling and deploying smart contracts in JavaScript and command line

This tutorial covers how to compile and deploy your smart contracts using JavaScript and Solidity comand line compiler solc. All our classes are made for beginners and advanced programmers to understand and build on the Ethereum blockchain. We really advise people to understand simple tools like solc compiler instead of jumping directly with complicated frameworks […]

Categories
erc20 Getting started javascript

Calling a smart contract from JavaScript

In this tutorial we’ll see how to call a smart contract function from JavaScript. First is reading the state of a smart contract (for eg the balance of an ERC20 holder), then we’ll modify the state of the blockchain by making a token transfer. You should be already be familiar with setting up JS environement […]

Categories
erc20

ABI for ERC20 contract on Ethereum

Here you can find the ABI for the ERC20 token standard: You can see dome of our tutorial abour ERC20 tokens here:

Categories
blog careers

Where to hire Ethereum developers?

As Ethereum is a new technology forever evolving and changing, finding the best talents to contribute to your project can be difficult. We compiled a list of websites we trust to find great Ethereum developers. Moreover don’t hesitate to contact us as we can help you find great programmers through our contacts. When you’re hiring […]

Categories
blog

Best courses to learn Ethereum and Solidity programming in 2020

Blockchain and Ethereum learning resources are sometimes tricky to find so we compiled a list of awesome and free classes for mastering solidity and Ethereum development. This list is in no particulat order and don’t hesitate to comment below if you think we forgot about a website! Learn about Solidity and DApps Solidity is an […]

Categories
blog

Support us

The community asked how they could support the EthereumDev website to help us keep the content updated and free. We are an independant website providing articles and a newsletter about learning Ethereum programming since 2017 and are always welcoming help from the Ethereum community. Donate We accept Ethereum and any token donation at the following […]

Categories
blog Getting started javascript

How to deal with big numbers in Javascript

Most of numeric values in Solidity smart contracts are expressed using uint256, unfortunately Javascript numbers are always 64-bit floating point. Therefore when you call a function that returns an uint256 you’ll receive a string instead of a Javascript number. Moreover Solidity does not handle floating number so Eth and token amounts are expressed as unsigned […]

Categories
Arbitrage Bot DeFi DEX javascript solidity

Trading and Arbitrage on Ethereum DEX: Get the rates (part 1)

In this series of tutorials, we explore how to build solutions around trading and making simple arbitrage bot using Ethereum decentralized exchanges (DEX). This series uses Javascript, Solidity, and the 1inch dex aggregator and flash loans. As the subject is wide, we have split the series into several parts below: Get the exchange rates to […]