Back to Course

3. Advanced Course

0% Complete
0/0 Steps
  1. 1. What is Taproot?
  2. 2. Blockchain bridges – what are they?
  3. 3. What is Ethereum Plasma?
  4. 4. What is Ethereum Casper?
  5. 5. What is Zk-SNARK and Zk-STARK? 
  6. 6. What is Selfish Mining? 
  7. 7. What is spoofing in the cryptocurrency market? 
  8. 8. Schnorr signatures - what are they? 
  9. 9. MimbleWimble - what is it? 
  10. 10. What is digital property rights in NFT?
  11. 11. What are ETFs and what role do they play in the cryptocurrency market? 
  12. 12. How to verify a cryptocurrency project – cryptocurrency tokenomics 
  13. 13. What is the 51% attack on blockchain?
  14. 14. What is DAO, and how does it work?
  15. 15. Zero-knowledge proof – a protocol that respects privacy 
  16. 16. What is EOSREX?
  17. 17. What is Proof of Elapsed Time (PoET)?
  18. 18. Mirror Protocol – what it is? 
  19. 19. What are synthetic assets? 
  20. 20. How to create your own NFT? 
  21. 21. Definition of DeFi, and what are its liquidations?
  22. 22. New identity system - Polygon ID
  23. 23. Ethereum Foundation and the Scroll protocol - what is it?
  24. 24. What is Byzantine fault tolerance in blockchain technology?
  25. 25. Scalability of blockchain technology - what is it?
  26. 26. Interchain Security - new Cosmos (ATOM) protocol
  27. 27. Coin Mixing vs. Coin Join - definition, opportunities, and threats
  28. 28. What is Ethereum Virtual Machine (EVM) and how does it work?
  29. 29. Soulbound Tokens - what are they, and how do they work?
  30. 30. Definition of LIDO - what is it?
  31. 31. What are Threshold Signatures, and how do they work?
  32. 32. Blockchain technology and cyberattacks.
  33. 33. Bitcoin script - what it is, and what you should know about it.
  34. 34. What is zkEVM, and what are its basic features?
  35. 35. Do confidential transactions on blockchain exist? What is a Confidential Transaction?
  36. 36. Algorithmic stablecoins - everything you should know about them.
  37. 37. Polygon Zk Rollups ZKP - what should you know about it?
  38. 38. What is Web3 Infura?
  39. 39. Mantle - Ethereum L2 scalability - how does it work?
  40. 40. What is the NEAR Rainbow Bridge?
  41. 41. Liquid Staking Ethereum and LSD tokens. What do you need to know about it?
  42. 42. Top 10 blockchain oracles. How do they work? How do they differ?
  43. 43. What are Web3.js and Ether.js? What are the main differences between them?
  44. 44. What is StarkWare, and recursive validity proofs
  45. 45. Quant Network: scalability of the future
  46. 46. Polygon zkEVM - everything you need to know
  47. 47. What is Optimism (OP), and how do its roll-ups work?
  48. 48. What are RPC nodes, and how do they work?
  49. 49. SEI Network: everything you need to know about the Tier 1 solution for DeFi
  50. 50. Types of Proof-of-Stake Consensus Mechanisms: DPoS, LPoS and BPoS
  51. 51. Bedrock: the epileptic curve that ensures security!
  52. 52. What is Tendermint, and how does it work?
  53. 53. Pantos: how to solve the problem of token transfer between blockchains?
  54. 54. What is asymmetric encryption?
  55. 55. Base-58 Function in Cryptocurrencies
  56. 56. What Is the Nostr Protocol and How Does It Work?
  57. 57. What Is the XDAI Bridge and How Does It Work?
  58. 58. Solidity vs. Rust: What Are the Differences Between These Programming Languages?
  59. 59. What Is a Real-Time Operating System (RTOS)?
  60. 60. What Is the Ethereum Rinkeby Testnet and How Does It Work?
  61. 61. What Is Probabilistic Encryption?
  62. 62. What is a Pinata in Web 3? We explain!
  63. 63. What Is EIP-4337? Will Ethereum Account Abstraction Change Web3 Forever?
  64. 64. What are smart contract audits? Which companies are involved?
  65. 65. How does the AirGapped wallet work?
  66. 66. What is proto-danksharding (EIP-4844) on Ethereum?
  67. 67. What is decentralised storage and how does it work?
  68. 68. How to Recover Cryptocurrencies Sent to the Wrong Address or Network: A Practical Guide
  69. 69. MPC Wallet and Multilateral Computing: Innovative Technology for Privacy and Security
  70. 70. Threshold signature in cryptography: an advanced signing technique!
  71. 71. Vanity address in cryptocurrencies: what is it and what are its characteristics?
  72. 72. Reentrancy Attack on smart contracts: a threat to blockchain security!
  73. 73. Slither: a static analyser for smart contracts!
  74. 74. Sandwich Attack at DeFi: explanation and risks!
  75. 75. Blockchain RPC for Web3: A key technology in the world of decentralized finance!
  76. 76. Re-staking: the benefits of re-posting in staking!
  77. 77. Base: Evolving cryptocurrency transactions with a tier-2 solution from Coinbase
  78. 78. IPFS: A new era of decentralized data storage
  79. 79. Typical vulnerabilities and bridge security in blockchain technology
  80. 80. JumpNet - Ethereum's new sidechain
