initial database migration, watcher.js

This commit is contained in:
Tim Olson
2023-08-30 17:46:22 -04:00
parent 2a0133e605
commit 97234c955f
11 changed files with 779 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ io.on("connection", (socket) => {
socket.on('lookupToken', (chainId, address, callback) => {
lookupToken(chainId, address).then((result)=>callback(result)).catch(()=>callback(null))
})
socket.on('address', (chainId, address) => loginAddress(socket, chainId, address) )
// todo send known tokens or other initial config
socket.emit('welcome', {})
});