Skip to content
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

chore: quickjs PoC #488

Closed
wants to merge 1 commit into from
Closed

chore: quickjs PoC #488

wants to merge 1 commit into from

Conversation

ppedziwiatr
Copy link
Contributor

No description provided.

@ppedziwiatr ppedziwiatr force-pushed the ppe/quick-js branch 3 times, most recently from 23aa008 to b6a6546 Compare January 19, 2024 21:48
// the example smart contract code loaded from Arweave
// note: processCode MUST HAVE 'function handle(state, message, aoGlobals)'
const processCode = `
function handle(state, message, aoGlobals) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep in mind that aoGlobal is probably no longer neede - and all the stuff that was inside in aoGlobal should be kept in ao.env

env: {}
}

let currentState = {};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant