diff --git a/hono/src/index.ts b/hono/src/index.ts index aeb4bfa..08cfdc6 100644 --- a/hono/src/index.ts +++ b/hono/src/index.ts @@ -3,6 +3,11 @@ import { Hono } from 'hono' const app = new Hono() +const accounts = { + '1': {amount: 1000}, + '2': {amount: 1000}, +} + app.post('/transfer', async (c) => { const body = await c.req.json(); const { amount, from, to } = body;