We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9970cb5 commit 352ae8cCopy full SHA for 352ae8c
src/taco.ts
@@ -9,6 +9,7 @@ import { ThresholdDecrypter } from './characters/cbd-recipient';
9
import { Condition, ConditionExpression } from './conditions';
10
import { DkgClient } from './dkg';
11
import { toBytes } from './utils';
12
+import { getPorterUri } from './porter';
13
14
export interface TacoMessageKit {
15
ciphertext: Ciphertext;
@@ -57,7 +58,7 @@ export const encryptLight = async (
57
58
export const decrypt = async (
59
web3Provider: ethers.providers.Web3Provider,
60
messageKit: TacoMessageKit,
- porterUri: string
61
+ porterUri = getPorterUri('tapir')
62
): Promise<Uint8Array> => {
63
const decrypter = ThresholdDecrypter.create(
64
porterUri,
0 commit comments