Lesson 43 of 80
In Progress

43. What are Web3.js and Ether.js? What are the main differences between them?

To create a website, we can choose any library. There are quite a few of them! However, in the context of cryptocurrencies, two of them are worth mentioning – Web3.js and Ether.js. These two frameworks have their own unique advantages, but also disadvantages. Web3.js is by far the more popular, but Ether.js has a wider range of features.

There is no denying that the choice between the two frameworks depends on personal preference and the project you are working on. Today we will look at both and compare their main features.

What is Web3.js and what are its most important features?

Web3.js is a JavaScript library. It makes it easy for us to interact with the Ethereum blockchain. Web3.js provides functions that allow us to create, send and track transactions. We can also interact with smart contracts. Very importantly, Web3.js is open source software. It is used by many companies, including Microsoft and IBM.

Web3.js is a framework that is ideal for developing applications on the Ethereum blockchain. With it, you can build a user base that interacts with the blockchain of this network. Such code has a collection of libraries that allow you to perform various tasks. This includes sending Ether between users or even reading and writing data from smart contracts. Interestingly, you can even create your own smart contracts with Web3.js. Web3.js can both write to and read from Ethereum.

Ether.js – definition and functionality

Ether.js works very similarly to Web3.js. It is a Java library that also allows interaction with the Ethereum blockchain. It offers functions such as creating, sending and tracking transactions. We can also interact with smart contracts using Ether.js. Ether.js runs as open- source software.

The Ether.js library aims to be a complete and compact library for interacting with the Ethereum blockchain and its entire ecosystem. It was originally developed as, but has since evolved into a very general library.

Key features of Ether.js:

  • It securely stores the private keys of its clients.
  • Imports and exports JSON portfolios.
  • Imports and exports BIP 39 memonic phrases, as well as HD portfolios in English, Italian, Japanese, Korean and Simplified Chinese.
  • It includes metaclass functions that create JavaScript objects from any ABI contract.
  • It connects to Ethereum nodes via JSON-RPC, INFURA, Etherscan, Alchemy, Cloudflare or MetaMask.
  • The name ESN can be used anywhere Ethereum addresses are used.
  • Ether.js is very small.
  • It provides complete functionality for all necessary needs related to Ethereum.
  • It has extensive documentation.
  • It has been extensively tested and modified.
  • It has a fully operational TypeScript, with files and full sources.
  • It has a MIT licence, and it contains fully open source code that you can do whatever you want with.

Basic differences between Web3.js and Ether.js

Web3.js is a versatile library. It also has relatively more advantages over Ether.js, such as the fact that it is more user-friendly. It is easier to work with Web3.js, and it also has a larger developer community, which makes it easier to get support.

Unfortunately, Web3.js is not yet as advanced as Ether.js. As a result, this framework is not yet as stable. It also lacks some features available in Ether.js.

If you want to interact with the Ethereum blockchain, Ether.js is an excellent choice. Ether.js allows you to write smart contracts in JavaScript right in your browser, making it a simpler and more accessible blockchain language. But this advantage is also its limitation. Ether.js focuses mainly on the Ethereum blockchain, while Web3.js is more comprehensive. Moreover, some of the more Ethereum-specific features of Web3.js are not available in Ether.js.

Application of Web3.js and Ether.js

Web3.js has many applications. These include creating dApps, developing and managing smart contracts or even selling tokens. Web3.js is also a great platform for interacting with the Ethereum blockchain.

The entire Web3.js library greatly simplifies coding and provides developers with numerous tools to perform tasks, including JSON RPC communication, sending transactions and interacting with smart contracts. The framework’s library can also be easily implemented into existing sites and websites due to its compatibility with JavaScript. Web3.js is also a popular tool among developers working on decentralized applications.

In contrast, Ether.js is a somewhat more “powerful” tool. The framework allows us to build already larger applications that run on the Ethernet. Some of these applications are cryptocurrency wallets, decentralized exchanges, but also smart contracts. Ether.js makes it easy for developers to interact with the Ethereum blockchain and write secure code that works as intended. Ether.js can also easily implement smart contracts and interact with them. According to developers, they use Ether.js when they create powerful decentralized applications on the blockchain Ethereum.


We can summarize today’s lesson very briefly but succinctly. Ether.js is a library that helps developers build decentralized applications on the Ethereum network. Web3.js is a framework that allows developers to connect mainly to the Ethereum network. However, this does not change the fact that both libraries are important for the development of the entire Ethereum ecosystem. They also have their strengths and weaknesses.

If you want to learn more about Ethereum and decentralized applications, you should definitely read on: