nvalid limit.');
                return;
            }

            if ($('#brc20-deploy-ticker').value == '' || $('#brc20-deploy-ticker').value.length != 4) {
                alert('Invalid ticker length. Must be 4 characters.');
                return;
            }

            deploy = JSON.parse(deploy);
            deploy.tick = $('#brc20-deploy-ticker').value;
            deploy.max = $('#brc20-deploy-max').value;
            deploy.lim = $('#brc20-deploy-lim').value;

            let mimetype = "tex