Skip to main content

create_agreement

Function create_agreement 

Source
pub fn create_agreement(
    title: String,
    relationship_did: String,
    parties: Vec<String>,
) -> Result<Value, String>
Expand description

Create a new draft agreement for a relationship, grounded in the non-derogable values floor (defaults to UDHR), with a pending consent for each party. Returns the created agreement.