Testnet

circle-exclamation

Testnet domains

To run TACo on testnet, it needs to be configured to use one of the two available domains:

import { domains } from '@nucypher/taco';

domains.DEVNET  // "lynx" network
  • DEVNET domain, or lynx, is a bleeding-edge developer network that supports the upcoming taco release.

circle-exclamation

Quick reference

Copy-paste these values to get started immediately. These examples use ethers v5 (npm install [email protected]), which TACo currently requires.

import { domains } from '@nucypher/taco';
import { ethers } from 'ethers';

const domain = domains.DEVNET;
const ritualId = 27;  // Open ritual, no encryptor allowlist needed

// Provider must connect to Polygon Amoy (where DKG contracts live)
const provider = new ethers.providers.JsonRpcProvider(
  'https://polygon-amoy.drpc.org'
);
circle-exclamation

Testnet configuration

Threshold Decryption

Domain
Network
L1
L2
Open Ritual ID
Cohort

DEVNET

Sepolia (11155111)

Amoy (80002)

27

2-of-3

circle-info

Open Ritual ID refers to a DKG cohort & public key with no restrictions on encryptors – i.e. any device or address can use the public key to encrypt data. See the encryptor allowlist section to learn more.

circle-info

It should be noted that the blockchains used as L1 and L2 in the various TACo domains (DEVNET, MAINNET) do not determine the blockchains supported by the TACo conditions. For example, the DEVNET can be used to define conditions on Ethereum mainnet.

Threshold Signing

Domain
Network
L1
Open Cohort ID
Cohort
Supported Chains

DEVNET

Sepolia (11155111)

1

2-of-3

  • 84532 (Base)

  • 11155111 (Sepolia)

circle-info

Open Cohort ID refers to a signing cohort with a policy condition that always passes and therefore there are no restrictions on what it will sign – i.e. any signing request will be fulfilled.

Contracts

The source code for contracts used on testnet can be found in nucypher/nucypher-contractsarrow-up-right repository.

Contract addresses for testnet can be found in their respective contract registries:

Last updated