Javascript
Browse all Javascript articles.
8 min read
Native Solana: Creating Accounts For Storage I
In this two-part tutorial, we'll learn how to create accounts for storing data in native Solana programs using two approaches: keypairs (this part) and…
12 min read
Switchboard Oracle on Solana: How to Read Price Feeds
Build a Solana program that reads the SOL/USD price from the Switchboard oracle: how jobs and feeds work, setting up a feed, and a client script on Devnet.
8 min read
Introduction to Solana Compute Units and Transaction Fees
In Ethereum, the price of a transaction is computed as gasUsed × gasPrice.
4 min read
Hacking Underconstrained Circom Circuits With Fake Proofs
The <-- operator in Circom can be dangerous because it assigns values to signals but does not constrain them.
5 min read
Solana Anchor Program IDL
The IDL (Interface Definition Language) is a JSON file that describes how to interact with a Solana program.
4 min read
Require, Revert, and Custom Errors in Solana
In Ethereum, we often see a require statement restricting the values a function argument can have.
25 min read
Arithmetic Circuits for ZK
In the context of zero-knowledge proofs, an arithmetic circuit is a system of equations that models a problem in NP.
20 min read
Circom language tutorial with circomlib walkthrough
This tutorial introduces the Circom language and how to use it, along with common pitfalls.
5 min read
LeetCode problems and questions - the best 50
Whether web2 or web3, doing well on data structure, algorithm, and LeetCode questions is important, not only for getting a job but developing a good…