mirror of
https://github.com/getwax/eth-global-lisbon-hackathon.git
synced 2026-01-09 15:57:55 -05:00
Merge branch 'main' of github.com:web3well/eth-global-lisbon-hackathon
This commit is contained in:
@@ -57,6 +57,7 @@ export default class AppContext {
|
||||
balance,
|
||||
address: aaSigner.address,
|
||||
});
|
||||
console.log(Buffer.from(blsDomain).toString('hex'));
|
||||
|
||||
const hhBalance = await provider.getBalance(hhSigner.address);
|
||||
|
||||
|
||||
@@ -73,10 +73,9 @@ export class AccountAPI extends BaseAccountAPI {
|
||||
}
|
||||
|
||||
setNextAggBlsSignature(sig: solG1) {
|
||||
this.nextAggBlsSignature = ethers.utils.defaultAbiCoder.encode(
|
||||
['uint256[2]'],
|
||||
[sig],
|
||||
);
|
||||
this.nextAggBlsSignature = ethers.utils.defaultAbiCoder
|
||||
.encode(['uint256[2]'], [sig])
|
||||
.slice(2);
|
||||
}
|
||||
|
||||
async _getAccountContract(): Promise<SafeProxy> {
|
||||
|
||||
@@ -23,7 +23,8 @@ export default async function createWallet(
|
||||
provider.getSigner(),
|
||||
);
|
||||
|
||||
await blsVerifier.setupGroup(publicKeys);
|
||||
const setupGroupTx = await blsVerifier.setupGroup(publicKeys);
|
||||
await setupGroupTx.wait();
|
||||
|
||||
await accountApi.getNonce();
|
||||
return accountApi.accountContract?.address;
|
||||
|
||||
Reference in New Issue
Block a user