Skip to content

denis-mutuma/nairobi-expressway-payment-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nairobi Expressway Payment System

About this repository

This repository is a Web3 payment system designed for use in the recently commissioned Nairobi expressway. This project utilises NEAR Rust SDK for the smart contracts to compile Rust to Web Assembly (WASM), the low-level language used by the NEAR platform. Toll rates were obtained from the Nairobi expressway website.

Getting started

To get started:

  1. Clone this repository

  2. Set up the prerequisites

  3. Test the contract

    cargo test -- --nocapture

  4. Build the contract

    RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release

Get more info at: