feat: multi accounts
This commit is contained in:
parent
ee0c702135
commit
33ac5e60b6
17 changed files with 426 additions and 137 deletions
5
src/lib/account.ts
Normal file
5
src/lib/account.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { TAccountPointer } from '@/types'
|
||||
|
||||
export function isSameAccount(a: TAccountPointer | null, b: TAccountPointer | null) {
|
||||
return a?.pubkey === b?.pubkey && a?.signerType === b?.signerType
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue