Skip to content

Driver Registration smart contract with Test Case using Mocha

Notifications You must be signed in to change notification settings

shalu0628/EmurgoEthPrj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmurgoEthPrj

Driver Registration smart contract with Test Case using Mocha

Clone the Project.

Run commands 'trufle compile' and 'truffle test'

The smart contract must provide a set of functions that:

1.Let the driver register his profile ( Name - String, Contact - String, LiceceNo - String) 2.Let the owner of a profile update his details. 3.Get the list of driver and their details. 4.Check if the driver is already registered.

Test Cases

1.Register a driver with a name, contact and licence number. 2.A registered driver can update his own profile. 3.A driver cannot register again.

About

Driver Registration smart contract with Test Case using Mocha

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published