gofractally / psibase

Open source protocol enabling communities to easily self-host web applications
https://docs.psibase.io
MIT License
28 stars 7 forks source link

Prevent TokenUsers from automatically deploying on dev chain boot #902

Closed brandonfancher closed 3 weeks ago

brandonfancher commented 3 weeks ago

alice and bob accounts are created by default when booting the dev chain via the TokenUsers package. But they are not auth-any, as they previously were.

The auth system is still under heavy development. getAvailableAccounts still simply returns alice and bob, independent of whatever accounts actually exist on the chain.

Applications, such as Chain Mail, are also under development. They currently use those two accounts in auth-any mode.

Removing their default creation by TokenUsers (which creates them without auth-any) means that we can create those accounts manually after the chain boots so that Chain Mail can still use them while we continue building everything out.