You can easily use Fortmatic with Cargo by providing Cargo with the Fortmatic Provider.
You can set the provider when initializing Cargo or you can update the provider after initialization.
Setting the provider during initialization
const fortmatic = new Fortmatic(FORTMATIC_KEY);âconst cargo = new Cargo({ provider: fm.getProvider() });
Setting the provider after initialization
const fortmatic = new Fortmatic(FORTMATIC_KEY);âconst cargo = new Cargo();â// Things happen and then ....âcargo.setProvider(fm.getProvider());
â