Create Security Optionality With Reusable Cohorts
const smallConfig = {
threshold: 3,
shares: 5,
porterUri: 'https://porter-tapir.nucypher.community',
};
const mediumConfig = {
threshold: 11,
shares: 20,
porterUri: 'https://porter-tapir.nucypher.community',
};
const largeConfig = {
threshold: 51,
shares: 100,
porterUri: 'https://porter-tapir.nucypher.community',
};
const smallCohort = await Cohort.create(smallConfig);
const mediumCohort = await Cohort.create(mediumConfig);
const largeCohort = await Cohort.create(largeConfig);Last updated
Was this helpful?