Open in app

Sign In

Write

Sign In

Alex Roan
Alex Roan

1.98K Followers

Home

About

Published in

Cyfrin

·Pinned

The Cyfrin Mission

In 2023, it's embarrassing to be in Crypto. It's a painful statement to type, having personally spent roughly the last four years here, but it's true. Knowing that most mainstream exposure is about traders, scams, and monumental collapses, how do you broach the fact that you work in Crypto to…

Blockchain

6 min read

The Cyfrin Mission
The Cyfrin Mission
Blockchain

6 min read


Published in

Cyfrin

·Pinned

How To Create a ZK Smart Contract

Creating and verifying zero-knowledge proofs in solidity — Zero Knowledge Proofs enable a Prover to demonstrate knowledge of something to a Verifier without revealing that knowledge. For example, if we want to prove that we have solved a puzzle without giving away the solution, we can use Zero Knowledge Proofs. How does this relate to Smart Contracts? Imagine a Solidity smart contract called Sudoku …

Ethereum

7 min read

How To Create a ZK Smart Contract
How To Create a ZK Smart Contract
Ethereum

7 min read


Published in

Cyfrin

·Pinned

Invariant Testing — Enter The Matrix

The Invariant test suite we created for the security audit mentioned in this article is available on GitHub. To learn more about smart contract security and smart contract audits, visit Cyfrin.io. A list of our public audit reports can be found here. Neo taught us that there are two realities: …

Blockchain

8 min read

Invariant Testing — Enter The Matrix
Invariant Testing — Enter The Matrix
Blockchain

8 min read


Published in

Geek Culture

·Aug 24, 2021

Hitchhikers Guide to the EVM

Gas Golfing by Optimizing Storage — This article is a write-up of a talk presented at SmartCon #1. Gas golfing is the process of optimizing the existing functionality of a smart contract without actually changing what it does. Specifically, optimising a contract’s use of storage is where some of the biggest wins can be found. With…

Solidity

7 min read

Hitchhikers Guide to the EVM
Hitchhikers Guide to the EVM
Solidity

7 min read


Mar 16, 2021

Discrete Math 1: Set Theory

Cheat Sheet — 1. Definitions // Set A contains elements 1,2 and 3 A = {1,2,3} // 2 is an element of A 2∈A // 4 is not an element of A 4∉A 2. Number Sets Naturals N = {1,2,3,4,...} Integers Z = {...,-2,-1,0,1,2,...} Rationals Q = Ratio of 2 integers. example…

Mathematics

4 min read

Discrete Math 1: Set Theory
Discrete Math 1: Set Theory
Mathematics

4 min read


Published in

The Startup

·Jan 3, 2021

How to Survive a Crypto Bull Run

The do’s and don’ts — “It’s super exciting right now. Prices will likely never be as low as they were just a few months ago. The more I analyse the trends, the more I am confident that I know where Bitcoin is going. The news consistently speaks of institutional investment, and it’s clear to me…

Bitcoin

12 min read

How to Survive a Crypto Bull Run
How to Survive a Crypto Bull Run
Bitcoin

12 min read


Published in

Coinmonks

·Oct 26, 2020

Tweether Governance Protocol

The Math Behind The Madness — Recently, Patrick Collins and I entered into the EthGlobal hackathon and created Tweether, an on-chain governance protocol that anyone can use to submit and vote on tweets. When we were planning the project, we split the work into two parts: The governance protocol, for which I was responsible for. And…

Blockchain

9 min read

Tweether Governance Protocol
Tweether Governance Protocol
Blockchain

9 min read


Published in

Coinmonks

·Oct 4, 2020

What’s Going On With Smart Contract Governance?

Does it work yet? — The 18th of September was like any other day for the first few hours. Get up, have breakfast, check Twitter… wait, why is Uniswap trending? It didn’t take long to discover the reason for the explosion in Uniswap tweets was due to the sudden announcement of Uniswap’s own token: $UNI…

Ethereum

4 min read

What’s Going On With Smart Contract Governance?
What’s Going On With Smart Contract Governance?
Ethereum

4 min read


Published in

Better Programming

·Jul 30, 2020

How to Retrieve Price Data in Smart Contracts

Get crypto prices in a single function call — The price of a LINK token has all but doubled in the past month, moving from around a steady $4 to a whopping $8 in a very short time. This is in no small part down to the Chainlink Oracle network, which provides a platform to call any external API…

Programming

4 min read

How to Retrieve Price Data in Smart Contracts
How to Retrieve Price Data in Smart Contracts
Programming

4 min read


Published in

Better Programming

·Jul 15, 2020

How to Supply Assets to the Aave Protocol Programmatically

Earn interest using the Aave protocol: a JavaScript tutorial — Editor’s note: This article is provided for entertainment and educational purposes only and is not intended as financial advice. Any investment actions taken related to or referencing this article are solely your own and by continuing to read this, you implicitly agree to such terms. Prerequisite: This walkthrough assumes a…

Blockchain

5 min read

How to Supply Assets to the AAVE Protocol Programmatically
How to Supply Assets to the AAVE Protocol Programmatically
Blockchain

5 min read

Alex Roan

Alex Roan

1.98K Followers

CoFounder at Cyfrin. Previously: Chainlink Labs.

Following
  • Faisal Khan

    Faisal Khan

  • PCMag

    PCMag

  • Ayodeji Awosika

    Ayodeji Awosika

  • Trias

    Trias

  • Crypto Rand

    Crypto Rand

See all (209)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams