Burner Wallet plugin

How to add a fiat off-ramp to a Burner Wallet

A plugin for Burner Wallet have been done to easily add the possibilty to cash out directly from the wallet.

A Burner Wallet have been deployed with this plugin included: Mooni Burner Wallet.

Usage

Install package:

yarn add @mooni/burner-plugin

Add plugin to your Burner Wallet

import React from 'react';
import ReactDOM from 'react-dom';
import { eth, dai, usdc } from '@burner-wallet/assets';
import BurnerCore from '@burner-wallet/core';
import { LocalSigner } from '@burner-wallet/core/signers';
import { InfuraGateway } from '@burner-wallet/core/gateways';
import ModernUI from '@burner-wallet/modern-ui';
import MooniPlugin from '@mooni/burner-plugin';
const core = new BurnerCore({
signers: [new LocalSigner()],
gateways: [
new InfuraGateway(process.env.REACT_APP_INFURA_KEY),
],
assets: [eth, dai, usdc],
});
const BurnerWallet = () =>
<ModernUI
title="Mooni Burner Wallet"
core={core}
plugins={[new MooniPlugin()]}
/>
ReactDOM.render(<BurnerWallet />, document.getElementById('root'));