+
There are no funds currently in your vault. Send tokens to the address above to fund your vault.
There are no funds currently in your vault. Use the faucet below to mint some testnet coins into your vault.
diff --git a/src/socket.js b/src/socket.js
index 5371768..331a816 100644
--- a/src/socket.js
+++ b/src/socket.js
@@ -1,7 +1,6 @@
import {io} from "socket.io-client";
import {useStore} from "@/store/store.js";
-import {flushOrders, onChainChanged} from "@/blockchain/wallet.js";
-import {ethers} from "ethers";
+import {flushOrders} from "@/blockchain/wallet.js";
import {parseOrderStatus} from "@/blockchain/orderlib.js";
export const socket = io(import.meta.env.VITE_WS_URL || undefined, {transports: ["websocket"]})
@@ -22,6 +21,10 @@ socket.on('p', async (chainId, pool, price) => {
s.poolPrices[[chainId,pool]] = price
})
+socket.on('ohlcs', async (chainId, pool, ohlcs) => {
+ console.log('pool bars', pool, ohlcs)
+})
+
socket.on('vb', async (chainId, vault, balances) => {
const s = useStore()
if( s.chainId.value !== chainId )
diff --git a/tradingview.md b/tradingview.md
new file mode 100644
index 0000000..0acba4c
--- /dev/null
+++ b/tradingview.md
@@ -0,0 +1,3 @@
+https://github.com/tradingview/charting_library
+https://www.tradingview.com/charting-library-docs/latest/getting_started/Best-Practices/
+