Skip to content

Commit

Permalink
Update client and use new testnet amoy instead of mumbai (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
juangm authored Apr 30, 2024
2 parents af4f72d + 57a99f4 commit 29735ab
Show file tree
Hide file tree
Showing 7 changed files with 760 additions and 34 deletions.
2 changes: 1 addition & 1 deletion codegen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
schema: https://api-v2-mumbai.lens.dev
schema: https://api-amoy.lens-v2.crtlkey.com
documents: ['./src/graphql/queries/*.graphql', './src/graphql/fragments/*.graphql']

hooks:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@apollo/client": "^3.7.17",
"@headlessui/react": "^1.7.16",
"@heroicons/react": "^2.0.18",
"@lens-protocol/momoka": "^1.1.3",
"@lens-protocol/momoka": "^2.1.1",
"@rainbow-me/rainbowkit": "^1.0.7",
"@tailwindcss/forms": "^0.5.4",
"@tailwindcss/typography": "^0.5.9",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Transaction/Verify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Verify: FC<VerifyProps> = ({ momokaTransaction }) => {
const [nodeUrl, setNodeUrl] = useState<string>(
selectedEnvironment.id === 'mainnet'
? 'https://rpc.ankr.com/polygon'
: 'https://rpc.ankr.com/polygon_mumbai'
: 'https://rpc.ankr.com/polygon_amoy'
);
const [status, setStatus] = useState<'UNKNOWN' | 'VERIFIED' | 'NOT_VERIFIED'>('UNKNOWN');
const [loading, setLoading] = useState<boolean>(false);
Expand Down
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export enum HeyUrl {
}

export enum LensEndpoint {
TESTNET = 'https://api-v2-mumbai-live.lens.dev',
TESTNET = 'https://api-amoy.lens-v2.crtlkey.com',
PRODUCTION = 'https://api-v2.lens.dev'
}

export enum VerifierNetwork {
POLYGON = 'POLYGON',
MUMBAI = 'MUMBAI',
AMOY = 'AMOY',
SANDBOX = 'SANDBOX'
}

Expand Down
Loading

0 comments on commit 29735ab

Please sign in to comment.