Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Component #35

Open
skellet0r opened this issue Jan 31, 2021 · 1 comment
Open

Create Component #35

skellet0r opened this issue Jan 31, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@skellet0r
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Users have no way of creating a Bill Of Lading.

Describe the solution you'd like
There should be a form (create view) which users can go to and submit the information to generate a Bill of Lading.
The fields required are:

  • address driver;
  • string serialNumber;
  • GeoPosition[2] origin;
  • GeoPosition[2] destination;
  • uint256 quantity;

GeoPosition[2] is a longitude and lagitude pair, we can simply ask for users to select a point of destination from a list and hard code the values for now (Origin should be easy since they're only originating from West Texas).

@skellet0r skellet0r added the enhancement New feature or request label Jan 31, 2021
@skellet0r
Copy link
Contributor Author

Refer to the Bill Of Lading contract for more information on the parameters that will be passed to the contract.
https://github.com/skellet0r/EthGlobal-West-Texas-Oil/blob/main/backend/contracts/BillOfLading.sol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant