Skip to content

Commit

Permalink
chore: update ritual used by Tapir action (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre authored Oct 10, 2024
2 parents a744a80 + 4a6ebb8 commit a023fed
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tapir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
RPC_PROVIDER_URL: 'https://rpc-amoy.polygon.technology'
ENCRYPTOR_PRIVATE_KEY: '0x900edb9e8214b2353f82aa195e915128f419a92cfb8bbc0f4784f10ef4112b86'
CONSUMER_PRIVATE_KEY: '0xf307e165339cb5deb2b8ec59c31a5c0a957b8e8453ce7fe8a19d9a4c8acf36d4'
RITUAL_ID: '0'
RITUAL_ID: '6'

jobs:
networks:
Expand Down
2 changes: 1 addition & 1 deletion demos/taco-demo/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { domains } from '@nucypher/taco';

export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '0');
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '6');
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.TESTNET;

// Node 2 is free
Expand Down
2 changes: 1 addition & 1 deletion demos/taco-nft-demo/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { domains } from '@nucypher/taco';

export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '0');
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '6');
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.TESTNET;
2 changes: 1 addition & 1 deletion examples/taco/nextjs/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import useTaco from '../hooks/useTaco';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
declare const window: any;

const ritualId = 0; // Replace with your own ritual ID
const ritualId = 6; // Replace with your own ritual ID
const domain = domains.TESTNET;

function App() {
Expand Down
2 changes: 1 addition & 1 deletion examples/taco/nodejs/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ RPC_PROVIDER_URL=https://rpc-amoy.polygon.technology
# We provide here some defaults, but we encourage you to choose your own.
ENCRYPTOR_PRIVATE_KEY=0x900edb9e8214b2353f82aa195e915128f419a92cfb8bbc0f4784f10ef4112b86
CONSUMER_PRIVATE_KEY=0xf307e165339cb5deb2b8ec59c31a5c0a957b8e8453ce7fe8a19d9a4c8acf36d4
RITUAL_ID=0
RITUAL_ID=6
DOMAIN=tapir
2 changes: 1 addition & 1 deletion examples/taco/nodejs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (!consumerPrivateKey) {
}

const domain = process.env.DOMAIN || domains.TESTNET;
const ritualId = parseInt(process.env.RITUAL_ID || '0');
const ritualId = parseInt(process.env.RITUAL_ID || '6');
const provider = new ethers.providers.JsonRpcProvider(rpcProviderUrl);
const CHAIN_ID_FOR_DOMAIN = {
[domains.MAINNET]: 137,
Expand Down
2 changes: 1 addition & 1 deletion examples/taco/react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import useTaco from './hooks/useTaco';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
declare const window: any;

const ritualId = 0; // Replace with your own ritual ID
const ritualId = 6; // Replace with your own ritual ID
const domain = domains.TESTNET;

function App() {
Expand Down
2 changes: 1 addition & 1 deletion examples/taco/webpack-5/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ declare const window: any;
const runExample = async () => {
await initialize();

const ritualId = 0; // Replace with your own ritual ID
const ritualId = 6; // Replace with your own ritual ID
const domain = domains.TESTNET;

const provider = new ethers.providers.Web3Provider(window.ethereum!, 'any');
Expand Down

0 comments on commit a023fed

Please sign in to comment.