0.0.4 • Published 4 years ago
@makerdao/dai-plugin-portis v0.0.4
dai-plugin-portis
A Dai.js plugin for using portis in a browser environment.
Example usage
This plugin is not yet published to npm. So use link to use it in oasis app.
import portisPlugin from '@makerdao/dai-plugin-portis';
import Maker from '@makerdao/dai';
const maker = await Maker.create('http', {
plugins: [portisPlugin],
});
// this will not resolve until the account is set up
await maker.authenticate();