Integrate Ante using HTML
How to use
<link href="https://assets.ante.finance/widget/widget.css" rel="stylesheet" />// To show the overall trust tier of a protocol
<div class="ante-protocol-widget"></div>
// To show the trust score on a specific Ante Test
<div class="ante-test-widget"></div><script src="https://assets.ante.finance/widget/widget.css"></script>
<script>
AnteWidget.Protocol('.ante-protocol-widget',{
name: 'ETH2',
chain: '0x4', // If not provided, it defaults to '0x1' (Ethereum Mainnet)
});
AnteWidget.Test('.ante-test-widget',{
address: '0x806f60015F245F9F6442f9c81f915E45CCd76637',
chain: '0x4'
});
</script>Example of usage
Last updated

