Skip to content

Commit

Permalink
Update tapir ritual (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec authored Jan 11, 2024
2 parents 5969d5e + 30239de commit 850d018
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tapir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

# TODO: Use variables when GH supports it for forks. See https://github.com/orgs/community/discussions/44322
env:
RPC_PROVIDER_URL: "https://polygon-mumbai.infura.io/v3/3747007a284045d483c342fb39889a30"
RPC_PROVIDER_URL: "https://polygon-mumbai-bor.publicnode.com"
ENCRYPTOR_PRIVATE_KEY: "0x900edb9e8214b2353f82aa195e915128f419a92cfb8bbc0f4784f10ef4112b86"
CONSUMER_PRIVATE_KEY: "0xf307e165339cb5deb2b8ec59c31a5c0a957b8e8453ce7fe8a19d9a4c8acf36d4"
RITUAL_ID: "5"
RITUAL_ID: "0"

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,4 +1,4 @@
import { domains } from '@nucypher/taco';

export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '5');
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '0');
export const DEFAULT_DOMAIN = process.env.DEFAULT_DOMAIN || domains.TESTNET;
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 || '5');
export const DEFAULT_RITUAL_ID = parseInt(process.env.DEFAULT_RITUAL_ID || '0');
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 @@ -12,7 +12,7 @@ import useTaco from '../hooks/useTaco';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
declare const window: any;

const ritualId = 5; // Replace with your own ritual ID
const ritualId = 0; // 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://polygon-mumbai-bor.publicnode.com
# We provide here some defaults, but we encourage you to choose your own.
ENCRYPTOR_PRIVATE_KEY=0x900edb9e8214b2353f82aa195e915128f419a92cfb8bbc0f4784f10ef4112b86
CONSUMER_PRIVATE_KEY=0xf307e165339cb5deb2b8ec59c31a5c0a957b8e8453ce7fe8a19d9a4c8acf36d4
RITUAL_ID=5
RITUAL_ID=0
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 @@ -33,7 +33,7 @@ if (!consumerPrivateKey) {
}

const domain = process.env.DOMAIN || domains.TESTNET;
const ritualId = parseInt(process.env.RITUAL_ID || '5');
const ritualId = parseInt(process.env.RITUAL_ID || '0');
const provider = new ethers.providers.JsonRpcProvider(rpcProviderUrl);

console.log('Domain:', domain);
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 = 5; // Replace with your own ritual ID
const ritualId = 0; // 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 @@ -17,7 +17,7 @@ declare const window: any;
const runExample = async () => {
await initialize();

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

const provider = new ethers.providers.Web3Provider(window.ethereum!, 'any');
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nucypher/nucypher-contracts": "^0.15.0",
"@nucypher/nucypher-contracts": "^0.16.0",
"@nucypher/nucypher-core": "*",
"axios": "^1.6.2",
"deep-equal": "^2.2.3",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 850d018

Please sign in to comment.