2024-02-21 19:24:30 -06:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom/client';
|
2024-03-07 21:27:37 -06:00
|
|
|
import { MetaMaskProvider } from '@metamask/sdk-react';
|
2024-02-21 19:24:30 -06:00
|
|
|
import App from './App';
|
2024-03-07 21:27:37 -06:00
|
|
|
// import 'bootstrap/dist/css/bootstrap.min.css';
|
|
|
|
import 'bootswatch/dist/slate/bootstrap.min.css';
|
|
|
|
// import './index.css';
|
2024-02-21 18:01:41 -06:00
|
|
|
|
|
|
|
ReactDOM.createRoot(document.getElementById('root')).render(
|
|
|
|
<React.StrictMode>
|
2024-03-07 21:27:37 -06:00
|
|
|
<MetaMaskProvider
|
|
|
|
debug={false}
|
|
|
|
sdkOptions={{
|
|
|
|
dappMetadata: {
|
|
|
|
name: 'DGF Prototype',
|
|
|
|
url: window.location.href,
|
|
|
|
},
|
|
|
|
enableAnalytics: false,
|
|
|
|
infuraAPIKey: '579d264c5f534aa1aefd6be323cb1a35',
|
|
|
|
readonlyRPCMap: {
|
|
|
|
'0x7a69': 'http://127.0.0.1:8545/',
|
|
|
|
},
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<App />
|
|
|
|
</MetaMaskProvider>
|
2024-02-21 18:01:41 -06:00
|
|
|
</React.StrictMode>,
|
2024-02-21 19:24:30 -06:00
|
|
|
);
|