# Function: createFolderAccountStore()

```ts
function createFolderAccountStore(dir): AccountStore;
```

Defined in: [packages/core/src/identity/account-store.ts:160](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-store.ts#L160)

Opens the accounts kept in a folder.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `dir` | [`DirectoryHandleLike`](https://minca.dev/api/core/interfaces/DirectoryHandleLike.md) |

## Returns

[`AccountStore`](https://minca.dev/api/core/interfaces/AccountStore.md)
