Please check out this account: Ao48iFWgBDb2JeRzbS3274n67j7sZSiYSRy12Fs6v6if, in each transactions, this account (wsol ATA) is created at beginning and closed at end of each tx, I am a little confused. Isn't the wsol ata account created randomly for each transaction? Why can this account be created repeatedly in each transaction?
Also If I create new wsol ATA with
const newAccount = new Keypair();
and then interact with my program
await program.methods
.createNewAccount()
.accounts({
...
newAccount: newAccount.publicKey,
...
})
.signers([newAccount])
.rpc(confirmOptions);
I have to sign this transaction with newAccount
.signers([newAccount])
However, there is no additional signature operation in all transactions of this account, how does it do that?