BlockBill : The Blockchain-Powered Paperless Billing Solution
• The project ' s Backend ( Smart Contract ) was written using Rust . Smart Contracts in NEAR can be written in any language that can be compiled to WebAssembly , but NEAR provides already written and maintained libraries ( that wrap around low-level runtime APIs ) in Rust and Javascript . Rust is a statically typed programming language for performance and safety , especially in the context of safe concurrency and memory management . It won the “ Most Beloved Language ” award conducted by StackOverflow for seven consecutive years [ 29 ]. After compiling to WASM , the smart contract can then be deployed to the NEAR Network .
• The actual bill , i . e . receipt for the purchase , is kept on the IPFS network . Each bill stored will generate a hash which gets stored on the blockchain corresponding to the transaction .
• The essential information of the bill is recorded on the blockchain . We are currently using the testnet on the NEAR blockchain .
Two main actors are involved in interacting with this product : the Vendor and the Customer . The diagram below highlights the functions the actors can execute and how they interact with each other . Error ! Reference source not found . illustrates the Use Case Functional Diagram to highlight the User Flow .
102 April 2023