Mooni
Search…
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:
1
yarn add @mooni/burner-plugin
Copied!
Add plugin to your Burner Wallet
1
import React from 'react';
2
import ReactDOM from 'react-dom';
3
import { eth, dai, usdc } from '@burner-wallet/assets';
4
import BurnerCore from '@burner-wallet/core';
5
import { LocalSigner } from '@burner-wallet/core/signers';
6
import { InfuraGateway } from '@burner-wallet/core/gateways';
7
import ModernUI from '@burner-wallet/modern-ui';
8
9
import MooniPlugin from '@mooni/burner-plugin';
10
11
const core = new BurnerCore({
12
signers: [new LocalSigner()],
13
gateways: [
14
new InfuraGateway(process.env.REACT_APP_INFURA_KEY),
15
],
16
assets: [eth, dai, usdc],
17
});
18
19
const BurnerWallet = () =>
20
<ModernUI
21
title="Mooni Burner Wallet"
22
core={core}
23
plugins={[new MooniPlugin()]}
24
/>
25
26
27
ReactDOM.render(<BurnerWallet />, document.getElementById('root'));
Copied!
Last modified 1yr ago
Copy link
Contents
Usage