Create an .env file under /frontend folder with: ``` REACT_APP_ANTE_BASE_URL="https://ante.finance" REACT_APP_ANTE_TESTNET_BASE_URL="https://testnet.ante.finance" REACT_APP_SERVER_BASE_URL="http://localhost:8080" ``` Replace the REACT_APP_SERVER_BASE_URL
npm install @antefinance/ante-widgetCreate an .env file under /frontend folder with:
```
REACT_APP_ANTE_BASE_URL="https://ante.finance"
REACT_APP_ANTE_TESTNET_BASE_URL="https://testnet.ante.finance"
REACT_APP_SERVER_BASE_URL="http://localhost:8080"`
Replace the REACT_APP_SERVER_BASE_URL with the endpoint for accessing the ante-widget server
Run`
npm i
npm run build`
This will generate the following files:`
/frontend/dist/widget.js
/frontend/dist/widget.css`
These files should be served by the partner's application. E.g.
...
``