Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 525 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 525 Bytes

smart-invoice mono repo

Metadata Schema Standard

All metadata uploaded to IPFS and saved as details in a Smart Invoice contract must follow the standard schema below:

{
  projectName: "Project Name",
  projectDescription: "description",
  projectAgreement:[{
    type: "https", // or "ipfs"
    src: "https://urlToAgreement.com"
    createdAt : "seconds since epoch"
  }],
  startDate: UNIX_TIMESTAMP,
  endDate: UNIX_TIMESTAMP
}

Under projectAgreement, type and beginning of src MUST match exactly.