Custom policies

If you need to save more complex policies that are not included in templates, you can use the save_policy method:

use smartvaults_sdk::prelude::*;

async fn main() {
let client = ...; // The client that you before constructed

let public_keys = vec![...]; // Nostr public keys of users involved in the policy
        "My custom policy", // Name of the policy
        "Custom policy", // Description
        "...", // Miniscript policy or already compiled descriptor