atomicDEX-API
atomicDEX-API copied to clipboard
feat(wallets): restrict wallet creation with `allow_registrations` flag
KDF startup throws an error if the allow_registrations
config value is false and the seed is unknown (no name provided) or if a name is provided and it has not been registered before. Defaults to true
(current dev
behaviour)
This is used to emulate the sign-in vs register behaviour a typical auth service would provide.
TODO: Tests