You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used exapmle code to test aa-sdk, but it reports the 'GetCounterFactualAddressError: getCounterFactualAddress failed', the code is import { createMultiOwnerModularAccount } from "@alchemy/aa-accounts";
import {
LocalAccountSigner,
createSmartAccountClient,
polygonMumbai,
} from "@alchemy/aa-core";
import { http } from "viem";
I used exapmle code to test aa-sdk, but it reports the 'GetCounterFactualAddressError: getCounterFactualAddress failed', the code is import { createMultiOwnerModularAccount } from "@alchemy/aa-accounts";
import {
LocalAccountSigner,
createSmartAccountClient,
polygonMumbai,
} from "@alchemy/aa-core";
import { http } from "viem";
async function test() {
const chain = polygonMumbai;
const signer = LocalAccountSigner.mnemonicToAccountSigner(
"xxx"
);
const rpcTransport = http("https://polygon-mumbai.g.alchemy.com/v2/demo");
const account = await createMultiOwnerModularAccount({
transport: rpcTransport,
chain,
signer,
});
const smartAccountClient = createSmartAccountClient({
transport: rpcTransport,
chain,
account: account
});
}
test()
The text was updated successfully, but these errors were encountered: