File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
account-kit/smart-contracts/src/ma-v2 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
21
21
import { accountFactoryAbi } from "../abis/accountFactoryAbi.js" ;
22
22
import {
23
23
getDefaultMAV2FactoryAddress ,
24
+ getDefaultWebAuthnMAV2FactoryAddress ,
24
25
getDefaultSMAV2BytecodeAddress ,
25
26
} from "../utils.js" ;
26
27
import {
@@ -169,7 +170,7 @@ export async function createModularAccountV2<
169
170
const { x, y } = parsePublicKey ( publicKey ) ;
170
171
const {
171
172
salt = 0n ,
172
- factoryAddress = getDefaultMAV2FactoryAddress ( chain ) ,
173
+ factoryAddress = getDefaultWebAuthnMAV2FactoryAddress ( ) ,
173
174
initCode,
174
175
} = config ;
175
176
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ export const pack1271Signature = ({
72
72
] ) ;
73
73
} ;
74
74
75
+ export const getDefaultWebAuthnMAV2FactoryAddress = ( ) : Address => {
76
+ return "0x9c607854b60fb6AFDB33daC5a1676AC06048bE5f" ;
77
+ } ;
78
+
75
79
export const getDefaultMAV2FactoryAddress = ( chain : Chain ) : Address => {
76
80
switch ( chain . id ) {
77
81
// TODO: case mekong.id:
You can’t perform that action at this time.
0 commit comments