-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperengine.config.ts
More file actions
28 lines (27 loc) · 1013 Bytes
/
Copy pathhyperengine.config.ts
File metadata and controls
28 lines (27 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { defineConfig } from '@memetic-block/hyperengine'
export default defineConfig({
processes: {
write: {
// use the pre-bundled single-file Lua (package.preload contains all deps)
entry: 'dist/write-bundle.lua',
type: 'process',
},
},
// Enable AOS module build → produces dist/write/{process.lua,config.yml}
aos: {
// pinned commit of permaweb/aos (2.0.6 generation). Change if you need a newer runtime.
commit: 'd5ff8f44df752b13a1e7bce3ded2a5d84b69287f',
// wasm64 target + limits that match current mainnet expectations
target: 64,
stack_size: 3_145_728, // 3 MiB
initial_memory: 4_194_304, // 4 MiB
maximum_memory: 1_073_741_824, // 1 GiB
compute_limit: '9000000000000', // default HB compute limit
module_format: 'wasm64-unknown-emscripten-draft_2024_02_15',
exclude: [],
},
// no Vite/templates — pure Lua process
deploy: {
enabled: false, // we publish manually via ao CLI / aoconnect
},
})