Other Reference

Custom Mode

If you choose to integrate an iframe from, some wallets might not work properly.
To address this issue, you can configure your server nginx like below, and the frontend iframe config should be the same as the OpenOcean widget.

Step 1 - Config nginx

server {
listen 80;
proxy_ssl_server_name on;
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-PORT $remote_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 20m;
location / {

Step 2 - Config Front-end (for example:

document.domain = "";
<iframe src=""></iframe>