leo/examples/fibonacci
2022-11-04 18:57:55 +08:00
..
inputs Add Fibonacci example 2022-11-04 18:57:55 +08:00
src Add Fibonacci example 2022-11-04 18:57:55 +08:00
program.json Add Fibonacci example 2022-11-04 18:57:55 +08:00
README.md Add Fibonacci example 2022-11-04 18:57:55 +08:00

fibonacci.aleo

Build Guide

To compile this Aleo program, run:

aleo build

To run this program, run:

leo run fibonacci

Overview

This example shows how to calculate Fibonacci number using the fast-doubling method.

It takes the input data from inputs/fibonacci.in