Skip to content

A set of standardised Cairo librairies for use on StarkNet

License

Notifications You must be signed in to change notification settings

CairOpen/cairopen-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CairOpen Contracts

A set of libraries to help using Cairo on StarkNet.

Examples for use in other Cairo contracts are provided in examples.

Contents

Installation

Protostar

protostar install CairOpen/cairo-contracts

Python

! Coming soon

Usage

To use the librairy in contracts then

# contracts/MyContract.cairo

%lang starknet

from cairopen.string.string import String
from cairopen.string.type import string

Libraries

String

String utilities to store and manipulation strings in Cairo. Docs

Math

Mathematical utilities in Cairo. Docs

Binary

Binary utilities in Cairo. Docs

Hash

Hashing utilities in Cairo. Docs

Local setup

This project is built using Protostar

Makefile scripts

Tests: make test

About

A set of standardised Cairo librairies for use on StarkNet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages