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 ecb9e0e commit db130b4Copy full SHA for db130b4
src/taco.ts
@@ -8,6 +8,7 @@ import { ethers } from 'ethers';
8
import { ThresholdDecrypter } from './characters/cbd-recipient';
9
import { Condition, ConditionExpression } from './conditions';
10
import { DkgClient } from './dkg';
11
+import { getPorterUri } from './porter';
12
import { toBytes } from './utils';
13
14
export interface TacoMessageKit {
@@ -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