better condition, docs

This commit is contained in:
Chris Cassano
2022-11-10 21:29:56 -08:00
parent f3bd10bdbf
commit 010b2fce10
2 changed files with 18 additions and 70 deletions

View File

@ -91,12 +91,12 @@ function App() {
conditionType: "evmBasic",
contractAddress: "",
standardContractType: "",
chain: "ethereum",
method: "eth_getBalance",
parameters: [":userAddress", "latest"],
chain: "mumbai",
method: "",
parameters: [":userAddress"],
returnValueTest: {
comparator: ">=",
value: "0",
comparator: "=",
value: pkpEthAddress,
},
},
];
@ -179,7 +179,7 @@ function App() {
<div style={{ height: 100 }} />
<h3>
Step 1: log in with Google. You will mint a PKP and obtain a session
sig.
sig. Note: Your metamask must be switched to Mumbai.
</h3>
<GoogleLogin
onSuccess={handleLoggedInToGoogle}