This PR moves the signer "clones" the signer property from the `Config`
object into the `session` state, to allow Svelte reactivity, e.g. in the
Testnet Faucet, where we rely on `config.signer` but since it only
changes when the `Config` object in `App.svelte` changes we can't react
on it.
For now I only cloned the signer property, if we see in the future that
there are other properties that need to change with session we can add
them.
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
- Add helper method toWei for better understanding
- Add some comments to why we multiply the lastWithdrawal by 1000
Signed-off-by: Sebastian Martinez <sebastinez@me.com>