## Setup

Subscribing to changes to onchain is easy using `subscription.subscribeProgramAccounts`. In this example we subscribe to any SOL margin account changes, but you can subscribe to any account types you wish to track.

```sh
npm install

npm run start
```
