Atoms sourced from remote config
npm install @exodus/remote-config-atoms@exodus/remote-config-atomsFactory for creating read-only atoms for values stored in remote-config.
``sh`
yarn add @exodus/remote-config-atoms
> [!WARNING]
> As client-side access to remote-config is read-only, remoteConfigAtom.set(value) will always reject.
`js
import { createRemoteConfigAtomFactory } from '@exodus/atoms'
// Remote config atoms
const createRemoteConfigAtom = createRemoteConfigAtomFactory({ remoteConfig })
const fiatOnrampConfigAtom = createRemoteConfigAtom({
path: dapps.fiatOnramp,``
defaultValue: {},
})