File tree Expand file tree Collapse file tree 3 files changed +160
-187
lines changed
examples/gasless-custody-aa Expand file tree Collapse file tree 3 files changed +160
-187
lines changed Original file line number Diff line number Diff line change 1212 "@turnkey/ethers" : " workspace:*" ,
1313 "@turnkey/sdk-server" : " workspace:*" ,
1414 "@turnkey/viem" : " workspace:*" ,
15- "@zerodev/ecdsa-validator" : " 5.4.9" ,
16- "@zerodev/sdk" : " 5.4.41" ,
15+ "@zerodev/sdk" : " 5.5.2" ,
1716 "dotenv" : " 16.0.3" ,
1817 "ethers" : " 6.10.0" ,
1918 "permissionless" : " 0.1.45" ,
2019 "prompts" : " 2.4.2" ,
2120 "typescript" : " 5.4.3" ,
22- "viem" : " 2.24.2 " ,
21+ "viem" : " 2.37.8 " ,
2322 "wagmi" : " 2.16.9"
2423 },
2524 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -73,31 +73,16 @@ const main = async () => {
7373 transport : http ( ) ,
7474 } ) ;
7575
76- // upgrade EOAs to smart accounts
77- const signerAuthorization = await signerClient . signAuthorization ( {
78- chainId : chain . id ,
79- nonce : 0 ,
80- address : kernelAddresses . accountImplementationAddress ,
81- } ) ;
82-
83- const userAuthorization = await userClient . signAuthorization ( {
84- chainId : chain . id ,
85- nonce : 0 ,
86- address : kernelAddresses . accountImplementationAddress ,
87- } ) ;
88-
8976 const signerKernelAccount = await createKernelAccount ( publicClient , {
9077 eip7702Account : signerClient ,
9178 entryPoint,
9279 kernelVersion,
93- eip7702Auth : signerAuthorization ,
9480 } ) ;
9581
9682 const userKernelAccount = await createKernelAccount ( publicClient , {
9783 eip7702Account : userClient ,
9884 entryPoint,
9985 kernelVersion,
100- eip7702Auth : userAuthorization ,
10186 } ) ;
10287
10388 const paymasterClient = createZeroDevPaymasterClient ( {
You can’t perform that action at this time.
0 commit comments