diff --git a/index.html b/index.html index db5db691..24f0bbaf 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,6 @@ name="description" content="OraiScan Dashboard is a block explorer/web wallet for blockchains built on Cosmos SDK, Cosmoshub, Osmosis, Juno, Evmos, Injective, Canto and 70+ blockchains listed on ping.pub" /> -
diff --git a/package.json b/package.json index 943b1f98..717021fd 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@intlify/unplugin-vue-i18n": "^0.8.2", "@leapwallet/cosmos-snap-provider": "^0.1.20", "@leapwallet/name-matcha": "^1.1.0", + "@oraichain/oraiscan-widget": "^0.2.11", "@osmonauts/lcd": "^0.8.0", "@ping-pub/chain-registry-client": "^0.0.25", "@vitejs/plugin-vue-jsx": "^3.0.0", diff --git a/public/test.html b/public/test.html index 6b46c576..1d385c57 100644 --- a/public/test.html +++ b/public/test.html @@ -1,17 +1,27 @@ - -<script type="module" src="https://unpkg.com/ping-widget@latest/dist/ping-widget.js">
- <script type="module" src="https://unpkg.com/@oraichain/oraiscan-widget@latest/dist/ping-widget.js">
+ <!-- This widget is optional. -->
- <ping-connect-wallet chain-id="{{ chainId }}" hd-path="{{ hdPath }}"/>
+ <!-- This widget is optional. -->
+ <ping-connect-wallet chain-id="{{ chainId }}" hd-path="{{ hdPath }}"/>
<ping-token-convert chain-name="{{ chainName }}" endpoint="{{endpoint}}" hd-path="{{hdPath}}"/>
- <label for="PingTokenConvert" class="btn btn-sm">Buy {{chainName.toUpperCase()}}</label>
+ <ping-token-convert chain-name="{{ chainName }}" endpoint="{{endpoint}}" hd-path="{{hdPath}}"/>
+ <label for="PingTokenConvert" class="btn btn-sm">Buy {{chainName.toUpperCase()}}</label>