Skip to content

Instantly share code, notes, and snippets.

@dmihal
Last active January 7, 2020 15:49
Show Gist options
  • Save dmihal/95fc4bfc01a50bd7f3dbdcc6f1de4b9c to your computer and use it in GitHub Desktop.
Save dmihal/95fc4bfc01a50bd7f3dbdcc6f1de4b9c to your computer and use it in GitHub Desktop.
import { xdai, dai, eth, ERC777Asset, ERC20Asset, NativeAsset } from '@burner-wallet/assets';
// ...
const goerlieth = new NativeAsset({
id: 'geth',
name: 'gETH',
network: '4',
});
const buffidai = new ERC777Asset({
id: 'buffidai',
name: 'BuffiDai',
address: '0x35fB13688F44DfcF3AE8aC508bBFCeab420762e0',
network: '100',
usdPrice: 1,
icon: 'https://buffidai.io/static/media/bufficorn.e2983bb0.png',
});
const mkr = new ERC20Asset({
id: 'mkr',
name: 'Maker',
address: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2',
network: '100',
priceSymbol: 'MKR',
});
const core = new BurnerCore({
assets: [buffidai, mkr, goerlieth, xdai, dai, eth],
// ...
});
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment