登陆账号: Sign out
🍌 换NEAR
<div class="signed-out-flow" style="display: none">
<p>
Sign in to swap 🍌 to NEAR and vice versa.
</p>
<p style="text-align: center; margin-top: 2.5em">
<button id="sign-in-button">Sign in</button>
</p>
</div>
<div class="signed-in-flow" style="display: none;">
<h2>Your balances</h2>
<p>Your 🍌: <b id="berriesBalance">...</b></p>
<p>Your NEAR: <b id="nearBalance">...</b></p>
</div>
<h2>账户余额:</h2>
<p>🍌🍌 余额 : <b id="poolBerriesBalance">...</b></p>
<p>NEAR 余额 : <b id="poolNearBalance">...</b></p>
<h2>NEAR 兑换→ 🍌</h2>
<form id="buyForm">
<fieldset>
<label
for="berriesToBuy"
style="display: block; margin-bottom: 0.5em"
>
🍌 买入数量
</label>
<input
autocomplete="off"
id="berriesToBuy"
/>
<label
for="maxNearPrice"
style="display: block; margin-bottom: 0.5em"
>
需要支付NEAR数量 </label>
<input
autocomplete="off"
id="maxNearPrice"
/>
<div class="signed-in-flow" style="display: none;">
<button style="border-radius: 5px; display: block; margin-top: 0.5em">Buy</button>
</div>
</fieldset>
</form>
<h2>🍌 兑换→ NEAR</h2>
<form id="sellForm">
<fieldset>
<label
for="nearToBuy"
style="display: block; margin-bottom: 0.5em"
>
获得NEAR数量
</label>
<input
autocomplete="off"
id="nearToBuy"
/>
<label
for="maxBerriesPrice"
style="display: block; margin-bottom: 0.5em"
>
需要支付 🍌 数量
</label>
<input
autocomplete="off"
id="maxBerriesPrice"
/>
<div class="signed-in-flow" style="display: none;">
<button style="border-radius: 5px; display: block; margin-top: 0.5em">Sell</button>
</div>
</fieldset>
</form>
<hr>
<p>
如果您想构建这样的应用程序,请查看
<a target="_blank" href="https://docs.near.org">NEAR文档</a>
或者浏览一些
<a target="_blank" href="https://examples.near.org">示列应用</a>.
</p>
<p>
在 <a href="https://github.com/vgrichina/bananaswap">GitHub</a> 上查看该应用.
</p>
<p>
本软件按“原样”提供,没有任何形式的保证.
</p>