yarn create react-app dm3-demo-app --template typescript
cd dm3-demo-app
yarn add dm3-react
create this file in the root of the project
REACT_APP_ADDR_ENS_SUBDOMAIN=".beta-addr.dm3.eth"
REACT_APP_USER_ENS_SUBDOMAIN=".beta-user.dm3.eth"
REACT_APP_DEFAULT_DELIVERY_SERVICE="beta-ds.dm3.eth"
REACT_APP_BACKEND="https://dm3-beta2.herokuapp.com"
REACT_APP_DEFAULT_SERVICE="https://dm3-beta2.herokuapp.com"
REACT_APP_RESOLVER_BACKEND="https://dm3-beta2-resolver.herokuapp.com"get file: .env
open src/App.tsx
// @ts-ignore
import { DM3 } from 'dm3-react';<DM3
defaultServiceUrl={process.env.REACT_APP_DEFAULT_SERVICE}
showAlways={true}
/>add pictures in public:
favicon.png
dm3_logo.png
defaultContact={'<ens_name>'}
showAlways={true/false}
showContacts={true/false}
