-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hollow #109
base: main
Are you sure you want to change the base?
hollow #109
Conversation
lua/hollow/hollow-utils.lua
Outdated
return false | ||
end | ||
|
||
return string.match(address, '^[%w%-_]+$') ~= nil and #address == 43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eth wallets?
lua/hollow/hollow-utils.lua
Outdated
return tostring(bint(a) - bint(b)) | ||
end | ||
|
||
function ToNumber(a) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the added value of this fn?
-- init db | ||
db:exec([[ | ||
create table if not exists orders( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no indexes?
); | ||
]]) | ||
|
||
Handlers.add('Credit-Notice', Handlers.utils.hasMatchingTag('Action', 'Credit-Notice'), function(msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe new features from the AOS 2.0 could be used - like receive https://github.com/permaweb/aos/blob/main/process/ao.lua#L244
https://hackmd.io/@ao-docs/rk_R2S_O0#Receive-the-await-of-aos
FLOW
Create-Order
tag, tag indicating item and qty)